-
Notifications
You must be signed in to change notification settings - Fork 825
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
fix: rest api policy size calculation #9576
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #9576 +/- ##
==========================================
+ Coverage 52.76% 52.88% +0.12%
==========================================
Files 821 821
Lines 45576 45580 +4
Branches 9731 9732 +1
==========================================
+ Hits 24049 24107 +58
+ Misses 19531 19477 -54
Partials 1996 1996
Continue to review full report at Codecov.
|
@@ -16,16 +16,38 @@ import * as fs from 'fs-extra'; | |||
import * as path from 'path'; | |||
import { ProviderName } from '../constants'; | |||
|
|||
// type information from input schema located at packages/amplify-category-api/resources/schemas/aPIGateway/APIGatewayCLIInputs.schema.json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aPIGateway
😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's how its named 😈
@cjihrig In this test I am adding the |
Description of changes
Change REST API policy size calculation logic and numbers. The resource gets collapsed into a single resource with
*
when all the HTTP verbs are allowed for a path.Issue #, if available
N/A
Description of how you validated changes
Manual deployments
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.