You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/30 16:45:04 UTC
[jira] [Commented] (TC-358) TO API - provide endpoints to fetch
existing snapshot as well as new snapshot
[ https://issues.apache.org/jira/browse/TC-358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029700#comment-16029700 ]
ASF GitHub Bot commented on TC-358:
-----------------------------------
GitHub user mitchell852 opened a pull request:
https://github.com/apache/incubator-trafficcontrol/pull/622
[TC-358] - adds apis to fetch current and pending cdn snapshots
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mitchell852/incubator-trafficcontrol tc-358-snapshot-apis
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-trafficcontrol/pull/622.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 #622
----
commit 17cdd74df7de07e31ff1bd47a9d5e364bee1994f
Author: Jeremy Mitchell <mi...@gmail.com>
Date: 2017-05-30T16:42:20Z
adds apis to fetch current and pending cdn snapshots
----
> TO API - provide endpoints to fetch existing snapshot as well as new snapshot
> -----------------------------------------------------------------------------
>
> Key: TC-358
> URL: https://issues.apache.org/jira/browse/TC-358
> Project: Traffic Control
> Issue Type: New Feature
> Components: Traffic Ops API
> Reporter: Jeremy Mitchell
> Assignee: Jeremy Mitchell
> Priority: Minor
>
> Provide an endpoint to fetch existing cdn snapshot from snapshot table:
> GET api/version/cdns/:name/snapshot which returns the contents of the snapshot table for the provided cdn name. If no snapshot exists return {}.
> Provide an endpoint to fetch what a new snapshot will look like based on the current state of traffic ops:
> GET api/version/cdns/:name/snapshot/new which returns what a new snapshot will look like for the provided cdn name.
> Both should be limited to ops role or above.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)