{"action":"created","comment":{"url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/comments/56944445","id":56944445,"diff_hunk":"@@ -46,9 +45,201 @@\n     private ProcessDAO processDAO;\n     @Autowired\n     private PropertiesDAO propertiesDAO;\n+    @Autowired\n+    private AppDeploymentQueueStatusDAO appDeploymentQueueStatusDAO;\n+    @Autowired\n+    private UsersDAO usersDAO;\n+    @RequestMapping(value = {\"/\", \"\"}, method = RequestMethod.POST)\n+    @ResponseBody\n+    public\n+    RestWrapper insert(@ModelAttribute(\"acq\")","path":"md-rest-api/src/main/java/com/wipro/ats/bdre/md/rest/AppDeploymentQueueAPI.java","position":55,"original_position":55,"commit_id":"458ba163f0c4c5ef0b3e39e740df4c4297793e0e","original_commit_id":"458ba163f0c4c5ef0b3e39e740df4c4297793e0e","user":{"login":"bdre-bda","id":13850135,"avatar_url":"https://avatars.githubusercontent.com/u/13850135?v=3","gravatar_id":"","url":"https://api.github.com/users/bdre-bda","html_url":"https://github.com/bdre-bda","followers_url":"https://api.github.com/users/bdre-bda/followers","following_url":"https://api.github.com/users/bdre-bda/following{/other_user}","gists_url":"https://api.github.com/users/bdre-bda/gists{/gist_id}","starred_url":"https://api.github.com/users/bdre-bda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdre-bda/subscriptions","organizations_url":"https://api.github.com/users/bdre-bda/orgs","repos_url":"https://api.github.com/users/bdre-bda/repos","events_url":"https://api.github.com/users/bdre-bda/events{/privacy}","received_events_url":"https://api.github.com/users/bdre-bda/received_events","type":"User","site_admin":false},"body":"![MINOR](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/severity-minor.png) The Cyclomatic Complexity of this method \"insert\" is 11 which is greater than 10 authorized. [![rule](https://raw.githubusercontent.com/SonarCommunity/sonar-github/master/images/rule.png)](https://sonar.openbdre.org/coding_rules#rule_key=squid%3AMethodCyclomaticComplexity)\n","created_at":"2016-03-22T07:02:46Z","updated_at":"2016-03-22T07:02:46Z","html_url":"https://github.com/WiproOpenSourcePractice/openbdre/pull/241#discussion_r56944445","pull_request_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/241","_links":{"self":{"href":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/comments/56944445"},"html":{"href":"https://github.com/WiproOpenSourcePractice/openbdre/pull/241#discussion_r56944445"},"pull_request":{"href":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/241"}}},"pull_request":{"url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/241","id":63677226,"html_url":"https://github.com/WiproOpenSourcePractice/openbdre/pull/241","diff_url":"https://github.com/WiproOpenSourcePractice/openbdre/pull/241.diff","patch_url":"https://github.com/WiproOpenSourcePractice/openbdre/pull/241.patch","issue_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/241","number":241,"state":"open","locked":false,"title":"Merging Predevelop into develop ","user":{"login":"mishisinku","id":16664115,"avatar_url":"https://avatars.githubusercontent.com/u/16664115?v=3","gravatar_id":"","url":"https://api.github.com/users/mishisinku","html_url":"https://github.com/mishisinku","followers_url":"https://api.github.com/users/mishisinku/followers","following_url":"https://api.github.com/users/mishisinku/following{/other_user}","gists_url":"https://api.github.com/users/mishisinku/gists{/gist_id}","starred_url":"https://api.github.com/users/mishisinku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mishisinku/subscriptions","organizations_url":"https://api.github.com/users/mishisinku/orgs","repos_url":"https://api.github.com/users/mishisinku/repos","events_url":"https://api.github.com/users/mishisinku/events{/privacy}","received_events_url":"https://api.github.com/users/mishisinku/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-22T06:57:52Z","updated_at":"2016-03-22T07:02:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c7261fdb610e17d2537dd8f11bf97286e9bdc65","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/241/commits","review_comments_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/241/comments","review_comment_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/241/comments","statuses_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/statuses/458ba163f0c4c5ef0b3e39e740df4c4297793e0e","head":{"label":"WiproOpenSourcePractice:predevelop","ref":"predevelop","sha":"458ba163f0c4c5ef0b3e39e740df4c4297793e0e","user":{"login":"WiproOpenSourcePractice","id":8259572,"avatar_url":"https://avatars.githubusercontent.com/u/8259572?v=3","gravatar_id":"","url":"https://api.github.com/users/WiproOpenSourcePractice","html_url":"https://github.com/WiproOpenSourcePractice","followers_url":"https://api.github.com/users/WiproOpenSourcePractice/followers","following_url":"https://api.github.com/users/WiproOpenSourcePractice/following{/other_user}","gists_url":"https://api.github.com/users/WiproOpenSourcePractice/gists{/gist_id}","starred_url":"https://api.github.com/users/WiproOpenSourcePractice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WiproOpenSourcePractice/subscriptions","organizations_url":"https://api.github.com/users/WiproOpenSourcePractice/orgs","repos_url":"https://api.github.com/users/WiproOpenSourcePractice/repos","events_url":"https://api.github.com/users/WiproOpenSourcePractice/events{/privacy}","received_events_url":"https://api.github.com/users/WiproOpenSourcePractice/received_events","type":"Organization","site_admin":false},"repo":{"id":48584989,"name":"openbdre","full_name":"WiproOpenSourcePractice/openbdre","owner":{"login":"WiproOpenSourcePractice","id":8259572,"avatar_url":"https://avatars.githubusercontent.com/u/8259572?v=3","gravatar_id":"","url":"https://api.github.com/users/WiproOpenSourcePractice","html_url":"https://github.com/WiproOpenSourcePractice","followers_url":"https://api.github.com/users/WiproOpenSourcePractice/followers","following_url":"https://api.github.com/users/WiproOpenSourcePractice/following{/other_user}","gists_url":"https://api.github.com/users/WiproOpenSourcePractice/gists{/gist_id}","starred_url":"https://api.github.com/users/WiproOpenSourcePractice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WiproOpenSourcePractice/subscriptions","organizations_url":"https://api.github.com/users/WiproOpenSourcePractice/orgs","repos_url":"https://api.github.com/users/WiproOpenSourcePractice/repos","events_url":"https://api.github.com/users/WiproOpenSourcePractice/events{/privacy}","received_events_url":"https://api.github.com/users/WiproOpenSourcePractice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WiproOpenSourcePractice/openbdre","description":"Bigdata Ready Enterprise Open Source Software","fork":false,"url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre","forks_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/forks","keys_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/teams","hooks_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/hooks","issue_events_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/events{/number}","events_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/events","assignees_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/assignees{/user}","branches_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/branches{/branch}","tags_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/tags","blobs_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/git/refs{/sha}","trees_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/statuses/{sha}","languages_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/languages","stargazers_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/stargazers","contributors_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/contributors","subscribers_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/subscribers","subscription_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/subscription","commits_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/commits{/sha}","git_commits_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/git/commits{/sha}","comments_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/comments{/number}","issue_comment_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/comments{/number}","contents_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/contents/{+path}","compare_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/merges","archive_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/downloads","issues_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues{/number}","pulls_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls{/number}","milestones_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/milestones{/number}","notifications_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/labels{/name}","releases_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/releases{/id}","deployments_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/deployments","created_at":"2015-12-25T15:54:38Z","updated_at":"2016-02-24T03:55:05Z","pushed_at":"2016-03-22T06:57:52Z","git_url":"git://github.com/WiproOpenSourcePractice/openbdre.git","ssh_url":"git@github.com:WiproOpenSourcePractice/openbdre.git","clone_url":"https://github.com/WiproOpenSourcePractice/openbdre.git","svn_url":"https://github.com/WiproOpenSourcePractice/openbdre","homepage":"http://wiproopensourcepractice.github.io/openbdre","size":5555,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":73,"mirror_url":null,"open_issues_count":2,"forks":73,"open_issues":2,"watchers":8,"default_branch":"develop"}},"base":{"label":"WiproOpenSourcePractice:develop","ref":"develop","sha":"6c3f5db8a95ce673f682a488e07999b59c179a59","user":{"login":"WiproOpenSourcePractice","id":8259572,"avatar_url":"https://avatars.githubusercontent.com/u/8259572?v=3","gravatar_id":"","url":"https://api.github.com/users/WiproOpenSourcePractice","html_url":"https://github.com/WiproOpenSourcePractice","followers_url":"https://api.github.com/users/WiproOpenSourcePractice/followers","following_url":"https://api.github.com/users/WiproOpenSourcePractice/following{/other_user}","gists_url":"https://api.github.com/users/WiproOpenSourcePractice/gists{/gist_id}","starred_url":"https://api.github.com/users/WiproOpenSourcePractice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WiproOpenSourcePractice/subscriptions","organizations_url":"https://api.github.com/users/WiproOpenSourcePractice/orgs","repos_url":"https://api.github.com/users/WiproOpenSourcePractice/repos","events_url":"https://api.github.com/users/WiproOpenSourcePractice/events{/privacy}","received_events_url":"https://api.github.com/users/WiproOpenSourcePractice/received_events","type":"Organization","site_admin":false},"repo":{"id":48584989,"name":"openbdre","full_name":"WiproOpenSourcePractice/openbdre","owner":{"login":"WiproOpenSourcePractice","id":8259572,"avatar_url":"https://avatars.githubusercontent.com/u/8259572?v=3","gravatar_id":"","url":"https://api.github.com/users/WiproOpenSourcePractice","html_url":"https://github.com/WiproOpenSourcePractice","followers_url":"https://api.github.com/users/WiproOpenSourcePractice/followers","following_url":"https://api.github.com/users/WiproOpenSourcePractice/following{/other_user}","gists_url":"https://api.github.com/users/WiproOpenSourcePractice/gists{/gist_id}","starred_url":"https://api.github.com/users/WiproOpenSourcePractice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WiproOpenSourcePractice/subscriptions","organizations_url":"https://api.github.com/users/WiproOpenSourcePractice/orgs","repos_url":"https://api.github.com/users/WiproOpenSourcePractice/repos","events_url":"https://api.github.com/users/WiproOpenSourcePractice/events{/privacy}","received_events_url":"https://api.github.com/users/WiproOpenSourcePractice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WiproOpenSourcePractice/openbdre","description":"Bigdata Ready Enterprise Open Source Software","fork":false,"url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre","forks_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/forks","keys_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/teams","hooks_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/hooks","issue_events_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/events{/number}","events_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/events","assignees_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/assignees{/user}","branches_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/branches{/branch}","tags_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/tags","blobs_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/git/refs{/sha}","trees_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/statuses/{sha}","languages_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/languages","stargazers_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/stargazers","contributors_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/contributors","subscribers_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/subscribers","subscription_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/subscription","commits_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/commits{/sha}","git_commits_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/git/commits{/sha}","comments_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/comments{/number}","issue_comment_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/comments{/number}","contents_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/contents/{+path}","compare_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/merges","archive_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/downloads","issues_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues{/number}","pulls_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls{/number}","milestones_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/milestones{/number}","notifications_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/labels{/name}","releases_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/releases{/id}","deployments_url":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/deployments","created_at":"2015-12-25T15:54:38Z","updated_at":"2016-02-24T03:55:05Z","pushed_at":"2016-03-22T06:57:52Z","git_url":"git://github.com/WiproOpenSourcePractice/openbdre.git","ssh_url":"git@github.com:WiproOpenSourcePractice/openbdre.git","clone_url":"https://github.com/WiproOpenSourcePractice/openbdre.git","svn_url":"https://github.com/WiproOpenSourcePractice/openbdre","homepage":"http://wiproopensourcepractice.github.io/openbdre","size":5555,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":73,"mirror_url":null,"open_issues_count":2,"forks":73,"open_issues":2,"watchers":8,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/241"},"html":{"href":"https://github.com/WiproOpenSourcePractice/openbdre/pull/241"},"issue":{"href":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/241"},"comments":{"href":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/issues/241/comments"},"review_comments":{"href":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/241/comments"},"review_comment":{"href":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/pulls/241/commits"},"statuses":{"href":"https://api.github.com/repos/WiproOpenSourcePractice/openbdre/statuses/458ba163f0c4c5ef0b3e39e740df4c4297793e0e"}}}}