{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/product-af/pulls/comments/44867978","id":44867978,"diff_hunk":"@@ -0,0 +1,93 @@\n+/*\n+ * Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n+ *\n+ *   WSO2 Inc. licenses this file to you under the Apache License,\n+ *   Version 2.0 (the \"License\"); you may not use this file except\n+ *   in compliance with the License.\n+ *   You may obtain a copy of the License at\n+ *\n+ *      http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ *   Unless required by applicable law or agreed to in writing,\n+ *   software distributed under the License is distributed on an\n+ *   \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+ *   KIND, either express or implied.  See the License for the\n+ *   specific language governing permissions and limitations\n+ *   under the License.\n+ */\n+package command\n+\n+import (\n+\t\"fmt\"\n+\t\"io/ioutil\"\n+\t\"net/http\"\n+\t\"github.com/codegangsta/cli\"\n+\t\"github.com/Dilhasha/AppFacCLI/cli/formats\"","path":"modules/tools/AppFacCLI/command/createApp.go","position":25,"original_position":25,"commit_id":"f79bfccb91b268564e4eec6133381adb9d30fb8f","original_commit_id":"8fa8c47d0aa23109ed09f87bb51d0e15f5a8a6f9","user":{"login":"Dilhasha","id":5234641,"avatar_url":"https://avatars.githubusercontent.com/u/5234641?v=3","gravatar_id":"","url":"https://api.github.com/users/Dilhasha","html_url":"https://github.com/Dilhasha","followers_url":"https://api.github.com/users/Dilhasha/followers","following_url":"https://api.github.com/users/Dilhasha/following{/other_user}","gists_url":"https://api.github.com/users/Dilhasha/gists{/gist_id}","starred_url":"https://api.github.com/users/Dilhasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dilhasha/subscriptions","organizations_url":"https://api.github.com/users/Dilhasha/orgs","repos_url":"https://api.github.com/users/Dilhasha/repos","events_url":"https://api.github.com/users/Dilhasha/events{/privacy}","received_events_url":"https://api.github.com/users/Dilhasha/received_events","type":"User","site_admin":false},"body":"noted. Thanks","created_at":"2015-11-15T06:13:42Z","updated_at":"2015-11-15T06:13:42Z","html_url":"https://github.com/wso2/product-af/pull/690#discussion_r44867978","pull_request_url":"https://api.github.com/repos/wso2/product-af/pulls/690","_links":{"self":{"href":"https://api.github.com/repos/wso2/product-af/pulls/comments/44867978"},"html":{"href":"https://github.com/wso2/product-af/pull/690#discussion_r44867978"},"pull_request":{"href":"https://api.github.com/repos/wso2/product-af/pulls/690"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/product-af/pulls/690","id":50721988,"html_url":"https://github.com/wso2/product-af/pull/690","diff_url":"https://github.com/wso2/product-af/pull/690.diff","patch_url":"https://github.com/wso2/product-af/pull/690.patch","issue_url":"https://api.github.com/repos/wso2/product-af/issues/690","number":690,"state":"open","locked":false,"title":"CLI tool for WSO2 AppFactory added","user":{"login":"Dilhasha","id":5234641,"avatar_url":"https://avatars.githubusercontent.com/u/5234641?v=3","gravatar_id":"","url":"https://api.github.com/users/Dilhasha","html_url":"https://github.com/Dilhasha","followers_url":"https://api.github.com/users/Dilhasha/followers","following_url":"https://api.github.com/users/Dilhasha/following{/other_user}","gists_url":"https://api.github.com/users/Dilhasha/gists{/gist_id}","starred_url":"https://api.github.com/users/Dilhasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dilhasha/subscriptions","organizations_url":"https://api.github.com/users/Dilhasha/orgs","repos_url":"https://api.github.com/users/Dilhasha/repos","events_url":"https://api.github.com/users/Dilhasha/events{/privacy}","received_events_url":"https://api.github.com/users/Dilhasha/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-14T11:37:14Z","updated_at":"2015-11-15T06:13:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9400be1244bcb2085f2b2bd852123335ef670e78","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/product-af/pulls/690/commits","review_comments_url":"https://api.github.com/repos/wso2/product-af/pulls/690/comments","review_comment_url":"https://api.github.com/repos/wso2/product-af/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/product-af/issues/690/comments","statuses_url":"https://api.github.com/repos/wso2/product-af/statuses/f79bfccb91b268564e4eec6133381adb9d30fb8f","head":{"label":"Dilhasha:AFCLI","ref":"AFCLI","sha":"f79bfccb91b268564e4eec6133381adb9d30fb8f","user":{"login":"Dilhasha","id":5234641,"avatar_url":"https://avatars.githubusercontent.com/u/5234641?v=3","gravatar_id":"","url":"https://api.github.com/users/Dilhasha","html_url":"https://github.com/Dilhasha","followers_url":"https://api.github.com/users/Dilhasha/followers","following_url":"https://api.github.com/users/Dilhasha/following{/other_user}","gists_url":"https://api.github.com/users/Dilhasha/gists{/gist_id}","starred_url":"https://api.github.com/users/Dilhasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dilhasha/subscriptions","organizations_url":"https://api.github.com/users/Dilhasha/orgs","repos_url":"https://api.github.com/users/Dilhasha/repos","events_url":"https://api.github.com/users/Dilhasha/events{/privacy}","received_events_url":"https://api.github.com/users/Dilhasha/received_events","type":"User","site_admin":false},"repo":{"id":30603118,"name":"product-af","full_name":"Dilhasha/product-af","owner":{"login":"Dilhasha","id":5234641,"avatar_url":"https://avatars.githubusercontent.com/u/5234641?v=3","gravatar_id":"","url":"https://api.github.com/users/Dilhasha","html_url":"https://github.com/Dilhasha","followers_url":"https://api.github.com/users/Dilhasha/followers","following_url":"https://api.github.com/users/Dilhasha/following{/other_user}","gists_url":"https://api.github.com/users/Dilhasha/gists{/gist_id}","starred_url":"https://api.github.com/users/Dilhasha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dilhasha/subscriptions","organizations_url":"https://api.github.com/users/Dilhasha/orgs","repos_url":"https://api.github.com/users/Dilhasha/repos","events_url":"https://api.github.com/users/Dilhasha/events{/privacy}","received_events_url":"https://api.github.com/users/Dilhasha/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Dilhasha/product-af","description":"","fork":true,"url":"https://api.github.com/repos/Dilhasha/product-af","forks_url":"https://api.github.com/repos/Dilhasha/product-af/forks","keys_url":"https://api.github.com/repos/Dilhasha/product-af/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dilhasha/product-af/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dilhasha/product-af/teams","hooks_url":"https://api.github.com/repos/Dilhasha/product-af/hooks","issue_events_url":"https://api.github.com/repos/Dilhasha/product-af/issues/events{/number}","events_url":"https://api.github.com/repos/Dilhasha/product-af/events","assignees_url":"https://api.github.com/repos/Dilhasha/product-af/assignees{/user}","branches_url":"https://api.github.com/repos/Dilhasha/product-af/branches{/branch}","tags_url":"https://api.github.com/repos/Dilhasha/product-af/tags","blobs_url":"https://api.github.com/repos/Dilhasha/product-af/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dilhasha/product-af/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dilhasha/product-af/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dilhasha/product-af/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dilhasha/product-af/statuses/{sha}","languages_url":"https://api.github.com/repos/Dilhasha/product-af/languages","stargazers_url":"https://api.github.com/repos/Dilhasha/product-af/stargazers","contributors_url":"https://api.github.com/repos/Dilhasha/product-af/contributors","subscribers_url":"https://api.github.com/repos/Dilhasha/product-af/subscribers","subscription_url":"https://api.github.com/repos/Dilhasha/product-af/subscription","commits_url":"https://api.github.com/repos/Dilhasha/product-af/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dilhasha/product-af/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dilhasha/product-af/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dilhasha/product-af/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dilhasha/product-af/contents/{+path}","compare_url":"https://api.github.com/repos/Dilhasha/product-af/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dilhasha/product-af/merges","archive_url":"https://api.github.com/repos/Dilhasha/product-af/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dilhasha/product-af/downloads","issues_url":"https://api.github.com/repos/Dilhasha/product-af/issues{/number}","pulls_url":"https://api.github.com/repos/Dilhasha/product-af/pulls{/number}","milestones_url":"https://api.github.com/repos/Dilhasha/product-af/milestones{/number}","notifications_url":"https://api.github.com/repos/Dilhasha/product-af/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dilhasha/product-af/labels{/name}","releases_url":"https://api.github.com/repos/Dilhasha/product-af/releases{/id}","created_at":"2015-02-10T17:01:43Z","updated_at":"2015-04-16T12:21:16Z","pushed_at":"2015-11-14T14:40:49Z","git_url":"git://github.com/Dilhasha/product-af.git","ssh_url":"git@github.com:Dilhasha/product-af.git","clone_url":"https://github.com/Dilhasha/product-af.git","svn_url":"https://github.com/Dilhasha/product-af","homepage":null,"size":328590,"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":"4d87a39a60d851891ba00762727273f88b78261c","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":17127687,"name":"product-af","full_name":"wso2/product-af","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/product-af","description":"","fork":false,"url":"https://api.github.com/repos/wso2/product-af","forks_url":"https://api.github.com/repos/wso2/product-af/forks","keys_url":"https://api.github.com/repos/wso2/product-af/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/product-af/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/product-af/teams","hooks_url":"https://api.github.com/repos/wso2/product-af/hooks","issue_events_url":"https://api.github.com/repos/wso2/product-af/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/product-af/events","assignees_url":"https://api.github.com/repos/wso2/product-af/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/product-af/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/product-af/tags","blobs_url":"https://api.github.com/repos/wso2/product-af/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/product-af/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/product-af/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/product-af/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/product-af/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/product-af/languages","stargazers_url":"https://api.github.com/repos/wso2/product-af/stargazers","contributors_url":"https://api.github.com/repos/wso2/product-af/contributors","subscribers_url":"https://api.github.com/repos/wso2/product-af/subscribers","subscription_url":"https://api.github.com/repos/wso2/product-af/subscription","commits_url":"https://api.github.com/repos/wso2/product-af/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/product-af/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/product-af/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/product-af/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/product-af/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/product-af/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/product-af/merges","archive_url":"https://api.github.com/repos/wso2/product-af/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/product-af/downloads","issues_url":"https://api.github.com/repos/wso2/product-af/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/product-af/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/product-af/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/product-af/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/product-af/labels{/name}","releases_url":"https://api.github.com/repos/wso2/product-af/releases{/id}","created_at":"2014-02-24T06:44:40Z","updated_at":"2015-07-16T03:54:06Z","pushed_at":"2015-11-14T14:40:50Z","git_url":"git://github.com/wso2/product-af.git","ssh_url":"git@github.com:wso2/product-af.git","clone_url":"https://github.com/wso2/product-af.git","svn_url":"https://github.com/wso2/product-af","homepage":null,"size":428339,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":18,"forks":39,"open_issues":18,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/product-af/pulls/690"},"html":{"href":"https://github.com/wso2/product-af/pull/690"},"issue":{"href":"https://api.github.com/repos/wso2/product-af/issues/690"},"comments":{"href":"https://api.github.com/repos/wso2/product-af/issues/690/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/product-af/pulls/690/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/product-af/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/product-af/pulls/690/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/product-af/statuses/f79bfccb91b268564e4eec6133381adb9d30fb8f"}}}}