-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update open-api-spec and generator script and package.json (#990)
Signed-off-by: mineme0110 <[email protected]> Signed-off-by: Fabio Pinheiro <[email protected]> Co-authored-by: Fabio Pinheiro <[email protected]>
- Loading branch information
1 parent
1ea6218
commit 88c1b5e
Showing
32 changed files
with
108 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,8 +40,8 @@ jobs: | |
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ secrets.ATALA_GITHUB_ACTOR }} | ||
password: ${{ secrets.ATALA_GITHUB_TOKEN }} | ||
username: hyperledger-bot | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Install Compose | ||
uses: ndeloof/[email protected] | ||
|
@@ -54,8 +54,8 @@ jobs: | |
env: | ||
CLOUD_AGENT_PATH: "../.." | ||
ENV_FILE: "infrastructure/local/.env" | ||
GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }} | ||
GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} | ||
GITHUB_ACTOR: hyperledger-bot | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
cd "${CLOUD_AGENT_PATH}" || exit 129 | ||
sbt docker:publishLocal | ||
|
@@ -71,11 +71,20 @@ jobs: | |
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 }} | ||
ATALA_GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }} | ||
ATALA_GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} | ||
continue-on-error: true | ||
GITHUB_ACTOR: hyperledger-bot | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# continue-on-error: true | ||
run: | | ||
./gradlew test --tests "IntegrationTestsRunner" | ||
- name: Make report of integration tests | ||
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 }} | ||
GITHUB_ACTOR: hyperledger-bot | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
./gradlew test --tests "IntegrationTestsRunner" || true | ||
./gradlew reports | ||
- name: Extract test results | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
name: Publish prism-agent clients | ||
name: Publish Identus-cloud-agent clients | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
releaseTag: | ||
description: "Tag to release clients (e.g. prism-agent-v1.31.0)" | ||
description: "Tag to release clients (e.g. identus-cloud-agent-v1.33.0)" | ||
required: true | ||
type: string | ||
push: | ||
tags: | ||
- "prism-agent-v*" | ||
- "identus-cloud-agent-v*" | ||
|
||
jobs: | ||
publish-clients: | ||
name: 'Build and publish Prism-Agent clients' | ||
name: 'Build and publish Identus-cloud-Agent clients' | ||
runs-on: ubuntu-latest | ||
env: | ||
VERSION_TAG: ${{inputs.releaseTag || github.ref_name}} | ||
ATALA_GITHUB_ACTOR: ${{secrets.ATALA_GITHUB_ACTOR}} | ||
ATALA_GITHUB_TOKEN: ${{secrets.ATALA_GITHUB_TOKEN}} | ||
NODE_AUTH_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} | ||
GITHUB_ACTOR: ${{secrets.GITHUB_ACTOR}} | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -44,20 +44,20 @@ jobs: | |
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ secrets.ATALA_GITHUB_ACTOR }} | ||
password: ${{ secrets.ATALA_GITHUB_TOKEN }} | ||
username: hyperledger-bot | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Setup yq - portable yaml processor | ||
uses: mikefarah/[email protected] | ||
|
||
- name: Install generator dependencies | ||
working-directory: prism-agent/client/generator | ||
working-directory: cloud-agent/client/generator | ||
run: yarn install | ||
|
||
- name: Generate clients | ||
working-directory: prism-agent/client/generator | ||
working-directory: cloud-agent/client/generator | ||
run: yarn generate:all | ||
|
||
- name: Publish clients | ||
working-directory: prism-agent/client/generator | ||
working-directory: cloud-agent/client/generator | ||
run: yarn publish:clients |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
|
||
rootProject.name = 'prism-kotlin-client' | ||
rootProject.name = 'identus--kotlin-client' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/integration-tests/src/test/kotlin/common/CredentialSchema.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
tests/integration-tests/src/test/kotlin/common/TestConstants.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.