Remove Traffic Ops unnecessary WithCluster function#3174
Remove Traffic Ops unnecessary WithCluster function#3174rob05c wants to merge 1 commit intoapache:masterfrom
Conversation
Removes the TO WithCluster function. Since the Riak cluster is now a shared global variable, and never destructed, the WithCluster abstraction serves no purpose, and just makes the code confusing.
|
Refer to this link for build results (access rights to CI server needed): |
|
The Traffic Vault system within Traffic Ops has undergone extensive refactor and changes since this was opened. Do these changes still make sense? Conflicts would also need to be resolved before support for Riak is removed entirely. |
|
The Though as you say, that may not be true for very long. |
|
This PR and/or resolving conflicts is the easy part, testing and making sure all Vault endpoints still work correctly is the bulk of the work. Seems like that work probably isn't worth it, since the plan is to remove Riak support. Since a separate issue exists for removing withCluster, I'll go ahead and close this, and we can close #3346 if and when the code ceases to exist. And if the plan changes, or anyone thinks it's worth the work, it's easy enough to re-create this PR |
Removes the TO WithCluster function. Since the Riak cluster is now
a shared global variable, and never destructed, the WithCluster
abstraction serves no purpose, and just makes the code confusing.
WIP - I haven't tested yet.
What does this PR do?
Fixes #3346
Which TC components are affected by this PR?
What is the best way to verify this PR?
Check all that apply