diff options
author | James Forsyth <jf2512@att.com> | 2018-08-23 14:19:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-23 14:19:46 +0000 |
commit | 5b06b9f91e5eb34139d9957ee0b28a64a0ee6097 (patch) | |
tree | 00ec157b52c27b6b85b8e1719eed9edf710a8cb6 | |
parent | c342161db9b5ea27447a366133c5bf76ee67f241 (diff) | |
parent | 49e7415df1c6a2b9682e5df77c5bf65d09314457 (diff) |
Merge "Update xsd element to generate boolean to false"
9 files changed, 147 insertions, 147 deletions
diff --git a/aai-core/src/main/java/org/onap/aai/util/genxsd/PutRelationPathSet.java b/aai-core/src/main/java/org/onap/aai/util/genxsd/PutRelationPathSet.java index 0b0fd946..3d055b81 100644 --- a/aai-core/src/main/java/org/onap/aai/util/genxsd/PutRelationPathSet.java +++ b/aai-core/src/main/java/org/onap/aai/util/genxsd/PutRelationPathSet.java @@ -138,13 +138,6 @@ public class PutRelationPathSet { e.printStackTrace(); return; } - finally{ - try { - fop.close(); - } catch (IOException e) { - e.printStackTrace(); - } - } try { if(relations.size() > 0) {fop.write("[\n".getBytes());} fop.write(String.join(",\n", relations).getBytes()); @@ -155,6 +148,13 @@ public class PutRelationPathSet { e.printStackTrace(); return; } + finally{ + try { + fop.close(); + } catch (IOException e) { + e.printStackTrace(); + } + } logger.debug(String.join(",\n", relations)); return; } diff --git a/aai-core/src/main/java/org/onap/aai/util/genxsd/XSDElement.java b/aai-core/src/main/java/org/onap/aai/util/genxsd/XSDElement.java index 91c9459d..f9ce7c11 100644 --- a/aai-core/src/main/java/org/onap/aai/util/genxsd/XSDElement.java +++ b/aai-core/src/main/java/org/onap/aai/util/genxsd/XSDElement.java @@ -297,7 +297,7 @@ public class XSDElement implements Element { sbElement.append(" type=\"xs:int\""); if ( elementType.equals("java.lang.Boolean")) sbElement.append(" type=\"xs:boolean\""); - if ( elementIsRequired == null || !elementIsRequired.equals("true")||addType != null) { + if ( ("java.lang.Boolean".equals(elementType)) || (elementIsRequired == null || !elementIsRequired.equals("true")||addType != null)) { sbElement.append(" minOccurs=\"0\""); } if ( elementContainerType != null && elementContainerType.equals("java.util.ArrayList")) { diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v10.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v10.xsd index d1b84a96..c783fe8f 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v10.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v10.xsd @@ -908,7 +908,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -1121,7 +1121,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-port-mirrored" type="xs:boolean"> + <xs:element name="is-port-mirrored" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not port is a mirrored.")</annox:annotate> @@ -1135,7 +1135,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -1206,14 +1206,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -1909,7 +1909,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -1997,7 +1997,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -2169,7 +2169,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> @@ -4389,14 +4389,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -4497,7 +4497,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="dhcp-enabled" type="xs:boolean"> + <xs:element name="dhcp-enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="dhcp enabled")</annox:annotate> @@ -4657,7 +4657,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-bound-to-vpn" type="xs:boolean"> + <xs:element name="is-bound-to-vpn" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Set to true if bound to VPN")</annox:annotate> @@ -4762,21 +4762,21 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-provider-network" type="xs:boolean"> + <xs:element name="is-provider-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a provider network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-shared-network" type="xs:boolean"> + <xs:element name="is-shared-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a shared network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-external-network" type="xs:boolean"> + <xs:element name="is-external-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is an external network.")</annox:annotate> @@ -4900,7 +4900,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-base-vf-module" type="xs:boolean"> + <xs:element name="is-base-vf-module" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is base vf module")</annox:annotate> @@ -5169,14 +5169,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -5583,7 +5583,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v11.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v11.xsd index 62046734..3e6d6dd4 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v11.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v11.xsd @@ -908,7 +908,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -922,7 +922,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-ip-unnumbered" type="xs:boolean"> + <xs:element name="is-ip-unnumbered" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Flag indicating the interface uses the IP Unnumbered configuration.")</annox:annotate> @@ -1135,7 +1135,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-port-mirrored" type="xs:boolean"> + <xs:element name="is-port-mirrored" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not port is a mirrored.")</annox:annotate> @@ -1149,7 +1149,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -1163,7 +1163,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-ip-unnumbered" type="xs:boolean"> + <xs:element name="is-ip-unnumbered" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Flag indicating the interface uses the IP Unnumbered configuration.")</annox:annotate> @@ -1241,14 +1241,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -2103,7 +2103,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="sriov-automation" type="xs:boolean"> + <xs:element name="sriov-automation" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Whether the cloud region supports (true) or does not support (false) SR-IOV automation.")</annox:annotate> @@ -2320,7 +2320,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -2416,7 +2416,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -2588,7 +2588,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> @@ -4177,7 +4177,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> @@ -5214,14 +5214,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -5392,7 +5392,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="dhcp-enabled" type="xs:boolean"> + <xs:element name="dhcp-enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="dhcp enabled")</annox:annotate> @@ -5574,7 +5574,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-bound-to-vpn" type="xs:boolean"> + <xs:element name="is-bound-to-vpn" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Set to true if bound to VPN")</annox:annotate> @@ -5679,21 +5679,21 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-provider-network" type="xs:boolean"> + <xs:element name="is-provider-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a provider network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-shared-network" type="xs:boolean"> + <xs:element name="is-shared-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a shared network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-external-network" type="xs:boolean"> + <xs:element name="is-external-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is an external network.")</annox:annotate> @@ -5817,7 +5817,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-base-vf-module" type="xs:boolean"> + <xs:element name="is-base-vf-module" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is base vf module")</annox:annotate> @@ -6135,14 +6135,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -6577,7 +6577,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v12.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v12.xsd index c37d9335..b8c8a866 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v12.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v12.xsd @@ -915,7 +915,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -929,7 +929,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-ip-unnumbered" type="xs:boolean"> + <xs:element name="is-ip-unnumbered" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Flag indicating the interface uses the IP Unnumbered configuration.")</annox:annotate> @@ -1142,7 +1142,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-port-mirrored" type="xs:boolean"> + <xs:element name="is-port-mirrored" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not port is a mirrored.")</annox:annotate> @@ -1156,7 +1156,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -1170,7 +1170,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-ip-unnumbered" type="xs:boolean"> + <xs:element name="is-ip-unnumbered" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Flag indicating the interface uses the IP Unnumbered configuration.")</annox:annotate> @@ -1248,14 +1248,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -2210,7 +2210,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="sriov-automation" type="xs:boolean"> + <xs:element name="sriov-automation" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Whether the cloud region supports (true) or does not support (false) SR-IOV automation.")</annox:annotate> @@ -2441,7 +2441,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -2537,7 +2537,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -2709,7 +2709,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> @@ -4379,7 +4379,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> @@ -5416,14 +5416,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -5594,7 +5594,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="dhcp-enabled" type="xs:boolean"> + <xs:element name="dhcp-enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="dhcp enabled")</annox:annotate> @@ -5776,7 +5776,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-bound-to-vpn" type="xs:boolean"> + <xs:element name="is-bound-to-vpn" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Set to true if bound to VPN")</annox:annotate> @@ -5881,21 +5881,21 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-provider-network" type="xs:boolean"> + <xs:element name="is-provider-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a provider network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-shared-network" type="xs:boolean"> + <xs:element name="is-shared-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a shared network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-external-network" type="xs:boolean"> + <xs:element name="is-external-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is an external network.")</annox:annotate> @@ -6019,7 +6019,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-base-vf-module" type="xs:boolean"> + <xs:element name="is-base-vf-module" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is base vf module")</annox:annotate> @@ -6337,14 +6337,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -6786,7 +6786,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v13.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v13.xsd index f8d876bc..e90f8da8 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v13.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v13.xsd @@ -915,7 +915,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -929,7 +929,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-ip-unnumbered" type="xs:boolean"> + <xs:element name="is-ip-unnumbered" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Flag indicating the interface uses the IP Unnumbered configuration.")</annox:annotate> @@ -1142,7 +1142,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-port-mirrored" type="xs:boolean"> + <xs:element name="is-port-mirrored" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not port is a mirrored.")</annox:annotate> @@ -1156,7 +1156,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -1170,7 +1170,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-ip-unnumbered" type="xs:boolean"> + <xs:element name="is-ip-unnumbered" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Flag indicating the interface uses the IP Unnumbered configuration.")</annox:annotate> @@ -1248,14 +1248,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -2210,7 +2210,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="sriov-automation" type="xs:boolean"> + <xs:element name="sriov-automation" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Whether the cloud region supports (true) or does not support (false) SR-IOV automation.")</annox:annotate> @@ -2441,7 +2441,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -2537,7 +2537,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -2709,7 +2709,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> @@ -4379,7 +4379,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> @@ -5416,14 +5416,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -5594,7 +5594,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="dhcp-enabled" type="xs:boolean"> + <xs:element name="dhcp-enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="dhcp enabled")</annox:annotate> @@ -5776,7 +5776,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-bound-to-vpn" type="xs:boolean"> + <xs:element name="is-bound-to-vpn" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Set to true if bound to VPN")</annox:annotate> @@ -5881,21 +5881,21 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-provider-network" type="xs:boolean"> + <xs:element name="is-provider-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a provider network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-shared-network" type="xs:boolean"> + <xs:element name="is-shared-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a shared network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-external-network" type="xs:boolean"> + <xs:element name="is-external-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is an external network.")</annox:annotate> @@ -6019,7 +6019,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-base-vf-module" type="xs:boolean"> + <xs:element name="is-base-vf-module" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is base vf module")</annox:annotate> @@ -6337,14 +6337,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -6786,7 +6786,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> 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 42dcde89..1d36f9be 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 @@ -915,7 +915,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -929,7 +929,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-ip-unnumbered" type="xs:boolean"> + <xs:element name="is-ip-unnumbered" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Flag indicating the interface uses the IP Unnumbered configuration.")</annox:annotate> @@ -1142,7 +1142,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-port-mirrored" type="xs:boolean"> + <xs:element name="is-port-mirrored" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not port is a mirrored.")</annox:annotate> @@ -1156,7 +1156,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -1170,7 +1170,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-ip-unnumbered" type="xs:boolean"> + <xs:element name="is-ip-unnumbered" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Flag indicating the interface uses the IP Unnumbered configuration.")</annox:annotate> @@ -1248,14 +1248,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -2210,7 +2210,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="sriov-automation" type="xs:boolean"> + <xs:element name="sriov-automation" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Whether the cloud region supports (true) or does not support (false) SR-IOV automation.")</annox:annotate> @@ -2434,7 +2434,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -2551,7 +2551,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> @@ -2723,7 +2723,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> @@ -4400,7 +4400,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> @@ -5514,14 +5514,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -5692,7 +5692,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="dhcp-enabled" type="xs:boolean"> + <xs:element name="dhcp-enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="dhcp enabled")</annox:annotate> @@ -5874,7 +5874,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-bound-to-vpn" type="xs:boolean"> + <xs:element name="is-bound-to-vpn" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Set to true if bound to VPN")</annox:annotate> @@ -5979,21 +5979,21 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-provider-network" type="xs:boolean"> + <xs:element name="is-provider-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a provider network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-shared-network" type="xs:boolean"> + <xs:element name="is-shared-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a shared network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-external-network" type="xs:boolean"> + <xs:element name="is-external-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is an external network.")</annox:annotate> @@ -6117,7 +6117,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-base-vf-module" type="xs:boolean"> + <xs:element name="is-base-vf-module" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is base vf module")</annox:annotate> @@ -6435,14 +6435,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -6884,7 +6884,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v8.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v8.xsd index b5c16871..0aa9d37b 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v8.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v8.xsd @@ -458,8 +458,8 @@ <xs:element name="vserver-name2" type="xs:string" minOccurs="0"/> <xs:element name="prov-status" type="xs:string" minOccurs="0"/> <xs:element name="vserver-selflink" type="xs:string"/> - <xs:element name="in-maint" type="xs:boolean"/> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"/> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"/> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"/> <xs:element name="resource-version" type="xs:string" minOccurs="0"/> <xs:element ref="tns:volumes" minOccurs="0"/> <xs:element ref="tns:relationship-list" minOccurs="0"/> @@ -717,7 +717,7 @@ <xs:element name="serial-number" type="xs:string" minOccurs="0"/> <xs:element name="pserver-id" type="xs:string" minOccurs="0"/> <xs:element name="internet-topology" type="xs:string" minOccurs="0"/> - <xs:element name="in-maint" type="xs:boolean"/> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"/> <xs:element name="resource-version" type="xs:string" minOccurs="0"/> <xs:element name="pserver-name2" type="xs:string" minOccurs="0"/> <xs:element name="purpose" type="xs:string" minOccurs="0"/> @@ -1361,8 +1361,8 @@ <xs:element name="prov-status" type="xs:string" minOccurs="0"/> <xs:element name="orchestration-status" type="xs:string" minOccurs="0"/> <xs:element name="ipaddress-v4-oam-vip" type="xs:string" minOccurs="0"/> - <xs:element name="in-maint" type="xs:boolean"/> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"/> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"/> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"/> <xs:element name="group-notation" type="xs:string" minOccurs="0"/> <xs:element name="resource-version" type="xs:string" minOccurs="0"/> <xs:element ref="tns:relationship-list" minOccurs="0"/> @@ -1387,7 +1387,7 @@ <xs:element name="cidr-mask" type="xs:string" minOccurs="0"/> <xs:element name="ip-version" type="xs:string" minOccurs="0"/> <xs:element name="orchestration-status" type="xs:string" minOccurs="0"/> - <xs:element name="dhcp-enabled" type="xs:boolean"/> + <xs:element name="dhcp-enabled" type="xs:boolean" minOccurs="0"/> <xs:element name="dhcp-start" type="xs:string" minOccurs="0"/> <xs:element name="dhcp-end" type="xs:string" minOccurs="0"/> <xs:element name="resource-version" type="xs:string" minOccurs="0"/> @@ -1443,7 +1443,7 @@ <xs:element name="network-role" type="xs:string" minOccurs="0"/> <xs:element name="network-technology" type="xs:string" minOccurs="0"/> <xs:element name="neutron-network-id" type="xs:string" minOccurs="0"/> - <xs:element name="is-bound-to-vpn" type="xs:boolean"/> + <xs:element name="is-bound-to-vpn" type="xs:boolean" minOccurs="0"/> <xs:element name="service-id" type="xs:string" minOccurs="0"/> <xs:element name="network-role-instance" type="xs:unsignedInt" minOccurs="0"/> <xs:element name="resource-version" type="xs:string" minOccurs="0"/> @@ -1457,9 +1457,9 @@ <xs:element name="widget-model-id" type="xs:string" minOccurs="0"/> <xs:element name="widget-model-version" type="xs:string" minOccurs="0"/> <xs:element name="physical-network-name" type="xs:string" minOccurs="0"/> - <xs:element name="is-provider-network" type="xs:boolean"/> - <xs:element name="is-shared-network" type="xs:boolean"/> - <xs:element name="is-external-network" type="xs:boolean"/> + <xs:element name="is-provider-network" type="xs:boolean" minOccurs="0"/> + <xs:element name="is-shared-network" type="xs:boolean" minOccurs="0"/> + <xs:element name="is-external-network" type="xs:boolean" minOccurs="0"/> <xs:element ref="tns:subnets" minOccurs="0"/> <xs:element ref="tns:ctag-assignments" minOccurs="0"/> <xs:element ref="tns:segmentation-assignments" minOccurs="0"/> @@ -1499,7 +1499,7 @@ <xs:element name="vf-module-name" type="xs:string" minOccurs="0"/> <xs:element name="heat-stack-id" type="xs:string" minOccurs="0"/> <xs:element name="orchestration-status" type="xs:string" minOccurs="0"/> - <xs:element name="is-base-vf-module" type="xs:boolean"/> + <xs:element name="is-base-vf-module" type="xs:boolean" minOccurs="0"/> <xs:element name="resource-version" type="xs:string" minOccurs="0"/> <xs:element name="persona-model-id" type="xs:string" minOccurs="0"/> <xs:element name="persona-model-version" type="xs:string" minOccurs="0"/> @@ -1545,8 +1545,8 @@ <xs:element name="vmemory-units" type="xs:string" minOccurs="0"/> <xs:element name="vdisk" type="xs:unsignedInt" minOccurs="0"/> <xs:element name="vdisk-units" type="xs:string" minOccurs="0"/> - <xs:element name="in-maint" type="xs:boolean"/> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"/> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"/> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"/> <xs:element name="resource-version" type="xs:string" minOccurs="0"/> <xs:element name="summary-status" type="xs:string" minOccurs="0"/> <xs:element name="encrypted-access-flag" type="xs:boolean" minOccurs="0"/> @@ -1630,7 +1630,7 @@ <xs:element name="ipaddress-v4-oam" type="xs:string" minOccurs="0"/> <xs:element name="sw-version" type="xs:string" minOccurs="0"/> <xs:element name="orchestration-status" type="xs:string" minOccurs="0"/> - <xs:element name="in-maint" type="xs:boolean"/> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"/> <xs:element name="frame-id" type="xs:string" minOccurs="0"/> <xs:element name="resource-version" type="xs:string" minOccurs="0"/> <xs:element ref="tns:relationship-list" minOccurs="0"/> diff --git a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v9.xsd b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v9.xsd index a316eaac..08e5d5bd 100644 --- a/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v9.xsd +++ b/aai-schema/src/main/resources/onap/aai_schema/aai_schema_v9.xsd @@ -1184,14 +1184,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -2133,7 +2133,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> @@ -4300,14 +4300,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true)")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -4408,7 +4408,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="dhcp-enabled" type="xs:boolean"> + <xs:element name="dhcp-enabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="dhcp enabled")</annox:annotate> @@ -4568,7 +4568,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-bound-to-vpn" type="xs:boolean"> + <xs:element name="is-bound-to-vpn" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Set to true if bound to VPN")</annox:annotate> @@ -4673,21 +4673,21 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-provider-network" type="xs:boolean"> + <xs:element name="is-provider-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a provider network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-shared-network" type="xs:boolean"> + <xs:element name="is-shared-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is a shared network.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-external-network" type="xs:boolean"> + <xs:element name="is-external-network" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="boolean indicatating whether or not network is an external network.")</annox:annotate> @@ -4804,7 +4804,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-base-vf-module" type="xs:boolean"> + <xs:element name="is-base-vf-module" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is base vf module")</annox:annotate> @@ -5073,14 +5073,14 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="is-closed-loop-disabled" type="xs:boolean"> + <xs:element name="is-closed-loop-disabled" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="used to indicate whether closed loop function is enabled on this node")</annox:annotate> @@ -5431,7 +5431,7 @@ xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" </xs:appinfo> </xs:annotation> </xs:element> - <xs:element name="in-maint" type="xs:boolean"> + <xs:element name="in-maint" type="xs:boolean" minOccurs="0"> <xs:annotation> <xs:appinfo> <annox:annotate target="field">@org.onap.aai.annotations.Metadata(defaultValue="false",description="Used to indicate whether or not this object is in maintenance mode (maintenance mode = true). This field (in conjunction with prov-status) is used to suppress alarms and vSCL on VNFs/VMs.")</annox:annotate> |