Open APIs

 View Only
  • 1.  TMF 641 - What does a ServiceSpecification provide over ServiceCharasteristics?

    Posted Aug 10, 2021 09:55
    A Service Characteristic has a name value pair, and a list of them can very well describe the service schema. Then what does ServiceSpecification do?
    "service": {
     "@type": "Service",
     "state": "active",
     "serviceType": "CFS",
     "serviceCharacteristic": [
     {
     "id": "452-gh6",
     "name": "vCPE",
     "valueType": "object",
     "value": {
     "@type": "vCPE",
     "@schemaLocation": "http://nbi/api/v4/serviceSpecification/ONAPvCPE_Spec/specificationInputSchema",
     "vCPE_IP": "193.218.236.21",
     "MaxTxRate": 300,
     "TransmitPower": "11 dBm",
     "maxTream": "OFF"
     }
     }
     ],
     "serviceSpecification": {
     "@type": "ONAPServiceSpecificationRef",
     "@schemaLocation":  "http://my.schema/ONAPServiceSpecificationRef.json",
     "id": "ONAPvCPE_Spec",
     "href": "http://../serviceSpecification/ONAPvCPE_Spec",
    "name": "vCPE",
     "version": "1",
     "invariantUUID": "456-852-357",
     "toscaModelURL": "http//..."
     } ​

    In the above example from the TM Forum 641 document, what would the schema specified in the serviceSpecification look like? It is complicated by the fact that the schema url http://nbi/api/v4/serviceSpecification/ONAPvCPE_Spec/specificationInputSchema is a non-existant url, is there somewhere I can find a real world example of how the service specification looks like?

    ------------------------------
    Kannan Jayaprakasam
    TO BE VERIFIED
    ------------------------------


  • 2.  RE: TMF 641 - What does a ServiceSpecification provide over ServiceCharasteristics?

    Posted Aug 11, 2021 09:05
    Hi Kannan
          you should read through the SID documentation. It describes the different elements and how they relates between them.

    CHeers.


    ------------------------------
    Santiago Lorente
    Salesforce
    ------------------------------



  • 3.  RE: TMF 641 - What does a ServiceSpecification provide over ServiceCharasteristics?

    Posted Aug 12, 2021 02:46
    Hi

    I believe that Kannan's query relates to the Open API model, not to the SID, and relates to the polymorphism pattern.

    In the Resource Catalog user guide (TMF634) I have given an explanation of using this pattern to define strongly typed resource specs with explicit attributes, as against characteristic-spec based resource specs. The same applies for Service and Product specs.

    But additionally the Service Spec entity gives you relationships to other Service Specs, and other data that you don't get from characteristics.

    Hope it helps

    ------------------------------
    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.
    ------------------------------