{"action":"created","comment":{"url":"https://api.github.com/repos/ystia/forge/pulls/comments/213933184","pull_request_review_id":150873024,"id":213933184,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzkzMzE4NA==","diff_hunk":"@@ -0,0 +1,67 @@\n+#\n+# Copyright 2018 Bull S.A.S. Atos Technologies - Bull, Rue Jean Jaures, B.P.68, 78340, Les Clayes-sous-Bois, France.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except 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, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+#\n+\n+\n+- name: Setup Openstack config\n+  hosts: all\n+  strategy: free\n+  become_user: yorc\n+  become: true\n+  tasks:\n+    - name: \"get current config of Yorc\"\n+      shell: \"cat {{ CONFIG_DIR }}/config.yorc.yaml\"\n+      register: result\n+\n+    - set_fact:\n+        yorcConfig: \"{{ result.stdout | from_yaml }}\"\n+\n+    - set_fact:\n+        tmp: >\n+          { \"infrastructures\": { \"openstack\": {\n+              \"auth_url\": \"{{ AUTH_URL }}\",\n+              \"tenant_name\": \"{{ TENANT_NAME }}\",\n+              \"user_name\": \"{{ USER_NAME }}\",\n+              \"password\": \"{{ PASSWORD }}\",\n+              \"private_network_name\": \"{{ PRIVATE_NETWORK_NAME }}\",\n+              \"default_security_groups\": {{ DEFAULT_SECURITY_GROUPS }}","path":"org/ystia/yorc/yorc/linux/ansible/playbooks/configure_openstack.yml","position":39,"original_position":39,"commit_id":"f2060143324e80a2a14daf18d8ee76a42082c4f4","original_commit_id":"f2060143324e80a2a14daf18d8ee76a42082c4f4","user":{"login":"loicalbertin","id":872896,"node_id":"MDQ6VXNlcjg3Mjg5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/872896?v=4","gravatar_id":"","url":"https://api.github.com/users/loicalbertin","html_url":"https://github.com/loicalbertin","followers_url":"https://api.github.com/users/loicalbertin/followers","following_url":"https://api.github.com/users/loicalbertin/following{/other_user}","gists_url":"https://api.github.com/users/loicalbertin/gists{/gist_id}","starred_url":"https://api.github.com/users/loicalbertin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/loicalbertin/subscriptions","organizations_url":"https://api.github.com/users/loicalbertin/orgs","repos_url":"https://api.github.com/users/loicalbertin/repos","events_url":"https://api.github.com/users/loicalbertin/events{/privacy}","received_events_url":"https://api.github.com/users/loicalbertin/received_events","type":"User","site_admin":false},"body":"If made optional we should add it only if defined/not empty","created_at":"2018-08-30T07:47:59Z","updated_at":"2018-08-30T07:48:05Z","html_url":"https://github.com/ystia/forge/pull/4#discussion_r213933184","pull_request_url":"https://api.github.com/repos/ystia/forge/pulls/4","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ystia/forge/pulls/comments/213933184"},"html":{"href":"https://github.com/ystia/forge/pull/4#discussion_r213933184"},"pull_request":{"href":"https://api.github.com/repos/ystia/forge/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/ystia/forge/pulls/4","id":204365957,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MzY1OTU3","html_url":"https://github.com/ystia/forge/pull/4","diff_url":"https://github.com/ystia/forge/pull/4.diff","patch_url":"https://github.com/ystia/forge/pull/4.patch","issue_url":"https://api.github.com/repos/ystia/forge/issues/4","number":4,"state":"open","locked":false,"title":"Add YorcServer component","user":{"login":"BertrandD","id":5462929,"node_id":"MDQ6VXNlcjU0NjI5Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/5462929?v=4","gravatar_id":"","url":"https://api.github.com/users/BertrandD","html_url":"https://github.com/BertrandD","followers_url":"https://api.github.com/users/BertrandD/followers","following_url":"https://api.github.com/users/BertrandD/following{/other_user}","gists_url":"https://api.github.com/users/BertrandD/gists{/gist_id}","starred_url":"https://api.github.com/users/BertrandD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BertrandD/subscriptions","organizations_url":"https://api.github.com/users/BertrandD/orgs","repos_url":"https://api.github.com/users/BertrandD/repos","events_url":"https://api.github.com/users/BertrandD/events{/privacy}","received_events_url":"https://api.github.com/users/BertrandD/received_events","type":"User","site_admin":false},"body":"With these components, we can deploy an A4C instance with a Yorc Server connected to.\r\n\r\nystia/yorc#131","created_at":"2018-07-27T08:40:01Z","updated_at":"2018-08-30T07:48:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f33d8d18dd3c9fdc6da56d08b2d80f154546a8d4","assignee":{"login":"BertrandD","id":5462929,"node_id":"MDQ6VXNlcjU0NjI5Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/5462929?v=4","gravatar_id":"","url":"https://api.github.com/users/BertrandD","html_url":"https://github.com/BertrandD","followers_url":"https://api.github.com/users/BertrandD/followers","following_url":"https://api.github.com/users/BertrandD/following{/other_user}","gists_url":"https://api.github.com/users/BertrandD/gists{/gist_id}","starred_url":"https://api.github.com/users/BertrandD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BertrandD/subscriptions","organizations_url":"https://api.github.com/users/BertrandD/orgs","repos_url":"https://api.github.com/users/BertrandD/repos","events_url":"https://api.github.com/users/BertrandD/events{/privacy}","received_events_url":"https://api.github.com/users/BertrandD/received_events","type":"User","site_admin":false},"assignees":[{"login":"BertrandD","id":5462929,"node_id":"MDQ6VXNlcjU0NjI5Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/5462929?v=4","gravatar_id":"","url":"https://api.github.com/users/BertrandD","html_url":"https://github.com/BertrandD","followers_url":"https://api.github.com/users/BertrandD/followers","following_url":"https://api.github.com/users/BertrandD/following{/other_user}","gists_url":"https://api.github.com/users/BertrandD/gists{/gist_id}","starred_url":"https://api.github.com/users/BertrandD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BertrandD/subscriptions","organizations_url":"https://api.github.com/users/BertrandD/orgs","repos_url":"https://api.github.com/users/BertrandD/repos","events_url":"https://api.github.com/users/BertrandD/events{/privacy}","received_events_url":"https://api.github.com/users/BertrandD/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ystia/forge/pulls/4/commits","review_comments_url":"https://api.github.com/repos/ystia/forge/pulls/4/comments","review_comment_url":"https://api.github.com/repos/ystia/forge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ystia/forge/issues/4/comments","statuses_url":"https://api.github.com/repos/ystia/forge/statuses/f2060143324e80a2a14daf18d8ee76a42082c4f4","head":{"label":"ystia:feature/yorc-types","ref":"feature/yorc-types","sha":"f2060143324e80a2a14daf18d8ee76a42082c4f4","user":{"login":"ystia","id":30927784,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwOTI3Nzg0","avatar_url":"https://avatars2.githubusercontent.com/u/30927784?v=4","gravatar_id":"","url":"https://api.github.com/users/ystia","html_url":"https://github.com/ystia","followers_url":"https://api.github.com/users/ystia/followers","following_url":"https://api.github.com/users/ystia/following{/other_user}","gists_url":"https://api.github.com/users/ystia/gists{/gist_id}","starred_url":"https://api.github.com/users/ystia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ystia/subscriptions","organizations_url":"https://api.github.com/users/ystia/orgs","repos_url":"https://api.github.com/users/ystia/repos","events_url":"https://api.github.com/users/ystia/events{/privacy}","received_events_url":"https://api.github.com/users/ystia/received_events","type":"Organization","site_admin":false},"repo":{"id":139149593,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxNDk1OTM=","name":"forge","full_name":"ystia/forge","owner":{"login":"ystia","id":30927784,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwOTI3Nzg0","avatar_url":"https://avatars2.githubusercontent.com/u/30927784?v=4","gravatar_id":"","url":"https://api.github.com/users/ystia","html_url":"https://github.com/ystia","followers_url":"https://api.github.com/users/ystia/followers","following_url":"https://api.github.com/users/ystia/following{/other_user}","gists_url":"https://api.github.com/users/ystia/gists{/gist_id}","starred_url":"https://api.github.com/users/ystia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ystia/subscriptions","organizations_url":"https://api.github.com/users/ystia/orgs","repos_url":"https://api.github.com/users/ystia/repos","events_url":"https://api.github.com/users/ystia/events{/privacy}","received_events_url":"https://api.github.com/users/ystia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ystia/forge","description":"A set of public TOSCA Types and Topology templates used by the Ystia project","fork":false,"url":"https://api.github.com/repos/ystia/forge","forks_url":"https://api.github.com/repos/ystia/forge/forks","keys_url":"https://api.github.com/repos/ystia/forge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ystia/forge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ystia/forge/teams","hooks_url":"https://api.github.com/repos/ystia/forge/hooks","issue_events_url":"https://api.github.com/repos/ystia/forge/issues/events{/number}","events_url":"https://api.github.com/repos/ystia/forge/events","assignees_url":"https://api.github.com/repos/ystia/forge/assignees{/user}","branches_url":"https://api.github.com/repos/ystia/forge/branches{/branch}","tags_url":"https://api.github.com/repos/ystia/forge/tags","blobs_url":"https://api.github.com/repos/ystia/forge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ystia/forge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ystia/forge/git/refs{/sha}","trees_url":"https://api.github.com/repos/ystia/forge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ystia/forge/statuses/{sha}","languages_url":"https://api.github.com/repos/ystia/forge/languages","stargazers_url":"https://api.github.com/repos/ystia/forge/stargazers","contributors_url":"https://api.github.com/repos/ystia/forge/contributors","subscribers_url":"https://api.github.com/repos/ystia/forge/subscribers","subscription_url":"https://api.github.com/repos/ystia/forge/subscription","commits_url":"https://api.github.com/repos/ystia/forge/commits{/sha}","git_commits_url":"https://api.github.com/repos/ystia/forge/git/commits{/sha}","comments_url":"https://api.github.com/repos/ystia/forge/comments{/number}","issue_comment_url":"https://api.github.com/repos/ystia/forge/issues/comments{/number}","contents_url":"https://api.github.com/repos/ystia/forge/contents/{+path}","compare_url":"https://api.github.com/repos/ystia/forge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ystia/forge/merges","archive_url":"https://api.github.com/repos/ystia/forge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ystia/forge/downloads","issues_url":"https://api.github.com/repos/ystia/forge/issues{/number}","pulls_url":"https://api.github.com/repos/ystia/forge/pulls{/number}","milestones_url":"https://api.github.com/repos/ystia/forge/milestones{/number}","notifications_url":"https://api.github.com/repos/ystia/forge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ystia/forge/labels{/name}","releases_url":"https://api.github.com/repos/ystia/forge/releases{/id}","deployments_url":"https://api.github.com/repos/ystia/forge/deployments","created_at":"2018-06-29T12:56:39Z","updated_at":"2018-08-20T10:09:03Z","pushed_at":"2018-08-29T14:51:38Z","git_url":"git://github.com/ystia/forge.git","ssh_url":"git@github.com:ystia/forge.git","clone_url":"https://github.com/ystia/forge.git","svn_url":"https://github.com/ystia/forge","homepage":"https://ystia.github.io/","size":106877,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"base":{"label":"ystia:develop","ref":"develop","sha":"d26de47022f29fc183c41387c7e95d5f174b2bc3","user":{"login":"ystia","id":30927784,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwOTI3Nzg0","avatar_url":"https://avatars2.githubusercontent.com/u/30927784?v=4","gravatar_id":"","url":"https://api.github.com/users/ystia","html_url":"https://github.com/ystia","followers_url":"https://api.github.com/users/ystia/followers","following_url":"https://api.github.com/users/ystia/following{/other_user}","gists_url":"https://api.github.com/users/ystia/gists{/gist_id}","starred_url":"https://api.github.com/users/ystia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ystia/subscriptions","organizations_url":"https://api.github.com/users/ystia/orgs","repos_url":"https://api.github.com/users/ystia/repos","events_url":"https://api.github.com/users/ystia/events{/privacy}","received_events_url":"https://api.github.com/users/ystia/received_events","type":"Organization","site_admin":false},"repo":{"id":139149593,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxNDk1OTM=","name":"forge","full_name":"ystia/forge","owner":{"login":"ystia","id":30927784,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwOTI3Nzg0","avatar_url":"https://avatars2.githubusercontent.com/u/30927784?v=4","gravatar_id":"","url":"https://api.github.com/users/ystia","html_url":"https://github.com/ystia","followers_url":"https://api.github.com/users/ystia/followers","following_url":"https://api.github.com/users/ystia/following{/other_user}","gists_url":"https://api.github.com/users/ystia/gists{/gist_id}","starred_url":"https://api.github.com/users/ystia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ystia/subscriptions","organizations_url":"https://api.github.com/users/ystia/orgs","repos_url":"https://api.github.com/users/ystia/repos","events_url":"https://api.github.com/users/ystia/events{/privacy}","received_events_url":"https://api.github.com/users/ystia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ystia/forge","description":"A set of public TOSCA Types and Topology templates used by the Ystia project","fork":false,"url":"https://api.github.com/repos/ystia/forge","forks_url":"https://api.github.com/repos/ystia/forge/forks","keys_url":"https://api.github.com/repos/ystia/forge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ystia/forge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ystia/forge/teams","hooks_url":"https://api.github.com/repos/ystia/forge/hooks","issue_events_url":"https://api.github.com/repos/ystia/forge/issues/events{/number}","events_url":"https://api.github.com/repos/ystia/forge/events","assignees_url":"https://api.github.com/repos/ystia/forge/assignees{/user}","branches_url":"https://api.github.com/repos/ystia/forge/branches{/branch}","tags_url":"https://api.github.com/repos/ystia/forge/tags","blobs_url":"https://api.github.com/repos/ystia/forge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ystia/forge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ystia/forge/git/refs{/sha}","trees_url":"https://api.github.com/repos/ystia/forge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ystia/forge/statuses/{sha}","languages_url":"https://api.github.com/repos/ystia/forge/languages","stargazers_url":"https://api.github.com/repos/ystia/forge/stargazers","contributors_url":"https://api.github.com/repos/ystia/forge/contributors","subscribers_url":"https://api.github.com/repos/ystia/forge/subscribers","subscription_url":"https://api.github.com/repos/ystia/forge/subscription","commits_url":"https://api.github.com/repos/ystia/forge/commits{/sha}","git_commits_url":"https://api.github.com/repos/ystia/forge/git/commits{/sha}","comments_url":"https://api.github.com/repos/ystia/forge/comments{/number}","issue_comment_url":"https://api.github.com/repos/ystia/forge/issues/comments{/number}","contents_url":"https://api.github.com/repos/ystia/forge/contents/{+path}","compare_url":"https://api.github.com/repos/ystia/forge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ystia/forge/merges","archive_url":"https://api.github.com/repos/ystia/forge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ystia/forge/downloads","issues_url":"https://api.github.com/repos/ystia/forge/issues{/number}","pulls_url":"https://api.github.com/repos/ystia/forge/pulls{/number}","milestones_url":"https://api.github.com/repos/ystia/forge/milestones{/number}","notifications_url":"https://api.github.com/repos/ystia/forge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ystia/forge/labels{/name}","releases_url":"https://api.github.com/repos/ystia/forge/releases{/id}","deployments_url":"https://api.github.com/repos/ystia/forge/deployments","created_at":"2018-06-29T12:56:39Z","updated_at":"2018-08-20T10:09:03Z","pushed_at":"2018-08-29T14:51:38Z","git_url":"git://github.com/ystia/forge.git","ssh_url":"git@github.com:ystia/forge.git","clone_url":"https://github.com/ystia/forge.git","svn_url":"https://github.com/ystia/forge","homepage":"https://ystia.github.io/","size":106877,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":3,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ystia/forge/pulls/4"},"html":{"href":"https://github.com/ystia/forge/pull/4"},"issue":{"href":"https://api.github.com/repos/ystia/forge/issues/4"},"comments":{"href":"https://api.github.com/repos/ystia/forge/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/ystia/forge/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/ystia/forge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ystia/forge/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/ystia/forge/statuses/f2060143324e80a2a14daf18d8ee76a42082c4f4"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"loicalbertin"}}