Skip to content

Commit

Permalink
uri
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandramartinez committed Sep 19, 2024
1 parent 8a6d762 commit 70b99ee
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,10 @@ jobs:
-Dclient.secret="$ANYPOINT_CLIENT_SECRET" | grep ":$REST_API_ARTIFACT_ID:" | grep -Eo "[0-9]+[.][0-9]+[.][0-9]+")" >> $GITHUB_ENV
- name: API Manager - Change specification version
run: |
anypoint-cli-v4 api-mgr:api:change-specification $API_MANAGER_API_ID $REST_API_VERSION
anypoint-cli-v4 api-mgr:api:change-specification $API_MANAGER_API_ID $REST_API_VERSION
- name: API Manager - Update implementation URI
run: |
appName=$(mvn help:evaluate -Dexpression=project.name -q -DforceStdout)
appId=$(anypoint-cli-v4 runtime-mgr:application:list --output json | jq '.[]|select(.name=="$appName").id')
appUri=$(anypoint-cli-v4 runtime-mgr:application:describe --output json $appId | jq '.target.deploymentSettings.http.inbound.publicUrl')
anypoint-cli-v4 api-mgr:api:edit --uri appUri $API_MANAGER_API_ID

0 comments on commit 70b99ee

Please sign in to comment.