-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
feat(appmesh): change VirtualService provider to a union-like class #11978
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
bec6a09
feat(appmesh): changes VirtualService provider to a union-like class
b824a40
Apply suggestions from code review
dfezzie a717a44
enforce provider and VS in same mesh
c46bdb8
Merge branch 'master' into refactor/virtualServiceTarget
db7c5a2
Merge branch 'master' into refactor/virtualServiceTarget
9f99c47
Update to require a provider
be05561
Remove construct reference with qualifier
fb2dcda
Update appmesh ecs addon
cb566fc
Add back VirtualServiceProps and enforce Virtual Service mesh matches…
56fb779
Update integ test to use imported ACM cert
ae5052e
Remove ACM and ACM PCA from integ tests
adcf421
Merge branch 'master' into refactor/virtualServiceTarget
e43c332
Add back some integ code I removed for some reason
e678b9e
Addresses PR comments
14aef5e
Remove addVirtualService method from IMesh and IMesh attribute from V…
a37c6db
Deploy integ test
ec39db1
Minor cosmetic changes
f6afe7b
Update VirtualServiceProps docs
575ded5
Remove Mesh.addVirtualService() from ReadMe
skinny85 93fb617
Merge branch 'master' into refactor/virtualServiceTarget
mergify[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
2 changes here:
VirtualServiceProps
below.mesh
property fromVirtualServiceProps
(no reason to provide it redundantly when aVirtualRouter
orVirtualNode
were provided).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.
Do we not need the provider in the base props? How else will we define what type of resource backs the virtual service?
Since the provider is optional, I don't think we can remove the
mesh
property. We still need to know what mesh the VS is created as a part of. We can enforce the mesh properties on the VS and Provider do match.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.
addService
method will be on. For example, forVirtualNode
, it will be:And similarly for
Mesh
andVirtualRouter
.provider
should be required, of course 🙂.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.
So I've provided a comment on #9490 that argues we should not have an
addService
method on theIVirtualNode
andIVirtualRouter
classes. Will wait on your response before I do anything here.