Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow update with platform-api-prefix #2

Merged
merged 1 commit into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/discover-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on: [pull_request, workflow_dispatch, push]

env:
API_HOST: d-j02.apiconnect.dev.automation.ibm.com
# platform_api_prefix is not required to change for ApiConnect on Cloud
PLATFORM_API_PREFIX: platform-api
PROVIDER_ORG: niraimathi
API_FILES: gmail-api.json
#API_FILES: gmail-api.json,mit-api.json,gmail-api.yaml,APIfolder/uber-api.json
Expand Down Expand Up @@ -45,6 +47,7 @@ jobs:
id: discover-apis
with:
api_host: ${{ env.API_HOST }}
platform_api_prefix: ${{ env.PLATFORM_API_PREFIX }}
provider_org: ${{ env.PROVIDER_ORG }}
api_key: ${{ secrets.apicApikey }}
if: env.API_FILES
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/send-to-discovery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on: [pull_request, workflow_dispatch, push]

env:
API_HOST: d-j02.apiconnect.dev.automation.ibm.com
# platform_api_prefix is not required to change for ApiConnect on Cloud
PLATFORM_API_PREFIX: platform-api
PROVIDER_ORG: niraimathi
#API_FILES: APIfolder/uber-api.json
API_FOLDERS: APIfolder,APIfolderTwo
Expand All @@ -21,6 +23,7 @@ jobs:
id: discover-apis
with:
api_host: ${{ env.API_HOST }}
platform_api_prefix: ${{ env.PLATFORM_API_PREFIX }}
provider_org: ${{ env.PROVIDER_ORG }}
api_key: ${{ secrets.apicApikey }}
api_files: ${{ env.API_FILES }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ with the parameters supplied
```
with:
api_host: ${{ env.API_HOST }}
platform_api_prefix: ${{ env.PLATFORM_API_PREFIX }}
provider_org: ${{ env.PROVIDER_ORG }}
api_key: ${{ secrets.apicApikey }}
if: env.API_FILES
Expand Down
Loading