Summary
When there is an endpoint POST /compute.
And then there is another endpoint POST /compute/instances and POST /compute/instances/<id>/network the generator should create a resource composition.
What should happen when POST /compute/instances is executed? the operator should probably need to create also a default network by executing also POST /compute/instances/<id>/network and then associate the reference ids with the status kubernetes manifest for later reference.
AC's
- When a parent resource is being created all of its sub-resources should be created as well.
- The status id of those composing resources should be stored in the status of the kubernetes parent manifest.
Summary
When there is an endpoint
POST /compute.And then there is another endpoint
POST /compute/instancesandPOST /compute/instances/<id>/networkthe generator should create a resource composition.What should happen when
POST /compute/instancesis executed? the operator should probably need to create also a defaultnetworkby executing alsoPOST /compute/instances/<id>/networkand then associate the reference ids with the status kubernetes manifest for later reference.AC's