Open APIs

 View Only
  • 1.  TMF634, TMF639 modeling resource profile with resourceSpecification

    TM Forum Member
    Posted Feb 12, 2021 11:08
    Hi

    From Resource Framework, resource specification and characteristics model the concept of resource profile, where a profile is a group of invariant parameters, characteristic of a resource type,
    used to quickly configure a specific resource with a set of values (a profile instance).

    In order to model a profile instance as a resourceSpecification, the resourceSpecificationCharacteristicValue are set along with the resourceSpecificationCharacteristic.
    When creating the actual resource in the resource inventory, the resourceSpecification (reference to resourceSpecification) is the proper way to model the "profile instance" so the resource inherites resourceCharacteristic and value from it (by reference); then when querying resource it is expected the resourceCharacteristics are returned (by value)?

    Thanks in advance
    Paz

    ------------------------------
    Paz Rojo
    Vodafone Group
    ------------------------------


  • 2.  RE: TMF634, TMF639 modeling resource profile with resourceSpecification

    TM Forum Member
    Posted Feb 14, 2021 01:53
    Edited by Jonathan Goldberg Feb 14, 2021 01:56
    Hi Paz
    From Open API perspective, a Resource (in the inventory) has an array of Characteristics (name + value), and when you do a GET by ID on a Resource, you'll get that array with all the values filled in. It doesn't matter if the value was invariant (defined up-front at specification time) or variant (set at instantiation time).
    Adding @Vance Shipley, the Resource expert :) .
    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.
    ------------------------------



  • 3.  RE: TMF634, TMF639 modeling resource profile with resourceSpecification

    TM Forum Member
    Posted Feb 14, 2021 07:12
    That's about right.  The EntitySpecification/Entity pattern is used throughout the SID and Open APIs to provide a runtime data model.

    ------------------------------
    Vance Shipley
    SigScale
    ------------------------------