Description of problem: Service created via REST API with reference to an existing service is not visible in UI in service explorer. Version-Release number of selected component (if applicable): 5.7.0.17 How reproducible: 100% Steps to Reproduce: 1. create service 2. create service via REST API that reference the service created in Step 1: POST /api/services { "action" : "create", "resource" : { "name" : "test_servicea", "description" : "Test Service", "parent_service" : { "id" : <id> } } } 3. check UI
Greg McCullough explained to me that it's expected behavior unless the "display" attribute is set to true. However even when the service is created or edited with "display": true, it is not visible in the UI even after the "Reload current display" button is pressed. Only after browser page refresh the child service is visible in UI.
Similarly when the child service that is already visible in UI is deleted using REST API, it remains visible until browser page is refreshed - "Reload current display" button alone will not do.
After looking at the API, I can see that the requests were made successfully and the services exist. It appears the UI is only displaying services that do not have parents - passing along to the UI team who will be able to provide more information and clarification.
After taking a look into the API, it appears to work as expected. The services are created with the correct information and parent references. The UI does not seem to show services with parents, but am passing along to the UI team to take a look and provide further clarification.
*** This bug has been marked as a duplicate of bug 1444043 ***