{"action":"created","comment":{"url":"https://api.github.com/repos/mp911de/rest-api-test/pulls/comments/58308702","id":58308702,"diff_hunk":"@@ -0,0 +1,46 @@\n+package biz.paluch.rest.test;\n+\n+import java.io.IOException;\n+import java.util.Properties;\n+\n+import javax.servlet.ServletContext;\n+import javax.servlet.ServletContextEvent;\n+import javax.servlet.ServletContextListener;\n+import javax.servlet.annotation.WebListener;\n+\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+@WebListener\n+public class MyConfig implements ServletContextListener {","path":"src/test/java/biz/paluch/rest/test/MyConfig.java","position":15,"original_position":15,"commit_id":"02ee76c5eb3efe0b8b252f151011f5ce5fe6a3f6","original_commit_id":"02ee76c5eb3efe0b8b252f151011f5ce5fe6a3f6","user":{"login":"mp911de","id":1035015,"avatar_url":"https://avatars.githubusercontent.com/u/1035015?v=3","gravatar_id":"","url":"https://api.github.com/users/mp911de","html_url":"https://github.com/mp911de","followers_url":"https://api.github.com/users/mp911de/followers","following_url":"https://api.github.com/users/mp911de/following{/other_user}","gists_url":"https://api.github.com/users/mp911de/gists{/gist_id}","starred_url":"https://api.github.com/users/mp911de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mp911de/subscriptions","organizations_url":"https://api.github.com/users/mp911de/orgs","repos_url":"https://api.github.com/users/mp911de/repos","events_url":"https://api.github.com/users/mp911de/events{/privacy}","received_events_url":"https://api.github.com/users/mp911de/received_events","type":"User","site_admin":false},"body":"Rename this one to `MyConfigContextListener`","created_at":"2016-04-03T11:23:51Z","updated_at":"2016-04-03T11:23:51Z","html_url":"https://github.com/mp911de/rest-api-test/pull/2#discussion_r58308702","pull_request_url":"https://api.github.com/repos/mp911de/rest-api-test/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/mp911de/rest-api-test/pulls/comments/58308702"},"html":{"href":"https://github.com/mp911de/rest-api-test/pull/2#discussion_r58308702"},"pull_request":{"href":"https://api.github.com/repos/mp911de/rest-api-test/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/mp911de/rest-api-test/pulls/2","id":64643139,"html_url":"https://github.com/mp911de/rest-api-test/pull/2","diff_url":"https://github.com/mp911de/rest-api-test/pull/2.diff","patch_url":"https://github.com/mp911de/rest-api-test/pull/2.patch","issue_url":"https://api.github.com/repos/mp911de/rest-api-test/issues/2","number":2,"state":"open","locked":false,"title":"add ServletContextListener","user":{"login":"JathinSanghvi","id":17913255,"avatar_url":"https://avatars.githubusercontent.com/u/17913255?v=3","gravatar_id":"","url":"https://api.github.com/users/JathinSanghvi","html_url":"https://github.com/JathinSanghvi","followers_url":"https://api.github.com/users/JathinSanghvi/followers","following_url":"https://api.github.com/users/JathinSanghvi/following{/other_user}","gists_url":"https://api.github.com/users/JathinSanghvi/gists{/gist_id}","starred_url":"https://api.github.com/users/JathinSanghvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JathinSanghvi/subscriptions","organizations_url":"https://api.github.com/users/JathinSanghvi/orgs","repos_url":"https://api.github.com/users/JathinSanghvi/repos","events_url":"https://api.github.com/users/JathinSanghvi/events{/privacy}","received_events_url":"https://api.github.com/users/JathinSanghvi/received_events","type":"User","site_admin":false},"body":"Added ServletContextListener .. How do you initialize the ServletContextListener i.e. invoking contextInitiailized from InMemoryRestServer.java","created_at":"2016-03-30T15:06:10Z","updated_at":"2016-04-03T11:23:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89a969853e32a7230ab684bcfce38677131de66d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mp911de/rest-api-test/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mp911de/rest-api-test/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mp911de/rest-api-test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mp911de/rest-api-test/issues/2/comments","statuses_url":"https://api.github.com/repos/mp911de/rest-api-test/statuses/02ee76c5eb3efe0b8b252f151011f5ce5fe6a3f6","head":{"label":"JathinSanghvi:patch-1","ref":"patch-1","sha":"02ee76c5eb3efe0b8b252f151011f5ce5fe6a3f6","user":{"login":"JathinSanghvi","id":17913255,"avatar_url":"https://avatars.githubusercontent.com/u/17913255?v=3","gravatar_id":"","url":"https://api.github.com/users/JathinSanghvi","html_url":"https://github.com/JathinSanghvi","followers_url":"https://api.github.com/users/JathinSanghvi/followers","following_url":"https://api.github.com/users/JathinSanghvi/following{/other_user}","gists_url":"https://api.github.com/users/JathinSanghvi/gists{/gist_id}","starred_url":"https://api.github.com/users/JathinSanghvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JathinSanghvi/subscriptions","organizations_url":"https://api.github.com/users/JathinSanghvi/orgs","repos_url":"https://api.github.com/users/JathinSanghvi/repos","events_url":"https://api.github.com/users/JathinSanghvi/events{/privacy}","received_events_url":"https://api.github.com/users/JathinSanghvi/received_events","type":"User","site_admin":false},"repo":{"id":55067819,"name":"rest-api-test","full_name":"JathinSanghvi/rest-api-test","owner":{"login":"JathinSanghvi","id":17913255,"avatar_url":"https://avatars.githubusercontent.com/u/17913255?v=3","gravatar_id":"","url":"https://api.github.com/users/JathinSanghvi","html_url":"https://github.com/JathinSanghvi","followers_url":"https://api.github.com/users/JathinSanghvi/followers","following_url":"https://api.github.com/users/JathinSanghvi/following{/other_user}","gists_url":"https://api.github.com/users/JathinSanghvi/gists{/gist_id}","starred_url":"https://api.github.com/users/JathinSanghvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JathinSanghvi/subscriptions","organizations_url":"https://api.github.com/users/JathinSanghvi/orgs","repos_url":"https://api.github.com/users/JathinSanghvi/repos","events_url":"https://api.github.com/users/JathinSanghvi/events{/privacy}","received_events_url":"https://api.github.com/users/JathinSanghvi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JathinSanghvi/rest-api-test","description":"Demo for how to test a REST API with JUnit and RESTEasy 3.0","fork":true,"url":"https://api.github.com/repos/JathinSanghvi/rest-api-test","forks_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/forks","keys_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/teams","hooks_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/hooks","issue_events_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/issues/events{/number}","events_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/events","assignees_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/assignees{/user}","branches_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/branches{/branch}","tags_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/tags","blobs_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/statuses/{sha}","languages_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/languages","stargazers_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/stargazers","contributors_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/contributors","subscribers_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/subscribers","subscription_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/subscription","commits_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/contents/{+path}","compare_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/merges","archive_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/downloads","issues_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/issues{/number}","pulls_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/pulls{/number}","milestones_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/milestones{/number}","notifications_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/labels{/name}","releases_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/releases{/id}","deployments_url":"https://api.github.com/repos/JathinSanghvi/rest-api-test/deployments","created_at":"2016-03-30T14:00:46Z","updated_at":"2016-03-30T14:00:47Z","pushed_at":"2016-03-30T15:10:45Z","git_url":"git://github.com/JathinSanghvi/rest-api-test.git","ssh_url":"git@github.com:JathinSanghvi/rest-api-test.git","clone_url":"https://github.com/JathinSanghvi/rest-api-test.git","svn_url":"https://github.com/JathinSanghvi/rest-api-test","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mp911de:master","ref":"master","sha":"eab7bba3d6c584d1a6e8a983989049c22ab3572c","user":{"login":"mp911de","id":1035015,"avatar_url":"https://avatars.githubusercontent.com/u/1035015?v=3","gravatar_id":"","url":"https://api.github.com/users/mp911de","html_url":"https://github.com/mp911de","followers_url":"https://api.github.com/users/mp911de/followers","following_url":"https://api.github.com/users/mp911de/following{/other_user}","gists_url":"https://api.github.com/users/mp911de/gists{/gist_id}","starred_url":"https://api.github.com/users/mp911de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mp911de/subscriptions","organizations_url":"https://api.github.com/users/mp911de/orgs","repos_url":"https://api.github.com/users/mp911de/repos","events_url":"https://api.github.com/users/mp911de/events{/privacy}","received_events_url":"https://api.github.com/users/mp911de/received_events","type":"User","site_admin":false},"repo":{"id":32064947,"name":"rest-api-test","full_name":"mp911de/rest-api-test","owner":{"login":"mp911de","id":1035015,"avatar_url":"https://avatars.githubusercontent.com/u/1035015?v=3","gravatar_id":"","url":"https://api.github.com/users/mp911de","html_url":"https://github.com/mp911de","followers_url":"https://api.github.com/users/mp911de/followers","following_url":"https://api.github.com/users/mp911de/following{/other_user}","gists_url":"https://api.github.com/users/mp911de/gists{/gist_id}","starred_url":"https://api.github.com/users/mp911de/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mp911de/subscriptions","organizations_url":"https://api.github.com/users/mp911de/orgs","repos_url":"https://api.github.com/users/mp911de/repos","events_url":"https://api.github.com/users/mp911de/events{/privacy}","received_events_url":"https://api.github.com/users/mp911de/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mp911de/rest-api-test","description":"Demo for how to test a REST API with JUnit and RESTEasy 3.0","fork":false,"url":"https://api.github.com/repos/mp911de/rest-api-test","forks_url":"https://api.github.com/repos/mp911de/rest-api-test/forks","keys_url":"https://api.github.com/repos/mp911de/rest-api-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mp911de/rest-api-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mp911de/rest-api-test/teams","hooks_url":"https://api.github.com/repos/mp911de/rest-api-test/hooks","issue_events_url":"https://api.github.com/repos/mp911de/rest-api-test/issues/events{/number}","events_url":"https://api.github.com/repos/mp911de/rest-api-test/events","assignees_url":"https://api.github.com/repos/mp911de/rest-api-test/assignees{/user}","branches_url":"https://api.github.com/repos/mp911de/rest-api-test/branches{/branch}","tags_url":"https://api.github.com/repos/mp911de/rest-api-test/tags","blobs_url":"https://api.github.com/repos/mp911de/rest-api-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mp911de/rest-api-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mp911de/rest-api-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/mp911de/rest-api-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mp911de/rest-api-test/statuses/{sha}","languages_url":"https://api.github.com/repos/mp911de/rest-api-test/languages","stargazers_url":"https://api.github.com/repos/mp911de/rest-api-test/stargazers","contributors_url":"https://api.github.com/repos/mp911de/rest-api-test/contributors","subscribers_url":"https://api.github.com/repos/mp911de/rest-api-test/subscribers","subscription_url":"https://api.github.com/repos/mp911de/rest-api-test/subscription","commits_url":"https://api.github.com/repos/mp911de/rest-api-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/mp911de/rest-api-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/mp911de/rest-api-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/mp911de/rest-api-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/mp911de/rest-api-test/contents/{+path}","compare_url":"https://api.github.com/repos/mp911de/rest-api-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mp911de/rest-api-test/merges","archive_url":"https://api.github.com/repos/mp911de/rest-api-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mp911de/rest-api-test/downloads","issues_url":"https://api.github.com/repos/mp911de/rest-api-test/issues{/number}","pulls_url":"https://api.github.com/repos/mp911de/rest-api-test/pulls{/number}","milestones_url":"https://api.github.com/repos/mp911de/rest-api-test/milestones{/number}","notifications_url":"https://api.github.com/repos/mp911de/rest-api-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mp911de/rest-api-test/labels{/name}","releases_url":"https://api.github.com/repos/mp911de/rest-api-test/releases{/id}","deployments_url":"https://api.github.com/repos/mp911de/rest-api-test/deployments","created_at":"2015-03-12T08:11:00Z","updated_at":"2015-06-29T05:23:44Z","pushed_at":"2016-03-30T15:10:45Z","git_url":"git://github.com/mp911de/rest-api-test.git","ssh_url":"git@github.com:mp911de/rest-api-test.git","clone_url":"https://github.com/mp911de/rest-api-test.git","svn_url":"https://github.com/mp911de/rest-api-test","homepage":null,"size":100,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mp911de/rest-api-test/pulls/2"},"html":{"href":"https://github.com/mp911de/rest-api-test/pull/2"},"issue":{"href":"https://api.github.com/repos/mp911de/rest-api-test/issues/2"},"comments":{"href":"https://api.github.com/repos/mp911de/rest-api-test/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mp911de/rest-api-test/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mp911de/rest-api-test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mp911de/rest-api-test/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mp911de/rest-api-test/statuses/02ee76c5eb3efe0b8b252f151011f5ce5fe6a3f6"}}}}