-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add e2e test that is deleting classic api resource with OAuth (#…
…1626) * fix: Add e2e test that is deleting classic API resource with OAuth only manifest Co-authored-by: Arthur Pitman <[email protected]>
- Loading branch information
1 parent
b5dc2de
commit 5cd8e2c
Showing
5 changed files
with
79 additions
and
0 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
3 changes: 3 additions & 0 deletions
3
cmd/monaco/integrationtest/v2/test-resources/delete-test-configs/oauth-delete.yaml
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
delete: | ||
- type: aws-credentials | ||
name: sample-aws-id |
19 changes: 19 additions & 0 deletions
19
cmd/monaco/integrationtest/v2/test-resources/delete-test-configs/oauth-only-manifest.yaml
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
manifestVersion: 1.0 | ||
projects: | ||
- name: project | ||
environmentGroups: | ||
- name: default | ||
environments: | ||
- name: environment | ||
url: | ||
type: environment | ||
value: PLATFORM_URL_ENVIRONMENT_1 | ||
auth: | ||
oAuth: | ||
clientId: | ||
name: OAUTH_CLIENT_ID | ||
clientSecret: | ||
name: OAUTH_CLIENT_SECRET | ||
tokenEndpoint: | ||
type: environment | ||
value: OAUTH_TOKEN_ENDPOINT |
4 changes: 4 additions & 0 deletions
4
cmd/monaco/integrationtest/v2/test-resources/delete-test-configs/token-delete.yaml
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
delete: | ||
- type: workflow | ||
project: project | ||
id: sample-id |
13 changes: 13 additions & 0 deletions
13
cmd/monaco/integrationtest/v2/test-resources/delete-test-configs/token-only-manifest.yaml
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
manifestVersion: 1.0 | ||
projects: | ||
- name: project | ||
environmentGroups: | ||
- name: default | ||
environments: | ||
- name: environment | ||
url: | ||
type: environment | ||
value: PLATFORM_URL_ENVIRONMENT_1 | ||
auth: | ||
token: | ||
name: TOKEN_ENVIRONMENT_1 |