When the swagger for CDA is imported to be used in other application (like Postman or other), it appeared the model was not correct leading to faulty REST requests.
The following request:
http://<host>:<port>/ara/api/data/v1/workflows?application.ids=1215
... results in an array of workflows:
{ "name": null, "id": 12345, "description": "This is a description", "archived": false, "owner": null, "folder": { "name": "DEV" }, "custom_type": { "name": "Install" }, "custom": { "connection_url": "http://myserver.at", "connection_port": 80 }, "application": { "name": "Demo App" }, "dynamic": { "/server/url": "http://myserver.at", "/server/port": "80" }, "overrides": { "application": { "/ns1/prop1": "value1", "/server/port": "80" }, "components": { "tomcat": { "/server/url": "http://myserver.at", "/server/port": "80" }, "iis": { "/ns1/prop1": "test1", "/ns1/prop2": "orig2" } } }}
Release : 12.3
Component : Release.Manager
Solution:
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Release.Manager 10.0.5 - Available