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

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

GitHub user zombieJ opened a pull request:

    https://github.com/apache/incubator-eagle/pull/562

    Eagle-631 Policy UI refactory

    for https://issues.apache.org/jira/browse/EAGLE-627 , use the validate api 
to check policy.

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

    $ git pull https://github.com/zombieJ/incubator-eagle EAGLE-631

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

    https://github.com/apache/incubator-eagle/pull/562.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 #562
    
----
commit 271efa0d25ad6d6e0e6e16c776271094c0893aa1
Author: zombieJ <smith3...@gmail.com>
Date:   2016-10-18T03:19:18Z

    adjust policy edit

commit fd4835bdb81a61d24e90e073de81c2a8cda0e06c
Author: zombieJ <smith3...@gmail.com>
Date:   2016-10-18T07:34:12Z

    policy source selection

commit 1d2e055af59714142a2bab38c1ca24ab1c0e36f0
Author: zombieJ <smith3...@gmail.com>
Date:   2016-10-18T09:31:28Z

    policy add partition

commit a58bd6a68f5f66dafbbe66b3217d9b9be66f2c80
Author: zombieJ <smith3...@gmail.com>
Date:   2016-10-19T02:38:38Z

    update partition

commit f865bf44213fd143c88123f6c42802f697b181f0
Author: zombieJ <smith3...@gmail.com>
Date:   2016-10-24T10:49:38Z

    add publisher

commit 094bca31f098e659461f294ae5bea6acc8b5b3b9
Author: zombieJ <smith3...@gmail.com>
Date:   2016-10-25T09:27:00Z

    lock update name of policy

commit be8c24bad08a7384eec6f07295a84855d537617d
Author: zombieJ <smith3...@gmail.com>
Date:   2016-10-26T02:22:08Z

    support publisher fetch

----


> Add PolicyValidator and Validation API
> --------------------------------------
>
>                 Key: EAGLE-627
>                 URL: https://issues.apache.org/jira/browse/EAGLE-627
>             Project: Eagle
>          Issue Type: Bug
>    Affects Versions: v0.5.0
>            Reporter: Hao Chen
>            Assignee: Hao Chen
>             Fix For: v0.5.0
>
>
> Add Policy PolicyValidator and Validation API on 
> * Validate SiddhiQL syntax problem
> * Provide Internal information like: 
>     * Validate syntax is ok 
>     * Explain details like inputStreams and outputStreams
> API: 
> {code}
> POST /metadata/policies/validate
> Request: PolicyDefinition
> Response: PolicyValidation
> {code}
> Reference:
> * 
> https://github.com/apache/incubator-eagle/blob/master/eagle-core/eagle-alert-parent/eagle-alert/alert-common/src/main/java/org/apache/eagle/alert/engine/coordinator/PolicyDefinition.java
> * 
> https://github.com/apache/incubator-eagle/blob/master/eagle-core/eagle-alert-parent/eagle-alert/alert-metadata-parent/alert-metadata-service/src/main/java/org/apache/eagle/service/metadata/resource/PolicyValidation.java



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to