Hi!
In our service catalog (TMF633 v4) we want to define a service, which can have a reference to another service instance of the same type and we want to order the service via TMF641 (version 4). For example: I want to create a new line, which is redundant to an existing line.
My question is: how can I define the serviceSpecification in the service catalog with a reference to itself, assuming that the service catalog entry should be created with a POST /serviceSpecification request?
The problem is, that we can't define an id for the new serviceSpecification (in ServiceSpecification_Create), so how can we reference this serviceSpecification in the "serviceRelationship" section?
Intended Use via TMF641 ordering
{
"@type": "ServiceOrder",
"serviceOrderItem": [
{
"id": 1,
"action": "add",
"service": {
"name": "My Service",
"serviceSpecification": {
"name": "LinkService",
"id": "id_of_serviceSpecification",
"@type": "ServiceSpecificationRef"
},
"serviceRelationship": [
{
"relationshipType": "redundantLine",
"@type": "ServiceRelationship",
"service": {
"id": "some id of existing service instance",
"@type": "ServiceRef",
"@referredType": "Service"
},
...
Definition in TMF633
{
"@type" : "ServiceSpecification",
"description" : "Some RFS",
"lifecycleStatus" : "Active",
"name" : "LineService",
"version" : "0.1",
"serviceSpecRelationship" : [
{
"@referredType" : "ServiceSpecification",
"@type" : "ServiceSpecRelationship",
"name" : "LineService",
"relationshipType" : "redundantLine"
}
],
...
Best regards,
Johannes
------------------------------
Johannes Krimm
GIP Exyr GmbH
------------------------------