-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: EndpointV2 sigv4a tests (#2619)
* bugfix: crt ep2 test updates
- Loading branch information
1 parent
c600a07
commit 7b18adf
Showing
5 changed files
with
124 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[ | ||
{ | ||
"type": "bugfix", | ||
"category": "EndpointV2", | ||
"description": "Test fixes related to signing, particularly sigv4a." | ||
} | ||
] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"parameters": { | ||
"Region": { | ||
"type": "string", | ||
"builtIn": "AWS::Region", | ||
"documentation": "The region to dispatch this request, eg. `us-east-1`." | ||
} | ||
}, | ||
"rules": [ | ||
{ | ||
"documentation": "Template the region into the URI when region is set", | ||
"conditions": [ | ||
{ | ||
"fn": "isSet", | ||
"argv": [ | ||
{ | ||
"ref": "Region" | ||
} | ||
] | ||
} | ||
], | ||
"endpoint": { | ||
"url": "https://{Region}.amazonaws.com", | ||
"properties": { | ||
"authSchemes": [ | ||
{ | ||
"name": "sigvfoo", | ||
"signingName": "serviceName", | ||
"signingRegion": "{Region}" | ||
}, | ||
{ | ||
"name": "sigvbar", | ||
"signingName": "serviceName", | ||
"signingRegion": "{Region}" | ||
}, | ||
{ | ||
"name": "sigvbaz", | ||
"signingName": "serviceName", | ||
"signingRegion": "{Region}" | ||
} | ||
] | ||
} | ||
}, | ||
"type": "endpoint" | ||
}, | ||
{ | ||
"documentation": "fallback when region is unset", | ||
"conditions": [], | ||
"error": "Region must be set to resolve a valid endpoint", | ||
"type": "error" | ||
} | ||
], | ||
"version": "1.3" | ||
} |