{"action":"created","issue":{"url":"https://api.github.com/repos/SeaCloudsEU/SeaCloudsPlatform/issues/213","labels_url":"https://api.github.com/repos/SeaCloudsEU/SeaCloudsPlatform/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/SeaCloudsEU/SeaCloudsPlatform/issues/213/comments","events_url":"https://api.github.com/repos/SeaCloudsEU/SeaCloudsPlatform/issues/213/events","html_url":"https://github.com/SeaCloudsEU/SeaCloudsPlatform/pull/213","id":127961604,"number":213,"title":"Fix/aam relationships","user":{"login":"rosogon","id":7441033,"avatar_url":"https://avatars.githubusercontent.com/u/7441033?v=3","gravatar_id":"","url":"https://api.github.com/users/rosogon","html_url":"https://github.com/rosogon","followers_url":"https://api.github.com/users/rosogon/followers","following_url":"https://api.github.com/users/rosogon/following{/other_user}","gists_url":"https://api.github.com/users/rosogon/gists{/gist_id}","starred_url":"https://api.github.com/users/rosogon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosogon/subscriptions","organizations_url":"https://api.github.com/users/rosogon/orgs","repos_url":"https://api.github.com/users/rosogon/repos","events_url":"https://api.github.com/users/rosogon/events{/privacy}","received_events_url":"https://api.github.com/users/rosogon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SeaCloudsEU/SeaCloudsPlatform/labels/in%20progress","name":"in progress","color":"00a7ed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-21T16:20:56Z","updated_at":"2016-01-25T11:11:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SeaCloudsEU/SeaCloudsPlatform/pulls/213","html_url":"https://github.com/SeaCloudsEU/SeaCloudsPlatform/pull/213","diff_url":"https://github.com/SeaCloudsEU/SeaCloudsPlatform/pull/213.diff","patch_url":"https://github.com/SeaCloudsEU/SeaCloudsPlatform/pull/213.patch"},"body":"This  PR defines relationships in a more-TOSCA way (still not TOSCA compliant: this needs also changes in the planner) and adds the needed changes in designer and aamwriter.\r\n\r\nA relationship is now like:\r\n```\r\nrequirements:\r\n  - requirementName: targetNode\r\n    type: relation_type\r\n```\r\n\r\nrelation_type is one of the following: seaclouds.relations.databaseconnections.jdbc, seaclouds.relations.databaseconnections.php, seaclouds.relation.connection.endpoint.host\r\n\r\n\r\nThe designer now shows two more field in \"edit link\" form: \r\n* credentials_file: where to store the credentials in the deployed application\r\n* type of relationship (relation_type above)\r\n\r\nThe aamwriter now writes the requirement in the form explained above and adds the credentials_file into the properties of the source node_template.\r\n\r\n@kiuby88 : Can you review this?"},"comment":{"url":"https://api.github.com/repos/SeaCloudsEU/SeaCloudsPlatform/issues/comments/174474961","html_url":"https://github.com/SeaCloudsEU/SeaCloudsPlatform/pull/213#issuecomment-174474961","issue_url":"https://api.github.com/repos/SeaCloudsEU/SeaCloudsPlatform/issues/213","id":174474961,"user":{"login":"kiuby88","id":3704424,"avatar_url":"https://avatars.githubusercontent.com/u/3704424?v=3","gravatar_id":"","url":"https://api.github.com/users/kiuby88","html_url":"https://github.com/kiuby88","followers_url":"https://api.github.com/users/kiuby88/followers","following_url":"https://api.github.com/users/kiuby88/following{/other_user}","gists_url":"https://api.github.com/users/kiuby88/gists{/gist_id}","starred_url":"https://api.github.com/users/kiuby88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiuby88/subscriptions","organizations_url":"https://api.github.com/users/kiuby88/orgs","repos_url":"https://api.github.com/users/kiuby88/repos","events_url":"https://api.github.com/users/kiuby88/events{/privacy}","received_events_url":"https://api.github.com/users/kiuby88/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T11:11:25Z","updated_at":"2016-01-25T11:11:25Z","body":"Sorry @rosogon, I will review ASAP"}}