summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2018-11-01 16:17:50 -0400
committerKajur, Harish (vk250x) <vk250x@att.com>2018-11-01 16:17:55 -0400
commitf220ba5f41b10728da4b36379189f1278a5420c4 (patch)
tree4c33abb18d5bfb488ae29a05c13add70e254f6f1
parent9d661ab0572c486ad0534fd21d502de0782bd4ea (diff)
Add upgrade cycle to cloud region
Issue-ID: AAI-1828 Change-Id: Ifee15d4824a26319f159ed030b0c7f1ab8500041 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
-rw-r--r--aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd7
-rw-r--r--aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml5
2 files changed, 12 insertions, 0 deletions
diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd
index 2c0d99c1..4c5651e1 100644
--- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd
+++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v15.xsd
@@ -2326,6 +2326,13 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
</xs:appinfo>
</xs:annotation>
</xs:element>
+ <xs:element name="upgrade-cycle" type="xs:string" minOccurs="0">
+ <xs:annotation>
+ <xs:appinfo>
+ <annox:annotate target="field">@org.onap.aai.annotations.Metadata(description="Upgrade cycle for the cloud region. For AIC regions upgrade cycle is designated by A,B,C etc.")</annox:annotate>
+ </xs:appinfo>
+ </xs:annotation>
+ </xs:element>
<xs:element name="resource-version" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:appinfo>
diff --git a/aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml b/aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml
index 4d84d7c8..a0e5f5ea 100644
--- a/aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml
+++ b/aai-schema/src/main/resources/onap/oxm/v15/aai_oxm_v15.xml
@@ -656,6 +656,11 @@
<xml-property name="description" value="ESR inputs extra information about the VIM or Cloud which will be decoded by MultiVIM."/>
</xml-properties>
</xml-element>
+ <xml-element java-attribute="upgradeCycle" name="upgrade-cycle" type="java.lang.String">
+ <xml-properties>
+ <xml-property name="description" value="Upgrade cycle for the cloud region. For AIC regions upgrade cycle is designated by A,B,C etc."/>
+ </xml-properties>
+ </xml-element>
<xml-element java-attribute="resourceVersion" name="resource-version" type="java.lang.String">
<xml-properties>
<xml-property name="description" value="Used for optimistic concurrency. Must be empty on create, valid on update and delete."/>