-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Anton Baliasnikov <[email protected]>
- Loading branch information
Anton Baliasnikov
committed
Nov 16, 2023
1 parent
87c447a
commit 3a9211a
Showing
15 changed files
with
435 additions
and
81 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
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
12 changes: 12 additions & 0 deletions
12
tests/integration-tests/src/test/kotlin/config/AgentInitConf.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package config | ||
|
||
import com.sksamuel.hoplite.ConfigAlias | ||
|
||
data class AgentInitConf( | ||
val version: String, | ||
@ConfigAlias("http_port") val httpPort: Int, | ||
@ConfigAlias("didcomm_port") val didcommPort: Int, | ||
@ConfigAlias("secret_storage_backend") val secretStorageBackend: String, | ||
@ConfigAlias("auth_enabled") val authEnabled: Boolean, | ||
@ConfigAlias("keycloak_enabled") val keycloakEnabled: Boolean, | ||
) |
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
31 changes: 31 additions & 0 deletions
31
tests/integration-tests/src/test/kotlin/config/ServicesConf.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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package config | ||
|
||
import com.sksamuel.hoplite.ConfigAlias | ||
|
||
data class ServicesConf( | ||
@ConfigAlias("prism_node") val prismNode: PrismNodeConf?, | ||
val keycloak: KeycloakConf?, | ||
val vault: VaultConf?, | ||
) | ||
|
||
data class PrismNodeConf( | ||
@ConfigAlias("http_port") val httpPort: Int, | ||
val version: String, | ||
) | ||
|
||
data class KeycloakConf( | ||
@ConfigAlias("http_port") val httpPort: Int, | ||
val realm: String, | ||
@ConfigAlias("client_id") val clientId: String, | ||
@ConfigAlias("client_secret") val clientSecret: String, | ||
val users: List<KeycloakUser> | ||
) | ||
|
||
data class KeycloakUser( | ||
val username: String, | ||
val password: String | ||
) | ||
|
||
data class VaultConf( | ||
@ConfigAlias("http_port") val httpPort: Int, | ||
) |
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
Oops, something went wrong.