diff options
author | Keong Lim <keong.lim@huawei.com> | 2018-08-13 15:25:36 +1000 |
---|---|---|
committer | Keong Lim <keong.lim@huawei.com> | 2018-08-24 17:13:34 +1000 |
commit | a992c8447913ad4adef713b7cda817e490612cd3 (patch) | |
tree | 66d6db6e33541693d28c2e1a2caa82394516fe59 /aai-schema/src/main/resources/onap/aai_schema | |
parent | f161b2792fd744b3967eb3ad283d6d43b03aca99 (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/aai_schema')
-rw-r--r-- | aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd index 210bfb13..1d1ff724 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v14.xsd @@ -3841,6 +3841,51 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:sequence> </xs:complexType> </xs:element> + <xs:element name="sp-partner"> + <xs:complexType> + <xs:annotation> + <xs:appinfo> + <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Instance of an sp-partner",indexedProps="sp-partner-id,url,callsource",nameProps="sp-partner-id",searchable="sp-partner-id",uniqueProps="sp-partner-id",container="sp-partners",namespace="business")</annox:annotate> + </xs:appinfo> + </xs:annotation> + <xs:sequence> + <xs:element name="sp-partner-id" type="xs:string"> + <xs:annotation> + <xs:appinfo> + <annox:annotate target="field">@org.onap.aai.annotations.Metadata(isKey=true,description="Uniquely identifies this sp-partner by id")</annox:annotate> + </xs:appinfo> + </xs:annotation> + </xs:element> + <xs:element name="url" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:appinfo> + <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Store the URL of this sp-partner.")</annox:annotate> + </xs:appinfo> + </xs:annotation> + </xs:element> + <xs:element name="callsource" type="xs:string" minOccurs="0"> + <xs:annotation> + <xs:appinfo> + <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Store the callsource of this sp-partner.")</annox:annotate> + </xs:appinfo> + </xs:annotation> + </xs:element> + <xs:element ref="tns:relationship-list" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="sp-partners"> + <xs:complexType> + <xs:annotation> + <xs:appinfo> + <annox:annotate target="class">@org.onap.aai.annotations.Metadata(description="Collection of sp-partners")</annox:annotate> + </xs:appinfo> + </xs:annotation> + <xs:sequence> + <xs:element ref="tns:sp-partner" minOccurs="0" maxOccurs="5000"/> + </xs:sequence> + </xs:complexType> + </xs:element> <xs:element name="business"> <xs:complexType> <xs:annotation> @@ -3855,6 +3900,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" <xs:element ref="tns:owning-entities" minOccurs="0"/> <xs:element ref="tns:platforms" minOccurs="0"/> <xs:element ref="tns:projects" minOccurs="0"/> + <xs:element ref="tns:sp-partners" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:element> |