{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-registry/pulls/comments/23025762","id":23025762,"diff_hunk":"@@ -363,63 +363,82 @@ public void put(RequestContext requestContext) throws RegistryException {\n                 log.error(msg, e);\n                 throw new RegistryException(msg, e);\n             }\n-            try {\n-                Object resourceContent = metadata.getContent();\n-                byte[] resourceContentBytes;\n-\n-                if (resourceContent == null) {\n-                    resourceContentBytes = new byte[0];\n-                } else if (resourceContent instanceof byte[]) {\n-                    resourceContentBytes = (byte[])resourceContent;\n-                } else if (resourceContent instanceof String) {\n-                    resourceContentBytes = RegistryUtils.encodeString(((String)resourceContent));\n-                } else {\n-                    String msg = \"Unknown type for the content path: \" + path + \", content type: \" +\n-                            resourceContent.getClass().getName() + \".\";\n-                    log.error(msg);\n-                    throw new RegistryException(msg);\n-                }\n-                InputStream in = new ByteArrayInputStream(resourceContentBytes);\n \n-                File tempFile = File.createTempFile(\"wsdl\", \".wsdl\");\n+            requestContext.setSourceURL(requestContext.\n+                    getResource().getProperty(CommonConstants.SOURCEURL_PARAMETER_NAME));\n \n-                BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(tempFile));\n-                byte[] contentChunk = new byte[1024];\n-                int byteCount;\n-                while ((byteCount = in.read(contentChunk)) != -1) {\n-                    out.write(contentChunk, 0, byteCount);\n-                }\n-                out.flush();\n-                out.close();\n-                String uri = tempFile.toURI().toString();\n-                if (uri.startsWith(\"file:\")) {\n-                    uri = uri.substring(5);\n-                }\n-                while (uri.startsWith(\"/\")) {\n-                    uri = uri.substring(1);\n-                }\n-                uri = \"file:///\" + uri;\n-                String wsdlPath = null;\n-                if (uri != null) {\n-                    requestContext.setSourceURL(uri);\n-                    requestContext.setResource(metadata);\n-\n-                    wsdlProcessor = buildWSDLProcessor(requestContext);\n-                    wsdlPath = processWSDLImport(requestContext, wsdlProcessor, metadata, uri);\n-                }\n-                delete(tempFile);\n-                if (wsdlPath != null) {\n-                    onPutCompleted(path, Collections.singletonMap(uri, wsdlPath),\n-                            Collections.<String>emptyList(), requestContext);\n-                    requestContext.setActualPath(wsdlPath);\n-                }\n+            if (requestContext.getSourceURL() != null) {\n+                requestContext.setResource(metadata);\n+                String sourceURL = requestContext.getSourceURL();\n+\n+                wsdlProcessor = buildWSDLProcessor(requestContext);\n+                String wsdlPath = processWSDLImport(requestContext, wsdlProcessor, metadata, sourceURL);\n+\n+                onPutCompleted(path, Collections.singletonMap(sourceURL, wsdlPath),\n+                        Collections.<String>emptyList(), requestContext);\n+                requestContext.setActualPath(wsdlPath);\n+            } else {\n+                try {\n+                    Object resourceContent = metadata.getContent();\n+                    byte[] resourceContentBytes;\n+\n+                    if (resourceContent == null) {\n+                        resourceContentBytes = new byte[0];\n+                    } else if (resourceContent instanceof byte[]) {\n+                        resourceContentBytes = (byte[]) resourceContent;\n+                    } else if (resourceContent instanceof String) {\n+                        resourceContentBytes = RegistryUtils.encodeString((String) resourceContent);\n+                    } else {\n+                        String msg = \"Unknown type for the content path: \" + path + \", content type: \" +\n+                                resourceContent.getClass().getName() + \".\";\n+                        log.error(msg);\n+                        throw new RegistryException(msg);\n+                    }\n+                    InputStream in = new ByteArrayInputStream(resourceContentBytes);\n+\n+                    File tempFile = File.createTempFile(\"wsdl\", \".wsdl\");\n+\n+                    BufferedOutputStream out = new BufferedOutputStream(new FileOutputStream(tempFile));\n+                    byte[] contentChunk = new byte[1024];\n+                    int byteCount;\n+                    while ((byteCount = in.read(contentChunk)) != -1) {\n+                        out.write(contentChunk, 0, byteCount);\n+                    }\n+                    out.flush();\n+                    out.close();","path":"components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/WSDLMediaTypeHandler.java","position":94,"original_position":94,"commit_id":"48f675d713ef7d70dedefe41dec22263cb5e19ae","original_commit_id":"48f675d713ef7d70dedefe41dec22263cb5e19ae","user":{"login":"thushara35","id":6338549,"avatar_url":"https://avatars.githubusercontent.com/u/6338549?v=3","gravatar_id":"","url":"https://api.github.com/users/thushara35","html_url":"https://github.com/thushara35","followers_url":"https://api.github.com/users/thushara35/followers","following_url":"https://api.github.com/users/thushara35/following{/other_user}","gists_url":"https://api.github.com/users/thushara35/gists{/gist_id}","starred_url":"https://api.github.com/users/thushara35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thushara35/subscriptions","organizations_url":"https://api.github.com/users/thushara35/orgs","repos_url":"https://api.github.com/users/thushara35/repos","events_url":"https://api.github.com/users/thushara35/events{/privacy}","received_events_url":"https://api.github.com/users/thushara35/received_events","type":"User","site_admin":false},"body":"need to review this. since it is difficult to modify the original code.","created_at":"2015-01-15T17:14:22Z","updated_at":"2015-01-15T17:14:22Z","html_url":"https://github.com/wso2/carbon-registry/pull/25#discussion_r23025762","pull_request_url":"https://api.github.com/repos/wso2/carbon-registry/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/comments/23025762"},"html":{"href":"https://github.com/wso2/carbon-registry/pull/25#discussion_r23025762"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-registry/pulls/25","id":27348117,"html_url":"https://github.com/wso2/carbon-registry/pull/25","diff_url":"https://github.com/wso2/carbon-registry/pull/25.diff","patch_url":"https://github.com/wso2/carbon-registry/pull/25.patch","issue_url":"https://api.github.com/repos/wso2/carbon-registry/issues/25","number":25,"state":"open","locked":false,"title":"Resource(WSDL/WADL/Schema/Policy) upload path change","user":{"login":"thushara35","id":6338549,"avatar_url":"https://avatars.githubusercontent.com/u/6338549?v=3","gravatar_id":"","url":"https://api.github.com/users/thushara35","html_url":"https://github.com/thushara35","followers_url":"https://api.github.com/users/thushara35/followers","following_url":"https://api.github.com/users/thushara35/following{/other_user}","gists_url":"https://api.github.com/users/thushara35/gists{/gist_id}","starred_url":"https://api.github.com/users/thushara35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thushara35/subscriptions","organizations_url":"https://api.github.com/users/thushara35/orgs","repos_url":"https://api.github.com/users/thushara35/repos","events_url":"https://api.github.com/users/thushara35/events{/privacy}","received_events_url":"https://api.github.com/users/thushara35/received_events","type":"User","site_admin":false},"body":"Reasons for this change :\r\nAs per the current wsdl upload process which is going through importResource do not contain the wsdl content which is very much needed to explore content of a wsdl. For instance using exiting process it's kind a difficult to create a handler to filter bad words that can be contained in a wsdl. Other than that using importResource to put some artifact into registry is theoretically wrong, therefore best practice is to use put method. \r\n\r\npublic jira: https://wso2.org/jira/browse/REGISTRY-2375\r\n\r\nRegex to validate resource URL.\r\norg.wso2.carbon.registry.common.ui/src/main/resources/web/registry_common/js/registry_validation.js\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.common.ui/src/main/resources/web/registry_common/js/registry_validation.js\r\n\r\nSet wadl Source URL in requestContext.\r\norg.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/WADLMediaTypeHandler.java\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/WADLMediaTypeHandler.java\r\n\r\nSet wsdl Source URL in requestContext and moving file upload process to else.\r\norg.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/WSDLMediaTypeHandler.java\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/WSDLMediaTypeHandler.java\r\n\r\nValidating wadl URL, delete temporary files and fetching dependencies(grammars).\r\norg.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/utils/WADLProcessor.java\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/handlers/utils/WADLProcessor.java\r\n\r\nAdding SOURCEURL_PARAMETER_NAME which is sourceURL.\r\norg.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/utils/CommonConstants.java\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.extensions/src/main/java/org/wso2/carbon/registry/extensions/utils/CommonConstants.java\r\n\r\nSet properties and generate resource path.\r\norg.wso2.carbon.registry.resource.ui/src/main/java/org/wso2/carbon/registry/resource/ui/Utils.java\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.resource.ui/src/main/java/org/wso2/carbon/registry/resource/ui/Utils.java\r\n\r\nFormatting and validating class.\r\norg.wso2.carbon.registry.resource.ui/src/main/java/org/wso2/carbon/registry/resource/ui/processors/AddResourceProcessor.java\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.resource.ui/src/main/java/org/wso2/carbon/registry/resource/ui/processors/AddResourceProcessor.java\r\n\r\nAdding properties, validation/formatting handling exceptions properly.\r\norg.wso2.carbon.registry.resource.ui/src/main/java/org/wso2/carbon/registry/resource/ui/processors/ImportResourceProcessor.java\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.resource.ui/src/main/java/org/wso2/carbon/registry/resource/ui/processors/ImportResourceProcessor.java\r\n\r\nRemoving unwanted parameter(response).\r\norg.wso2.carbon.registry.resource.ui/src/main/resources/web/resources/import_resource_ajaxprocessor.jsp\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.resource.ui/src/main/resources/web/resources/import_resource_ajaxprocessor.jsp\r\n\r\nBypassing resource data to AddResourceUtil.addResource from ImportResourceUtil.importResource.\r\norg.wso2.carbon.registry.resource/src/main/java/org/wso2/carbon/registry/resource/services/ResourceService.java\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.resource/src/main/java/org/wso2/carbon/registry/resource/services/ResourceService.java\r\n\r\nAdding calculatePath methode.\r\norg.wso2.carbon.registry.resource/src/main/java/org/wso2/carbon/registry/resource/services/utils/CommonUtil.java\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.resource/src/main/java/org/wso2/carbon/registry/resource/services/utils/CommonUtil.java\r\n\r\nAdding relevant methodes to fetch resource content.\r\norg.wso2.carbon.registry.resource/src/main/java/org/wso2/carbon/registry/resource/services/utils/GetTextContentUtil.java\r\n/Users/thushara/Documents/greg/carbon-registry/components/registry/org.wso2.carbon.registry.resource/src/main/java/org/wso2/carbon/registry/resource/services/utils/GetTextContentUtil.java","created_at":"2015-01-14T13:06:05Z","updated_at":"2015-01-15T17:14:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"60a9d70c6f37aceb3eb4a866fc0f0c0c4b258b3b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-registry/pulls/25/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-registry/pulls/25/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-registry/pulls/comments/{number}","comments_url":"https://api.github.com/repos/wso2/carbon-registry/issues/25/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-registry/statuses/48f675d713ef7d70dedefe41dec22263cb5e19ae","head":{"label":"thushara35:fresh_branch","ref":"fresh_branch","sha":"48f675d713ef7d70dedefe41dec22263cb5e19ae","user":{"login":"thushara35","id":6338549,"avatar_url":"https://avatars.githubusercontent.com/u/6338549?v=3","gravatar_id":"","url":"https://api.github.com/users/thushara35","html_url":"https://github.com/thushara35","followers_url":"https://api.github.com/users/thushara35/followers","following_url":"https://api.github.com/users/thushara35/following{/other_user}","gists_url":"https://api.github.com/users/thushara35/gists{/gist_id}","starred_url":"https://api.github.com/users/thushara35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thushara35/subscriptions","organizations_url":"https://api.github.com/users/thushara35/orgs","repos_url":"https://api.github.com/users/thushara35/repos","events_url":"https://api.github.com/users/thushara35/events{/privacy}","received_events_url":"https://api.github.com/users/thushara35/received_events","type":"User","site_admin":false},"repo":{"id":25640476,"name":"carbon-registry","full_name":"thushara35/carbon-registry","owner":{"login":"thushara35","id":6338549,"avatar_url":"https://avatars.githubusercontent.com/u/6338549?v=3","gravatar_id":"","url":"https://api.github.com/users/thushara35","html_url":"https://github.com/thushara35","followers_url":"https://api.github.com/users/thushara35/followers","following_url":"https://api.github.com/users/thushara35/following{/other_user}","gists_url":"https://api.github.com/users/thushara35/gists{/gist_id}","starred_url":"https://api.github.com/users/thushara35/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thushara35/subscriptions","organizations_url":"https://api.github.com/users/thushara35/orgs","repos_url":"https://api.github.com/users/thushara35/repos","events_url":"https://api.github.com/users/thushara35/events{/privacy}","received_events_url":"https://api.github.com/users/thushara35/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thushara35/carbon-registry","description":"","fork":true,"url":"https://api.github.com/repos/thushara35/carbon-registry","forks_url":"https://api.github.com/repos/thushara35/carbon-registry/forks","keys_url":"https://api.github.com/repos/thushara35/carbon-registry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thushara35/carbon-registry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thushara35/carbon-registry/teams","hooks_url":"https://api.github.com/repos/thushara35/carbon-registry/hooks","issue_events_url":"https://api.github.com/repos/thushara35/carbon-registry/issues/events{/number}","events_url":"https://api.github.com/repos/thushara35/carbon-registry/events","assignees_url":"https://api.github.com/repos/thushara35/carbon-registry/assignees{/user}","branches_url":"https://api.github.com/repos/thushara35/carbon-registry/branches{/branch}","tags_url":"https://api.github.com/repos/thushara35/carbon-registry/tags","blobs_url":"https://api.github.com/repos/thushara35/carbon-registry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thushara35/carbon-registry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thushara35/carbon-registry/git/refs{/sha}","trees_url":"https://api.github.com/repos/thushara35/carbon-registry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thushara35/carbon-registry/statuses/{sha}","languages_url":"https://api.github.com/repos/thushara35/carbon-registry/languages","stargazers_url":"https://api.github.com/repos/thushara35/carbon-registry/stargazers","contributors_url":"https://api.github.com/repos/thushara35/carbon-registry/contributors","subscribers_url":"https://api.github.com/repos/thushara35/carbon-registry/subscribers","subscription_url":"https://api.github.com/repos/thushara35/carbon-registry/subscription","commits_url":"https://api.github.com/repos/thushara35/carbon-registry/commits{/sha}","git_commits_url":"https://api.github.com/repos/thushara35/carbon-registry/git/commits{/sha}","comments_url":"https://api.github.com/repos/thushara35/carbon-registry/comments{/number}","issue_comment_url":"https://api.github.com/repos/thushara35/carbon-registry/issues/comments/{number}","contents_url":"https://api.github.com/repos/thushara35/carbon-registry/contents/{+path}","compare_url":"https://api.github.com/repos/thushara35/carbon-registry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thushara35/carbon-registry/merges","archive_url":"https://api.github.com/repos/thushara35/carbon-registry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thushara35/carbon-registry/downloads","issues_url":"https://api.github.com/repos/thushara35/carbon-registry/issues{/number}","pulls_url":"https://api.github.com/repos/thushara35/carbon-registry/pulls{/number}","milestones_url":"https://api.github.com/repos/thushara35/carbon-registry/milestones{/number}","notifications_url":"https://api.github.com/repos/thushara35/carbon-registry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thushara35/carbon-registry/labels{/name}","releases_url":"https://api.github.com/repos/thushara35/carbon-registry/releases{/id}","created_at":"2014-10-23T14:13:45Z","updated_at":"2015-01-12T09:00:08Z","pushed_at":"2015-01-14T13:02:31Z","git_url":"git://github.com/thushara35/carbon-registry.git","ssh_url":"git@github.com:thushara35/carbon-registry.git","clone_url":"https://github.com/thushara35/carbon-registry.git","svn_url":"https://github.com/thushara35/carbon-registry","homepage":null,"size":3551,"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":"wso2:master","ref":"master","sha":"fe358e6e2bdf0c9fa23dd2f5aa58d1fd675793a9","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":16100959,"name":"carbon-registry","full_name":"wso2/carbon-registry","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-registry","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-registry","forks_url":"https://api.github.com/repos/wso2/carbon-registry/forks","keys_url":"https://api.github.com/repos/wso2/carbon-registry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-registry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-registry/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-registry/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-registry/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-registry/events","assignees_url":"https://api.github.com/repos/wso2/carbon-registry/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-registry/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-registry/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-registry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-registry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-registry/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-registry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-registry/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-registry/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-registry/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-registry/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-registry/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-registry/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-registry/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-registry/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-registry/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-registry/issues/comments/{number}","contents_url":"https://api.github.com/repos/wso2/carbon-registry/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-registry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-registry/merges","archive_url":"https://api.github.com/repos/wso2/carbon-registry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-registry/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-registry/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-registry/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-registry/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-registry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-registry/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-registry/releases{/id}","created_at":"2014-01-21T11:42:25Z","updated_at":"2015-01-14T07:28:26Z","pushed_at":"2015-01-14T07:28:22Z","git_url":"git://github.com/wso2/carbon-registry.git","ssh_url":"git@github.com:wso2/carbon-registry.git","clone_url":"https://github.com/wso2/carbon-registry.git","svn_url":"https://github.com/wso2/carbon-registry","homepage":null,"size":4081,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":1,"forks":33,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/25"},"html":{"href":"https://github.com/wso2/carbon-registry/pull/25"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-registry/issues/25"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-registry/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-registry/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-registry/statuses/48f675d713ef7d70dedefe41dec22263cb5e19ae"}}}}