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

fix(apigateway): base path url cannot contain upper case characters #11799

Merged
merged 7 commits into from
Dec 9, 2020

Conversation

nicklaw5
Copy link
Contributor

@nicklaw5 nicklaw5 commented Dec 1, 2020

We're migrating an existing API Gateway application to CDK and have hit this error, because our base paths include capitalised characters.

This PR resolves that issue and I've included some basics tests for the BasePathMapping resource.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Dec 1, 2020

@github-actions github-actions bot added the @aws-cdk/aws-apigateway Related to Amazon API Gateway label Dec 1, 2020
@nicklaw5
Copy link
Contributor Author

nicklaw5 commented Dec 6, 2020

Hi @nija-at. Do you know when this PR will be reviewed? This bug is a blocker on our end.

nija-at
nija-at previously requested changes Dec 7, 2020
Copy link
Contributor

@nija-at nija-at left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for submitting this PR. Just one comment below.

@nija-at nija-at changed the title fix(apigateway): Allow API Gateway base path URLs to accept capital case characters fix(apigateway): base path url cannot contain upper case characters Dec 7, 2020
@mergify mergify bot dismissed nija-at’s stale review December 8, 2020 23:36

Pull request has been modified.

nija-at
nija-at previously approved these changes Dec 9, 2020
@mergify mergify bot dismissed nija-at’s stale review December 9, 2020 13:57

Pull request has been modified.

@mergify
Copy link
Contributor

mergify bot commented Dec 9, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: 49a11f9
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Dec 9, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit 8069a7e into aws:master Dec 9, 2020
@nicklaw5 nicklaw5 deleted the apigw-base-path-fix branch December 16, 2020 22:12
flochaz pushed a commit to flochaz/aws-cdk that referenced this pull request Jan 5, 2021
…ws#11799)

We're migrating an existing API Gateway application to CDK and have [hit this error](https://github.com/aws/aws-cdk/blob/2f0a598720f7ecf4dfea7dde97182940fcbe8d9a/packages/%40aws-cdk/aws-apigateway/lib/base-path-mapping.ts#L52), because our base paths include capitalised characters.

This PR resolves that issue and I've included some basics tests for the `BasePathMapping` resource.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-apigateway Related to Amazon API Gateway
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants