GitHub user dg4prez opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/128
[WIP] [TC-32] Addition of ATS Config API (for postgres only)
Working API for ATS config file generation, divided by three "levels" -
CDN, profile, and server. The api supports three actions, fetch, db, and
publish.
?action=fetch will check for a copy of the requested file on the
filesystem, and if it does not exist will generate it from the DB.
?action=db will generate the file directly from the DB.
?action=publish will generate the file from the DB and write it to the
filesystem.
No action defaults to fetch.
This is intended to be used for a redesign of the ATS config process. No
test files have been generated yet - this PR is intended for review only, and
is linked to https://issues.apache.org/jira/browse/TC-32
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dg4prez/incubator-trafficcontrol
psql_ats_config_api
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/128.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #128
----
commit d35a4e10439fbbd9717e0602003c56d18877cfc7
Author: Derek Gelinas <[email protected]>
Date: 2016-12-07T18:34:46Z
Addition of ATS Config API (for postgres only)
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---