Hello,
I am analyzing some use-cases for the TMF640 and I am struggling with a specific scenario.
Imagine that I've activated a service (RFS) via TMF640 and, due to the service POST action in the IT application, some resources were consequently instantiated in the IT application (based on the model spec, etc.).
Now, I would like to activate a child service (RFS) that comes in the picture later in the process. This child service should depend & consume characteristics from the previously created service (or its consequent created resources).
From my understanding, the right way of working would be to have two different calls to this IT application:
- Create (POST) the child service with supportingResource referring to the previously created resource in the parent.
- Update (PATCH/PUT) the parent service with the supportingService ID from the child
My doubt is if we could make this link or relation without the need to execute the 2nd call.
Or better, is there any better recommendation to handle this?
I would prefer to have this child service POST call in a single shot and to only announce the relation with the parent service and avoid referencing the resources but I am not sure if this is valid.
I hope I made myself clear..
Thanks for the help.
------------------------------
Carlos Portela
Proximus SA
------------------------------