{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/product-af/pulls/comments/41231345","id":41231345,"diff_hunk":"@@ -0,0 +1,70 @@\n+/*\n+ * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *       http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package com.helloapp.controllers;\n+\n+import org.springframework.stereotype.Controller;\n+import org.springframework.web.bind.annotation.RequestMapping;\n+import org.springframework.web.servlet.ModelAndView;\n+import org.springframework.web.bind.annotation.PathVariable;\n+\n+/**\n+ * Spring Controller Class\n+ */\n+\n+@Controller\n+public class HelloWorldController {\n+\n+\t/**\n+\t * stores the string to be displayed specific to the methods being invoked\n+\t */\n+\tString msg = \"\";","path":"modules/maven-archetype/maven-archetype-springapp/src/main/resources/archetype-resources/src/main/java/com/helloapp/controllers/HelloWorldController.java","position":34,"original_position":34,"commit_id":"fb8c9c77897470e029bd93ef30a735a2748b670d","original_commit_id":"fb8c9c77897470e029bd93ef30a735a2748b670d","user":{"login":"prabathabey","id":6664125,"avatar_url":"https://avatars.githubusercontent.com/u/6664125?v=3","gravatar_id":"","url":"https://api.github.com/users/prabathabey","html_url":"https://github.com/prabathabey","followers_url":"https://api.github.com/users/prabathabey/followers","following_url":"https://api.github.com/users/prabathabey/following{/other_user}","gists_url":"https://api.github.com/users/prabathabey/gists{/gist_id}","starred_url":"https://api.github.com/users/prabathabey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prabathabey/subscriptions","organizations_url":"https://api.github.com/users/prabathabey/orgs","repos_url":"https://api.github.com/users/prabathabey/repos","events_url":"https://api.github.com/users/prabathabey/events{/privacy}","received_events_url":"https://api.github.com/users/prabathabey/received_events","type":"User","site_admin":false},"body":"Any specific reason why this is \"empty-inited\"?","created_at":"2015-10-06T07:05:45Z","updated_at":"2015-10-06T07:05:45Z","html_url":"https://github.com/wso2/product-af/pull/649#discussion_r41231345","pull_request_url":"https://api.github.com/repos/wso2/product-af/pulls/649","_links":{"self":{"href":"https://api.github.com/repos/wso2/product-af/pulls/comments/41231345"},"html":{"href":"https://github.com/wso2/product-af/pull/649#discussion_r41231345"},"pull_request":{"href":"https://api.github.com/repos/wso2/product-af/pulls/649"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/product-af/pulls/649","id":46864149,"html_url":"https://github.com/wso2/product-af/pull/649","diff_url":"https://github.com/wso2/product-af/pull/649.diff","patch_url":"https://github.com/wso2/product-af/pull/649.patch","issue_url":"https://api.github.com/repos/wso2/product-af/issues/649","number":649,"state":"open","locked":false,"title":"Changes to support a new spring application type","user":{"login":"Shenavi","id":11812983,"avatar_url":"https://avatars.githubusercontent.com/u/11812983?v=3","gravatar_id":"","url":"https://api.github.com/users/Shenavi","html_url":"https://github.com/Shenavi","followers_url":"https://api.github.com/users/Shenavi/followers","following_url":"https://api.github.com/users/Shenavi/following{/other_user}","gists_url":"https://api.github.com/users/Shenavi/gists{/gist_id}","starred_url":"https://api.github.com/users/Shenavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shenavi/subscriptions","organizations_url":"https://api.github.com/users/Shenavi/orgs","repos_url":"https://api.github.com/users/Shenavi/repos","events_url":"https://api.github.com/users/Shenavi/events{/privacy}","received_events_url":"https://api.github.com/users/Shenavi/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-06T05:36:30Z","updated_at":"2015-10-06T07:05:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e50bedcbe3741a6f306ddf9aa0207a2b211a1164","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/product-af/pulls/649/commits","review_comments_url":"https://api.github.com/repos/wso2/product-af/pulls/649/comments","review_comment_url":"https://api.github.com/repos/wso2/product-af/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/product-af/issues/649/comments","statuses_url":"https://api.github.com/repos/wso2/product-af/statuses/fb8c9c77897470e029bd93ef30a735a2748b670d","head":{"label":"Shenavi:springAppType","ref":"springAppType","sha":"fb8c9c77897470e029bd93ef30a735a2748b670d","user":{"login":"Shenavi","id":11812983,"avatar_url":"https://avatars.githubusercontent.com/u/11812983?v=3","gravatar_id":"","url":"https://api.github.com/users/Shenavi","html_url":"https://github.com/Shenavi","followers_url":"https://api.github.com/users/Shenavi/followers","following_url":"https://api.github.com/users/Shenavi/following{/other_user}","gists_url":"https://api.github.com/users/Shenavi/gists{/gist_id}","starred_url":"https://api.github.com/users/Shenavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shenavi/subscriptions","organizations_url":"https://api.github.com/users/Shenavi/orgs","repos_url":"https://api.github.com/users/Shenavi/repos","events_url":"https://api.github.com/users/Shenavi/events{/privacy}","received_events_url":"https://api.github.com/users/Shenavi/received_events","type":"User","site_admin":false},"repo":{"id":38093218,"name":"product-af","full_name":"Shenavi/product-af","owner":{"login":"Shenavi","id":11812983,"avatar_url":"https://avatars.githubusercontent.com/u/11812983?v=3","gravatar_id":"","url":"https://api.github.com/users/Shenavi","html_url":"https://github.com/Shenavi","followers_url":"https://api.github.com/users/Shenavi/followers","following_url":"https://api.github.com/users/Shenavi/following{/other_user}","gists_url":"https://api.github.com/users/Shenavi/gists{/gist_id}","starred_url":"https://api.github.com/users/Shenavi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shenavi/subscriptions","organizations_url":"https://api.github.com/users/Shenavi/orgs","repos_url":"https://api.github.com/users/Shenavi/repos","events_url":"https://api.github.com/users/Shenavi/events{/privacy}","received_events_url":"https://api.github.com/users/Shenavi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Shenavi/product-af","description":"","fork":true,"url":"https://api.github.com/repos/Shenavi/product-af","forks_url":"https://api.github.com/repos/Shenavi/product-af/forks","keys_url":"https://api.github.com/repos/Shenavi/product-af/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Shenavi/product-af/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Shenavi/product-af/teams","hooks_url":"https://api.github.com/repos/Shenavi/product-af/hooks","issue_events_url":"https://api.github.com/repos/Shenavi/product-af/issues/events{/number}","events_url":"https://api.github.com/repos/Shenavi/product-af/events","assignees_url":"https://api.github.com/repos/Shenavi/product-af/assignees{/user}","branches_url":"https://api.github.com/repos/Shenavi/product-af/branches{/branch}","tags_url":"https://api.github.com/repos/Shenavi/product-af/tags","blobs_url":"https://api.github.com/repos/Shenavi/product-af/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Shenavi/product-af/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Shenavi/product-af/git/refs{/sha}","trees_url":"https://api.github.com/repos/Shenavi/product-af/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Shenavi/product-af/statuses/{sha}","languages_url":"https://api.github.com/repos/Shenavi/product-af/languages","stargazers_url":"https://api.github.com/repos/Shenavi/product-af/stargazers","contributors_url":"https://api.github.com/repos/Shenavi/product-af/contributors","subscribers_url":"https://api.github.com/repos/Shenavi/product-af/subscribers","subscription_url":"https://api.github.com/repos/Shenavi/product-af/subscription","commits_url":"https://api.github.com/repos/Shenavi/product-af/commits{/sha}","git_commits_url":"https://api.github.com/repos/Shenavi/product-af/git/commits{/sha}","comments_url":"https://api.github.com/repos/Shenavi/product-af/comments{/number}","issue_comment_url":"https://api.github.com/repos/Shenavi/product-af/issues/comments{/number}","contents_url":"https://api.github.com/repos/Shenavi/product-af/contents/{+path}","compare_url":"https://api.github.com/repos/Shenavi/product-af/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Shenavi/product-af/merges","archive_url":"https://api.github.com/repos/Shenavi/product-af/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Shenavi/product-af/downloads","issues_url":"https://api.github.com/repos/Shenavi/product-af/issues{/number}","pulls_url":"https://api.github.com/repos/Shenavi/product-af/pulls{/number}","milestones_url":"https://api.github.com/repos/Shenavi/product-af/milestones{/number}","notifications_url":"https://api.github.com/repos/Shenavi/product-af/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Shenavi/product-af/labels{/name}","releases_url":"https://api.github.com/repos/Shenavi/product-af/releases{/id}","created_at":"2015-06-26T05:47:56Z","updated_at":"2015-06-26T05:48:21Z","pushed_at":"2015-10-06T05:30:47Z","git_url":"git://github.com/Shenavi/product-af.git","ssh_url":"git@github.com:Shenavi/product-af.git","clone_url":"https://github.com/Shenavi/product-af.git","svn_url":"https://github.com/Shenavi/product-af","homepage":null,"size":392726,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"wso2:master","ref":"master","sha":"e9e173ecc8122bf4b01934d2209a2775d5ce020c","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":17127687,"name":"product-af","full_name":"wso2/product-af","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/product-af","description":"","fork":false,"url":"https://api.github.com/repos/wso2/product-af","forks_url":"https://api.github.com/repos/wso2/product-af/forks","keys_url":"https://api.github.com/repos/wso2/product-af/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/product-af/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/product-af/teams","hooks_url":"https://api.github.com/repos/wso2/product-af/hooks","issue_events_url":"https://api.github.com/repos/wso2/product-af/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/product-af/events","assignees_url":"https://api.github.com/repos/wso2/product-af/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/product-af/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/product-af/tags","blobs_url":"https://api.github.com/repos/wso2/product-af/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/product-af/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/product-af/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/product-af/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/product-af/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/product-af/languages","stargazers_url":"https://api.github.com/repos/wso2/product-af/stargazers","contributors_url":"https://api.github.com/repos/wso2/product-af/contributors","subscribers_url":"https://api.github.com/repos/wso2/product-af/subscribers","subscription_url":"https://api.github.com/repos/wso2/product-af/subscription","commits_url":"https://api.github.com/repos/wso2/product-af/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/product-af/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/product-af/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/product-af/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/product-af/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/product-af/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/product-af/merges","archive_url":"https://api.github.com/repos/wso2/product-af/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/product-af/downloads","issues_url":"https://api.github.com/repos/wso2/product-af/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/product-af/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/product-af/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/product-af/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/product-af/labels{/name}","releases_url":"https://api.github.com/repos/wso2/product-af/releases{/id}","created_at":"2014-02-24T06:44:40Z","updated_at":"2015-07-16T03:54:06Z","pushed_at":"2015-10-06T05:36:31Z","git_url":"git://github.com/wso2/product-af.git","ssh_url":"git@github.com:wso2/product-af.git","clone_url":"https://github.com/wso2/product-af.git","svn_url":"https://github.com/wso2/product-af","homepage":null,"size":415125,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":17,"forks":38,"open_issues":17,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/product-af/pulls/649"},"html":{"href":"https://github.com/wso2/product-af/pull/649"},"issue":{"href":"https://api.github.com/repos/wso2/product-af/issues/649"},"comments":{"href":"https://api.github.com/repos/wso2/product-af/issues/649/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/product-af/pulls/649/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/product-af/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/product-af/pulls/649/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/product-af/statuses/fb8c9c77897470e029bd93ef30a735a2748b670d"}}}}