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

CC Decom #57

Merged
4 commits merged into from
Feb 9, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Removed V2
luke-hagar-sp committed Feb 9, 2024
commit 758d9f4fb865d98f55838afa5e77d5982aa261f2
12 changes: 2 additions & 10 deletions .github/workflows/bump_version.yaml
Original file line number Diff line number Diff line change
@@ -58,7 +58,7 @@ jobs:
- name: Update config files with new version
id: updateVersion
run: |
yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/v2-config.yaml

yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/beta-config.yaml
yq -i '.packageVersion = "${{ github.event.inputs.version }}"' sdk-resources/v3-config.yaml

@@ -83,17 +83,9 @@ jobs:
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.beta.yaml -g go -o api_beta --global-property skipFormModel=false --config sdk-resources/beta-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk --git-user-id sailpoint-oss
node sdk-resources/postscript.js ./api_beta

- name: Build V2 SDK
id: buildV2
if: steps.buildBeta.outcome == 'success'
run: |
rm -rf ./api_v2
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2.yaml -g go -o api_v2 --global-property skipFormModel=false --config sdk-resources/v2-config.yaml -p enumClassPrefix=true --git-repo-id golang-sdk --git-user-id sailpoint-oss
node sdk-resources/postscript.js ./api_v2

- name: After SDK Build
id: buildSDK
if: steps.buildV2.outcome == 'success'
if: steps.buildBeta.outcome == 'success'
run: |
go get -d ./...
go install
3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -15,9 +15,6 @@ build:
rm -rf ./beta
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.beta.yaml -g go -o beta --global-property skipFormModel=false --global-property apiTests=false --config sdk-resources/beta-config.yaml
node sdk-resources/postscript.js ./beta
rm -rf ./v2
java -jar openapi-generator-cli.jar generate -i api-specs/idn/sailpoint-api.v2.yaml -g go -o v2 --global-property skipFormModel=false --global-property apiTests=false --config sdk-resources/v2-config.yaml
node sdk-resources/postscript.js ./v2

test:
go get -d ./...
24 changes: 0 additions & 24 deletions api_v2/.gitignore

This file was deleted.

23 changes: 0 additions & 23 deletions api_v2/.openapi-generator-ignore

This file was deleted.

48 changes: 0 additions & 48 deletions api_v2/.openapi-generator/FILES

This file was deleted.

1 change: 0 additions & 1 deletion api_v2/.openapi-generator/VERSION

This file was deleted.

8 changes: 0 additions & 8 deletions api_v2/.travis.yml

This file was deleted.

195 changes: 0 additions & 195 deletions api_v2/README.md

This file was deleted.

Loading