eagle-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (EAGLE-1055) Improve policy prototype apis
Date Wed, 21 Jun 2017 10:12:00 GMT

    [ https://issues.apache.org/jira/browse/EAGLE-1055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057290#comment-16057290
] 

ASF GitHub Bot commented on EAGLE-1055:
---------------------------------------

GitHub user qingwen220 opened a pull request:

    https://github.com/apache/eagle/pull/958

    EAGLE-1055: update policy proto APIs

    https://issues.apache.org/jira/browse/EAGLE-1055

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/qingwen220/eagle EAGLE-1055

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/eagle/pull/958.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 #958
    
----
commit b86f00841319b57f44b0c052022f764217354347
Author: Zhao, Qingwen <qingwzhao@apache.org>
Date:   2017-06-21T09:52:57Z

    update policy proto apis

----


> Improve policy prototype apis 
> ------------------------------
>
>                 Key: EAGLE-1055
>                 URL: https://issues.apache.org/jira/browse/EAGLE-1055
>             Project: Eagle
>          Issue Type: Improvement
>    Affects Versions: v0.6.0
>            Reporter: Zhao, Qingwen
>            Assignee: Zhao, Qingwen
>
> 1. create a policy prototype from a policy
> {code}
> API: /rest/policyProto/create?needPolicyCreated=true
> Payload: PolicyEntity (policy + alertPublishmentIds)
> {code}
> 2. create a policy prototype by policy name
> {code}
> API: /rest/policyProto/create/\{policyId\}
> {code}
> 3. create policies for site from a list of policy protoypes
> {code}
> API: /rest/policyProto/export/\{site\}
> Payload: List<PolicyEntity>
> {code}
> 4. create policies for site from a list of prototypes
> {code}
> API: /rest/policyProto/exportByName/\{site\}
> Payload: List<String>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message