GitHub user haoch opened a pull request: https://github.com/apache/incubator-eagle/pull/480
Add API to filter publishment and single policy metadata by policyId Alert engine publishments API only support to provide all publishments and let client-side to filter according requirements, which is NOT an scalable implementation. As a quick solution to fix it in some way, we should provide a API to filter publishments by policy ID, so in this patch it mainly added two APIs: * GET /policies/{policyId} * GET /policies/{policyId}/publishments You can merge this pull request into a Git repository by running: $ git pull https://github.com/haoch/incubator-eagle EAGLE-597 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-eagle/pull/480.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 #480 ---- commit 931a34eb30c125480f0aaf85a47c1002d813b707 Author: Hao Chen <h...@apache.org> Date: 2016-10-09T10:52:20Z Add API to filter publishment by policy: /policies/{policyId}/publishments ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---