summaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/oxm
diff options
context:
space:
mode:
authorMunir Ahmad <munir.ahmad@bell.ca>2020-08-05 10:53:48 -0400
committerMunir Ahmad <munir.ahmad@bell.ca>2020-08-06 21:20:05 +0000
commita56d34f413e36b9f49e55a93d181680be077750a (patch)
tree91079a5886f6ad22fe17417f093493237c30ea2f /aai-schema/src/main/resources/onap/oxm
parent5e1f36f9dbdedb9c17d07ab43fee489b95ec5619 (diff)
aai-schema introduce profiles with relationship to pnf, pserver and vserver objects
Issue-ID: AAI-3104 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Change-Id: I86225ca945fbeec7b73b85299123dcc8e0bba5bc
Diffstat (limited to 'aai-schema/src/main/resources/onap/oxm')
-rw-r--r--aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml56
1 files changed, 56 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml b/aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml
index bb18fd4..5669464 100644
--- a/aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml
+++ b/aai-schema/src/main/resources/onap/oxm/v20/aai_oxm_v20.xml
@@ -9414,6 +9414,7 @@
<xml-root-element name="common"/>
<java-attributes>
<xml-element java-attribute="contacts" name="contacts" type="inventory.aai.onap.org.v20.Contacts"/>
+ <xml-element java-attribute="profiles" name="profiles" type="inventory.aai.onap.org.v20.Profiles"/>
</java-attributes>
</java-type>
@@ -9467,6 +9468,61 @@
</xml-properties>
</java-type>
+ <java-type name="Profiles">
+ <xml-properties>
+ <xml-property name="description" value="Collection of profiles"/>
+ </xml-properties>
+ <xml-root-element name="profiles"/>
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="profile" name="profile" type="inventory.aai.onap.org.v20.Profile"/>
+ </java-attributes>
+ </java-type>
+
+ <java-type name="Profile">
+ <xml-root-element name="profile"/>
+ <java-attributes>
+ <xml-element java-attribute="profileName" name="profile-name" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Name of the profile"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="profileType" name="profile-type" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Type of profile (ex,network-power-profile)"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="profileCharacteristics" name="profile-characteristics" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Set of characteristics of the profile."/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="profileSubtype" name="profile-subtype" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Descriptive subtype."/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="profileSelflink" name="profile-selflink" required="true" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="URL to endpoint where AAI can get more details"/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete."/>
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v20.RelationshipList"/>
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Profiles store the information (ex, credential-profile) and have a relationship to (ex, pnf)"/>
+ <xml-property name="uniqueProps" value="profile-name"/>
+ <xml-property name="container" value="profiles"/>
+ <xml-property name="namespace" value="common"/>
+ <xml-property name="nameProps" value="profile-name,profile-type"/>
+ <xml-property name="uriTemplate" value="/common/profiles/profile/{profile-name}"/>
+ <xml-property name="requiredProps" value="profile-name"/>
+ </xml-properties>
+ </java-type>
<java-type name="AggregateRoutes">
<xml-properties>
<xml-property name="description" value="Collection of aggregate routes."/>