Skip to content

Commit

Permalink
fix: update prism-node version to 2.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Yurii Shynbuiev <[email protected]>
  • Loading branch information
yshyn-iohk committed May 21, 2024
1 parent 34195ea commit 7327086
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,15 @@ The `PORT` variable is used to specify the port number for the Cloud Agent to li
In real life, you will need to start at least two Cloud Agent instances with different roles. For example, you can start one instance with the `issuer` role and another one with the `holder` role. The `issuer` instance will be used to issue verifiable credentials (VCs) and the `holder` instance will be used to hold VCs. Here is an example of how you can do this:

```bash
PORT=8080 AGENT_VERSION=${AGENT_VERSION} PRISM_NODE_VERSION=2.2.1 \
PORT=8080 AGENT_VERSION=${AGENT_VERSION} PRISM_NODE_VERSION=2.3.0 \
docker compose \
-p "issuer" \
-f ./infrastructure/shared/docker-compose-demo.yml \
up --wait
```

```bash
PORT=8090 AGENT_VERSION=${AGENT_VERSION} PRISM_NODE_VERSION=2.2.1 \
PORT=8090 AGENT_VERSION=${AGENT_VERSION} PRISM_NODE_VERSION=2.3.0 \
docker compose \
-p "holder" \
-f ./infrastructure/shared/docker-compose-demo.yml \
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/single-tenant-testing-stack/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
AGENT_VERSION=1.25.0
PRISM_NODE_VERSION=2.2.1
PRISM_NODE_VERSION=2.3.0
VAULT_DEV_ROOT_TOKEN_ID=root
6 changes: 3 additions & 3 deletions tests/integration-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ The following variables must be set before running the tests:
* `AGENT_VERSION`: version of the ICA docker image to use.

```shell
TESTS_CONFIG=/configs/basic.conf PRISM_NODE_VERSION=2.2.1 AGENT_VERSION=1.30.1 ./gradlew test
TESTS_CONFIG=/configs/basic.conf PRISM_NODE_VERSION=2.3.0 AGENT_VERSION=1.30.1 ./gradlew test
```

> Please note: there is no need to pass environment variables if you're using already running agents.
Expand All @@ -414,15 +414,15 @@ To simplify the execution, each configuration file creates a new `gradle` task.
It's possible to execute the configuration file as

```shell
PRISM_NODE_VERSION=2.2.1 AGENT_VERSION=1.30.1 ./gradlew test_basic
PRISM_NODE_VERSION=2.3.0 AGENT_VERSION=1.30.1 ./gradlew test_basic
```

Also, it's possible to execute the integration tests to all configurations files. The task is named `regression`, it should take a lot of time to execute.

Note: report is not working due constrains in Serenity BDD reporting system.

```shell
PRISM_NODE_VERSION=2.2.1 AGENT_VERSION=1.30.1 ./gradlew regression
PRISM_NODE_VERSION=2.3.0 AGENT_VERSION=1.30.1 ./gradlew regression
```

### Running scenarios in IntelliJ IDEA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ data class Agent(
File("src/test/resources/containers/agent.yml"),
)
.withEnv(env)
.waitingFor("open-enterprise-agent", Wait.forHealthcheck())
.waitingFor("identus-cloud-agent", Wait.forHealthcheck())
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ services:
# Secret storage - hashicorp

# Open Enterprise Agent
open-enterprise-agent:
identus-cloud-agent:
image: ghcr.io/hyperledger/identus-cloud-agent:${AGENT_VERSION}
environment:
PRISM_NODE_HOST: host.docker.internal
Expand Down Expand Up @@ -64,7 +64,7 @@ services:
"CMD",
"curl",
"-f",
"http://open-enterprise-agent:${AGENT_HTTP_PORT}/_system/health",
"http://identus-cloud-agent:${AGENT_HTTP_PORT}/_system/health",
]
interval: 10s
timeout: 5s
Expand Down
2 changes: 1 addition & 1 deletion tests/performance-tests/agent-performance-tests-k6/.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
AGENT_VERSION=1.33.0-SNAPSHOT
PRISM_NODE_VERSION=2.2.1
PRISM_NODE_VERSION=2.3.0
VAULT_DEV_ROOT_TOKEN_ID=root

0 comments on commit 7327086

Please sign in to comment.