-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
update gateway-services table with endpoints #13217
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
9c2cd37
update gateway-services table with endpoints
dhiaayachi 98c4358
fix failing test
dhiaayachi 1734104
remove unneeded config in test
dhiaayachi cdd5543
rename "endpoint" to "destination"
dhiaayachi aad5214
more endpoint renaming to destination in tests
dhiaayachi a312202
update isDestination based on service-defaults config entry creation
dhiaayachi 2fd75dc
use a 3 state kind to be able to set the kind to unknown (when neithe…
dhiaayachi 4e361d7
set unknown state to empty to avoid modifying alot of tests
dhiaayachi f6aafd8
fix logic to set the kind correctly on CRUD
dhiaayachi db9529f
fix failing tests
dhiaayachi 3c5b85c
Merge pull request #13226 from hashicorp/egress-gtw/rename-destination
dhiaayachi 2147d77
Merge branch 'main' into egress-gtw/tgtw-gateway-services
dhiaayachi 9949f4d
add missing tests and fix service delete
dhiaayachi 35a80c5
fix failing test
dhiaayachi 1e6803f
Apply suggestions from code review
dhiaayachi 711bdc5
fix a bug with kind and add relevant test
dhiaayachi fcd4a2e
fix compile error
dhiaayachi 8a9ff79
fix failing tests
dhiaayachi 5d66a08
add kind to clone
dhiaayachi 36d52fa
fix failing tests
dhiaayachi 9ed9345
fix failing tests in catalog endpoint
dhiaayachi 042b874
fix service dump test
dhiaayachi ac6c9b4
Apply suggestions from code review
dhiaayachi 2440051
remove duplicate tests
dhiaayachi f900906
rename consts and fix kind when no destination is defined in the serv…
dhiaayachi f964e09
rename Kind to ServiceKind and change switch to use .(type)
dhiaayachi 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
Oops, something went wrong.
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.
Would this be appropriate? Or are you elsewhere going to interpret "unknown" as "service"?
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.
It will be dealt with in the watch receiving part #13196
Once this PR got merged we will update #13196 to have the right logic.
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.
The reason I added the unknown kind is to differentiate between existing services/destinations and references in the tgtw to non existing, it will help for debugging purpose.