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

Api Gateway resource functionality enhancements #3121

Conversation

bclements
Copy link
Contributor

  • Added API Gateway resource Integrations functionality: Filter, Update, Delete. Looks like my filter class is only returning the top-level resource integrations and not the child resources. Will fix shortly.
  • Added tests for API Gateway resource integrations filter functionality. Will add update and delete tests shortly.
  • Fixed updated-method action setting permissions to apigateway:PATCH instead of apigateway:GET

c7n/resources/apigw.py Outdated Show resolved Hide resolved
@kapilt
Copy link
Collaborator

kapilt commented Nov 10, 2018

ci failing on bad doctoring ReST formatting

/home/travis/build/capitalone/cloud-custodian/c7n/resources/apigw.py:docstring of c7n.resources.apigw.DeleteRestIntegration:4:Field list ends without a blank line; unexpected unindent.

@bclements
Copy link
Contributor Author

bclements commented Nov 12, 2018 via email

c7n/resources/apigw.py Outdated Show resolved Hide resolved
@bclements
Copy link
Contributor Author

@kapilt Can you merge master into this branch so tests can run on my fixes to test_apigw.py ? I'm trying to do the final tests to get this PR closed out.

@bclements bclements changed the title [wip] Api Gateway resource functionality enhancements Api Gateway resource functionality enhancements Dec 6, 2018
@bclements bclements self-assigned this Dec 6, 2018
@kapilt
Copy link
Collaborator

kapilt commented Dec 10, 2018

so this was recorded with a gw that has one integration on a single method, but four methods present on the api, which means alot of the recorded files are also just not found responses, it would be better to have a minimal api with one of each, which cut down on the recorded output here significantly.

@bclements
Copy link
Contributor Author

@kapilt Please review when you get a moment and let me know if there are any additional changes preventing master merge. Thanks!

@bclements bclements force-pushed the apigateway-resourceintegration-enhancement branch from c714219 to 7e3ce19 Compare December 17, 2018 21:20
c7n/resources/apigw.py Outdated Show resolved Hide resolved
@kapilt
Copy link
Collaborator

kapilt commented Dec 18, 2018

thanks for cleaning up the recorded output, one minor else lgtm

Copy link
Collaborator

@kapilt kapilt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks

c7n/resources/apigw.py Outdated Show resolved Hide resolved
@kapilt
Copy link
Collaborator

kapilt commented Dec 18, 2018

found one more minor re redefining rest api class for vpc link resource

@kapilt kapilt merged commit ea84591 into cloud-custodian:master Dec 18, 2018
lamyanba pushed a commit to lamyanba/cloud-custodian that referenced this pull request Apr 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants