[ https://issues.apache.org/jira/browse/EAGLE-597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15559901#comment-15559901 ]
ASF GitHub Bot commented on EAGLE-597: -------------------------------------- Github user haoch commented on the issue: https://github.com/apache/incubator-eagle/pull/480 It's a simple patch adding a few features, and passed CI, so will merge. > Add API to filter publishment by policy: /policies/{policyId}/publishments > -------------------------------------------------------------------------- > > Key: EAGLE-597 > URL: https://issues.apache.org/jira/browse/EAGLE-597 > Project: Eagle > Issue Type: Improvement > Affects Versions: v0.5.0 > Reporter: Hao Chen > Assignee: Hao Chen > Labels: alert-engine, alert-service > Fix For: v0.5.0 > > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)