-
Notifications
You must be signed in to change notification settings - Fork 344
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
Convert Traffic Ops into a Service Oriented architecture(SOA) product #6754
Conversation
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.
I didn't mean to look at anything but the docs, but then I looked at the configuration that it was including, then the related production configuration file that was based on it and wound up glancing at most everything. I'm not looking too hard at any of the logic though - I'm not trying to make a hostile takeover of the review.
…apache#6754) * initial changes * working changes * formatting and cleanup * cleanup * adding log handlers * add dcos, cleanup * add todos * add todos * cleanup config * add insecure option to backend config * Adding proper log handlers * remove priv level from backend config * code review first pass * code review fixes final * change log call * change mutex type * addressing code review comments * change regex handling
This PR is not related to any issue.
It adds the ability in Traffic Ops, so that it can be run in conjunction with other backend services, wherein TO would just act as a reverse proxy and forward the requests coming in on the specified paths to the specified backends.
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Set up a simple backend service that servers a couple of endpoints (say
foo
andfoos
) and run it on a couple of different ports(say, 8444 and 8445). Now, run Traffic Ops with the new config option and make sure that any request to Traffic Ops on the specified endpoints (in the new config) gets forwarded to the backend service. Also make sure that the user sees the response from the backend service.The new config option should be provided to traffic ops like this:
-backendcfg <File name>
The new config file should look something like this:
Make sure all the tests pass.
If this is a bugfix, which Traffic Control versions contained the bug?
PR submission checklist