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(appmesh): adding support with gateway route priority #17694

Merged
merged 4 commits into from
Dec 14, 2021

Conversation

Seiya6329
Copy link
Contributor

@Seiya6329 Seiya6329 commented Nov 25, 2021

Adding the Gateway Route Priority support. This is not a new feature but it was missed from the implementation.

The implementation method is mimicking how Route's Priority is implemented:

Fixes #16821


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 Nov 25, 2021

@github-actions github-actions bot added the @aws-cdk/aws-appmesh Related to AWS App Mesh label Nov 25, 2021
@Seiya6329 Seiya6329 requested a review from skinny85 November 25, 2021 06:56
@Seiya6329 Seiya6329 changed the title feat(appmesh): adding support with gateway route priority chore(appmesh): adding support with gateway route priority Nov 25, 2021
@Seiya6329 Seiya6329 changed the title chore(appmesh): adding support with gateway route priority fix(appmesh): adding support with gateway route priority Nov 25, 2021
@Seiya6329 Seiya6329 added the pr/do-not-merge This PR should not be merged at this time. label Nov 25, 2021
@Seiya6329
Copy link
Contributor Author

I am also requesting to have at least one review from the service team.

Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

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

Looks great @Seiya6329! A few small comments.

});

describe('with priority', () => {
test('setting priority using the method', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think it makes sense to categorize tests on how the Route gets added.

I think a better idea is to have a separate test per Route type (so, one for http, one for http2, and one for grpc).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I like this idea. I will work on sorting the tests as advised.

@mergify mergify bot dismissed skinny85’s stale review December 1, 2021 02:49

Pull request has been modified.

@Seiya6329 Seiya6329 requested a review from skinny85 December 1, 2021 02:49
Copy link

@rishijatia rishijatia left a comment

Choose a reason for hiding this comment

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

Have two comments, relatively minor, looks good otherwise.

@Seiya6329 Seiya6329 force-pushed the gatewayRoute_priority branch from 0383d90 to cf6bb1a Compare December 2, 2021 22:45
@Seiya6329 Seiya6329 removed the pr/do-not-merge This PR should not be merged at this time. label Dec 13, 2021
Copy link
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

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

👍

@mergify
Copy link
Contributor

mergify bot commented Dec 14, 2021

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).

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: acd5f06
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@mergify mergify bot merged commit a61576f into aws:master Dec 14, 2021
@mergify
Copy link
Contributor

mergify bot commented Dec 14, 2021

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).

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022
Adding the Gateway Route `Priority` support. This is not a new feature but it was missed from the implementation.

The implementation method is mimicking how Route's `Priority` is implemented: 
 - [route-spec.ts](https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-appmesh/lib/route-spec.ts)
 - [route.ts](https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-appmesh/lib/route.ts)

Fixes aws#16821

----

*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-appmesh Related to AWS App Mesh
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(aws-appmesh): priority cannot be configured in gateway routes
4 participants