Skip to content

Commit

Permalink
Merge branch 'main' into ci/semantic-release-preset
Browse files Browse the repository at this point in the history
  • Loading branch information
yshyn-iohk authored Nov 19, 2024
2 parents 523fac9 + b0effec commit c1edf0e
Show file tree
Hide file tree
Showing 66 changed files with 3,209 additions and 880 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ on:
defaults:
run:
shell: bash
working-directory: "tests/integration-tests"

permissions:
checks: write
Expand Down Expand Up @@ -58,12 +57,10 @@ jobs:
- name: Build local version of Cloud Agent
id: build_local_cloud_agent
env:
CLOUD_AGENT_PATH: "../.."
ENV_FILE: "infrastructure/local/.env"
GITHUB_ACTOR: hyperledger-bot
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd "${CLOUD_AGENT_PATH}" || exit 129
sbt docker:publishLocal
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}"
Expand All @@ -74,6 +71,7 @@ jobs:
java-version: "19"

- name: Run integration tests
working-directory: "tests/integration-tests"
env:
PRISM_NODE_VERSION: ${{ steps.build_local_cloud_agent.outputs.prism_node_version }}
AGENT_VERSION: ${{ steps.build_local_cloud_agent.outputs.agent_version }}
Expand All @@ -84,6 +82,7 @@ jobs:
./gradlew test --tests "IntegrationTestsRunner"
- name: Make report of integration tests
working-directory: "tests/integration-tests"
if: always()
env:
PRISM_NODE_VERSION: ${{ steps.build_local_cloud_agent.outputs.prism_node_version }}
Expand All @@ -94,6 +93,7 @@ jobs:
./gradlew reports
- name: Extract test results
working-directory: "tests/integration-tests"
id: analyze_test_results
if: github.ref_name == 'main' && always()
run: |
Expand Down Expand Up @@ -161,3 +161,17 @@ jobs:
SLACK_TITLE: "Identus Cloud Agent Integration Tests: ${{ steps.analyze_test_results.outputs.conclusion }}"
SLACK_USERNAME: circleci
SLACK_WEBHOOK: ${{ secrets.E2E_TESTS_SLACK_WEBHOOK }}

- uses: actions/setup-node@v4
with:
node-version: 20

- name: Run didcomm tests
working-directory: "tests/didcomm-tests"
env:
AGENT_VERSION: ${{ steps.build_local_cloud_agent.outputs.agent_version }}
run: |
./docker/run.sh "$AGENT_VERSION"
npm i
npm test
./docker/stop.sh
75 changes: 75 additions & 0 deletions .github/workflows/sbt-dependency-submission.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# See https://github.com/marketplace/actions/sbt-dependency-submission
name: Update Dependency Graph
on:
# push:
# branches:
# - master # default branch of the project
schedule:
- cron: "0 20 * * *"
workflow_dispatch:

# Permission can be added at job level or workflow level
permissions:
contents: write # This is required to upload for the dependency-submission

jobs:
dependency-graph:
name: Update Dependency Graph
runs-on: ubuntu-latest # or windows-latest, or macOS-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java and Scala
uses: olafurpg/setup-scala@v14
with:
java-version: [email protected]
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "18" # or whatever
# - name: Setup Scala.JS
# uses: japgolly/setup-scalajs@v1
- name: Cache sbt
uses: coursier/[email protected]
# - name: npm install
# run: npm install
- uses: scalacenter/sbt-dependency-submission@v2
with:
working-directory: ./
modules-ignore:
root_3
shared-test
polluxanoncredstest_3
# predef_3
# mercury-agent-didcommx_3
# identus-cloud-agent_3
# mercury-protocol-coordinate-mediation_3
# pollux-sql-doobie_3
# mercury-protocol-outofband-login_3
# connect-sql-doobie_3
# shared
# pollux-core_3
# pollux-sd-jwt_3
# shared-json
# pollux-vc-jwt_3
# mercury-agent-core_3
# mercury-protocol-connection_3
# mercury-protocol-present-proof_3
# castor-core_3
# connect-core_3
# mercury-protocol-trust-ping_3
# shared-crypto
# mercury-protocol-report-problem_3
# pollux-prex_3
# mercury-data-models_3
# mercury-resolver_3
# mercury-protocol-issue-credential_3
# pollux-anoncreds_3
# mercury-protocol-routing-2-0_3
# mercury-verifiable-credentials_3
# mercury-protocol-did-exchange_3
# mercury-protocol-revocation-notification_3
# mercury-protocol-invitation_3
# event-notification_3
# prism-node-client_3
# cloud-agent-wallet-api_3
configs-ignore: test scala-tool scala-doc-tool
4 changes: 3 additions & 1 deletion .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@ SQL_SQL_LINT_ARGUMENTS: -d postgres --ignore-errors=postgres-invalid-alter-optio
YAML_YAMLLINT_FILTER_REGEX_EXCLUDE: "infrastructure/charts/agent/*|cloud-agent/service/api/http/*|examples/*"
YAML_PRETTIER_FILTER_REGEX_EXCLUDE: "infrastructure/charts/agent/*|cloud-agent/service/api/http/*|examples/*"
YAML_V8R_FILTER_REGEX_EXCLUDE: "infrastructure/charts/agent/*"
JAVASCRIPT_STANDARD_FILTER_REGEX_EXCLUDE: "tests/performance-tests/agent-performance-tests-k6/src/k6chaijs.js"
JAVASCRIPT_STANDARD_FILTER_REGEX_EXCLUDE:
"tests/performance-tests/agent-performance-tests-k6/src/k6chaijs.js\
|tests/didcomm-tests/docker/initdb.js"
BASH_SHELLCHECK_FILTER_REGEX_EXCLUDE: "infrastructure/*"
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
# [1.40.0](https://github.com/hyperledger/identus-cloud-agent/compare/cloud-agent-v1.39.0...cloud-agent-v1.40.0) (2024-11-05)


### Bug Fixes

