{"action":"opened","number":115,"pull_request":{"url":"https://api.github.com/repos/pravega/pravega-samples/pulls/115","id":195325903,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MzI1OTAz","html_url":"https://github.com/pravega/pravega-samples/pull/115","diff_url":"https://github.com/pravega/pravega-samples/pull/115.diff","patch_url":"https://github.com/pravega/pravega-samples/pull/115.patch","issue_url":"https://api.github.com/repos/pravega/pravega-samples/issues/115","number":115,"state":"open","locked":false,"title":"Issue 113: Problems in anomaly detection application setup","user":{"login":"RaulGracia","id":717112,"node_id":"MDQ6VXNlcjcxNzExMg==","avatar_url":"https://avatars1.githubusercontent.com/u/717112?v=4","gravatar_id":"","url":"https://api.github.com/users/RaulGracia","html_url":"https://github.com/RaulGracia","followers_url":"https://api.github.com/users/RaulGracia/followers","following_url":"https://api.github.com/users/RaulGracia/following{/other_user}","gists_url":"https://api.github.com/users/RaulGracia/gists{/gist_id}","starred_url":"https://api.github.com/users/RaulGracia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaulGracia/subscriptions","organizations_url":"https://api.github.com/users/RaulGracia/orgs","repos_url":"https://api.github.com/users/RaulGracia/repos","events_url":"https://api.github.com/users/RaulGracia/events{/privacy}","received_events_url":"https://api.github.com/users/RaulGracia/received_events","type":"User","site_admin":false},"body":"**Change log description**\r\nThis PR fixes problems during the setup of `anomaly-detection` application. First, it fixes the `build.gradle` file of `anomaly-detection`, as it has been noticed that it was not correctly creating the executable script to run the application. Moreover, the application was stuck during initialization due to incorrect logging configuration. This PR also changes the logging approach used by `anomaly-detection` to `logback`, which is the scheme used by the rest of sample applications.\r\n\r\n**Purpose of the change**\r\nFixes #113.\r\n\r\n**What the code does**\r\nThe PR adds in the `gradle.build` new dependencies (`logback`, `lombok`), deletes the old one used for logging and adds the logic to correctly create the execution script. In terms of logging, the `log4j.properties` has been replaced by `logback.xml` and classes using logging now are annotated with `Self4j`. Finally, this PR moves the configuration files to `resources` folder, as in the rest of applications and adds minor changes in the README file. \r\n\r\n**How to verify it**\r\nClone the PR patch, start Pravega standalone and execute `./gradlew installDist`. Then, go to the `anomaly-detection` folder and execute the `bin/anomaly-detection` script as specified in the instructions. The application should run as expected.   ","created_at":"2018-06-16T09:53:39Z","updated_at":"2018-06-16T09:53:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"RaulGracia","id":717112,"node_id":"MDQ6VXNlcjcxNzExMg==","avatar_url":"https://avatars1.githubusercontent.com/u/717112?v=4","gravatar_id":"","url":"https://api.github.com/users/RaulGracia","html_url":"https://github.com/RaulGracia","followers_url":"https://api.github.com/users/RaulGracia/followers","following_url":"https://api.github.com/users/RaulGracia/following{/other_user}","gists_url":"https://api.github.com/users/RaulGracia/gists{/gist_id}","starred_url":"https://api.github.com/users/RaulGracia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaulGracia/subscriptions","organizations_url":"https://api.github.com/users/RaulGracia/orgs","repos_url":"https://api.github.com/users/RaulGracia/repos","events_url":"https://api.github.com/users/RaulGracia/events{/privacy}","received_events_url":"https://api.github.com/users/RaulGracia/received_events","type":"User","site_admin":false},"assignees":[{"login":"RaulGracia","id":717112,"node_id":"MDQ6VXNlcjcxNzExMg==","avatar_url":"https://avatars1.githubusercontent.com/u/717112?v=4","gravatar_id":"","url":"https://api.github.com/users/RaulGracia","html_url":"https://github.com/RaulGracia","followers_url":"https://api.github.com/users/RaulGracia/followers","following_url":"https://api.github.com/users/RaulGracia/following{/other_user}","gists_url":"https://api.github.com/users/RaulGracia/gists{/gist_id}","starred_url":"https://api.github.com/users/RaulGracia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaulGracia/subscriptions","organizations_url":"https://api.github.com/users/RaulGracia/orgs","repos_url":"https://api.github.com/users/RaulGracia/repos","events_url":"https://api.github.com/users/RaulGracia/events{/privacy}","received_events_url":"https://api.github.com/users/RaulGracia/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/pravega/pravega-samples/pulls/115/commits","review_comments_url":"https://api.github.com/repos/pravega/pravega-samples/pulls/115/comments","review_comment_url":"https://api.github.com/repos/pravega/pravega-samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pravega/pravega-samples/issues/115/comments","statuses_url":"https://api.github.com/repos/pravega/pravega-samples/statuses/119c085c3ff467864b7e8f0eba1bcf7242f8340d","head":{"label":"RaulGracia:issue-113-anomaly-detection-problem-setup","ref":"issue-113-anomaly-detection-problem-setup","sha":"119c085c3ff467864b7e8f0eba1bcf7242f8340d","user":{"login":"RaulGracia","id":717112,"node_id":"MDQ6VXNlcjcxNzExMg==","avatar_url":"https://avatars1.githubusercontent.com/u/717112?v=4","gravatar_id":"","url":"https://api.github.com/users/RaulGracia","html_url":"https://github.com/RaulGracia","followers_url":"https://api.github.com/users/RaulGracia/followers","following_url":"https://api.github.com/users/RaulGracia/following{/other_user}","gists_url":"https://api.github.com/users/RaulGracia/gists{/gist_id}","starred_url":"https://api.github.com/users/RaulGracia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaulGracia/subscriptions","organizations_url":"https://api.github.com/users/RaulGracia/orgs","repos_url":"https://api.github.com/users/RaulGracia/repos","events_url":"https://api.github.com/users/RaulGracia/events{/privacy}","received_events_url":"https://api.github.com/users/RaulGracia/received_events","type":"User","site_admin":false},"repo":{"id":131851128,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE4NTExMjg=","name":"pravega-samples","full_name":"RaulGracia/pravega-samples","owner":{"login":"RaulGracia","id":717112,"node_id":"MDQ6VXNlcjcxNzExMg==","avatar_url":"https://avatars1.githubusercontent.com/u/717112?v=4","gravatar_id":"","url":"https://api.github.com/users/RaulGracia","html_url":"https://github.com/RaulGracia","followers_url":"https://api.github.com/users/RaulGracia/followers","following_url":"https://api.github.com/users/RaulGracia/following{/other_user}","gists_url":"https://api.github.com/users/RaulGracia/gists{/gist_id}","starred_url":"https://api.github.com/users/RaulGracia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RaulGracia/subscriptions","organizations_url":"https://api.github.com/users/RaulGracia/orgs","repos_url":"https://api.github.com/users/RaulGracia/repos","events_url":"https://api.github.com/users/RaulGracia/events{/privacy}","received_events_url":"https://api.github.com/users/RaulGracia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/RaulGracia/pravega-samples","description":"Sample Applications for Pravega. ","fork":true,"url":"https://api.github.com/repos/RaulGracia/pravega-samples","forks_url":"https://api.github.com/repos/RaulGracia/pravega-samples/forks","keys_url":"https://api.github.com/repos/RaulGracia/pravega-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RaulGracia/pravega-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RaulGracia/pravega-samples/teams","hooks_url":"https://api.github.com/repos/RaulGracia/pravega-samples/hooks","issue_events_url":"https://api.github.com/repos/RaulGracia/pravega-samples/issues/events{/number}","events_url":"https://api.github.com/repos/RaulGracia/pravega-samples/events","assignees_url":"https://api.github.com/repos/RaulGracia/pravega-samples/assignees{/user}","branches_url":"https://api.github.com/repos/RaulGracia/pravega-samples/branches{/branch}","tags_url":"https://api.github.com/repos/RaulGracia/pravega-samples/tags","blobs_url":"https://api.github.com/repos/RaulGracia/pravega-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RaulGracia/pravega-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RaulGracia/pravega-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/RaulGracia/pravega-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RaulGracia/pravega-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/RaulGracia/pravega-samples/languages","stargazers_url":"https://api.github.com/repos/RaulGracia/pravega-samples/stargazers","contributors_url":"https://api.github.com/repos/RaulGracia/pravega-samples/contributors","subscribers_url":"https://api.github.com/repos/RaulGracia/pravega-samples/subscribers","subscription_url":"https://api.github.com/repos/RaulGracia/pravega-samples/subscription","commits_url":"https://api.github.com/repos/RaulGracia/pravega-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/RaulGracia/pravega-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/RaulGracia/pravega-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/RaulGracia/pravega-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/RaulGracia/pravega-samples/contents/{+path}","compare_url":"https://api.github.com/repos/RaulGracia/pravega-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RaulGracia/pravega-samples/merges","archive_url":"https://api.github.com/repos/RaulGracia/pravega-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RaulGracia/pravega-samples/downloads","issues_url":"https://api.github.com/repos/RaulGracia/pravega-samples/issues{/number}","pulls_url":"https://api.github.com/repos/RaulGracia/pravega-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/RaulGracia/pravega-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/RaulGracia/pravega-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RaulGracia/pravega-samples/labels{/name}","releases_url":"https://api.github.com/repos/RaulGracia/pravega-samples/releases{/id}","deployments_url":"https://api.github.com/repos/RaulGracia/pravega-samples/deployments","created_at":"2018-05-02T13:01:21Z","updated_at":"2018-05-02T13:01:24Z","pushed_at":"2018-06-16T09:35:12Z","git_url":"git://github.com/RaulGracia/pravega-samples.git","ssh_url":"git@github.com:RaulGracia/pravega-samples.git","clone_url":"https://github.com/RaulGracia/pravega-samples.git","svn_url":"https://github.com/RaulGracia/pravega-samples","homepage":"","size":1094,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pravega:develop","ref":"develop","sha":"43ebd5dcd069edefc2411c2c5da2ed27faa85e31","user":{"login":"pravega","id":25698199,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1Njk4MTk5","avatar_url":"https://avatars1.githubusercontent.com/u/25698199?v=4","gravatar_id":"","url":"https://api.github.com/users/pravega","html_url":"https://github.com/pravega","followers_url":"https://api.github.com/users/pravega/followers","following_url":"https://api.github.com/users/pravega/following{/other_user}","gists_url":"https://api.github.com/users/pravega/gists{/gist_id}","starred_url":"https://api.github.com/users/pravega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pravega/subscriptions","organizations_url":"https://api.github.com/users/pravega/orgs","repos_url":"https://api.github.com/users/pravega/repos","events_url":"https://api.github.com/users/pravega/events{/privacy}","received_events_url":"https://api.github.com/users/pravega/received_events","type":"Organization","site_admin":false},"repo":{"id":82957400,"node_id":"MDEwOlJlcG9zaXRvcnk4Mjk1NzQwMA==","name":"pravega-samples","full_name":"pravega/pravega-samples","owner":{"login":"pravega","id":25698199,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1Njk4MTk5","avatar_url":"https://avatars1.githubusercontent.com/u/25698199?v=4","gravatar_id":"","url":"https://api.github.com/users/pravega","html_url":"https://github.com/pravega","followers_url":"https://api.github.com/users/pravega/followers","following_url":"https://api.github.com/users/pravega/following{/other_user}","gists_url":"https://api.github.com/users/pravega/gists{/gist_id}","starred_url":"https://api.github.com/users/pravega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pravega/subscriptions","organizations_url":"https://api.github.com/users/pravega/orgs","repos_url":"https://api.github.com/users/pravega/repos","events_url":"https://api.github.com/users/pravega/events{/privacy}","received_events_url":"https://api.github.com/users/pravega/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pravega/pravega-samples","description":"Sample Applications for Pravega. ","fork":false,"url":"https://api.github.com/repos/pravega/pravega-samples","forks_url":"https://api.github.com/repos/pravega/pravega-samples/forks","keys_url":"https://api.github.com/repos/pravega/pravega-samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pravega/pravega-samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pravega/pravega-samples/teams","hooks_url":"https://api.github.com/repos/pravega/pravega-samples/hooks","issue_events_url":"https://api.github.com/repos/pravega/pravega-samples/issues/events{/number}","events_url":"https://api.github.com/repos/pravega/pravega-samples/events","assignees_url":"https://api.github.com/repos/pravega/pravega-samples/assignees{/user}","branches_url":"https://api.github.com/repos/pravega/pravega-samples/branches{/branch}","tags_url":"https://api.github.com/repos/pravega/pravega-samples/tags","blobs_url":"https://api.github.com/repos/pravega/pravega-samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pravega/pravega-samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pravega/pravega-samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/pravega/pravega-samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pravega/pravega-samples/statuses/{sha}","languages_url":"https://api.github.com/repos/pravega/pravega-samples/languages","stargazers_url":"https://api.github.com/repos/pravega/pravega-samples/stargazers","contributors_url":"https://api.github.com/repos/pravega/pravega-samples/contributors","subscribers_url":"https://api.github.com/repos/pravega/pravega-samples/subscribers","subscription_url":"https://api.github.com/repos/pravega/pravega-samples/subscription","commits_url":"https://api.github.com/repos/pravega/pravega-samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/pravega/pravega-samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/pravega/pravega-samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/pravega/pravega-samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/pravega/pravega-samples/contents/{+path}","compare_url":"https://api.github.com/repos/pravega/pravega-samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pravega/pravega-samples/merges","archive_url":"https://api.github.com/repos/pravega/pravega-samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pravega/pravega-samples/downloads","issues_url":"https://api.github.com/repos/pravega/pravega-samples/issues{/number}","pulls_url":"https://api.github.com/repos/pravega/pravega-samples/pulls{/number}","milestones_url":"https://api.github.com/repos/pravega/pravega-samples/milestones{/number}","notifications_url":"https://api.github.com/repos/pravega/pravega-samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pravega/pravega-samples/labels{/name}","releases_url":"https://api.github.com/repos/pravega/pravega-samples/releases{/id}","deployments_url":"https://api.github.com/repos/pravega/pravega-samples/deployments","created_at":"2017-02-23T18:17:08Z","updated_at":"2018-06-15T04:02:04Z","pushed_at":"2018-06-15T18:25:34Z","git_url":"git://github.com/pravega/pravega-samples.git","ssh_url":"git@github.com:pravega/pravega-samples.git","clone_url":"https://github.com/pravega/pravega-samples.git","svn_url":"https://github.com/pravega/pravega-samples","homepage":"","size":1020,"stargazers_count":12,"watchers_count":12,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":13,"open_issues":23,"watchers":12,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/pravega/pravega-samples/pulls/115"},"html":{"href":"https://github.com/pravega/pravega-samples/pull/115"},"issue":{"href":"https://api.github.com/repos/pravega/pravega-samples/issues/115"},"comments":{"href":"https://api.github.com/repos/pravega/pravega-samples/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/pravega/pravega-samples/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/pravega/pravega-samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pravega/pravega-samples/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/pravega/pravega-samples/statuses/119c085c3ff467864b7e8f0eba1bcf7242f8340d"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":86,"deletions":80,"changed_files":12}}
{"actor":{"display_login":"RaulGracia"}}