This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Disallow deleting or moving the last server in a Cache Group used by a topology#5155
Merged
rawlinp merged 3 commits intoapache:masterfrom Oct 14, 2020
Merged
Conversation
- Optionally require that the cachegroup is in an existing topology
- Optionally exclude an array of server IDs
- Disallow moving the last server in a cachegroup used by a topology
to a different cachegroup
mitchell852
reviewed
Oct 14, 2020
Member
mitchell852
left a comment
There was a problem hiding this comment.
performed manual tests via TP via the API. worked great. didn't look at code however.
rawlinp
approved these changes
Oct 14, 2020
7 tasks
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What does this PR (Pull Request) do?
cachegroupNamequery parameter toGET /api/3.0/serversWhich Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Run the API tests
Test manually:
For
DELETE /api/3.0/servers/{{id}}:For
PUT /api/3.0/servers/{{id}}:The following criteria are ALL met by this PR
Additional Information