This is actually a very good question and it show that a clarification is needed.
I am alligned with Jonathan. For TMF638 and TMF641 the href definitely points to the inventory.
For TMF640 service activation the story is indeed more tricky. TMF640 in principle pushes a service that already exists in the inventory into a network element.
This results in a digital twin of the service with one instance in the inventory and the other instance on the network element.
Do these twins have the same href? I see two options:
1/ Under the assumption is that TMF640 only copies the infromation from inventory to network element there is potentially no need for a differen href.
2/ Under the assumption that TMF640 creates another instance on the network element the href should be different. But that may even imply that it is not the same type of entity. In that case TMF640 should probably handle a different entity than the inventory. Maybe it should become Service (inventory) and ServiceConfiguration (network)? I personally struggle with the fact that we have 2 OpenAPI TMF638 & TMF640 that seem to handle the same entity.
I am personaly inclined towards the second option, but more discussion seems required.
@Zoltan Gelencser @Hugo Vaughan: maybe we should discuss this as part of the network component definition?
------------------------------
Koen Peeters
OryxGateway
------------------------------
Original Message:
Sent: Jun 21, 2022 02:51
From: Jonathan Goldberg
Subject: service href - representation in context of 640 and 641 APIs
Hi Ambily
I would suggest the following:
- TMF638 service repository - returned href should definitely be a reference to the endpoint that allows direct retrieval of the service from the inventory
- TMF641 service order - the href at the top level is of course a reference to the service order, not to services that are being dealt with in the order. In the order items, services embedded by value (e.g. new services) will not have href, services embedded by reference should have href pointing to TMF638
- TMF640 service activation - tricky one here. I am responsible for the example :( (mycsp.com:8080 is a giveaway) from about 4 years ago. But it is not a given that the network elements will actually be able to respond to the GET request, and perhaps a specific implementation would reroute to the inventory.
@Ludovic Robert and @Kamal Maghsoudlou may also want to weigh in here
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Jun 20, 2022 19:43
From: Ambily Narayanan Unni
Subject: service href - representation in context of 640 and 641 APIs
Hi @Jonathan Goldberg , @Derrick Evans , @Koen Peeters , @David Milham , curious to hear your inputs on this based on some of the previous 638, 640, 641 discussions.
------------------------------
Ambily Narayanan Unni
Telstra Corporation