[
https://issues.apache.org/jira/browse/EAGLE-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055176#comment-16055176
]
ASF GitHub Bot commented on EAGLE-1044:
---------------------------------------
GitHub user qingwen220 opened a pull request:
https://github.com/apache/eagle/pull/952
EAGLE-1044: Support policy Import using a policy prototype
https://issues.apache.org/jira/browse/EAGLE-1044'
Provided APIs:
* load policies to new site "sandbox" from policy prototypes by `POST
/rest/policyProto/loadToSite/sandbox`
* create a new policy prototype with an existing policy by `POST
/rest/policyProto/saveAsProto`
* update or create a policy prototype by by `POST /rest/policyProto`
* get all policy prototypes by `GET /rest/policyProto`
* delete a policy prototype by `DELETE /rest/policyProto/{uuid}`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/qingwen220/eagle EAGLE-1044
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/eagle/pull/952.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 #952
----
commit b7ff02e14b1de8ca9a92324e08307c3823a28d8d
Author: Zhao, Qingwen <[email protected]>
Date: 2017-06-20T05:36:30Z
add policyProto resource
----
> Support policy Import using a policy prototype
> ----------------------------------------------
>
> Key: EAGLE-1044
> URL: https://issues.apache.org/jira/browse/EAGLE-1044
> Project: Eagle
> Issue Type: New Feature
> Reporter: Zhao, Qingwen
> Assignee: Zhao, Qingwen
> Priority: Critical
>
> * add a new entity PolicyEntity in the metadata database
> * provides RESTful APIs to query/delete/update a policy template
> * easy to onboard policies on a new site
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)