{"action":"created","comment":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/comments/26645083","id":26645083,"diff_hunk":"@@ -0,0 +1,69 @@\n+##################################################################################\n+# Cloudify host pool built in types and plugins definitions.\n+##################################################################################\n+\n+plugins:\n+    hostpool:\n+        executor: central_deployment_agent\n+        source: https://github.com/cloudify-cosmo/cloudify-host-pool-plugin/archive/master.zip\n+\n+node_types:\n+  host_pool_node:\n+    derived_from: cloudify.nodes.Compute\n+    interfaces:\n+      cloudify.interfaces.worker_installer:\n+        install:\n+          implementation: agent_installer.worker_installer.tasks.install\n+          inputs:\n+            cloudify_agent: \n+              default:\n+                user: {get_attribute: [SELF, cloudify_agent, user]}","path":"plugin.yaml","position":20,"original_position":20,"commit_id":"c66c3d9e2208a99e36b10ddb2b06c885e612275f","original_commit_id":"c66c3d9e2208a99e36b10ddb2b06c885e612275f","user":{"login":"iliapolo","id":1428812,"avatar_url":"https://avatars.githubusercontent.com/u/1428812?v=3","gravatar_id":"","url":"https://api.github.com/users/iliapolo","html_url":"https://github.com/iliapolo","followers_url":"https://api.github.com/users/iliapolo/followers","following_url":"https://api.github.com/users/iliapolo/following{/other_user}","gists_url":"https://api.github.com/users/iliapolo/gists{/gist_id}","starred_url":"https://api.github.com/users/iliapolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iliapolo/subscriptions","organizations_url":"https://api.github.com/users/iliapolo/orgs","repos_url":"https://api.github.com/users/iliapolo/repos","events_url":"https://api.github.com/users/iliapolo/events{/privacy}","received_events_url":"https://api.github.com/users/iliapolo/received_events","type":"User","site_admin":false},"body":"this should transform to:\r\n\r\n    user: {get_attribute: [SELF, username]}\r\n\r\nwhich will also make it consistent with the softlayer plugin:\r\nhttps://github.com/cloudify-cosmo/cloudify-softlayer-plugin/blob/master/plugin.yaml#L174\r\n","created_at":"2015-03-18T08:34:49Z","updated_at":"2015-03-18T08:34:49Z","html_url":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin/pull/1#discussion_r26645083","pull_request_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/comments/26645083"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin/pull/1#discussion_r26645083"},"pull_request":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/1","id":30488107,"html_url":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin/pull/1","diff_url":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin/pull/1.diff","patch_url":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin/pull/1.patch","issue_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/issues/1","number":1,"state":"open","locked":false,"title":"CFY-2295 Add plugin with node type","user":{"login":"szpotona","id":9609709,"avatar_url":"https://avatars.githubusercontent.com/u/9609709?v=3","gravatar_id":"","url":"https://api.github.com/users/szpotona","html_url":"https://github.com/szpotona","followers_url":"https://api.github.com/users/szpotona/followers","following_url":"https://api.github.com/users/szpotona/following{/other_user}","gists_url":"https://api.github.com/users/szpotona/gists{/gist_id}","starred_url":"https://api.github.com/users/szpotona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szpotona/subscriptions","organizations_url":"https://api.github.com/users/szpotona/orgs","repos_url":"https://api.github.com/users/szpotona/repos","events_url":"https://api.github.com/users/szpotona/events{/privacy}","received_events_url":"https://api.github.com/users/szpotona/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-04T17:52:18Z","updated_at":"2015-03-18T08:34:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f34d0f618310a2d6a9e886a59b7900d6838fde9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/issues/1/comments","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/statuses/c66c3d9e2208a99e36b10ddb2b06c885e612275f","head":{"label":"cloudify-cosmo:CFY-2295_host_pool_plugin","ref":"CFY-2295_host_pool_plugin","sha":"c66c3d9e2208a99e36b10ddb2b06c885e612275f","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":29589577,"name":"cloudify-host-pool-plugin","full_name":"cloudify-cosmo/cloudify-host-pool-plugin","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin","description":"host-pool plugin for Cloudify","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/releases{/id}","created_at":"2015-01-21T12:59:26Z","updated_at":"2015-03-05T15:13:08Z","pushed_at":"2015-03-13T15:31:06Z","git_url":"git://github.com/cloudify-cosmo/cloudify-host-pool-plugin.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-host-pool-plugin.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin","homepage":"","size":204,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudify-cosmo:master","ref":"master","sha":"7d792173a9d2778355d34370777c953e430cfac0","user":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":29589577,"name":"cloudify-host-pool-plugin","full_name":"cloudify-cosmo/cloudify-host-pool-plugin","owner":{"login":"cloudify-cosmo","id":6260555,"avatar_url":"https://avatars.githubusercontent.com/u/6260555?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin","description":"host-pool plugin for Cloudify","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/releases{/id}","created_at":"2015-01-21T12:59:26Z","updated_at":"2015-03-05T15:13:08Z","pushed_at":"2015-03-13T15:31:06Z","git_url":"git://github.com/cloudify-cosmo/cloudify-host-pool-plugin.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-host-pool-plugin.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin","homepage":"","size":204,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/1"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-host-pool-plugin/pull/1"},"issue":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/issues/1"},"comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-host-pool-plugin/statuses/c66c3d9e2208a99e36b10ddb2b06c885e612275f"}}}}