-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #265 from walt-id/264-docker-compose-waltid-wallet…
…-api-not-working add missing configs to docker-compose package
- Loading branch information
Showing
11 changed files
with
32 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
encryptionKey = "dncygwnvivxzlohc" //<128 bit -- key> a 128 bit (16 chars) key | ||
signKey = "jyjeylmidlylokzh" //<128 bit -- key> a 128 bit (16 chars) key | ||
|
||
tokenKey = "hjklwcptiniwjkdwwkigreumcayoyiso" //<a - longer 256+ bit key - here> at least 256 bit (32 chars) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
url = "<webhook>" | ||
apiKey = "<apiKey>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
reasons = [ | ||
"Unknown sender", | ||
"Not relevant to me", | ||
"Unsure about accuracy", | ||
"Need more details", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 3 additions & 5 deletions
8
...allet-api/src/main/kotlin/id/walt/webwallet/service/credentials/RejectionReasonService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
package id.walt.webwallet.service.credentials | ||
|
||
import id.walt.webwallet.config.ConfigManager | ||
import id.walt.webwallet.config.RejectionReasonConfig | ||
import id.walt.webwallet.config.WalletConfig | ||
|
||
class RejectionReasonService( | ||
private val config: WalletConfig, | ||
) { | ||
|
||
class RejectionReasonService { | ||
private val config by lazy { ConfigManager.getConfig<RejectionReasonConfig>() } | ||
fun list(): List<String> = (config as? RejectionReasonConfig)?.reasons ?: emptyList() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters