{"action":"created","issue":{"url":"https://api.github.com/repos/apache/incubator-eagle/issues/71","repository_url":"https://api.github.com/repos/apache/incubator-eagle","labels_url":"https://api.github.com/repos/apache/incubator-eagle/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-eagle/issues/71/comments","events_url":"https://api.github.com/repos/apache/incubator-eagle/issues/71/events","html_url":"https://github.com/apache/incubator-eagle/pull/71","id":128091915,"number":71,"title":"EAGLE-95 DAM HDFS topology fails to start, if there is invalid policy","user":{"login":"murkrishn","id":14287020,"avatar_url":"https://avatars.githubusercontent.com/u/14287020?v=3","gravatar_id":"","url":"https://api.github.com/users/murkrishn","html_url":"https://github.com/murkrishn","followers_url":"https://api.github.com/users/murkrishn/followers","following_url":"https://api.github.com/users/murkrishn/following{/other_user}","gists_url":"https://api.github.com/users/murkrishn/gists{/gist_id}","starred_url":"https://api.github.com/users/murkrishn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murkrishn/subscriptions","organizations_url":"https://api.github.com/users/murkrishn/orgs","repos_url":"https://api.github.com/users/murkrishn/repos","events_url":"https://api.github.com/users/murkrishn/events{/privacy}","received_events_url":"https://api.github.com/users/murkrishn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2016-01-22T06:15:38Z","updated_at":"2016-02-05T20:17:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/incubator-eagle/pulls/71","html_url":"https://github.com/apache/incubator-eagle/pull/71","diff_url":"https://github.com/apache/incubator-eagle/pull/71.diff","patch_url":"https://github.com/apache/incubator-eagle/pull/71.patch"},"body":"Code changes include resolution to the bug - unable to start a topology with has an invalid policy defined already by skipping SiddhiRuntime execution to start for that policy. Achieved by introducing a markdown feature every policy defined (before/during topology runtime). The markdown will dictate actions related to that policy. \r\n\r\nDesign document is available [here](https://cwiki.apache.org/confluence/display/EAG/Policy+Markdown+Feature)."},"comment":{"url":"https://api.github.com/repos/apache/incubator-eagle/issues/comments/180540489","html_url":"https://github.com/apache/incubator-eagle/pull/71#issuecomment-180540489","issue_url":"https://api.github.com/repos/apache/incubator-eagle/issues/71","id":180540489,"user":{"login":"yonzhang","id":2691355,"avatar_url":"https://avatars.githubusercontent.com/u/2691355?v=3","gravatar_id":"","url":"https://api.github.com/users/yonzhang","html_url":"https://github.com/yonzhang","followers_url":"https://api.github.com/users/yonzhang/followers","following_url":"https://api.github.com/users/yonzhang/following{/other_user}","gists_url":"https://api.github.com/users/yonzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/yonzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yonzhang/subscriptions","organizations_url":"https://api.github.com/users/yonzhang/orgs","repos_url":"https://api.github.com/users/yonzhang/repos","events_url":"https://api.github.com/users/yonzhang/events{/privacy}","received_events_url":"https://api.github.com/users/yonzhang/received_events","type":"User","site_admin":false},"created_at":"2016-02-05T20:17:44Z","updated_at":"2016-02-05T20:17:44Z","body":"yes, if that passed all checks, let us close this PR. But when I apply this patch and try to test, it has the following issues\r\n\r\nLM-SJN-00876985:incubator-eagle yonzhang$ git apply 71.patch\r\n71.patch:127: trailing whitespace.\r\n    private SiddhiPolicyEvaluatorUtility policyEvaluatorUtility = new SiddhiPolicyEvaluatorUtility();\r\n71.patch:143: trailing whitespace.\r\n\r\n71.patch:145: space before tab in indent.\r\n       \ttry {\r\n71.patch:148: space before tab in indent.\r\n          \tmarkdownEnabled = true;\r\n71.patch:182: trailing whitespace.\r\n\t    runtime.outputFields = null;\r\nerror: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/dao/AlertDefinitionDAOImpl.java: No such file or directory\r\nerror: patch failed: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/executor/PolicyProcessExecutor.java:326\r\nerror: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/executor/PolicyProcessExecutor.java: patch does not apply\r\nerror: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/dao/AlertDefinitionDAOImpl.java: No such file or directory\r\nerror: patch failed: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/executor/PolicyProcessExecutor.java:250\r\nerror: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/executor/PolicyProcessExecutor.java: patch does not apply\r\nerror: patch failed: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/executor/PolicyProcessExecutor.java:250\r\nerror: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/executor/PolicyProcessExecutor.java: patch does not apply\r\nerror: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/dao/AlertDefinitionDAOImpl.java: No such file or directory\r\nerror: patch failed: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/executor/PolicyProcessExecutor.java:39\r\nerror: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/executor/PolicyProcessExecutor.java: patch does not apply\r\nerror: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/dao/AlertDefinitionDAOImpl.java: No such file or directory\r\nerror: eagle-core/eagle-policy/eagle-policy-base/src/main/java/org/apache/eagle/policy/dao/AlertDefinitionDAOImpl.java: No such file or directory"}}