Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Latest commit

 

History

History
executable file
·
29 lines (26 loc) · 1.01 KB

hello-world.md

File metadata and controls

executable file
·
29 lines (26 loc) · 1.01 KB

hello-world

A sample ansible resource is available to test the system. To run the test:

  1. open the swagger ui
  2. Expand lifecycle-controller / Perform a transition against a Resource
  3. Enter this payload
{"context": {},
"deploymentLocation": "world",
"metricKey": "a0644bba-1da3-4074-b84b-0f260f82e482",
"properties": {"prop1":"nouse"},
"resourceManagerId": "ansible",
"resourceName": "test",
"resourceType": "resource::hello-world::1.0",
"transitionName": "Install"}
  1. Click Try it out!
  2. 🎉 You should get an "IN_PROGRESS" response
  3. From the response copy the requestId
  4. Expand lifecycle-controller / get details on transition request status
  5. Paste the requestId and click Try it out!
  6. 🎉 You should get a "COMPLETED" response
  7. From the response copy the resourceId
  8. Expand topology-controller / get details for a resource instance
  9. Paste the resourceId and click Try it out!
  10. 🎉 You should get the current time of the docker container in the response payload