{"action":"created","comment":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments/29326244","id":29326244,"diff_hunk":"@@ -0,0 +1,133 @@\n+\n+tosca_definitions_version: cloudify_dsl_1_1\n+\n+imports:\n+  - http://www.getcloudify.org/spec/cloudify/3.2rc1/types.yaml\n+  - http://www.getcloudify.org/spec/openstack-plugin/1.2rc1/plugin.yaml\n+\n+inputs:\n+  prefix:\n+    description: >\n+      Unique test id to be added as a prefix for resource names.\n+  os_username:\n+    type: string\n+  os_password:\n+    type: string\n+  os_tenant_name:\n+    type: string\n+  os_auth_url:\n+    type: string\n+  os_region:\n+    type: string\n+  flavor:\n+    type: string\n+  image_id:\n+    type: string\n+  key_pair_path:\n+    type: string\n+\n+node_templates:\n+  external_network:\n+    type: cloudify.openstack.nodes.Network\n+    properties:\n+      use_external_resource: true\n+      resource_id: public\n+      openstack_config: &OPENSTACK_CONFIG\n+        username: { get_input: os_username }\n+        password: { get_input: os_password }\n+        tenant_name: { get_input: os_tenant_name }\n+        auth_url: { get_input: os_auth_url }\n+        region: { get_input: os_region }\n+\n+  router:\n+    type: cloudify.openstack.nodes.Router\n+    properties:\n+      resource_id: { concat: [{ get_input: prefix }, '-simple-vm-router'] }\n+      openstack_config: *OPENSTACK_CONFIG\n+    relationships:\n+      - target: external_network\n+        type: cloudify.relationships.connected_to\n+\n+  network:\n+    type: cloudify.openstack.nodes.Network\n+    properties:\n+      resource_id: { concat: [{ get_input: prefix }, '-simple-vm-network'] }\n+      openstack_config: *OPENSTACK_CONFIG\n+\n+  subnet:\n+    type: cloudify.openstack.nodes.Subnet\n+    properties:\n+      resource_id: { concat: [{ get_input: prefix }, '-simple-vm-subnet'] }\n+      subnet:\n+        ip_version: 4\n+        cidr: 10.67.79.0/24\n+      openstack_config: *OPENSTACK_CONFIG\n+    relationships:\n+      - target: network\n+        type: cloudify.relationships.contained_in\n+      - target: router\n+        type: cloudify.openstack.subnet_connected_to_router\n+\n+  floating_ip:\n+    type: cloudify.openstack.nodes.FloatingIP\n+    properties:\n+      floatingip:\n+        floating_network_name: { get_property: [external_network, resource_id] }\n+      openstack_config: *OPENSTACK_CONFIG\n+\n+  security_group:\n+    type: cloudify.openstack.nodes.SecurityGroup\n+    properties:\n+      resource_id: { concat: [{ get_input: prefix }, '-simple-vm-security-group'] }\n+      rules:\n+      rules:\n+        - port: 80\n+          remote_ip_prefix: 0.0.0.0/0\n+        - port: 22\n+          remote_ip_prefix: 0.0.0.0/0\n+        - port: 8080\n+          remote_ip_prefix: 0.0.0.0/0\n+        - port: 8101\n+          remote_ip_prefix: { get_property: [subnet, subnet, cidr] }\n+        - port: 5555\n+          remote_ip_prefix: { get_property: [subnet, subnet, cidr] }\n+        - port: 5672\n+          remote_ip_prefix: { get_property: [subnet, subnet, cidr] }\n+        - port: 53229\n+          remote_ip_prefix: { get_property: [subnet, subnet, cidr] }\n+      openstack_config: *OPENSTACK_CONFIG\n+\n+  keypair:\n+    type: cloudify.openstack.nodes.KeyPair\n+    properties:\n+      resource_id: { concat: [{ get_input: prefix }, '-simple-vm-keypair'] }\n+      private_key_path: { get_input: key_pair_path }\n+      openstack_config: *OPENSTACK_CONFIG\n+\n+  simple_server:\n+    type: cloudify.openstack.nodes.Server\n+    properties:\n+      #resource_id: { get_input: manager_server_name }\n+      install_agent: false\n+      server:\n+        image: { get_input: image_id }\n+        flavor: { get_input: flavor }","path":"cosmo_tester/resources/blueprints/openstack-start-vm/blueprint.yaml","position":114,"original_position":114,"commit_id":"185d43e4462e74060d46b9a0ba2f432d13c39fd9","original_commit_id":"185d43e4462e74060d46b9a0ba2f432d13c39fd9","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":"move the image and flavor properties outside of 'server'. to be directly under the 'properties' section (a new convention we started, the openstack plugin supports it)","created_at":"2015-04-29T11:03:01Z","updated_at":"2015-04-29T11:03:01Z","html_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/157#discussion_r29326244","pull_request_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/157","_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments/29326244"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/157#discussion_r29326244"},"pull_request":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/157"}}},"pull_request":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/157","id":34351770,"html_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/157","diff_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/157.diff","patch_url":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/157.patch","issue_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/157","number":157,"state":"open","locked":false,"title":"CFY-2613 added test for simple manager","user":{"login":"nirbir","id":2264173,"avatar_url":"https://avatars.githubusercontent.com/u/2264173?v=3","gravatar_id":"","url":"https://api.github.com/users/nirbir","html_url":"https://github.com/nirbir","followers_url":"https://api.github.com/users/nirbir/followers","following_url":"https://api.github.com/users/nirbir/following{/other_user}","gists_url":"https://api.github.com/users/nirbir/gists{/gist_id}","starred_url":"https://api.github.com/users/nirbir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirbir/subscriptions","organizations_url":"https://api.github.com/users/nirbir/orgs","repos_url":"https://api.github.com/users/nirbir/repos","events_url":"https://api.github.com/users/nirbir/events{/privacy}","received_events_url":"https://api.github.com/users/nirbir/received_events","type":"User","site_admin":false},"body":"and refactored the basic nodecellar test","created_at":"2015-04-29T10:58:04Z","updated_at":"2015-04-29T11:03:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d85ef806970d2b89606963d5f7d05d6b190fdd7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/157/commits","review_comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/157/comments","review_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/157/comments","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/185d43e4462e74060d46b9a0ba2f432d13c39fd9","head":{"label":"cloudify-cosmo:CFY-2613-test-for-simple-manager-blueprint","ref":"CFY-2613-test-for-simple-manager-blueprint","sha":"185d43e4462e74060d46b9a0ba2f432d13c39fd9","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":18327506,"name":"cloudify-system-tests","full_name":"cloudify-cosmo/cloudify-system-tests","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-system-tests","description":"Cloudify System Tests","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/releases{/id}","created_at":"2014-04-01T11:44:17Z","updated_at":"2015-04-29T09:35:13Z","pushed_at":"2015-04-29T10:58:04Z","git_url":"git://github.com/cloudify-cosmo/cloudify-system-tests.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-system-tests.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-system-tests.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-system-tests","homepage":null,"size":8583,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"cloudify-cosmo:master","ref":"master","sha":"bf83cff23f441ffb143392dad2c768756a8a8048","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":18327506,"name":"cloudify-system-tests","full_name":"cloudify-cosmo/cloudify-system-tests","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-system-tests","description":"Cloudify System Tests","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/releases{/id}","created_at":"2014-04-01T11:44:17Z","updated_at":"2015-04-29T09:35:13Z","pushed_at":"2015-04-29T10:58:04Z","git_url":"git://github.com/cloudify-cosmo/cloudify-system-tests.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-system-tests.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-system-tests.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-system-tests","homepage":null,"size":8583,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/157"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-system-tests/pull/157"},"issue":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/157"},"comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/issues/157/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/157/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/pulls/157/commits"},"statuses":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-system-tests/statuses/185d43e4462e74060d46b9a0ba2f432d13c39fd9"}}}}