Open APIs

Expand all | Collapse all

TMF634, TMF639 modeling resource profile with resourceSpecification

  • 1.  TMF634, TMF639 modeling resource profile with resourceSpecification

    TM Forum Member
    Posted 14 days ago
    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 13 days ago
    Edited by Jonathan Goldberg 13 days ago
    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 13 days ago
    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
    ------------------------------