diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 42ec0951b6..3a8202ed48 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -63,7 +63,7 @@ jobs: run: | cd "${CLOUD_AGENT_PATH}" || exit 129 sbt docker:publishLocal - echo "open_enterprise_agent_version=$(cut -d'=' -f2 version.sbt | tr -d '" ')" >> "${GITHUB_OUTPUT}" + echo "agent_version=$(cut -d'=' -f2 version.sbt | tr -d '" ')" >> "${GITHUB_OUTPUT}" echo "prism_node_version=$(grep PRISM_NODE_VERSION infrastructure/local/.env | cut -d'=' -f2 | tr -d ' ')" >> "${GITHUB_OUTPUT}" - uses: actions/setup-java@v3 @@ -74,7 +74,7 @@ jobs: - name: Run integration tests env: PRISM_NODE_VERSION: ${{ steps.build_local_cloud_agent.outputs.prism_node_version }} - OPEN_ENTERPRISE_AGENT_VERSION: ${{ steps.build_local_cloud_agent.outputs.open_enterprise_agent_version }} + AGENT_VERSION: ${{ steps.build_local_cloud_agent.outputs.agent_version }} GITHUB_ACTOR: hyperledger-bot GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # continue-on-error: true @@ -85,7 +85,7 @@ jobs: if: always() env: PRISM_NODE_VERSION: ${{ steps.build_local_cloud_agent.outputs.prism_node_version }} - OPEN_ENTERPRISE_AGENT_VERSION: ${{ steps.build_local_cloud_agent.outputs.open_enterprise_agent_version }} + AGENT_VERSION: ${{ steps.build_local_cloud_agent.outputs.agent_version }} GITHUB_ACTOR: hyperledger-bot GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | diff --git a/SECURITY.md b/SECURITY.md index 1edd6ab1b2..2995aeff4b 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,11 +2,11 @@ # Reporting Security Issues -The Identus Cloud Agent (ICA) team and community take security bugs in the components of the OEA ecosystem seriously. We appreciate your efforts to disclose your findings responsibly and will make every effort to acknowledge your contributions. +The Identus Cloud Agent (ICA) team and community take security bugs in the components of the ICA ecosystem seriously. We appreciate your efforts to disclose your findings responsibly and will make every effort to acknowledge your contributions. To report a security issue, please use the GitHub Security Advisory ["Report a Vulnerability"](https://github.com/hyperledger/identus-cloud-agent/security/advisories/new) tab. -The OEA team will send a response indicating the next steps in handling your report. After the initial reply to your report, the security team will keep you informed of the progress towards a fix and full announcement, and may ask for additional information or guidance. +The Identus maintainers will send a response indicating the next steps in handling your report. After the initial reply to your report, the security team will keep you informed of the progress towards a fix and full announcement, and may ask for additional information or guidance. Report security bugs in third-party modules to the person or team maintaining the module. diff --git a/infrastructure/single-tenant-testing-stack/apisix/conf/apisix.yaml b/infrastructure/single-tenant-testing-stack/apisix/conf/apisix.yaml index 4e9fc1648f..6c4fd899fb 100644 --- a/infrastructure/single-tenant-testing-stack/apisix/conf/apisix.yaml +++ b/infrastructure/single-tenant-testing-stack/apisix/conf/apisix.yaml @@ -53,7 +53,7 @@ routes: upstreams: - id: 1 nodes: - "issuer-oea:8085": 1 # tapir + "issuer-agent:8085": 1 # tapir type: roundrobin timeout: connect: 900 @@ -61,7 +61,7 @@ upstreams: read: 900 - id: 2 nodes: - "issuer-oea:8090": 1 # didcom + "issuer-agent:8090": 1 # didcom type: roundrobin timeout: connect: 900 @@ -69,7 +69,7 @@ upstreams: read: 900 - id: 3 nodes: - "verifier-oea:8085": 1 # tapir + "verifier-agent:8085": 1 # tapir type: roundrobin timeout: connect: 900 @@ -77,7 +77,7 @@ upstreams: read: 900 - id: 4 nodes: - "verifier-oea:8090": 1 # didcom + "verifier-agent:8090": 1 # didcom type: roundrobin timeout: connect: 900 @@ -85,7 +85,7 @@ upstreams: read: 900 - id: 5 nodes: - "holder-oea:8085": 1 # tapir + "holder-agent:8085": 1 # tapir type: roundrobin timeout: connect: 900 @@ -93,7 +93,7 @@ upstreams: read: 900 - id: 6 nodes: - "holder-oea:8090": 1 # didcom + "holder-agent:8090": 1 # didcom type: roundrobin timeout: connect: 900 diff --git a/infrastructure/single-tenant-testing-stack/dashboards/oea-k6-detail.json b/infrastructure/single-tenant-testing-stack/dashboards/ica-k6-detail.json similarity index 96% rename from infrastructure/single-tenant-testing-stack/dashboards/oea-k6-detail.json rename to infrastructure/single-tenant-testing-stack/dashboards/ica-k6-detail.json index 897c56f5f7..e7873449d0 100644 --- a/infrastructure/single-tenant-testing-stack/dashboards/oea-k6-detail.json +++ b/infrastructure/single-tenant-testing-stack/dashboards/ica-k6-detail.json @@ -19,7 +19,7 @@ "uid": "${DS_LOKI}" }, "enable": false, - "expr": "{compose_service=~\".*-oea\"} |= \"ERROR\"", + "expr": "{compose_service=~\".*-agent\"} |= \"ERROR\"", "iconColor": "red", "instant": false, "name": "Error in log" @@ -95,9 +95,7 @@ "justifyMode": "center", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -210,7 +208,7 @@ "uid": "${DS_LOKI}" }, "editorMode": "code", - "expr": "count_over_time({compose_service=~\".*-oea\"}[$__interval])", + "expr": "count_over_time({compose_service=~\".*-agent\"}[$__interval])", "legendFormat": "{{ compose_service }}", "queryType": "range", "refId": "A" @@ -316,7 +314,7 @@ "uid": "${DS_LOKI}" }, "editorMode": "code", - "expr": "count_over_time({compose_service=~\".*-oea\"} |= \"ERROR\" [$__interval])", + "expr": "count_over_time({compose_service=~\".*-agent\"} |= \"ERROR\" [$__interval])", "legendFormat": "{{ compose_service }}", "queryType": "range", "refId": "A" @@ -378,9 +376,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -446,9 +442,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -513,9 +507,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -580,9 +572,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -660,7 +650,7 @@ "uid": "${DS_LOKI}" }, "editorMode": "code", - "expr": "{compose_service=~\".*-oea\"} |= \"ERROR\"", + "expr": "{compose_service=~\".*-agent\"} |= \"ERROR\"", "hide": false, "queryType": "range", "refId": "B" @@ -768,9 +758,7 @@ "justifyMode": "center", "orientation": "auto", "reduceOptions": { - "calcs": [ - "min" - ], + "calcs": ["min"], "fields": "", "values": false }, @@ -830,9 +818,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "mean" - ], + "calcs": ["mean"], "fields": "", "values": false }, @@ -892,9 +878,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "max" - ], + "calcs": ["max"], "fields": "", "values": false }, @@ -1033,10 +1017,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } }, @@ -1222,19 +1203,12 @@ "interval": "5", "options": { "legend": { - "calcs": [ - "min", - "mean", - "max", - "lastNotNull" - ], + "calcs": ["min", "mean", "max", "lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, - "timezones": [ - "browser" - ], + "timezones": ["browser"], "tooltip": { "mode": "multi", "sort": "none" @@ -1444,12 +1418,7 @@ "id": 12, "options": { "legend": { - "calcs": [ - "min", - "lastNotNull", - "max", - "mean" - ], + "calcs": ["min", "lastNotNull", "max", "mean"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -1562,11 +1531,7 @@ "links": [], "options": { "legend": { - "calcs": [ - "min", - "lastNotNull", - "max" - ], + "calcs": ["min", "lastNotNull", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -1701,10 +1666,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -1741,10 +1703,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -1883,10 +1842,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -1923,10 +1879,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -2731,9 +2684,7 @@ "footer": { "countRows": false, "fields": "", - "reducer": [ - "sum" - ], + "reducer": ["sum"], "show": false }, "frameIndex": 1, @@ -2822,34 +2773,23 @@ "options": { "fields": { "Value": { - "aggregations": [ - "min", - "max" - ], + "aggregations": ["min", "max"], "operation": "aggregate" }, "Value #A": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "Value #B": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "Value #C": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "Value #D": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "Value #E": { @@ -2857,9 +2797,7 @@ "operation": "aggregate" }, "Value #F": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "method": { @@ -3014,9 +2952,7 @@ "countRows": false, "enablePagination": true, "fields": [], - "reducer": [ - "sum" - ], + "reducer": ["sum"], "show": false }, "frameIndex": 2, @@ -3053,39 +2989,27 @@ "options": { "fields": { "Value": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "Value #A": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "Value #B": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "Value #C": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "Value #D": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "Value #E": { - "aggregations": [ - "lastNotNull" - ], + "aggregations": ["lastNotNull"], "operation": "aggregate" }, "Value #F": { @@ -3285,4 +3209,4 @@ "uid": "oea-k6-detail", "version": 10, "weekStart": "" -} \ No newline at end of file +} diff --git a/infrastructure/single-tenant-testing-stack/dashboards/oea-k8s-overview.json b/infrastructure/single-tenant-testing-stack/dashboards/ica-k8s-overview.json similarity index 97% rename from infrastructure/single-tenant-testing-stack/dashboards/oea-k8s-overview.json rename to infrastructure/single-tenant-testing-stack/dashboards/ica-k8s-overview.json index 7cc0c5125c..466c246260 100644 --- a/infrastructure/single-tenant-testing-stack/dashboards/oea-k8s-overview.json +++ b/infrastructure/single-tenant-testing-stack/dashboards/ica-k8s-overview.json @@ -19,7 +19,7 @@ "uid": "${DS_LOKI}" }, "enable": false, - "expr": "{compose_service=~\".*-oea\"} |= \"ERROR\"", + "expr": "{compose_service=~\".*-agent\"} |= \"ERROR\"", "iconColor": "red", "instant": false, "name": "Error in log" @@ -98,9 +98,7 @@ "justifyMode": "center", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -213,7 +211,7 @@ "uid": "${DS_LOKI}" }, "editorMode": "code", - "expr": "count_over_time({compose_service=~\".*-oea\"}[$__interval])", + "expr": "count_over_time({compose_service=~\".*-agent\"}[$__interval])", "legendFormat": "{{ compose_service }}", "queryType": "range", "refId": "A" @@ -319,7 +317,7 @@ "uid": "${DS_LOKI}" }, "editorMode": "code", - "expr": "count_over_time({compose_service=~\".*-oea\"} |= \"ERROR\" [$__interval])", + "expr": "count_over_time({compose_service=~\".*-agent\"} |= \"ERROR\" [$__interval])", "legendFormat": "{{ compose_service }}", "queryType": "range", "refId": "A" @@ -381,9 +379,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -449,9 +445,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -516,9 +510,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -583,9 +575,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -761,7 +751,7 @@ "uid": "${DS_LOKI}" }, "editorMode": "code", - "expr": "{compose_service=~\".*-oea\"} |= \"ERROR\"", + "expr": "{compose_service=~\".*-agent\"} |= \"ERROR\"", "hide": false, "queryType": "range", "refId": "B" @@ -896,11 +886,7 @@ "id": 269, "options": { "legend": { - "calcs": [ - "mean", - "min", - "max" - ], + "calcs": ["mean", "min", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -993,11 +979,7 @@ "id": 374, "options": { "legend": { - "calcs": [ - "mean", - "min", - "max" - ], + "calcs": ["mean", "min", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -1104,11 +1086,7 @@ "id": 421, "options": { "legend": { - "calcs": [ - "min", - "mean", - "max" - ], + "calcs": ["min", "mean", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -1214,9 +1192,7 @@ "id": 404, "options": { "legend": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -1323,11 +1299,7 @@ "id": 359, "options": { "legend": { - "calcs": [ - "mean", - "min", - "max" - ], + "calcs": ["mean", "min", "max"], "displayMode": "table", "placement": "right", "showLegend": true @@ -1444,11 +1416,7 @@ "id": 267, "options": { "legend": { - "calcs": [ - "mean", - "min", - "max" - ], + "calcs": ["mean", "min", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -1541,11 +1509,7 @@ "id": 389, "options": { "legend": { - "calcs": [ - "mean", - "min", - "max" - ], + "calcs": ["mean", "min", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -1703,9 +1667,7 @@ "id": 419, "options": { "legend": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -1874,11 +1836,7 @@ "id": 268, "options": { "legend": { - "calcs": [ - "mean", - "min", - "max" - ], + "calcs": ["mean", "min", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -1971,11 +1929,7 @@ "id": 422, "options": { "legend": { - "calcs": [ - "mean", - "min", - "max" - ], + "calcs": ["mean", "min", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -2155,10 +2109,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } }, @@ -2292,19 +2243,12 @@ "interval": "5", "options": { "legend": { - "calcs": [ - "min", - "mean", - "max", - "lastNotNull" - ], + "calcs": ["min", "mean", "max", "lastNotNull"], "displayMode": "table", "placement": "bottom", "showLegend": true }, - "timezones": [ - "browser" - ], + "timezones": ["browser"], "tooltip": { "mode": "multi", "sort": "none" @@ -2924,12 +2868,7 @@ "maxPerRow": 2, "options": { "legend": { - "calcs": [ - "lastNotNull", - "mean", - "min", - "max" - ], + "calcs": ["lastNotNull", "mean", "min", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -3021,9 +2960,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -3082,9 +3019,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -3143,9 +3078,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -3251,12 +3184,7 @@ "id": 12, "options": { "legend": { - "calcs": [ - "min", - "lastNotNull", - "max", - "mean" - ], + "calcs": ["min", "lastNotNull", "max", "mean"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -3368,11 +3296,7 @@ "links": [], "options": { "legend": { - "calcs": [ - "min", - "lastNotNull", - "max" - ], + "calcs": ["min", "lastNotNull", "max"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -3506,10 +3430,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -3546,10 +3467,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -3687,10 +3605,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -3727,10 +3642,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -5214,12 +5126,7 @@ "id": 10, "options": { "legend": { - "calcs": [ - "min", - "lastNotNull", - "max", - "mean" - ], + "calcs": ["min", "lastNotNull", "max", "mean"], "displayMode": "table", "placement": "right", "showLegend": true @@ -5301,9 +5208,7 @@ "justifyMode": "auto", "orientation": "auto", "reduceOptions": { - "calcs": [ - "lastNotNull" - ], + "calcs": ["lastNotNull"], "fields": "", "values": false }, @@ -5393,12 +5298,7 @@ "id": 286, "options": { "legend": { - "calcs": [ - "lastNotNull", - "min", - "max", - "mean" - ], + "calcs": ["lastNotNull", "min", "max", "mean"], "displayMode": "table", "placement": "bottom", "showLegend": true @@ -5501,12 +5401,8 @@ "allValue": "", "current": { "selected": true, - "text": [ - "All" - ], - "value": [ - "$__all" - ] + "text": ["All"], + "value": ["$__all"] }, "datasource": { "type": "prometheus", @@ -5606,4 +5502,4 @@ "uid": "oea-k8s-overview", "version": 24, "weekStart": "" -} \ No newline at end of file +} diff --git a/infrastructure/single-tenant-testing-stack/docker-compose.yml b/infrastructure/single-tenant-testing-stack/docker-compose.yml index bc4c641c53..8d047a26f5 100644 --- a/infrastructure/single-tenant-testing-stack/docker-compose.yml +++ b/infrastructure/single-tenant-testing-stack/docker-compose.yml @@ -84,7 +84,7 @@ services: node-db: condition: service_healthy - issuer-oea: + issuer-agent: image: ghcr.io/hyperledger/identus-cloud-agent:${AGENT_VERSION} environment: POLLUX_DB_HOST: issuer-db @@ -135,7 +135,7 @@ services: prism-node: condition: service_started healthcheck: - test: ["CMD", "curl", "-f", "http://issuer-oea:8085/_system/health"] + test: ["CMD", "curl", "-f", "http://issuer-agent:8085/_system/health"] interval: 30s timeout: 10s retries: 5 @@ -154,7 +154,7 @@ services: ports: - 9095:9095 - verifier-oea: + verifier-agent: image: ghcr.io/hyperledger/identus-cloud-agent:${AGENT_VERSION} environment: POLLUX_DB_HOST: verifier-db @@ -205,28 +205,28 @@ services: prism-node: condition: service_started healthcheck: - test: ["CMD", "curl", "-f", "http://verifier-oea:8085/_system/health"] + test: ["CMD", "curl", "-f", "http://verifier-agent:8085/_system/health"] interval: 30s timeout: 10s retries: 5 extra_hosts: - "host.docker.internal:host-gateway" - issuer-oea-postgres-exporter: + issuer-agent-postgres-exporter: image: quay.io/prometheuscommunity/postgres-exporter ports: - "9995:9187" environment: - DATA_SOURCE_NAME=postgresql://postgres:postgres@holder-db:5432/postgres?sslmode=disable - holder-oea-postgres-exporter: + holder-agent-postgres-exporter: image: quay.io/prometheuscommunity/postgres-exporter ports: - "9996:9187" environment: - DATA_SOURCE_NAME=postgresql://postgres:postgres@issuer-db:5432/postgres?sslmode=disable - holder-oea: + holder-agent: image: ghcr.io/hyperledger/identus-cloud-agent:${AGENT_VERSION} environment: POLLUX_DB_HOST: holder-db @@ -277,7 +277,7 @@ services: prism-node: condition: service_started healthcheck: - test: ["CMD", "curl", "-f", "http://holder-oea:8085/_system/health"] + test: ["CMD", "curl", "-f", "http://holder-agent:8085/_system/health"] interval: 30s timeout: 10s retries: 5 @@ -304,9 +304,9 @@ services: ports: - "${PORT}:9080/tcp" depends_on: - - issuer-oea - - verifier-oea - - holder-oea + - issuer-agent + - verifier-agent + - holder-agent volumes: issuer_pg_data_db: diff --git a/tests/integration-tests/README.md b/tests/integration-tests/README.md index e6c854af6d..e18919fc45 100644 --- a/tests/integration-tests/README.md +++ b/tests/integration-tests/README.md @@ -1,6 +1,6 @@ # Integration Tests -This directory contains the integration tests for the Open Enterprise Agent (OEA). +This directory contains the integration tests for the Identus Cloud Agent (ICA). ## Main concepts @@ -9,7 +9,7 @@ The integration tests are written in Kotlin, and use the following tools and lib 1. [Serenity BDD](https://serenity-bdd.github.io/) for test execution engine 2. [Hoplite](https://github.com/sksamuel/hoplite) for configuration management 3. [Ktor](https://ktor.io/) for HTTP listener (async receiver for webhook messages) -4. [PRISM Kotlin client](https://github.com/hyperledger-labs/open-enterprise-agent/packages/1919198) for OEA API models. +4. [Identus Cloud Agent Client Kotlin](https://github.com/hyperledger/identus-cloud-agent/packages/2135556) for ICA API models. 5. [Atala Automation](https://github.com/input-output-hk/atala-automation/) for general testing helpers. 6. [Awaitility](http://www.awaitility.org/) for asynchronous operations waiting. 7. [TestContainers](https://www.testcontainers.org/) for Docker containers management. @@ -62,16 +62,16 @@ Here are some rules to follow when writing the tests: ## System under test -The main idea of the framework is to test the OEA as a black box. +The main idea of the framework is to test the ICA as a black box. -The tests interact with the OEA through the API and webhook messages. +The tests interact with the ICA through the API and webhook messages.
Pic. 2. Overview of the system under test. Roles, Agents and Services communication.