From 7784d82d95e767a7ed61c7591762d47ba5f7e0e4 Mon Sep 17 00:00:00 2001 From: Srinivasan Ramanathan Date: Fri, 17 Jan 2020 11:17:44 +0000 Subject: Changes for MDONS usecase Updated schema for p-interface, logical-link, esr-thirdparty-sdnc, service-instance Updated DbEdgeRules for the usecase Updated stored-queries for new custom queries needed for the usecase Change-Id: If052355944c7c1cd72b54e83323909733de21c98 Issue-ID: AAI-2683 Signed-off-by: Srinivasan Ramanathan --- .../resources/onap/aai_schema/aai_schema_v19.xsd | 63 ++++++++++++++++++++++ .../onap/dbedgerules/v19/DbEdgeRules_esr_v19.json | 13 +++++ .../onap/dbedgerules/v19/DbEdgeRules_v19.json | 12 +++++ .../main/resources/onap/oxm/v19/aai_oxm_v19.xml | 45 ++++++++++++++++ 4 files changed, 133 insertions(+) (limited to 'aai-schema') diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v19.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v19.xsd index 0b7cc27..a9f56c4 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v19.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v19.xsd @@ -2508,6 +2508,13 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + @org.onap.aai.annotations.Metadata(description="Captures the units corresponding to the speed") + + + @@ -2536,6 +2543,13 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + @org.onap.aai.annotations.Metadata(description="Indicates the physical properties of the interface.") + + + @@ -3302,6 +3316,13 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + @org.onap.aai.annotations.Metadata(description="Domain type of the SDNC controllerr.") + + + @@ -3633,6 +3654,34 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + @org.onap.aai.annotations.Metadata(description="Rate of the service instance.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Definition of the service layer.") + + + + + + + @org.onap.aai.annotations.Metadata(description="Due date of the service creation.") + + + + + + + @org.onap.aai.annotations.Metadata(description="End date of the service creation.") + + + @@ -4759,6 +4808,20 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" + + + + @org.onap.aai.annotations.Metadata(description="Captures the units corresponding to the speed") + + + + + + + @org.onap.aai.annotations.Metadata(description="Captures the administrative state of the link") + + + diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_esr_v19.json b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_esr_v19.json index baa6ab8..9849616 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_esr_v19.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_esr_v19.json @@ -60,6 +60,19 @@ "prevent-delete": "NONE", "default": "true" }, + { + "from": "esr-thirdparty-sdnc", + "to": "network-resource", + "label": "org.onap.relationships.inventory.AppliesTo", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "SVC-INFRA": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"For MDONS Usecase" + }, { "from": "esr-system-info", "to": "cloud-region", diff --git a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_v19.json b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_v19.json index 2d448aa..b581854 100644 --- a/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_v19.json +++ b/aai-schema/src/main/resources/onap/dbedgerules/v19/DbEdgeRules_v19.json @@ -936,6 +936,18 @@ "default": "true", "description":"" }, + { + "from": "service-instance", + "to": "p-interface", + "label": "org.onap.relationships.inventory.ComposedOf", + "direction": "OUT", + "multiplicity": "ONE2MANY", + "contains-other-v": "NONE", + "delete-other-v": "NONE", + "prevent-delete": "NONE", + "default": "true", + "description":"For MDONS Use case" + }, { "from": "subnet", "to": "l3-network", diff --git a/aai-schema/src/main/resources/onap/oxm/v19/aai_oxm_v19.xml b/aai-schema/src/main/resources/onap/oxm/v19/aai_oxm_v19.xml index 01e4a5a..4326ad4 100644 --- a/aai-schema/src/main/resources/onap/oxm/v19/aai_oxm_v19.xml +++ b/aai-schema/src/main/resources/onap/oxm/v19/aai_oxm_v19.xml @@ -394,6 +394,11 @@ + + + + + @@ -2288,6 +2293,11 @@ + + + + + @@ -2303,6 +2313,11 @@ + + + + + @@ -2998,6 +3013,26 @@ + + + + + + + + + + + + + + + + + + + + @@ -3458,6 +3493,16 @@ + + + + + + + + + + -- cgit 1.2.3-korg