Hello all
I was looking how to differenciate CFS of RFS in TMF638 v4.0 but the examples does not seem to me compliance with TMF630 REST API Design Guidelines.
I would define a CFS (extract of a CFS), like that :
Definition 1 , Regarding TMF630 & TMF638
(extract with only interesting fields)
{
"id": "5351",
"href": "https://mycsp.com:8080/tmf-api/serviceInventory/v4/service/5351",
"@type": "CustomerFacingService",
"@schemaLocation": "https://mycsp.com:8080/tmf-api/schema/Service/CustomerFacingService.schema.json",
"@baseType": "Service"
}
Definition 2 , RegardingTMF638 only
This is an extract from TMF638 v4.0 (extract with only interesting fields)
{
"id": "5351",
"href": "https://mycsp.com:8080/tmf-api/serviceInventory/v4/service/5351",
"serviceType": "Cloud",
"name": "vCPE serial 1355615",
"description": "Instantiation of vCPE",
"category": "CFS"
"@type": "Service",
"@schemaLocation": "https://mycsp.com:8080/tmf-api/schema/Service/vCPE.schema.json"
}
Which definition is correct ?
Why am I struggle ? Because :
What TMF638 Service Inventory v4.0 and TMF630 REST API Design Guildeline said
TMF638:
Service is a base class for defining the Service hierarchy. All Services are characterized as either being possibly visible and usable by a Customer or not. This gives rise to the two subclasses of Service: CustomerFacingService and ResourceFacingService.
CFS and RFS are 2 subclasses of Services, therefore regarding TMF630 REST API Design Guidelines Part 2 :
As part of the API Data model the resources that have been identified as expected to be extended in implementations must include parameters @type, @baseType and @schemaLocation explicitly within the structure defined for those resources.
The @baseType of an entity can be used to represent the collection of all entities with the same
base type.
◦ For example, the "logicalResource" collection will scope both the "Tpe" and "Link" resources.

But TMF638 said too :
Field descriptions
Service fields
category A string. Is it a customer facing or resource facing service.
------------------------------
Sandrine Godmez
Airbus
------------------------------