-
Notifications
You must be signed in to change notification settings - Fork 368
Support Hash-Based Routing #4746
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
philippthun
merged 45 commits into
cloudfoundry:main
from
sap-contributions:hash-based-new
Jan 16, 2026
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
2c8e854
Add loadbalancing option hash, and hash_header/hash_balance. Add vali…
hoffmaen 9d751e4
Add basic options validation to manifest_routes_update_message
hoffmaen a8e3b88
Add basic tests for manifest route updates
hoffmaen 1e63c79
Simplify validations, improve error messages, adjust tests
hoffmaen 0371984
Add validation for hash balance being a float
hoffmaen afd8569
Have consistent validations in manifest_routes_updates_message and ro…
hoffmaen 41fb78a
Minor refactoring
hoffmaen 16e66df
Add check for hash_balance value being 0 or >=1.1
hoffmaen a7a8862
Transform hash_balance to string in the route model before saving
hoffmaen 42b01f3
Validate the route merged with the route update from the message.
hoffmaen dfde6ec
Attempt to forward errors in route_update validation to the client
hoffmaen 0710ef1
Add route options changes to app event
hoffmaen 6676cf0
Add new hash options to mnifest route
hoffmaen bc90e06
Add new hash options to route properties presenter
hoffmaen 3edb661
Move additional validation to route model
hoffmaen 9bf2395
Move final options cleanup to route model
hoffmaen 9d60a3e
Proper error validation and forwarding
hoffmaen 1a4b35b
Forward proper error message on route updates
hoffmaen 0dddc1d
Add some logging to find the manifest issue
hoffmaen 7b0f56c
Add more logging
hoffmaen 981e130
Logging in app_manifest_message
hoffmaen 308173e
Test a few things
hoffmaen c93cbaa
Test a few things pt 2
hoffmaen ed35a67
Test a few things pt 3
hoffmaen e3cffab
Test a few things pt 4
hoffmaen 7379cff
Test a few things pt 5
hoffmaen 9eec93c
Test a few things pt 6
hoffmaen 4eb3b36
Cleanup logging
hoffmaen 69a3ffe
Use symbolized_keys in route_update
hoffmaen b3f631f
WIP
hoffmaen cde7879
Add more validations and tests
hoffmaen 3e414e9
Add more tests for route_update
hoffmaen 7373fe2
Add more tests
hoffmaen 335b910
Some test fixes and cleanup
hoffmaen 0c7c747
Use blank? instead of nil? for loadbalancing check
hoffmaen e293c12
Fix rubocop issues
hoffmaen 9589e16
Fix rubocop spec issues
hoffmaen d39f0a3
Refactor to resolve rubocop complexity findings
hoffmaen d460de2
Remove test file
hoffmaen 3b9f420
Move all route option message tests from validator spec to new spec file
hoffmaen 97d4084
Introduce stub config in validator spec to fix execution of standalon…
hoffmaen e1a1ab5
Fix typos and validation logic
hoffmaen a1b01b2
Fix validation function name inconsistencies
hoffmaen e03fe06
Fix remaining issues found in review
hoffmaen d25820a
revert change to validators spec
hoffmaen 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.