diff --git a/CHANGELOG.md b/CHANGELOG.md index 85d6a8a44a..b2855d4fca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,19 @@ +# [1.18.0](https://github.com/hyperledger-labs/open-enterprise-agent/compare/prism-agent-v1.17.0...prism-agent-v1.18.0) (2023-10-24) + + +### Bug Fixes + +* all performance tests run succesfully, add group thresholds ([#750](https://github.com/hyperledger-labs/open-enterprise-agent/issues/750)) ([5204838](https://github.com/hyperledger-labs/open-enterprise-agent/commit/520483836e5b572e8aeeecd28f4bbe7cc668c3d9)) + + +### Features + +* presentation API refactor ([#765](https://github.com/hyperledger-labs/open-enterprise-agent/issues/765)) ([045d829](https://github.com/hyperledger-labs/open-enterprise-agent/commit/045d8298f8865baeb13e243ed058e8e440b3f496)) +* add new auth params ([#762](https://github.com/hyperledger-labs/open-enterprise-agent/issues/762)) ([b8bfb86](https://github.com/hyperledger-labs/open-enterprise-agent/commit/b8bfb867061c58fc12987b5405f561e8f10cb718)) +* disable cors by default ([#747](https://github.com/hyperledger-labs/open-enterprise-agent/issues/747)) ([1dd8c8b](https://github.com/hyperledger-labs/open-enterprise-agent/commit/1dd8c8b0e9b0d2593bd1c17a95bf013192a64532)) +* migrate docker image of the agent to Java 21 ([#758](https://github.com/hyperledger-labs/open-enterprise-agent/issues/758)) ([d36dbf0](https://github.com/hyperledger-labs/open-enterprise-agent/commit/d36dbf0dfbf45b64185e5b54aba0444d6e1ada88)) +* **prism-agent:** add keycloak authorization support to endpoints ([#753](https://github.com/hyperledger-labs/open-enterprise-agent/issues/753)) ([3e7534f](https://github.com/hyperledger-labs/open-enterprise-agent/commit/3e7534ff1a75e9ecaa0c2b670c1c158890021f8d)) + # [1.17.0](https://github.com/hyperledger-labs/open-enterprise-agent/compare/prism-agent-v1.16.4...prism-agent-v1.17.0) (2023-10-14) diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md index ca5673f8ab..98a7c20683 100644 --- a/DEPENDENCIES.md +++ b/DEPENDENCIES.md @@ -72,11 +72,13 @@ Apache | [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) | [io. Apache | [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) | [io.getquill # quill-sql_3 # 4.7.3](https://zio.dev/zio-protoquill) | Apache | [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) | [io.getquill # quill-util_3 # 4.7.3](https://zio.dev/zio-quill) | Apache | [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) | [io.getquill # quill-zio_3 # 4.7.3](https://zio.dev/zio-protoquill) | +Apache | [Apache License 2.0](https://repository.jboss.org/licenses/apache-2.0.txt) | [org.jboss.logging # jboss-logging # 3.5.1.Final](http://www.jboss.org) | Apache | [Apache License Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | [com.networknt # json-schema-validator # 1.0.86](https://github.com/networknt/json-schema-validator) | Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [com.ethlo.time # itu # 1.7.0](https://github.com/ethlo/itu) | Apache | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.github.stephenc.jcip # jcip-annotations # 1.0-1](http://stephenc.github.com/jcip-annotations) | Apache | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.google.crypto.tink # tink # 1.6.1](http://github.com/google/tink) | Apache | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [com.google.guava # guava # 31.0.1-android](https://github.com/google/guava) | +Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [commons-codec # commons-codec # 1.11](http://commons.apache.org/proper/commons-codec/) | Apache | [Apache License, Version 2.0](https://opensource.org/licenses/Apache-2.0) | [io.iohk.atala # prism-common-jvm # 1.4.1](https://github.com/input-output-hk/atala-prism-sdk.git) | Apache | [Apache License, Version 2.0](https://opensource.org/licenses/Apache-2.0) | [io.iohk.atala # prism-crypto-jvm # 1.4.1](https://github.com/input-output-hk/atala-prism-sdk.git) | Apache | [Apache License, Version 2.0](https://opensource.org/licenses/Apache-2.0) | [io.iohk.atala # prism-identity-jvm # 1.4.1](https://github.com/input-output-hk/atala-prism-sdk.git) | @@ -99,7 +101,12 @@ Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2 Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | io.netty.incubator # netty-incubator-transport-native-io_uring # 0.0.20.Final | Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | net.bytebuddy # byte-buddy # 1.12.19 | Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | net.bytebuddy # byte-buddy-agent # 1.12.19 | +Apache | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [org.apache.httpcomponents # httpclient # 4.5.14](http://hc.apache.org/httpcomponents-client-ga) | +Apache | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [org.apache.httpcomponents # httpcore # 4.4.16](http://hc.apache.org/httpcomponents-core-ga) | Apache | [Apache License, Version 2.0](https://flywaydb.org/licenses/flyway-community) | org.flywaydb # flyway-core # 9.8.3 | +Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | org.keycloak # keycloak-authz-client # 22.0.4 | +Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | org.keycloak # keycloak-common # 22.0.4 | +Apache | [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) | org.keycloak # keycloak-core # 22.0.4 | Apache | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [org.log4s # log4s_3 # 1.10.0](http://log4s.org/) | Apache | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | org.objenesis # objenesis # 3.3 | Apache | [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [org.yaml # snakeyaml # 2.0](https://bitbucket.org/snakeyaml/snakeyaml) | @@ -249,7 +256,7 @@ Apache | [The Apache Software License, Version 2.0](https://www.apache.org/licen Apache | [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) | [org.jetbrains # annotations # 13.0](http://www.jetbrains.org) | Apache | [The Apache Software License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [org.jetbrains # annotations # 17.0.0](https://github.com/JetBrains/java-annotations) | Apache | [The Apache Software License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [org.jetbrains.kotlinx # kotlinx-coroutines-core # 1.5.1-new-mm-dev2](https://github.com/Kotlin/kotlinx.coroutines) | -Apache | [The Apache Software License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [org.jetbrains.kotlinx # kotlinx-coroutines-core-jvm # 1.5.1-new-mm-dev2](https://github.com/Kotlin/kotlinx.coroutines) | +Apache | [The Apache Software License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [org.jetbrains.kotlinx # kotlinx-coroutines-core-jvm # 1.5.2](https://github.com/Kotlin/kotlinx.coroutines) | Apache | [The Apache Software License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [org.jetbrains.kotlinx # kotlinx-coroutines-jdk8 # 1.5.2](https://github.com/Kotlin/kotlinx.coroutines) | Apache | [The Apache Software License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [org.jetbrains.kotlinx # kotlinx-serialization-core-jvm # 1.3.0](https://github.com/Kotlin/kotlinx.serialization) | Apache | [The Apache Software License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt) | [org.jetbrains.kotlinx # kotlinx-serialization-json-jvm # 1.3.0](https://github.com/Kotlin/kotlinx.serialization) | @@ -299,7 +306,9 @@ BSD | [BSD-3-Clause](https://github.com/scodec/scodec-bits/blob/main/LICENSE) | BSD | [New BSD License](http://www.opensource.org/licenses/bsd-license.php) | org.hamcrest # hamcrest-core # 1.3 | BSD | [The BSD License](https://opensource.org/licenses/BSD-3-Clause) | org.jline # jline # 3.22.0 | Bouncy Castle License | [Bouncy Castle Licence](https://www.bouncycastle.org/licence.html) | [org.bouncycastle # bcpkix-jdk15on # 1.70](https://www.bouncycastle.org/java.html) | +Bouncy Castle License | [Bouncy Castle Licence](http://www.bouncycastle.org/licence.html) | [org.bouncycastle # bcprov-jdk15on # 1.68](http://www.bouncycastle.org/java.html) | Bouncy Castle License | [Bouncy Castle Licence](https://www.bouncycastle.org/licence.html) | [org.bouncycastle # bcprov-jdk15on # 1.70](https://www.bouncycastle.org/java.html) | +Bouncy Castle License | [Bouncy Castle Licence](http://www.bouncycastle.org/licence.html) | [org.bouncycastle # bcprov-jdk15to18 # 1.68](http://www.bouncycastle.org/java.html) | Bouncy Castle License | [Bouncy Castle Licence](https://www.bouncycastle.org/licence.html) | [org.bouncycastle # bcutil-jdk15on # 1.70](https://www.bouncycastle.org/java.html) | EPL | [Eclipse Public License 1.0](http://www.eclipse.org/legal/epl-v10.html) | [junit # junit # 4.13.1](http://junit.org) | EPL | [Eclipse Public License 1.0](http://www.eclipse.org/legal/epl-v10.html) | [junit # junit # 4.13.2](http://junit.org) | @@ -318,7 +327,7 @@ MIT | [MIT](https://spdx.org/licenses/MIT.html) | [com.lihaoyi # pprint_3 # 0.6. MIT | [MIT](https://spdx.org/licenses/MIT.html) | [com.lihaoyi # pprint_3 # 0.8.1](https://github.com/com-lihaoyi/PPrint) | MIT | [MIT](https://spdx.org/licenses/MIT.html) | [com.lihaoyi # sourcecode_3 # 0.3.0](https://github.com/com-lihaoyi/sourcecode) | MIT | [MIT](https://github.com/jopenlibs/vault-java-driver/blob/master/README.md#license) | [io.github.jopenlibs # vault-java-driver # 6.1.0](https://github.com/jopenlibs/vault-java-driver) | -MIT | [MIT](http://opensource.org/licenses/MIT) | [org.rnorth.duct-tape # duct-tape # 1.0.8](https://github.com/rnorth/${project.artifactId}) | +MIT | [MIT](http://opensource.org/licenses/MIT) | org.rnorth.duct-tape # duct-tape # 1.0.8 | MIT | [MIT](http://opensource.org/licenses/MIT) | [org.testcontainers # database-commons # 1.19.0](https://java.testcontainers.org) | MIT | [MIT](http://opensource.org/licenses/MIT) | [org.testcontainers # jdbc # 1.19.0](https://java.testcontainers.org) | MIT | [MIT](http://opensource.org/licenses/MIT) | [org.testcontainers # postgresql # 1.19.0](https://java.testcontainers.org) | @@ -355,32 +364,33 @@ MIT | [The MIT License (MIT)](https://opensource.org/licenses/MIT) | [com.dimafe Public Domain | [Public Domain, per Creative Commons CC0](http://creativecommons.org/publicdomain/zero/1.0/) | [org.hdrhistogram # HdrHistogram # 2.1.12](http://hdrhistogram.github.io/HdrHistogram/) | Public Domain | [Public Domain, per Creative Commons CC0](http://creativecommons.org/publicdomain/zero/1.0/) | [org.latencyutils # LatencyUtils # 2.0.3](http://latencyutils.github.io/LatencyUtils/) | unrecognized | [APL2](http://www.apache.org/licenses/LICENSE-2.0.txt) | [net.reactivecore # circe-json-schema_2.13 # 0.3.0](https://github.com/reactivecore/rc-circe-json-schema) | -unrecognized | [none specified](none specified) | [io.iohk.atala # castor-core_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # connect-core_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # connect-sql-doobie_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # event-notification_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # iris-client_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-agent-core_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-agent-didcommx_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-data-models_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-connection_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-coordinate-mediation_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-invitation_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-issue-credential_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-mailbox_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-outofband-login_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-present-proof_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-report-problem_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-routing-2-0_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-trust-ping_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-resolver_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-verifiable-credentials_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # pollux-anoncreds_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # pollux-core_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # pollux-sql-doobie_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # pollux-vc-jwt_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # prism-agent-wallet-api_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # prism-node-client_3 # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | -unrecognized | [none specified](none specified) | [io.iohk.atala # shared # 1.16.4-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [EDL 1.0](http://www.eclipse.org/org/documents/edl-v10.php) | [jakarta.activation # jakarta.activation-api # 2.1.2](https://github.com/jakartaee/jaf-api) | +unrecognized | [none specified](none specified) | [io.iohk.atala # castor-core_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # connect-core_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # connect-sql-doobie_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # event-notification_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # iris-client_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-agent-core_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-agent-didcommx_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-data-models_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-connection_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-coordinate-mediation_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-invitation_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-issue-credential_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-mailbox_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-outofband-login_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-present-proof_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-report-problem_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-routing-2-0_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-protocol-trust-ping_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-resolver_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # mercury-verifiable-credentials_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # pollux-anoncreds_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # pollux-core_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # pollux-sql-doobie_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # pollux-vc-jwt_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # prism-agent-wallet-api_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # prism-node-client_3 # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | +unrecognized | [none specified](none specified) | [io.iohk.atala # shared # 1.17.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) | unrecognized | [none specified](none specified) | [net.jcip # jcip-annotations # 1.0](http://jcip.net/) | diff --git a/infrastructure/charts/agent/Chart.yaml b/infrastructure/charts/agent/Chart.yaml index 286b903c44..1f8628ced1 100644 --- a/infrastructure/charts/agent/Chart.yaml +++ b/infrastructure/charts/agent/Chart.yaml @@ -13,12 +13,12 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.17.0 +version: 1.18.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 1.17.0 +appVersion: 1.18.0 dependencies: - name: vault version: 0.24.1 diff --git a/infrastructure/charts/index.yaml b/infrastructure/charts/index.yaml index b69452236f..f0f89a23e8 100644 --- a/infrastructure/charts/index.yaml +++ b/infrastructure/charts/index.yaml @@ -1,9 +1,23 @@ apiVersion: v1 entries: prism-agent: + - apiVersion: v2 + appVersion: 1.18.0 + created: "2023-10-24T11:07:35.004549218Z" + dependencies: + - name: vault + repository: https://helm.releases.hashicorp.com + version: 0.24.1 + description: A Helm chart for deploying prism-agent + digest: 5a803d916bc19c824aec9d39efb0206ff9a2a3b1932b276acaaf97c580f62387 + name: prism-agent + type: application + urls: + - https://raw.githubusercontent.com/hyperledger-labs/open-enterprise-agent/main/infrastructure/charts/prism-agent-1.18.0.tgz + version: 1.18.0 - apiVersion: v2 appVersion: 1.17.0 - created: "2023-10-14T17:17:05.1408815Z" + created: "2023-10-24T11:07:35.000795657Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -17,7 +31,7 @@ entries: version: 1.17.0 - apiVersion: v2 appVersion: 1.16.4 - created: "2023-10-14T17:17:05.135639936Z" + created: "2023-10-24T11:07:34.99668489Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -31,7 +45,7 @@ entries: version: 1.16.4 - apiVersion: v2 appVersion: 1.16.3 - created: "2023-10-14T17:17:05.131265084Z" + created: "2023-10-24T11:07:34.991583906Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -45,7 +59,7 @@ entries: version: 1.16.3 - apiVersion: v2 appVersion: 1.16.2 - created: "2023-10-14T17:17:05.126243223Z" + created: "2023-10-24T11:07:34.987422338Z" dependencies: - name: vault repository: https://helm.releases.hashicorp.com @@ -57,4 +71,4 @@ entries: urls: - https://raw.githubusercontent.com/hyperledger-labs/open-enterprise-agent/main/infrastructure/charts/prism-agent-1.16.2.tgz version: 1.16.2 -generated: "2023-10-14T17:17:05.120712157Z" +generated: "2023-10-24T11:07:34.982721561Z" diff --git a/infrastructure/charts/prism-agent-1.18.0.tgz b/infrastructure/charts/prism-agent-1.18.0.tgz new file mode 100644 index 0000000000..e504e23ecf Binary files /dev/null and b/infrastructure/charts/prism-agent-1.18.0.tgz differ diff --git a/package-lock.json b/package-lock.json index d733632be3..adf9c14b3a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "atala-prism-building-blocks", - "version": "1.17.0", + "version": "1.18.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "atala-prism-building-blocks", - "version": "1.17.0", + "version": "1.18.0", "devDependencies": { "@commitlint/cli": "^17.0.3", "@commitlint/config-conventional": "^17.0.3", diff --git a/package.json b/package.json index ce39844cab..e2ae4edcf3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "atala-prism-building-blocks", - "version": "1.17.0", + "version": "1.18.0", "engines": { "node": ">=16.13.0" }, diff --git a/prism-agent/service/api/http/prism-agent-openapi-spec.yaml b/prism-agent/service/api/http/prism-agent-openapi-spec.yaml index 068d98b065..42a2ceff59 100644 --- a/prism-agent/service/api/http/prism-agent-openapi-spec.yaml +++ b/prism-agent/service/api/http/prism-agent-openapi-spec.yaml @@ -1,7 +1,7 @@ openapi: 3.1.0 info: title: Prism Agent - version: 1.17.0 + version: 1.18.0 paths: /credential-definition-registry/definitions: get: @@ -12,12 +12,6 @@ paths: and control the pagination by `offset` and `limit` parameters ' operationId: lookupCredentialDefinitionsByQuery parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: author in: query required: false @@ -78,6 +72,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] post: tags: - Credential Definition Registry @@ -86,13 +83,6 @@ paths: JSON Schema on behalf of Cloud Agent. The credential definition will be signed by the keys of Cloud Agent and issued by the DID that corresponds to it. operationId: createCredentialDefinition - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string requestBody: description: JSON object required for the credential definition creation content: @@ -131,6 +121,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /credential-definition-registry/definitions/{guid}: get: tags: @@ -220,12 +213,6 @@ paths: the pagination by `offset` and `limit` parameters ' operationId: lookupSchemasByQuery parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: author in: query required: false @@ -292,6 +279,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] post: tags: - Schema Registry @@ -300,13 +290,6 @@ paths: JSON Schema on behalf of Cloud Agent. The credential schema will be signed by the keys of Cloud Agent and issued by the DID that corresponds to it. operationId: createSchema - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string requestBody: description: JSON object required for the credential schema creation content: @@ -345,6 +328,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /schema-registry/{author}/{id}: put: tags: @@ -356,12 +342,6 @@ paths: to it. operationId: updateSchema parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: author in: path description: DID of the identity which authored the credential schema. A piece @@ -415,6 +395,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /schema-registry/schemas/{guid}: get: tags: @@ -462,13 +445,6 @@ paths: summary: Trace the request input from the point of view of the server description: Trace the request input from the point of view of the server operationId: test - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string responses: '200': description: '' @@ -494,6 +470,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /verification/policies: get: tags: @@ -503,12 +482,6 @@ paths: by `offset` and `limit` parameters operationId: lookupVerificationPoliciesByQuery parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: name in: query required: false @@ -556,19 +529,15 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] post: tags: - Verification summary: Create the new verification policy description: Create the new verification policy operationId: createVerificationPolicy - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string requestBody: description: Create verification policy object content: @@ -601,6 +570,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /verification/policies/{id}: get: tags: @@ -609,12 +581,6 @@ paths: description: Get the verification policy by id operationId: getVerificationPolicyById parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: id in: path description: Get the verification policy by id @@ -653,6 +619,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] put: tags: - Verification @@ -660,12 +629,6 @@ paths: description: Update the verification policy entry operationId: updateVerificationPolicy parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: id in: path required: true @@ -717,6 +680,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] delete: tags: - Verification @@ -724,12 +690,6 @@ paths: description: Delete the verification policy by id operationId: deleteVerificationPolicyById parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: id in: path description: Delete the verification policy by id @@ -764,6 +724,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /connections: get: tags: @@ -772,12 +735,6 @@ paths: description: Get the list of connection records paginated operationId: getConnections parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: offset in: query required: false @@ -821,6 +778,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] post: tags: - Connections Management @@ -831,13 +791,6 @@ paths: It returns a new connection record in `InvitationGenerated` state. The request body may contain a `label` that can be used as a human readable alias for the connection, for example `{'label': "Bob"}` operationId: createConnection - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string requestBody: description: JSON object required for the connection creation content: @@ -871,6 +824,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /connections/{connectionId}: get: tags: @@ -879,12 +835,6 @@ paths: description: Gets an existing connection record by its unique identifier operationId: getConnection parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: connectionId in: path description: The unique identifier of the connection record. @@ -923,6 +873,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /connection-invitations: post: tags: @@ -934,13 +887,6 @@ paths: and submits a Connection Request to the inviter. It returns a connection object in `ConnectionRequestPending` state, until the Connection Request is eventually sent to the inviter by the prism-agent's background process. The connection object state will then automatically move to `ConnectionRequestSent`. operationId: acceptConnectionInvitation - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string requestBody: description: The request used by an invitee to accept a connection invitation received from an inviter, using out-of-band mechanism. @@ -974,6 +920,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /dids/{didRef}: get: tags: @@ -1086,12 +1035,6 @@ paths: If the `limit` parameter is not set, it defaults to 100 items per page. operationId: getDid-registrarDids parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: offset in: query required: false @@ -1129,6 +1072,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] post: tags: - DID Registrar @@ -1137,13 +1083,6 @@ paths: Create unpublished DID and store it inside Prism Agent's wallet. The private keys of the DID is managed by Prism Agent. The DID can later be published to the VDR using publications endpoint. operationId: postDid-registrarDids - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string requestBody: content: application/json: @@ -1187,6 +1126,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /did-registrar/dids/{didRef}: get: tags: @@ -1195,12 +1137,6 @@ paths: description: Get DID stored in Prism Agent's wallet operationId: getDid-registrarDidsDidref parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: didRef in: path description: Prism DID according to [the Prism DID method syntax](https://github.com/input-output-hk/prism-did-method-spec/blob/main/w3c-spec/PRISM-method.md#prism-did-method-syntax) @@ -1239,6 +1175,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /did-registrar/dids/{didRef}/publications: post: tags: @@ -1247,12 +1186,6 @@ paths: description: Publish the DID stored in Prism Agent's wallet to the VDR. operationId: postDid-registrarDidsDidrefPublications parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: didRef in: path description: Prism DID according to [the Prism DID method syntax](https://github.com/input-output-hk/prism-did-method-spec/blob/main/w3c-spec/PRISM-method.md#prism-did-method-syntax) @@ -1291,6 +1224,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /did-registrar/dids/{didRef}/updates: post: tags: @@ -1304,12 +1240,6 @@ paths: some operations being rejected as only one operation is allowed to be appended to the last confirmed operation. operationId: postDid-registrarDidsDidrefUpdates parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: didRef in: path description: Prism DID according to [the Prism DID method syntax](https://github.com/input-output-hk/prism-did-method-spec/blob/main/w3c-spec/PRISM-method.md#prism-did-method-syntax) @@ -1366,6 +1296,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /did-registrar/dids/{didRef}/deactivations: post: tags: @@ -1376,12 +1309,6 @@ paths: to the VDR. operationId: postDid-registrarDidsDidrefDeactivations parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: didRef in: path description: Prism DID according to [the Prism DID method syntax](https://github.com/input-output-hk/prism-did-method-spec/blob/main/w3c-spec/PRISM-method.md#prism-did-method-syntax) @@ -1426,6 +1353,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /issue-credentials/credential-offers: post: tags: @@ -1434,13 +1364,6 @@ paths: a holder. description: Creates a new credential offer in the database operationId: createCredentialOffer - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string requestBody: description: The credential offer object. content: @@ -1479,6 +1402,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /issue-credentials/records: get: tags: @@ -1487,12 +1413,6 @@ paths: description: Get the list of issue credential records paginated operationId: getCredentialRecords parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: offset in: query required: false @@ -1536,6 +1456,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /issue-credentials/records/{recordId}: get: tags: @@ -1544,12 +1467,6 @@ paths: description: Gets issue credential records by record id operationId: getCredentialRecord parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: recordId in: path description: The unique identifier of the issue credential record. @@ -1587,6 +1504,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /issue-credentials/records/{recordId}/accept-offer: post: tags: @@ -1596,12 +1516,6 @@ paths: back a credential request. operationId: acceptCredentialOffer parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: recordId in: path description: The unique identifier of the issue credential record. @@ -1646,6 +1560,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /issue-credentials/records/{recordId}/issue-credential: post: tags: @@ -1657,12 +1574,6 @@ paths: by credential id. operationId: issueCredential parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: recordId in: path description: The unique identifier of the issue credential record. @@ -1701,6 +1612,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /present-proof/presentations: get: tags: @@ -1709,12 +1623,6 @@ paths: description: list of presentation statuses operationId: getAllPresentation parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: offset in: query required: false @@ -1757,6 +1665,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] post: tags: - Present Proof @@ -1765,13 +1676,6 @@ paths: description: Holder presents proof derived from the verifiable credential to verifier. operationId: requestPresentation - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string requestBody: description: The present proof creation request. content: @@ -1811,6 +1715,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /present-proof/presentations/{presentationId}: get: tags: @@ -1820,12 +1727,6 @@ paths: description: Returns an existing presentation record by id. operationId: getPresentation parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: presentationId in: path description: The unique identifier of the presentation record. @@ -1864,6 +1765,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] patch: tags: - Present Proof @@ -1872,12 +1776,6 @@ paths: description: Accept or reject presentation of proof request. operationId: updatePresentation parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: presentationId in: path description: The unique identifier of the presentation record. @@ -1923,6 +1821,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /_system/health: get: tags: @@ -2540,13 +2441,6 @@ paths: - Events summary: List wallet webhook notifications operationId: getEventsWebhooks - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string responses: '200': description: List wallet webhook notifications @@ -2572,18 +2466,14 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] post: tags: - Events summary: Create wallet webhook notifications operationId: postEventsWebhooks - parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string requestBody: content: application/json: @@ -2621,6 +2511,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] /events/webhooks/{id}: delete: tags: @@ -2628,12 +2521,6 @@ paths: summary: Delete the wallet webhook notification by `id` operationId: deleteEventsWebhooksId parameters: - - name: apikey - in: header - description: API key - required: false - schema: - type: string - name: id in: path description: ID of the webhook notification to delete. @@ -2668,6 +2555,9 @@ paths: application/json: schema: $ref: '#/components/schemas/ErrorResponse' + security: + - apiKeyAuth: [] + - jwtAuth: [] components: schemas: AcceptConnectionInvitationRequest: @@ -3775,7 +3665,7 @@ components: type: string description: The date and time when the issue credential record was created. format: date-time - example: '2023-10-14T17:00:01.188137Z' + example: '2023-10-24T10:50:45.871298Z' updatedAt: type: string description: The date and time when the issue credential record was last @@ -4587,3 +4477,11 @@ components: type: array items: $ref: '#/components/schemas/WebhookNotification' + securitySchemes: + apiKeyAuth: + type: apiKey + name: apikey + in: header + jwtAuth: + type: http + scheme: bearer diff --git a/version.sbt b/version.sbt index 180428aea1..bc21f09057 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -ThisBuild / version := "1.17.0-SNAPSHOT" +ThisBuild / version := "1.18.0-SNAPSHOT"