Skip to content

Closes #130 Shared API Gateway and maxAge property support for HTTP Endpoints #131

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

Merged
merged 14 commits into from
Jul 25, 2018

Conversation

vlewin
Copy link
Contributor

@vlewin vlewin commented Jul 11, 2018

Closes #130 Shared API Gateway support for HTTP Endpoints

@vlewin
Copy link
Contributor Author

vlewin commented Jul 11, 2018

@horike37 All tests are green but coveralls seems to be unhappy

@vlewin
Copy link
Contributor Author

vlewin commented Jul 14, 2018

@horike37 All green!

@horike37 horike37 added this to the 1.6 milestone Jul 17, 2018
@horike37
Copy link
Collaborator

@vlewin
Great! Can I start to review this PR?

@vlewin
Copy link
Contributor Author

vlewin commented Jul 17, 2018

@horike37 Yes you can. We tested my changes already with production code and everything seems to be fine.

Copy link
Collaborator

@horike37 horike37 left a comment

Choose a reason for hiding this comment

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

Hi @vlewin
I just tested and reviewed the code and great to see working fine as expected 👍 💯

However, maxAge doesn't work. Maybe this isn't needed for share api configuration.
Either way is fine to me.

  • Remove the code for maxAge from this PR
  • Fix on this PR

What do you want to do? 😄
We will merge it just after maxAge problem will be resolved!

@@ -24,6 +25,16 @@ module.exports = {
'Access-Control-Allow-Credentials': `'${config.allowCredentials}'`,
};

// Enable CORS Max Age usage if set
if (_.has(config, 'maxAge')) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Seems that maxAge option doesn't work.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@horike37 Good catch! maxAge property issue is fixed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

cloudformation-template-update-stack.json

bildschirmfoto 2018-07-25 um 21 05 09

API Gateway Integration Response

bildschirmfoto 2018-07-25 um 21 06 37

@horike37 horike37 changed the title Closes #130 Shared API Gateway support for HTTP Endpoints Closes #130 Shared API Gateway and maxAge property support for HTTP Endpoints Jul 25, 2018
@horike37
Copy link
Collaborator

@vlewin
Thank you for the fixing!
That looks perfect!

@horike37 horike37 merged commit 366a841 into serverless-operations:master Jul 25, 2018
@vlewin
Copy link
Contributor Author

vlewin commented Jul 25, 2018

@horike37 Thank you for accepting and awesome plugin!

@horike37
Copy link
Collaborator

Great work @vlewin You are Rock!!!

ss-betseqnzr pushed a commit to BetSEQNZR/serverless-step-functions that referenced this pull request Sep 8, 2023
Closes serverless-operations#130 Shared API Gateway and maxAge property support for HTTP Endpoints
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants