From abfb85b06ce42209b79ed2f9559c827ba1f8e0ae Mon Sep 17 00:00:00 2001
From: lizi00164331
Date: Mon, 21 Aug 2017 17:31:27 +0800
Subject: Add auth-info node to cloud-region.
Reupload "Add the auth-info node according to the schema from Multi-VIM".
Modify the auth-info definition and defaultTenant according to Jimmy.
Modify the ssl-cacert and ssl-insecure definition according to Ethan.
Modify the description messages of some properties.
Add an edge rule between the cloud-region and the auth-info-item
Change-Id: Ic319f6875d6562d54d6434cbe316bd6e4c35eb21
Issue-ID: AAI-166
Signed-off-by: lizi00164331
---
.../resources/dbedgerules/DbEdgeRules_v11.json | 22 ++++++++
aai-schema/src/main/resources/oxm/aai_oxm_v11.xml | 63 +++++++++++++++++++++-
2 files changed, 84 insertions(+), 1 deletion(-)
diff --git a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json
index 9bcf4b76..802929b3 100644
--- a/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json
+++ b/aai-core/src/main/resources/dbedgerules/DbEdgeRules_v11.json
@@ -11,6 +11,17 @@
"SVC-INFRA": "NONE",
"prevent-delete": "!${direction}"
},
+ {
+ "from" : "auth-info-item",
+ "to" : "tenant",
+ "label" : "defaultTenant",
+ "direction" : "OUT",
+ "multiplicity" : "One2One",
+ "isParent" : "false",
+ "usesResource" : "false",
+ "hasDelTarget" : "false",
+ "SVC-INFRA" : "false"
+ },
{
"from": "generic-vnf",
"to": "license-key-resource",
@@ -66,6 +77,17 @@
"SVC-INFRA": "!${direction}",
"prevent-delete": "${direction}"
},
+ {
+ "from": "cloud-region",
+ "to": "auth-info-item",
+ "label": "has",
+ "direction": "OUT",
+ "multiplicity": "One2Many",
+ "contains-other-v": "${direction}",
+ "delete-other-v": "NONE",
+ "SVC-INFRA": "!${direction}",
+ "prevent-delete": "${direction}"
+ },
{
"from": "cloud-region",
"to": "image",
diff --git a/aai-schema/src/main/resources/oxm/aai_oxm_v11.xml b/aai-schema/src/main/resources/oxm/aai_oxm_v11.xml
index 3a2654ff..d65445c8 100644
--- a/aai-schema/src/main/resources/oxm/aai_oxm_v11.xml
+++ b/aai-schema/src/main/resources/oxm/aai_oxm_v11.xml
@@ -303,7 +303,7 @@
-
+
@@ -314,6 +314,7 @@
+
@@ -386,6 +387,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
--
cgit 1.2.3-korg