summaryrefslogtreecommitdiffstats
path: root/aai-schema/src/main/resources/onap/oxm
diff options
context:
space:
mode:
authorKeong Lim <keong.lim@huawei.com>2018-08-13 15:25:36 +1000
committerKeong Lim <keong.lim@huawei.com>2018-08-24 17:13:34 +1000
commita992c8447913ad4adef713b7cda817e490612cd3 (patch)
tree66d6db6e33541693d28c2e1a2caa82394516fe59 /aai-schema/src/main/resources/onap/oxm
parentf161b2792fd744b3967eb3ad283d6d43b03aca99 (diff)
AAI-1467 Add sp-partner schema for CCVPN
Issue-ID: AAI-1467 Add sp-partners sub-component to "business" namespace. Add sp-partners element, which is sequence of "sp-partner". Add sp-partner element, which has properties: sp-partner-id, url, callsource, relationshipList Make the following properties indexed: sp-partner-id, url, callsource Add CCVPN EdgeRules for sp-partner to service-instance. Change-Id: I6de65ae843f0139cdd284f9261f993d36224dc1e Signed-off-by: Keong Lim <keong.lim@huawei.com>
Diffstat (limited to 'aai-schema/src/main/resources/onap/oxm')
-rw-r--r--aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml42
1 files changed, 42 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml b/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml
index 92aa298e..1f0e81bf 100644
--- a/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml
+++ b/aai-schema/src/main/resources/onap/oxm/v14/aai_oxm_v14.xml
@@ -2351,6 +2351,8 @@
<xml-element java-attribute="owningEntities" name="owning-entities" type="inventory.aai.onap.org.v14.OwningEntities" />
<xml-element java-attribute="platforms" name="platforms" type="inventory.aai.onap.org.v14.Platforms" />
<xml-element java-attribute="projects" name="projects" type="inventory.aai.onap.org.v14.Projects" />
+
+ <xml-element java-attribute="spPartners" name="sp-partners" type="inventory.aai.onap.org.v14.SpPartners" />
</java-attributes>
</java-type>
@@ -7015,5 +7017,45 @@
</xml-properties>
</java-type>
+ <java-type name="SpPartner">
+ <xml-root-element name="sp-partner" />
+ <java-attributes>
+ <xml-element java-attribute="spPartnerId" name="sp-partner-id" required="true" type="java.lang.String" xml-key="true">
+ <xml-properties>
+ <xml-property name="description" value="Uniquely identifies this sp-partner by id" />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="url" name="url" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Store the URL of this sp-partner." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="callsource" name="callsource" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Store the callsource of this sp-partner." />
+ </xml-properties>
+ </xml-element>
+ <xml-element java-attribute="relationshipList" name="relationship-list" type="inventory.aai.onap.org.v14.RelationshipList" />
+ </java-attributes>
+ <xml-properties>
+ <xml-property name="description" value="Instance of an sp-partner" />
+ <xml-property name="indexedProps" value="sp-partner-id,url,callsource" />
+ <xml-property name="nameProps" value="sp-partner-id" />
+ <xml-property name="searchable" value="sp-partner-id" />
+ <xml-property name="uniqueProps" value="sp-partner-id" />
+ <xml-property name="container" value="sp-partners" />
+ <xml-property name="namespace" value="business" />
+ </xml-properties>
+ </java-type>
+ <java-type name="SpPartners">
+ <xml-root-element name="sp-partners" />
+ <xml-properties>
+ <xml-property name="description" value="Collection of sp-partners" />
+ </xml-properties>
+ <java-attributes>
+ <xml-element container-type="java.util.ArrayList" java-attribute="spPartner" name="sp-partner" type="inventory.aai.onap.org.v14.SpPartner" />
+ </java-attributes>
+ </java-type>
+
</java-types>
</xml-bindings>