-
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.
test(prism-agent): add wallet-api and key-management tests (#362)
* WIP: add test containers * WIP: make test container migration work * WIP: add sample for JdbcDIDSecretStorage * test(prism-agent): add DIDSecretStorage getKey tests * test(prism-agent): add DIDSecretStorage insertKey tests * test(prism-agent): add removeKey tests * test(prism-agent): add removeDIDSecret tests * fix(prism-agent): remove InMemoryStorage implementation * test(prism-agent): add ManagedDIDState crud tests * test(prism-agent): add DIDLineage crud tests * build(prism-agent): use scala 3.2.2 * Revert "build(prism-agent): use scala 3.2.2" This reverts commit 6b7c183. * test(prism-agent): improve coverage on createAndStoreDID and publishStoredDID * test(prism-agent): add updateManagedDID tests * test(prism-agent): add deactivateManagedDID tests * test(prism-agent): add DID update lineage assertion * chore: docuemnt some logger config
- Loading branch information
Showing
15 changed files
with
916 additions
and
323 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
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
65 changes: 0 additions & 65 deletions
65
...pi/src/main/scala/io/iohk/atala/agent/walletapi/storage/InMemoryDIDNonSecretStorage.scala
This file was deleted.
Oops, something went wrong.
95 changes: 0 additions & 95 deletions
95
...t-api/src/main/scala/io/iohk/atala/agent/walletapi/storage/InMemoryDIDSecretStorage.scala
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
prism-agent/service/wallet-api/src/test/resources/logback.xml
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,20 @@ | ||
<configuration> | ||
|
||
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | ||
<encoder> | ||
<pattern>[%level] %logger{15} - %message%n%rEx%xException{10}</pattern> | ||
</encoder> | ||
</appender> | ||
|
||
<appender name="ASYNCSTDOUT" class="ch.qos.logback.classic.AsyncAppender"> | ||
<appender-ref ref="STDOUT"/> | ||
</appender> | ||
|
||
<!-- disable logger(s) that log too much when using test container --> | ||
<logger name="com.zaxxer.hikari" level="OFF"/> | ||
|
||
<root level="WARN"> | ||
<appender-ref ref="ASYNCSTDOUT"/> | ||
</root> | ||
|
||
</configuration> |
Oops, something went wrong.