From a992c8447913ad4adef713b7cda817e490612cd3 Mon Sep 17 00:00:00 2001 From: Keong Lim Date: Mon, 13 Aug 2018 15:25:36 +1000 Subject: 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 --- .../resources/onap/aai_schema/aai_schema_v14.xsd | 46 ++++++++++++++++++++++ .../dbedgerules/v14/DbEdgeRules_ccvpn_v14.json | 12 ++++++ .../main/resources/onap/oxm/v14/aai_oxm_v14.xml | 42 ++++++++++++++++++++ 3 files changed, 100 insertions(+) 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" + + + + + @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") + + + + + + + @org.onap.aai.annotations.Metadata(isKey=true,description="Uniquely identifies this sp-partner by id") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the URL of this sp-partner.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Store the callsource of this sp-partner.") + + + + + + + + + + + + @org.onap.aai.annotations.Metadata(description="Collection of sp-partners") + + + + + + + @@ -3855,6 +3900,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json index cb1e0e66..468e6a8d 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v14/DbEdgeRules_ccvpn_v14.json @@ -11,6 +11,18 @@ "prevent-delete": "NONE", "default": "true", "description":"For CCVPN Usecase" + }, + { + "from": "sp-partner", + "to": "service-instance", + "label": "org.onap.relationships.inventory.PartOf", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"For CCVPN Usecase" } ] } 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 @@ + + @@ -7015,5 +7017,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit 1.2.3-korg