{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/comments/56295746","id":56295746,"diff_hunk":"@@ -46,14 +46,22 @@ require('/modules/publisher.js').exec(function(ctx) {\n \n     mod = jagg.module(\"documentation\");\n \n+    var typeList = apiProvider.getEnabledTypeList();\n+\n     routeManager.register('GET', 'publisher', '/publisher/asset/{type}', function(context) {\n \n     var shortName = (context.params.type) || '';\n     var operation = 'create';\n-    var rxtTemplate = rxtManager.findAssetTemplate(function(template) {\n-        return (template.shortName == shortName) ? true : false;\n-    });\n \n+        var rxtTemplate;\n+        for (var i = 0; i < typeList.length; i++) {","path":"features/org.wso2.carbon.appmgt.publisher.feature/src/main/resources/publisher/assets/default/asset.jag","position":null,"original_position":15,"commit_id":"aff3d562ff9936aa80855c8d557a6dffb613342b","original_commit_id":"590b9b32f1838f9c187a72ab9e1ed6065942a207","user":{"login":"laki88","id":1938964,"avatar_url":"https://avatars.githubusercontent.com/u/1938964?v=3","gravatar_id":"","url":"https://api.github.com/users/laki88","html_url":"https://github.com/laki88","followers_url":"https://api.github.com/users/laki88/followers","following_url":"https://api.github.com/users/laki88/following{/other_user}","gists_url":"https://api.github.com/users/laki88/gists{/gist_id}","starred_url":"https://api.github.com/users/laki88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laki88/subscriptions","organizations_url":"https://api.github.com/users/laki88/orgs","repos_url":"https://api.github.com/users/laki88/repos","events_url":"https://api.github.com/users/laki88/events{/privacy}","received_events_url":"https://api.github.com/users/laki88/received_events","type":"User","site_admin":false},"body":"added a new method in f5046e5cd788d9e8b20244f24f53559c826ea249","created_at":"2016-03-16T08:19:04Z","updated_at":"2016-03-16T08:19:04Z","html_url":"https://github.com/wso2/carbon-appmgt/pull/230#discussion_r56295746","pull_request_url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/230","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/comments/56295746"},"html":{"href":"https://github.com/wso2/carbon-appmgt/pull/230#discussion_r56295746"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/230"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/230","id":62733930,"html_url":"https://github.com/wso2/carbon-appmgt/pull/230","diff_url":"https://github.com/wso2/carbon-appmgt/pull/230.diff","patch_url":"https://github.com/wso2/carbon-appmgt/pull/230.patch","issue_url":"https://api.github.com/repos/wso2/carbon-appmgt/issues/230","number":230,"state":"open","locked":false,"title":"added configuration to hide apps by type","user":{"login":"laki88","id":1938964,"avatar_url":"https://avatars.githubusercontent.com/u/1938964?v=3","gravatar_id":"","url":"https://api.github.com/users/laki88","html_url":"https://github.com/laki88","followers_url":"https://api.github.com/users/laki88/followers","following_url":"https://api.github.com/users/laki88/following{/other_user}","gists_url":"https://api.github.com/users/laki88/gists{/gist_id}","starred_url":"https://api.github.com/users/laki88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laki88/subscriptions","organizations_url":"https://api.github.com/users/laki88/orgs","repos_url":"https://api.github.com/users/laki88/repos","events_url":"https://api.github.com/users/laki88/events{/privacy}","received_events_url":"https://api.github.com/users/laki88/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-14T11:32:56Z","updated_at":"2016-03-16T08:19:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cd27a99e43be857969d93d1ab4cb47a7acaaa44","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/230/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/230/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-appmgt/issues/230/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-appmgt/statuses/aff3d562ff9936aa80855c8d557a6dffb613342b","head":{"label":"laki88:master","ref":"master","sha":"aff3d562ff9936aa80855c8d557a6dffb613342b","user":{"login":"laki88","id":1938964,"avatar_url":"https://avatars.githubusercontent.com/u/1938964?v=3","gravatar_id":"","url":"https://api.github.com/users/laki88","html_url":"https://github.com/laki88","followers_url":"https://api.github.com/users/laki88/followers","following_url":"https://api.github.com/users/laki88/following{/other_user}","gists_url":"https://api.github.com/users/laki88/gists{/gist_id}","starred_url":"https://api.github.com/users/laki88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laki88/subscriptions","organizations_url":"https://api.github.com/users/laki88/orgs","repos_url":"https://api.github.com/users/laki88/repos","events_url":"https://api.github.com/users/laki88/events{/privacy}","received_events_url":"https://api.github.com/users/laki88/received_events","type":"User","site_admin":false},"repo":{"id":50919092,"name":"carbon-appmgt","full_name":"laki88/carbon-appmgt","owner":{"login":"laki88","id":1938964,"avatar_url":"https://avatars.githubusercontent.com/u/1938964?v=3","gravatar_id":"","url":"https://api.github.com/users/laki88","html_url":"https://github.com/laki88","followers_url":"https://api.github.com/users/laki88/followers","following_url":"https://api.github.com/users/laki88/following{/other_user}","gists_url":"https://api.github.com/users/laki88/gists{/gist_id}","starred_url":"https://api.github.com/users/laki88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laki88/subscriptions","organizations_url":"https://api.github.com/users/laki88/orgs","repos_url":"https://api.github.com/users/laki88/repos","events_url":"https://api.github.com/users/laki88/events{/privacy}","received_events_url":"https://api.github.com/users/laki88/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laki88/carbon-appmgt","description":"","fork":true,"url":"https://api.github.com/repos/laki88/carbon-appmgt","forks_url":"https://api.github.com/repos/laki88/carbon-appmgt/forks","keys_url":"https://api.github.com/repos/laki88/carbon-appmgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laki88/carbon-appmgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laki88/carbon-appmgt/teams","hooks_url":"https://api.github.com/repos/laki88/carbon-appmgt/hooks","issue_events_url":"https://api.github.com/repos/laki88/carbon-appmgt/issues/events{/number}","events_url":"https://api.github.com/repos/laki88/carbon-appmgt/events","assignees_url":"https://api.github.com/repos/laki88/carbon-appmgt/assignees{/user}","branches_url":"https://api.github.com/repos/laki88/carbon-appmgt/branches{/branch}","tags_url":"https://api.github.com/repos/laki88/carbon-appmgt/tags","blobs_url":"https://api.github.com/repos/laki88/carbon-appmgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laki88/carbon-appmgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laki88/carbon-appmgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/laki88/carbon-appmgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laki88/carbon-appmgt/statuses/{sha}","languages_url":"https://api.github.com/repos/laki88/carbon-appmgt/languages","stargazers_url":"https://api.github.com/repos/laki88/carbon-appmgt/stargazers","contributors_url":"https://api.github.com/repos/laki88/carbon-appmgt/contributors","subscribers_url":"https://api.github.com/repos/laki88/carbon-appmgt/subscribers","subscription_url":"https://api.github.com/repos/laki88/carbon-appmgt/subscription","commits_url":"https://api.github.com/repos/laki88/carbon-appmgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/laki88/carbon-appmgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/laki88/carbon-appmgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/laki88/carbon-appmgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/laki88/carbon-appmgt/contents/{+path}","compare_url":"https://api.github.com/repos/laki88/carbon-appmgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laki88/carbon-appmgt/merges","archive_url":"https://api.github.com/repos/laki88/carbon-appmgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laki88/carbon-appmgt/downloads","issues_url":"https://api.github.com/repos/laki88/carbon-appmgt/issues{/number}","pulls_url":"https://api.github.com/repos/laki88/carbon-appmgt/pulls{/number}","milestones_url":"https://api.github.com/repos/laki88/carbon-appmgt/milestones{/number}","notifications_url":"https://api.github.com/repos/laki88/carbon-appmgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laki88/carbon-appmgt/labels{/name}","releases_url":"https://api.github.com/repos/laki88/carbon-appmgt/releases{/id}","deployments_url":"https://api.github.com/repos/laki88/carbon-appmgt/deployments","created_at":"2016-02-02T12:29:19Z","updated_at":"2016-02-02T12:29:26Z","pushed_at":"2016-03-16T06:57:14Z","git_url":"git://github.com/laki88/carbon-appmgt.git","ssh_url":"git@github.com:laki88/carbon-appmgt.git","clone_url":"https://github.com/laki88/carbon-appmgt.git","svn_url":"https://github.com/laki88/carbon-appmgt","homepage":null,"size":25908,"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":"efaa238af893bb97501d619fec7134856e865e3f","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":17201753,"name":"carbon-appmgt","full_name":"wso2/carbon-appmgt","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-appmgt","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-appmgt","forks_url":"https://api.github.com/repos/wso2/carbon-appmgt/forks","keys_url":"https://api.github.com/repos/wso2/carbon-appmgt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-appmgt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-appmgt/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-appmgt/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-appmgt/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-appmgt/events","assignees_url":"https://api.github.com/repos/wso2/carbon-appmgt/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-appmgt/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-appmgt/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-appmgt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-appmgt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-appmgt/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-appmgt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-appmgt/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-appmgt/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-appmgt/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-appmgt/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-appmgt/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-appmgt/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-appmgt/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-appmgt/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-appmgt/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-appmgt/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-appmgt/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-appmgt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-appmgt/merges","archive_url":"https://api.github.com/repos/wso2/carbon-appmgt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-appmgt/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-appmgt/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-appmgt/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-appmgt/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-appmgt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-appmgt/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-appmgt/releases{/id}","deployments_url":"https://api.github.com/repos/wso2/carbon-appmgt/deployments","created_at":"2014-02-26T06:47:05Z","updated_at":"2016-03-09T09:21:30Z","pushed_at":"2016-03-16T06:57:15Z","git_url":"git://github.com/wso2/carbon-appmgt.git","ssh_url":"git@github.com:wso2/carbon-appmgt.git","clone_url":"https://github.com/wso2/carbon-appmgt.git","svn_url":"https://github.com/wso2/carbon-appmgt","homepage":null,"size":26644,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":11,"forks":26,"open_issues":11,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/230"},"html":{"href":"https://github.com/wso2/carbon-appmgt/pull/230"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/issues/230"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/issues/230/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/230/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/pulls/230/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-appmgt/statuses/aff3d562ff9936aa80855c8d557a6dffb613342b"}}}}