Skip to content

Commit

Permalink
chore: update identus image name in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
patlo-iog committed May 7, 2024
1 parent 2e55c6e commit 9eeb3f0
Show file tree
Hide file tree
Showing 12 changed files with 39 additions and 92 deletions.
2 changes: 1 addition & 1 deletion examples/.nickel/agent.ncl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ in
{
makeAgentService | AgentServiceArgs -> _ = fun args =>
{
image = "ghcr.io/input-output-hk/prism-agent:%{args.version}",
image = "ghcr.io/hyperledger/identus-cloud-agent:%{args.version}",
restart = "always",
environment =
{
Expand Down
2 changes: 1 addition & 1 deletion examples/.nickel/versions.ncl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
# identus
agent = "1.31.0-SNAPSHOT",
agent = "1.32.0-SNAPSHOT",
node = "2.2.1",
# 3rd party
caddy = "2.7.6-alpine",
Expand Down
2 changes: 1 addition & 1 deletion examples/mt-keycloak-vault/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ services:
SECRET_STORAGE_BACKEND: vault
VAULT_ADDR: http://vault-default:8200
VAULT_TOKEN: admin
image: ghcr.io/input-output-hk/prism-agent:1.31.0-SNAPSHOT
image: ghcr.io/hyperledger/identus-cloud-agent:1.32.0-SNAPSHOT
restart: always
caddy-default:
configs:
Expand Down
2 changes: 1 addition & 1 deletion examples/mt-keycloak/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ services:
PRISM_NODE_PORT: '50053'
REST_SERVICE_URL: http://caddy-default:8080/prism-agent
SECRET_STORAGE_BACKEND: postgres
image: ghcr.io/input-output-hk/prism-agent:1.31.0-SNAPSHOT
image: ghcr.io/hyperledger/identus-cloud-agent:1.32.0-SNAPSHOT
restart: always
caddy-default:
configs:
Expand Down
16 changes: 15 additions & 1 deletion examples/mt-keycloak/tests/02_jwt_flow.hurl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,20 @@ HTTP 201
[Captures]
issuer_did: jsonpath "$.longFormDid" regex "(did:prism:[a-z0-9]+):.+$"

# Issuer publish DID
POST {{ agent_url }}/prism-agent/did-registrar/dids/{{ issuer_did }}/publications
Authorization: Bearer {{ issuer_access_token }}
HTTP 202

# Issuer wait for DID to be published
GET {{ agent_url }}/prism-agent/did-registrar/dids/{{ issuer_did }}
Authorization: Bearer {{ issuer_access_token }}
[Options]
retry: -1
HTTP 200
[Asserts]
jsonpath "$.status" == "PUBLISHED"

# Holder create DID
POST {{ agent_url }}/prism-agent/did-registrar/dids
Authorization: Bearer {{ holder_access_token }}
Expand All @@ -72,7 +86,7 @@ Authorization: Bearer {{ holder_access_token }}
}
HTTP 201
[Captures]
holder_did: jsonpath "$.longFormDid" regex "(did:prism:[a-z0-9]+):.+$"
holder_did: jsonpath "$.longFormDid"

##############################
# Issuance Connection
Expand Down
2 changes: 1 addition & 1 deletion examples/mt/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
PRISM_NODE_PORT: '50053'
REST_SERVICE_URL: http://caddy-default:8080/prism-agent
SECRET_STORAGE_BACKEND: postgres
image: ghcr.io/input-output-hk/prism-agent:1.31.0-SNAPSHOT
image: ghcr.io/hyperledger/identus-cloud-agent:1.32.0-SNAPSHOT
restart: always
caddy-default:
configs:
Expand Down
79 changes: 0 additions & 79 deletions examples/readme.md

This file was deleted.

6 changes: 3 additions & 3 deletions examples/st-multi/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ services:
PRISM_NODE_PORT: '50053'
REST_SERVICE_URL: http://caddy-holder:8081/prism-agent
SECRET_STORAGE_BACKEND: postgres
image: ghcr.io/input-output-hk/prism-agent:1.31.0-SNAPSHOT
image: ghcr.io/hyperledger/identus-cloud-agent:1.32.0-SNAPSHOT
restart: always
agent-issuer:
depends_on:
Expand Down Expand Up @@ -106,7 +106,7 @@ services:
PRISM_NODE_PORT: '50053'
REST_SERVICE_URL: http://caddy-issuer:8080/prism-agent
SECRET_STORAGE_BACKEND: postgres
image: ghcr.io/input-output-hk/prism-agent:1.31.0-SNAPSHOT
image: ghcr.io/hyperledger/identus-cloud-agent:1.32.0-SNAPSHOT
restart: always
agent-verifier:
depends_on:
Expand Down Expand Up @@ -136,7 +136,7 @@ services:
PRISM_NODE_PORT: '50053'
REST_SERVICE_URL: http://caddy-verifier:8082/prism-agent
SECRET_STORAGE_BACKEND: postgres
image: ghcr.io/input-output-hk/prism-agent:1.31.0-SNAPSHOT
image: ghcr.io/hyperledger/identus-cloud-agent:1.32.0-SNAPSHOT
restart: always
caddy-holder:
configs:
Expand Down
14 changes: 13 additions & 1 deletion examples/st-multi/tests/01_jwt_flow.hurl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ HTTP 201
[Captures]
issuer_did: jsonpath "$.longFormDid" regex "(did:prism:[a-z0-9]+):.+$"

# Issuer publish DID
POST {{ issuer_url }}/prism-agent/did-registrar/dids/{{ issuer_did }}/publications
HTTP 202

# Issuer wait for DID to be published
GET {{ issuer_url }}/prism-agent/did-registrar/dids/{{ issuer_did }}
[Options]
retry: -1
HTTP 200
[Asserts]
jsonpath "$.status" == "PUBLISHED"

# Holder create DID
POST {{ holder_url }}/prism-agent/did-registrar/dids
{
Expand All @@ -33,7 +45,7 @@ POST {{ holder_url }}/prism-agent/did-registrar/dids
}
HTTP 201
[Captures]
holder_did: jsonpath "$.longFormDid" regex "(did:prism:[a-z0-9]+):.+$"
holder_did: jsonpath "$.longFormDid"

##############################
# Issuance Connection
Expand Down
2 changes: 1 addition & 1 deletion examples/st-oidc4vc/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
PRISM_NODE_PORT: '50053'
REST_SERVICE_URL: http://caddy-issuer:8080/prism-agent
SECRET_STORAGE_BACKEND: postgres
image: ghcr.io/input-output-hk/prism-agent:1.31.0-SNAPSHOT
image: ghcr.io/hyperledger/identus-cloud-agent:1.32.0-SNAPSHOT
restart: always
caddy-issuer:
configs:
Expand Down
2 changes: 1 addition & 1 deletion examples/st-vault/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ services:
SECRET_STORAGE_BACKEND: vault
VAULT_ADDR: http://vault-issuer:8200
VAULT_TOKEN: admin
image: ghcr.io/input-output-hk/prism-agent:1.31.0-SNAPSHOT
image: ghcr.io/hyperledger/identus-cloud-agent:1.32.0-SNAPSHOT
restart: always
caddy-issuer:
configs:
Expand Down
2 changes: 1 addition & 1 deletion examples/st/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
PRISM_NODE_PORT: '50053'
REST_SERVICE_URL: http://caddy-issuer:8080/prism-agent
SECRET_STORAGE_BACKEND: postgres
image: ghcr.io/input-output-hk/prism-agent:1.31.0-SNAPSHOT
image: ghcr.io/hyperledger/identus-cloud-agent:1.32.0-SNAPSHOT
restart: always
caddy-issuer:
configs:
Expand Down

0 comments on commit 9eeb3f0

Please sign in to comment.