Example: Licenses and entitlements in AAI

Papyrus Class diagram, containment only

AAI Entitlement – detailed information

Entitlement: class-level metadata

description

Metadata for entitlement group.

indexedProps

group-uuid,resource-uuid

dependentOn

generic-vnf,vce

container

entitlements

uriTemplate

/entitlements/entitlement/{group-uuid}/{resource-uuid}

requiredProps

group-uuid,resource-uuid

Entitlement: attribute information

Attribute name

required

type

xml-key

description

Attribute name

required

type

xml-key

description

group-uuid

TRUE

java.lang.String

TRUE

Unique ID for the entitlement group the resource comes from, should be uuid.

resource-uuid

TRUE

java.lang.String

TRUE

Unique ID of an entitlement resource.

resource-version



java.lang.String



Concurrency value

relationship-list



inventory.aai.onap.org.v16.RelationshipList





AAI License – detailed information

License: class-level metadata

description

Metadata for license group.

indexedProps

group-uuid,resource-uuid

dependentOn

generic-vnf,vce

container

licenses

uriTemplate

/licenses/license/{group-uuid}/{resource-uuid}

requiredProps

group-uuid,resource-uuid

License: attribute information

Attribute name

required

type

xml-key

description

Attribute name

required

type

xml-key

description

group-uuid

TRUE

java.lang.String

TRUE

Unique ID for the license group the resource belongs to, should be uuid.

resource-uuid

TRUE

java.lang.String

TRUE

Unique ID of a license resource.

resource-version



java.lang.String



Concurrency value

relationship-list



inventory.aai.onap.org.v16.RelationshipList