-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64dbe4f
commit 96398c6
Showing
7 changed files
with
53 additions
and
12 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
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
8 changes: 8 additions & 0 deletions
8
...apim-cli-tests/src/main/resources/wiremock_apim/__files/grantApplicationToAccessApis.json
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,8 @@ | ||
[{ | ||
"id": "82977615-7454-4cac-8b7e-60ce8337879a", | ||
"apiId": "e4ded8c8-0a40-4b50-bc13-552fb7209150", | ||
"createdBy": "40dd53a4-0b13-4485-82e8-63c687404c2f", | ||
"state": "approved", | ||
"createdOn": 1690513519490, | ||
"enabled": true | ||
}] |
6 changes: 3 additions & 3 deletions
6
...s/apim-cli-tests/src/main/resources/wiremock_apim/mappings/getApplicationToAccessApi.json
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
17 changes: 17 additions & 0 deletions
17
modules/apim-cli-tests/src/main/resources/wiremock_apim/mappings/grantApiAccessToAllOrg.json
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,17 @@ | ||
{ | ||
"request": { | ||
"method": "POST", | ||
"urlPath": "/api/portal/v1.4/proxies/grantaccess", | ||
"formParameters": { | ||
"action": { | ||
"equalTo": "all_orgs" | ||
}, | ||
"apiId": { | ||
"equalTo": "e4ded8c8-0a40-4b50-bc13-552fb7209150" | ||
} | ||
} | ||
}, | ||
"response": { | ||
"status": 204 | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
modules/apim-cli-tests/src/main/resources/wiremock_apim/mappings/grantApiAccessToOrg.json
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,20 @@ | ||
{ | ||
"request": { | ||
"method": "POST", | ||
"urlPath": "/api/portal/v1.4/proxies/grantaccess", | ||
"formParameters": { | ||
"action": { | ||
"equalTo": "orgs" | ||
}, | ||
"apiId": { | ||
"equalTo": "e4ded8c8-0a40-4b50-bc13-552fb7209150" | ||
}, | ||
"grantOrgId": { | ||
"equalTo": "987b2afc-b027-41fd-a920-bef182eb4a94" | ||
} | ||
} | ||
}, | ||
"response": { | ||
"status": 204 | ||
} | ||
} |
2 changes: 1 addition & 1 deletion
2
...apim-cli-tests/src/main/resources/wiremock_apim/mappings/grantApplicationToAccessApi.json
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