{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments/45549337","id":45549337,"diff_hunk":"@@ -38,8 +40,6 @@\n import java.util.ArrayList;\n import java.util.List;\n \n-import static org.wso2.carbon.apimgt.rest.api.impl.MappingUtil.fromAPItoDTO;\n-import static org.wso2.carbon.apimgt.rest.api.impl.MappingUtil.fromDTOtoAPI;\n \n public class ApisApiServiceImpl extends ApisApiService {","path":"components/apimgt/org.wso2.carbon.apimgt.rest.api/src/main/java/org/wso2/carbon/apimgt/rest/api/impl/ApisApiServiceImpl.java","position":25,"original_position":25,"commit_id":"7d9d34f441c378539d83630fa1adb1659c109654","original_commit_id":"7d9d34f441c378539d83630fa1adb1659c109654","user":{"login":"lafernando","id":2379767,"avatar_url":"https://avatars.githubusercontent.com/u/2379767?v=3","gravatar_id":"","url":"https://api.github.com/users/lafernando","html_url":"https://github.com/lafernando","followers_url":"https://api.github.com/users/lafernando/followers","following_url":"https://api.github.com/users/lafernando/following{/other_user}","gists_url":"https://api.github.com/users/lafernando/gists{/gist_id}","starred_url":"https://api.github.com/users/lafernando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lafernando/subscriptions","organizations_url":"https://api.github.com/users/lafernando/orgs","repos_url":"https://api.github.com/users/lafernando/repos","events_url":"https://api.github.com/users/lafernando/events{/privacy}","received_events_url":"https://api.github.com/users/lafernando/received_events","type":"User","site_admin":false},"body":"Add class level comments, fix in all the places.","created_at":"2015-11-21T18:50:15Z","updated_at":"2015-11-21T18:50:15Z","html_url":"https://github.com/wso2/carbon-apimgt/pull/1051#discussion_r45549337","pull_request_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/1051","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments/45549337"},"html":{"href":"https://github.com/wso2/carbon-apimgt/pull/1051#discussion_r45549337"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/1051"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/1051","id":45646292,"html_url":"https://github.com/wso2/carbon-apimgt/pull/1051","diff_url":"https://github.com/wso2/carbon-apimgt/pull/1051.diff","patch_url":"https://github.com/wso2/carbon-apimgt/pull/1051.patch","issue_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/1051","number":1051,"state":"closed","locked":false,"title":"Completed apis/ GET,PUT,POST,DELETE implementation to a workable status","user":{"login":"thilinicooray","id":2269327,"avatar_url":"https://avatars.githubusercontent.com/u/2269327?v=3","gravatar_id":"","url":"https://api.github.com/users/thilinicooray","html_url":"https://github.com/thilinicooray","followers_url":"https://api.github.com/users/thilinicooray/followers","following_url":"https://api.github.com/users/thilinicooray/following{/other_user}","gists_url":"https://api.github.com/users/thilinicooray/gists{/gist_id}","starred_url":"https://api.github.com/users/thilinicooray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thilinicooray/subscriptions","organizations_url":"https://api.github.com/users/thilinicooray/orgs","repos_url":"https://api.github.com/users/thilinicooray/repos","events_url":"https://api.github.com/users/thilinicooray/events{/privacy}","received_events_url":"https://api.github.com/users/thilinicooray/received_events","type":"User","site_admin":false},"body":"Created utils directory under src/main/java/org.wso2.carbon.apimgt.rest.api to keep util files\r\nAdded mappings subfolder under utils to keep dto-to-model mapping utils\r\nAdded RestApiUtil.java to keep util functions common for the entire component.\r\n\r\nSubmitted src contains GET, PUT, POST, DELETE workable implementation for api.","created_at":"2015-09-22T10:13:44Z","updated_at":"2015-11-21T18:50:15Z","closed_at":"2015-09-22T15:44:19Z","merged_at":"2015-09-22T15:44:19Z","merge_commit_sha":"4eb34e78596d5072bb439bc72f4cc9190c01fbcb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/1051/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/1051/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/1051/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-apimgt/statuses/7d9d34f441c378539d83630fa1adb1659c109654","head":{"label":"thilinicooray:feature-restapi-1.10.x","ref":"feature-restapi-1.10.x","sha":"7d9d34f441c378539d83630fa1adb1659c109654","user":{"login":"thilinicooray","id":2269327,"avatar_url":"https://avatars.githubusercontent.com/u/2269327?v=3","gravatar_id":"","url":"https://api.github.com/users/thilinicooray","html_url":"https://github.com/thilinicooray","followers_url":"https://api.github.com/users/thilinicooray/followers","following_url":"https://api.github.com/users/thilinicooray/following{/other_user}","gists_url":"https://api.github.com/users/thilinicooray/gists{/gist_id}","starred_url":"https://api.github.com/users/thilinicooray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thilinicooray/subscriptions","organizations_url":"https://api.github.com/users/thilinicooray/orgs","repos_url":"https://api.github.com/users/thilinicooray/repos","events_url":"https://api.github.com/users/thilinicooray/events{/privacy}","received_events_url":"https://api.github.com/users/thilinicooray/received_events","type":"User","site_admin":false},"repo":{"id":33105328,"name":"carbon-apimgt","full_name":"thilinicooray/carbon-apimgt","owner":{"login":"thilinicooray","id":2269327,"avatar_url":"https://avatars.githubusercontent.com/u/2269327?v=3","gravatar_id":"","url":"https://api.github.com/users/thilinicooray","html_url":"https://github.com/thilinicooray","followers_url":"https://api.github.com/users/thilinicooray/followers","following_url":"https://api.github.com/users/thilinicooray/following{/other_user}","gists_url":"https://api.github.com/users/thilinicooray/gists{/gist_id}","starred_url":"https://api.github.com/users/thilinicooray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thilinicooray/subscriptions","organizations_url":"https://api.github.com/users/thilinicooray/orgs","repos_url":"https://api.github.com/users/thilinicooray/repos","events_url":"https://api.github.com/users/thilinicooray/events{/privacy}","received_events_url":"https://api.github.com/users/thilinicooray/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thilinicooray/carbon-apimgt","description":"","fork":true,"url":"https://api.github.com/repos/thilinicooray/carbon-apimgt","forks_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/forks","keys_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/teams","hooks_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/hooks","issue_events_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/issues/events{/number}","events_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/events","assignees_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/assignees{/user}","branches_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/branches{/branch}","tags_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/tags","blobs_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/statuses/{sha}","languages_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/languages","stargazers_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/stargazers","contributors_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/contributors","subscribers_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/subscribers","subscription_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/subscription","commits_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/contents/{+path}","compare_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/merges","archive_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/downloads","issues_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/issues{/number}","pulls_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/pulls{/number}","milestones_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/milestones{/number}","notifications_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/labels{/name}","releases_url":"https://api.github.com/repos/thilinicooray/carbon-apimgt/releases{/id}","created_at":"2015-03-30T05:40:41Z","updated_at":"2015-03-30T05:41:02Z","pushed_at":"2015-11-13T17:58:25Z","git_url":"git://github.com/thilinicooray/carbon-apimgt.git","ssh_url":"git@github.com:thilinicooray/carbon-apimgt.git","clone_url":"https://github.com/thilinicooray/carbon-apimgt.git","svn_url":"https://github.com/thilinicooray/carbon-apimgt","homepage":null,"size":37623,"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:feature-restapi-1.10.x","ref":"feature-restapi-1.10.x","sha":"29f14be150e5a1451aa56fbbf681a1aa9b3f6ff8","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":17201744,"name":"carbon-apimgt","full_name":"wso2/carbon-apimgt","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/carbon-apimgt","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-apimgt","forks_url":"https://api.github.com/repos/wso2/carbon-apimgt/forks","keys_url":"https://api.github.com/repos/wso2/carbon-apimgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-apimgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-apimgt/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-apimgt/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-apimgt/events","assignees_url":"https://api.github.com/repos/wso2/carbon-apimgt/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-apimgt/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-apimgt/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-apimgt/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-apimgt/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-apimgt/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-apimgt/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-apimgt/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-apimgt/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-apimgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-apimgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-apimgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-apimgt/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-apimgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-apimgt/merges","archive_url":"https://api.github.com/repos/wso2/carbon-apimgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-apimgt/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-apimgt/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-apimgt/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-apimgt/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-apimgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-apimgt/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-apimgt/releases{/id}","created_at":"2014-02-26T06:46:48Z","updated_at":"2015-11-03T03:25:24Z","pushed_at":"2015-11-20T14:29:52Z","git_url":"git://github.com/wso2/carbon-apimgt.git","ssh_url":"git@github.com:wso2/carbon-apimgt.git","clone_url":"https://github.com/wso2/carbon-apimgt.git","svn_url":"https://github.com/wso2/carbon-apimgt","homepage":null,"size":63364,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":104,"mirror_url":null,"open_issues_count":7,"forks":104,"open_issues":7,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/1051"},"html":{"href":"https://github.com/wso2/carbon-apimgt/pull/1051"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/issues/1051"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/issues/1051/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/1051/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/pulls/1051/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-apimgt/statuses/7d9d34f441c378539d83630fa1adb1659c109654"}}}}