* Add key_id missing field ([#1403](https://github.com/hyperledger/identus-cloud-agent/issues/1403)) ([cbd1a03](https://github.com/hyperledger/identus-cloud-agent/commit/cbd1a03a8aa91c5a5487c54046e4d9305f9d9241))
* adjust Kotlin and TypeScript HTTP client to use the `schemaId` f… ([#1388](https://github.com/hyperledger/identus-cloud-agent/issues/1388)) ([c2da492](https://github.com/hyperledger/identus-cloud-agent/commit/c2da492131e5c545b0fefb101246c48684bc9433))
* cannot reuse the same credential-offer in oid4vci ([#1361](https://github.com/hyperledger/identus-cloud-agent/issues/1361)) ([6a0a3ea](https://github.com/hyperledger/identus-cloud-agent/commit/6a0a3ea3deef712479420ac23ef58aaafa7df78a))
* handle unsupported PIURI found in DIDComm messages accordingly ([#1399](https://github.com/hyperledger/identus-cloud-agent/issues/1399)) ([9b64793](https://github.com/hyperledger/identus-cloud-agent/commit/9b64793ee7939860973108a8b30bc0b48a840518))
* key id for jwt and sdjwt ([#1420](https://github.com/hyperledger/identus-cloud-agent/issues/1420)) ([5830a7e](https://github.com/hyperledger/identus-cloud-agent/commit/5830a7e17a72abae98faa81594421aa577eaeb24))
* oas to use any schema for json ast node ([#1372](https://github.com/hyperledger/identus-cloud-agent/issues/1372)) ([95d328e](https://github.com/hyperledger/identus-cloud-agent/commit/95d328e3420d4731817a1f91c720e2833e9de362))
* oid4vci endpoints error statuses and negative input validation ([#1384](https://github.com/hyperledger/identus-cloud-agent/issues/1384)) ([65cc9a7](https://github.com/hyperledger/identus-cloud-agent/commit/65cc9a712af722f5cb3dd36e78b088c20723097b))
* Preserve Presentation Format ([#1363](https://github.com/hyperledger/identus-cloud-agent/issues/1363)) ([c18385c](https://github.com/hyperledger/identus-cloud-agent/commit/c18385c8fdbbb0e5dbde9a03e21f4600bf5e6890))
* return 404 when create credConfig on non-existing issuer ([#1379](https://github.com/hyperledger/identus-cloud-agent/issues/1379)) ([e532ba6](https://github.com/hyperledger/identus-cloud-agent/commit/e532ba604c4e8e820345226d842d3b27813f5e66))


### Features

* Add KID to the credential-offers API - ATL-7704 ([#1320](https://github.com/hyperledger/identus-cloud-agent/issues/1320)) ([56200cf](https://github.com/hyperledger/identus-cloud-agent/commit/56200cfae6f62b823a74e67eb060face2ee3ecbc))
* add presentation-exchange endpoints ([#1365](https://github.com/hyperledger/identus-cloud-agent/issues/1365)) ([49f7ab3](https://github.com/hyperledger/identus-cloud-agent/commit/49f7ab3d0473d820c37dc7f4f944cf1c2cae2a25))
* ATL-6983 ZIO Stream Kafka PoC in background jobs ([#1339](https://github.com/hyperledger/identus-cloud-agent/issues/1339)) ([19ab426](https://github.com/hyperledger/identus-cloud-agent/commit/19ab426a191eec575ffebe6a2417f3fce538969c))
* Default Backend API to Array Of Credential Schema ([#1366](https://github.com/hyperledger/identus-cloud-agent/issues/1366)) ([693dcc4](https://github.com/hyperledger/identus-cloud-agent/commit/693dcc45274044ac9bebffe2a8dbe0b85b45b452))
* Default Object As Issuer ([#1349](https://github.com/hyperledger/identus-cloud-agent/issues/1349)) ([d29eebb](https://github.com/hyperledger/identus-cloud-agent/commit/d29eebbef29773103814528c382a3000c4f3b29b))
* Implement prism anoncreds method for schemas and credential definitions ([#1385](https://github.com/hyperledger/identus-cloud-agent/issues/1385)) ([fbee055](https://github.com/hyperledger/identus-cloud-agent/commit/fbee0554bf424acf8007c9b7088cdb0654f0d6b2))
* Issuer Replace Either By Union Type ([#1374](https://github.com/hyperledger/identus-cloud-agent/issues/1374)) ([8fc2fe3](https://github.com/hyperledger/identus-cloud-agent/commit/8fc2fe3dbed8856d21c18b7fedf89454661b34d6))
* presentation_submission validation logic ([#1332](https://github.com/hyperledger/identus-cloud-agent/issues/1332)) ([f80b3c3](https://github.com/hyperledger/identus-cloud-agent/commit/f80b3c34588437b131ce872fd86f93e75dcd035f))
* Support Array Of Credential Schema ([#1351](https://github.com/hyperledger/identus-cloud-agent/issues/1351)) ([948e314](https://github.com/hyperledger/identus-cloud-agent/commit/948e3149466b327686273825ce7858adaf8d7555))
* Test JWT OBJECT as Issuer ([#1343](https://github.com/hyperledger/identus-cloud-agent/issues/1343)) ([7208d95](https://github.com/hyperledger/identus-cloud-agent/commit/7208d955b56375b0c79c20a0237df9890ecd3580))
* VC support for Array of credential Status ([#1383](https://github.com/hyperledger/identus-cloud-agent/issues/1383)) ([ad946cf](https://github.com/hyperledger/identus-cloud-agent/commit/ad946cf3f635b882d772a00b0202b957a1cb82cb))
* VCVerification API support ARRAY or OBJECT as Credential Sc… ([#1355](https://github.com/hyperledger/identus-cloud-agent/issues/1355)) ([91cb4e7](https://github.com/hyperledger/identus-cloud-agent/commit/91cb4e7f4371a651617265279a27fefe9551887c))

# [1.39.0](https://github.com/hyperledger/identus-cloud-agent/compare/cloud-agent-v1.38.0...cloud-agent-v1.39.0) (2024-09-11)


Expand Down
Loading

0 comments on commit c1edf0e

Please sign in to comment.