{"action":"created","comment":{"url":"https://api.github.com/repos/diging/conceptpower/pulls/comments/86248394","pull_request_review_id":6916029,"id":86248394,"diff_hunk":"@@ -77,6 +90,19 @@\n \n         if (entry != null) {\n \n+            try {\n+                // Check if the id used in a generic id. If so fetch the concept\n+                // wrapper id for the generic wordnet id\n+                if (conceptTypesService\n+                        .getConceptTypeByConceptId(pathParts[lastIndex]) == ConceptTypes.GENERIC_WORDNET_CONCEPT) {\n+                    entry = conceptManager.getConceptEntry(entry.getId());\n+                }\n+                addAlternativeIds(pathParts[lastIndex], entry);\n+            } catch (LuceneException e) {\n+                logger.warn(\"Lucene Exception\", e);","path":"Conceptpower+Spring/src/main/java/edu/asu/conceptpower/servlet/rest/ConceptIDLookup.java","position":74,"original_position":74,"commit_id":"83fde47b6dd746ac009275fbee09fd617c3bdea9","original_commit_id":"83fde47b6dd746ac009275fbee09fd617c3bdea9","user":{"login":"jdamerow","id":8881141,"avatar_url":"https://avatars.githubusercontent.com/u/8881141?v=3","gravatar_id":"","url":"https://api.github.com/users/jdamerow","html_url":"https://github.com/jdamerow","followers_url":"https://api.github.com/users/jdamerow/followers","following_url":"https://api.github.com/users/jdamerow/following{/other_user}","gists_url":"https://api.github.com/users/jdamerow/gists{/gist_id}","starred_url":"https://api.github.com/users/jdamerow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdamerow/subscriptions","organizations_url":"https://api.github.com/users/jdamerow/orgs","repos_url":"https://api.github.com/users/jdamerow/repos","events_url":"https://api.github.com/users/jdamerow/events{/privacy}","received_events_url":"https://api.github.com/users/jdamerow/received_events","type":"User","site_admin":false},"body":"this should be error","created_at":"2016-11-02T21:37:14Z","updated_at":"2016-11-02T21:37:14Z","html_url":"https://github.com/diging/conceptpower/pull/124#discussion_r86248394","pull_request_url":"https://api.github.com/repos/diging/conceptpower/pulls/124","_links":{"self":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/comments/86248394"},"html":{"href":"https://github.com/diging/conceptpower/pull/124#discussion_r86248394"},"pull_request":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/diging/conceptpower/pulls/124","id":84372660,"html_url":"https://github.com/diging/conceptpower/pull/124","diff_url":"https://github.com/diging/conceptpower/pull/124.diff","patch_url":"https://github.com/diging/conceptpower/pull/124.patch","issue_url":"https://api.github.com/repos/diging/conceptpower/issues/124","number":124,"state":"open","locked":false,"title":"[CCP-163] Added alternative ids for issue fix in quadriga","user":{"login":"mkarthik90","id":9751475,"avatar_url":"https://avatars.githubusercontent.com/u/9751475?v=3","gravatar_id":"","url":"https://api.github.com/users/mkarthik90","html_url":"https://github.com/mkarthik90","followers_url":"https://api.github.com/users/mkarthik90/followers","following_url":"https://api.github.com/users/mkarthik90/following{/other_user}","gists_url":"https://api.github.com/users/mkarthik90/gists{/gist_id}","starred_url":"https://api.github.com/users/mkarthik90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkarthik90/subscriptions","organizations_url":"https://api.github.com/users/mkarthik90/orgs","repos_url":"https://api.github.com/users/mkarthik90/repos","events_url":"https://api.github.com/users/mkarthik90/events{/privacy}","received_events_url":"https://api.github.com/users/mkarthik90/received_events","type":"User","site_admin":false},"body":"Added alternative ids along with the existing id in rest call.\nThis change has been made to prevent issues in quadriga.\nIncluded a defect fix for fixing the creator id. Creator id needs to\nbe fetched from change event only when the creator id is\navailable in change event else use the existing code.\n","created_at":"2016-09-07T20:59:43Z","updated_at":"2016-11-02T21:37:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"419b690f1f1c01fb9db0c85997dd079266d8c49c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/diging/conceptpower/pulls/124/commits","review_comments_url":"https://api.github.com/repos/diging/conceptpower/pulls/124/comments","review_comment_url":"https://api.github.com/repos/diging/conceptpower/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diging/conceptpower/issues/124/comments","statuses_url":"https://api.github.com/repos/diging/conceptpower/statuses/83fde47b6dd746ac009275fbee09fd617c3bdea9","head":{"label":"diging:CCP-163","ref":"CCP-163","sha":"83fde47b6dd746ac009275fbee09fd617c3bdea9","user":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"repo":{"id":32412644,"name":"conceptpower","full_name":"diging/conceptpower","owner":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diging/conceptpower","description":null,"fork":false,"url":"https://api.github.com/repos/diging/conceptpower","forks_url":"https://api.github.com/repos/diging/conceptpower/forks","keys_url":"https://api.github.com/repos/diging/conceptpower/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diging/conceptpower/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diging/conceptpower/teams","hooks_url":"https://api.github.com/repos/diging/conceptpower/hooks","issue_events_url":"https://api.github.com/repos/diging/conceptpower/issues/events{/number}","events_url":"https://api.github.com/repos/diging/conceptpower/events","assignees_url":"https://api.github.com/repos/diging/conceptpower/assignees{/user}","branches_url":"https://api.github.com/repos/diging/conceptpower/branches{/branch}","tags_url":"https://api.github.com/repos/diging/conceptpower/tags","blobs_url":"https://api.github.com/repos/diging/conceptpower/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diging/conceptpower/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diging/conceptpower/git/refs{/sha}","trees_url":"https://api.github.com/repos/diging/conceptpower/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diging/conceptpower/statuses/{sha}","languages_url":"https://api.github.com/repos/diging/conceptpower/languages","stargazers_url":"https://api.github.com/repos/diging/conceptpower/stargazers","contributors_url":"https://api.github.com/repos/diging/conceptpower/contributors","subscribers_url":"https://api.github.com/repos/diging/conceptpower/subscribers","subscription_url":"https://api.github.com/repos/diging/conceptpower/subscription","commits_url":"https://api.github.com/repos/diging/conceptpower/commits{/sha}","git_commits_url":"https://api.github.com/repos/diging/conceptpower/git/commits{/sha}","comments_url":"https://api.github.com/repos/diging/conceptpower/comments{/number}","issue_comment_url":"https://api.github.com/repos/diging/conceptpower/issues/comments{/number}","contents_url":"https://api.github.com/repos/diging/conceptpower/contents/{+path}","compare_url":"https://api.github.com/repos/diging/conceptpower/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diging/conceptpower/merges","archive_url":"https://api.github.com/repos/diging/conceptpower/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diging/conceptpower/downloads","issues_url":"https://api.github.com/repos/diging/conceptpower/issues{/number}","pulls_url":"https://api.github.com/repos/diging/conceptpower/pulls{/number}","milestones_url":"https://api.github.com/repos/diging/conceptpower/milestones{/number}","notifications_url":"https://api.github.com/repos/diging/conceptpower/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diging/conceptpower/labels{/name}","releases_url":"https://api.github.com/repos/diging/conceptpower/releases{/id}","deployments_url":"https://api.github.com/repos/diging/conceptpower/deployments","created_at":"2015-03-17T18:35:40Z","updated_at":"2016-10-24T11:30:06Z","pushed_at":"2016-11-02T21:19:11Z","git_url":"git://github.com/diging/conceptpower.git","ssh_url":"git@github.com:diging/conceptpower.git","clone_url":"https://github.com/diging/conceptpower.git","svn_url":"https://github.com/diging/conceptpower","homepage":"http://diging.github.io/conceptpower/","size":20524,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"develop"}},"base":{"label":"diging:develop","ref":"develop","sha":"80db9200b69f4d5ae646c5c38ca4337da77b2fa8","user":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"repo":{"id":32412644,"name":"conceptpower","full_name":"diging/conceptpower","owner":{"login":"diging","id":5402168,"avatar_url":"https://avatars.githubusercontent.com/u/5402168?v=3","gravatar_id":"","url":"https://api.github.com/users/diging","html_url":"https://github.com/diging","followers_url":"https://api.github.com/users/diging/followers","following_url":"https://api.github.com/users/diging/following{/other_user}","gists_url":"https://api.github.com/users/diging/gists{/gist_id}","starred_url":"https://api.github.com/users/diging/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diging/subscriptions","organizations_url":"https://api.github.com/users/diging/orgs","repos_url":"https://api.github.com/users/diging/repos","events_url":"https://api.github.com/users/diging/events{/privacy}","received_events_url":"https://api.github.com/users/diging/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diging/conceptpower","description":null,"fork":false,"url":"https://api.github.com/repos/diging/conceptpower","forks_url":"https://api.github.com/repos/diging/conceptpower/forks","keys_url":"https://api.github.com/repos/diging/conceptpower/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diging/conceptpower/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diging/conceptpower/teams","hooks_url":"https://api.github.com/repos/diging/conceptpower/hooks","issue_events_url":"https://api.github.com/repos/diging/conceptpower/issues/events{/number}","events_url":"https://api.github.com/repos/diging/conceptpower/events","assignees_url":"https://api.github.com/repos/diging/conceptpower/assignees{/user}","branches_url":"https://api.github.com/repos/diging/conceptpower/branches{/branch}","tags_url":"https://api.github.com/repos/diging/conceptpower/tags","blobs_url":"https://api.github.com/repos/diging/conceptpower/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diging/conceptpower/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diging/conceptpower/git/refs{/sha}","trees_url":"https://api.github.com/repos/diging/conceptpower/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diging/conceptpower/statuses/{sha}","languages_url":"https://api.github.com/repos/diging/conceptpower/languages","stargazers_url":"https://api.github.com/repos/diging/conceptpower/stargazers","contributors_url":"https://api.github.com/repos/diging/conceptpower/contributors","subscribers_url":"https://api.github.com/repos/diging/conceptpower/subscribers","subscription_url":"https://api.github.com/repos/diging/conceptpower/subscription","commits_url":"https://api.github.com/repos/diging/conceptpower/commits{/sha}","git_commits_url":"https://api.github.com/repos/diging/conceptpower/git/commits{/sha}","comments_url":"https://api.github.com/repos/diging/conceptpower/comments{/number}","issue_comment_url":"https://api.github.com/repos/diging/conceptpower/issues/comments{/number}","contents_url":"https://api.github.com/repos/diging/conceptpower/contents/{+path}","compare_url":"https://api.github.com/repos/diging/conceptpower/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diging/conceptpower/merges","archive_url":"https://api.github.com/repos/diging/conceptpower/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diging/conceptpower/downloads","issues_url":"https://api.github.com/repos/diging/conceptpower/issues{/number}","pulls_url":"https://api.github.com/repos/diging/conceptpower/pulls{/number}","milestones_url":"https://api.github.com/repos/diging/conceptpower/milestones{/number}","notifications_url":"https://api.github.com/repos/diging/conceptpower/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diging/conceptpower/labels{/name}","releases_url":"https://api.github.com/repos/diging/conceptpower/releases{/id}","deployments_url":"https://api.github.com/repos/diging/conceptpower/deployments","created_at":"2015-03-17T18:35:40Z","updated_at":"2016-10-24T11:30:06Z","pushed_at":"2016-11-02T21:19:11Z","git_url":"git://github.com/diging/conceptpower.git","ssh_url":"git@github.com:diging/conceptpower.git","clone_url":"https://github.com/diging/conceptpower.git","svn_url":"https://github.com/diging/conceptpower","homepage":"http://diging.github.io/conceptpower/","size":20524,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/124"},"html":{"href":"https://github.com/diging/conceptpower/pull/124"},"issue":{"href":"https://api.github.com/repos/diging/conceptpower/issues/124"},"comments":{"href":"https://api.github.com/repos/diging/conceptpower/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diging/conceptpower/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/diging/conceptpower/statuses/83fde47b6dd746ac009275fbee09fd617c3bdea9"}}}}
{"actor":{"display_login":"jdamerow"}}