diff --git a/CHANGELOG.md b/CHANGELOG.md
index 70bafd662b..2612dca60b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,15 @@
+# [1.22.0](https://github.com/hyperledger-labs/open-enterprise-agent/compare/prism-agent-v1.21.1...prism-agent-v1.22.0) (2023-12-14)
+
+
+### Bug Fixes
+
+* correct OAS examples ([#810](https://github.com/hyperledger-labs/open-enterprise-agent/issues/810)) ([a0720dc](https://github.com/hyperledger-labs/open-enterprise-agent/commit/a0720dcbaf10370dcacc1b5102df13929b40dfdb))
+
+
+### Features
+
+* Consumer restricition parametarization ([#814](https://github.com/hyperledger-labs/open-enterprise-agent/issues/814)) ([e039576](https://github.com/hyperledger-labs/open-enterprise-agent/commit/e039576fc0e285b80b2966c032ed91b9a8f26f60))
+
## [1.21.1](https://github.com/hyperledger-labs/open-enterprise-agent/compare/prism-agent-v1.21.0...prism-agent-v1.21.1) (2023-12-12)
diff --git a/DEPENDENCIES.md b/DEPENDENCIES.md
index f077e62616..884972a863 100644
--- a/DEPENDENCIES.md
+++ b/DEPENDENCIES.md
@@ -428,32 +428,32 @@ MIT | [The MIT License (MIT)](https://opensource.org/licenses/MIT) | [com.dimafe
MIT | [The MIT License (MIT)](https://opensource.org/licenses/MIT) | [com.dimafeng # testcontainers-scala-vault_3 # 0.41.0](https://github.com/testcontainers/testcontainers-scala) |
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/) |
-none specified | []() | [io.iohk.atala # castor-core_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # connect-core_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # connect-sql-doobie_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # event-notification_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-agent-core_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-agent-didcommx_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-data-models_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-protocol-connection_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-protocol-coordinate-mediation_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-protocol-invitation_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-protocol-issue-credential_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-protocol-mailbox_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-protocol-outofband-login_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-protocol-present-proof_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-protocol-report-problem_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-protocol-routing-2-0_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-protocol-trust-ping_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-resolver_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # mercury-verifiable-credentials_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # pollux-anoncreds_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # pollux-core_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # pollux-sql-doobie_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # pollux-vc-jwt_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # prism-agent-wallet-api_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # prism-node-client_3 # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # shared # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
-none specified | []() | [io.iohk.atala # sharedtest # 1.21.0-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # castor-core_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # connect-core_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # connect-sql-doobie_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # event-notification_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-agent-core_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-agent-didcommx_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-data-models_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-protocol-connection_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-protocol-coordinate-mediation_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-protocol-invitation_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-protocol-issue-credential_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-protocol-mailbox_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-protocol-outofband-login_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-protocol-present-proof_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-protocol-report-problem_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-protocol-routing-2-0_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-protocol-trust-ping_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-resolver_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # mercury-verifiable-credentials_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # pollux-anoncreds_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # pollux-core_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # pollux-sql-doobie_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # pollux-vc-jwt_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # prism-agent-wallet-api_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # prism-node-client_3 # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # shared # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
+none specified | []() | [io.iohk.atala # sharedtest # 1.21.1-SNAPSHOT](https://github.com/input-output-hk/atala-prism-building-blocks) |
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 45bc0e5816..64fea98748 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.21.1
+version: 1.22.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.21.1
+appVersion: 1.22.0
dependencies:
- name: vault
version: 0.24.1
diff --git a/infrastructure/charts/index.yaml b/infrastructure/charts/index.yaml
index 8620261e94..76a5fc1971 100644
--- a/infrastructure/charts/index.yaml
+++ b/infrastructure/charts/index.yaml
@@ -1,9 +1,27 @@
apiVersion: v1
entries:
prism-agent:
+ - apiVersion: v2
+ appVersion: 1.22.0
+ created: "2023-12-14T09:18:59.09919555Z"
+ dependencies:
+ - name: vault
+ repository: https://helm.releases.hashicorp.com
+ version: 0.24.1
+ - condition: keycloak.enabled
+ name: keycloak
+ repository: https://charts.bitnami.com/bitnami
+ version: 17.2.0
+ description: A Helm chart for deploying prism-agent
+ digest: be3d146eba5e099d7f2e7cf9338a4a6cb238f19cb3f458864fe88778505bd403
+ name: prism-agent
+ type: application
+ urls:
+ - https://raw.githubusercontent.com/hyperledger-labs/open-enterprise-agent/main/infrastructure/charts/prism-agent-1.22.0.tgz
+ version: 1.22.0
- apiVersion: v2
appVersion: 1.21.1
- created: "2023-12-12T18:58:37.735833966Z"
+ created: "2023-12-14T09:18:59.088704762Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -21,7 +39,7 @@ entries:
version: 1.21.1
- apiVersion: v2
appVersion: 1.21.0
- created: "2023-12-12T18:58:37.725374667Z"
+ created: "2023-12-14T09:18:59.079531473Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -39,7 +57,7 @@ entries:
version: 1.21.0
- apiVersion: v2
appVersion: 1.20.1
- created: "2023-12-12T18:58:37.714581685Z"
+ created: "2023-12-14T09:18:59.069677382Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -57,7 +75,7 @@ entries:
version: 1.20.1
- apiVersion: v2
appVersion: 1.20.0
- created: "2023-12-12T18:58:37.703513958Z"
+ created: "2023-12-14T09:18:59.059765935Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -75,7 +93,7 @@ entries:
version: 1.20.0
- apiVersion: v2
appVersion: 1.19.1
- created: "2023-12-12T18:58:37.693838694Z"
+ created: "2023-12-14T09:18:59.049873796Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -93,7 +111,7 @@ entries:
version: 1.19.1
- apiVersion: v2
appVersion: 1.19.0
- created: "2023-12-12T18:58:37.683496116Z"
+ created: "2023-12-14T09:18:59.039667899Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -111,7 +129,7 @@ entries:
version: 1.19.0
- apiVersion: v2
appVersion: 1.18.0
- created: "2023-12-12T18:58:37.672468346Z"
+ created: "2023-12-14T09:18:59.028935531Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -125,7 +143,7 @@ entries:
version: 1.18.0
- apiVersion: v2
appVersion: 1.17.0
- created: "2023-12-12T18:58:37.669557999Z"
+ created: "2023-12-14T09:18:59.024027823Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -139,7 +157,7 @@ entries:
version: 1.17.0
- apiVersion: v2
appVersion: 1.16.4
- created: "2023-12-12T18:58:37.666687336Z"
+ created: "2023-12-14T09:18:59.018927623Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -153,7 +171,7 @@ entries:
version: 1.16.4
- apiVersion: v2
appVersion: 1.16.3
- created: "2023-12-12T18:58:37.662966564Z"
+ created: "2023-12-14T09:18:59.01600541Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -167,7 +185,7 @@ entries:
version: 1.16.3
- apiVersion: v2
appVersion: 1.16.2
- created: "2023-12-12T18:58:37.659515327Z"
+ created: "2023-12-14T09:18:59.013019307Z"
dependencies:
- name: vault
repository: https://helm.releases.hashicorp.com
@@ -179,4 +197,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-12-12T18:58:37.656262009Z"
+generated: "2023-12-14T09:18:59.007616677Z"
diff --git a/infrastructure/charts/prism-agent-1.22.0.tgz b/infrastructure/charts/prism-agent-1.22.0.tgz
new file mode 100644
index 0000000000..e955f2e15d
Binary files /dev/null and b/infrastructure/charts/prism-agent-1.22.0.tgz differ
diff --git a/infrastructure/local/.env b/infrastructure/local/.env
index 57f43b61c2..fcd7bf4df3 100644
--- a/infrastructure/local/.env
+++ b/infrastructure/local/.env
@@ -1,3 +1,3 @@
-PRISM_AGENT_VERSION=1.21.1
+PRISM_AGENT_VERSION=1.22.0
PRISM_NODE_VERSION=2.2.1
VAULT_DEV_ROOT_TOKEN_ID=root
diff --git a/package-lock.json b/package-lock.json
index 87b59e69b7..8e73622fea 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "atala-prism-building-blocks",
- "version": "1.21.1",
+ "version": "1.22.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "atala-prism-building-blocks",
- "version": "1.21.1",
+ "version": "1.22.0",
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
diff --git a/package.json b/package.json
index c47797b625..f27073348c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "atala-prism-building-blocks",
- "version": "1.21.1",
+ "version": "1.22.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 9089e3c0d0..dd4a896abc 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.21.1
+ version: 1.22.0
paths:
/credential-definition-registry/definitions:
get:
@@ -2905,7 +2905,9 @@ components:
claims:
description: The claims that will be associated with the issued verifiable
credential.
- example: (firstname,Alice)
+ example:
+ firstname: Alice
+ lastname: Wonderland
automaticIssuance:
type: boolean
description: Specifies whether or not the credential should be automatically
@@ -3753,7 +3755,7 @@ components:
type: string
description: The date and time when the issue credential record was created.
format: date-time
- example: '2023-12-12T18:39:22.582404789Z'
+ example: '2023-12-14T09:00:54.460995113Z'
updatedAt:
type: string
description: The date and time when the issue credential record was last
@@ -4276,7 +4278,7 @@ components:
description: Service type. Can contain multiple possible values as described
in the [Create DID operation](https://github.com/input-output-hk/prism-did-method-spec/blob/main/w3c-spec/PRISM-method.md#create-did)
under the construction section.
- example: Single(LinkedDomains)
+ example: LinkedDomains
oneOf:
- type: array
items:
diff --git a/version.sbt b/version.sbt
index 5db197c871..209ee95c5d 100644
--- a/version.sbt
+++ b/version.sbt
@@ -1 +1 @@
-ThisBuild / version := "1.21.1-SNAPSHOT"
+ThisBuild / version := "1.22.0-SNAPSHOT"