{"action":"closed","issue":{"url":"https://api.github.com/repos/alien4cloud/alien4cloud/issues/32","labels_url":"https://api.github.com/repos/alien4cloud/alien4cloud/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/alien4cloud/alien4cloud/issues/32/comments","events_url":"https://api.github.com/repos/alien4cloud/alien4cloud/issues/32/events","html_url":"https://github.com/alien4cloud/alien4cloud/issues/32","id":48656402,"number":32,"title":"Unable to test with YAML produced by the UI","user":{"login":"grozeille","id":129151,"avatar_url":"https://avatars.githubusercontent.com/u/129151?v=3","gravatar_id":"","url":"https://api.github.com/users/grozeille","html_url":"https://github.com/grozeille","followers_url":"https://api.github.com/users/grozeille/followers","following_url":"https://api.github.com/users/grozeille/following{/other_user}","gists_url":"https://api.github.com/users/grozeille/gists{/gist_id}","starred_url":"https://api.github.com/users/grozeille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grozeille/subscriptions","organizations_url":"https://api.github.com/users/grozeille/orgs","repos_url":"https://api.github.com/users/grozeille/repos","events_url":"https://api.github.com/users/grozeille/events{/privacy}","received_events_url":"https://api.github.com/users/grozeille/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alien4cloud/alien4cloud/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-11-13T16:21:30Z","updated_at":"2015-08-05T07:38:15Z","closed_at":"2015-08-05T07:38:15Z","body":"The UI is generating a YAML with \"camel case\" name:\r\n![capture d ecran 2014-11-13 a 17 16 52](https://cloud.githubusercontent.com/assets/129151/5031775/787bd1da-6b59-11e4-8adf-d6913e6d88a2.PNG)\r\n\r\n\r\nBut when we test with the REST API, it fails because it needs a naming convention with underscores.\r\n```\r\n{\"data\":null,\"error\":{\"code\":500,\"message\":\"Uncategorized error Unrecognized field \\\"requirementName\\\" (class alien4cloud.tosca.container.model.topology.RelationshipTemplate), not marked as ignorable (5 known properties: \\\"target\\\", \\\"targeted_capability_name\\\", \\\"requirement_type\\\", \\\"requirement_name\\\", \\\"type\\\"])\\n at [Source: com.sun.nio.zipfs.ZipFileSystem$5@696ecb7a; line: 76, column: 30] (through reference chain: alien4cloud.tosca.container.model.topology.Topology[\\\"node_templates\\\"]->alien4cloud.tosca.container.model.topology.NodeTemplate[\\\"relationships\\\"]->alien4cloud.tosca.container.model.topology.RelationshipTemplate[\\\"requirementName\\\"])\"}}\r\n```"}}