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
----
---
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.
---