contains-other-v no longer implies delete-other-v
[aai/aai-common.git] / aai-schema / src / main / resources / oxm / aai_oxm_v11.xml
index ecf163e..90d023c 100644 (file)
@@ -1,24 +1,27 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!--
-  ============LICENSE_START=======================================================
-  org.openecomp.aai
-  ================================================================================
-  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
-  ================================================================================
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
-  You may obtain a copy of the License at
-  
+
+    ============LICENSE_START=======================================================
+    org.onap.aai
+    ================================================================================
+    Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+    ================================================================================
+    Licensed under the Apache License, Version 2.0 (the "License");
+    you may not use this file except in compliance with the License.
+    You may obtain a copy of the License at
+
        http://www.apache.org/licenses/LICENSE-2.0
-  
-  Unless required by applicable law or agreed to in writing, software
-  distributed under the License is distributed on an "AS IS" BASIS,
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-  See the License for the specific language governing permissions and
-  limitations under the License.
-  ============LICENSE_END=========================================================
-  -->
 
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+    ============LICENSE_END=========================================================
+
+    ECOMP is a trademark and service mark of AT&T Intellectual Property.
+
+-->
 <xml-bindings xmlns="http://www.eclipse.org/eclipselink/xsds/persistence/oxm" package-name="inventory.aai.onap.org.v11" xml-mapping-metadata-complete="true">
        <xml-schema element-form-default="QUALIFIED">
                <xml-ns namespace-uri="http://org.openecomp.aai.inventory/v11" />
                                                <xml-property name="description" value="This field will store the workload context assigned to the service-instance." />
                                        </xml-properties>
                                </xml-element>
+                               <xml-element java-attribute="createdAt" name="created-at" required="false" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="create time of Network Service." />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="updatedAt" name="updated-at" required="false" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="last update of Network Service." />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="description" name="description" required="false" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="short description for service-instance." />
+                                       </xml-properties>
+                               </xml-element>
+                               <!-- for storing the nsd_id create edge between services -->
                                <xml-element java-attribute="modelInvariantId" name="model-invariant-id" type="java.lang.String">
                                        <xml-properties>
                                                <xml-property name="description" value="the ASDC model id for this resource or service model." />
                                <xml-element java-attribute="routeTableReferences" name="route-table-references" type="inventory.aai.onap.org.v11.RouteTableReferences" />
                                <xml-element java-attribute="instanceGroups" name="instance-groups" type="inventory.aai.onap.org.v11.InstanceGroups" />
                                <xml-element java-attribute="zones" name="zones" type="inventory.aai.onap.org.v11.Zones" />
+                               <xml-element java-attribute="configurations" name="configurations" type="inventory.aai.onap.org.v11.Configurations" />
                        </java-attributes>
                </java-type>
         <java-type name="Configurations">
                <java-type name="Configuration">
                        <xml-root-element name="configuration" />
                        <java-attributes>
-                               <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
-                                       <xml-properties>
-                                               <xml-property name="description" value="Indicates the entity that will manage this feature. Could be an organization or the name of the application as well." />
-                                       </xml-properties>
-                               </xml-element>
                                <xml-element java-attribute="configurationId" name="configuration-id" required="true" type="java.lang.String" xml-key="true">
                                        <xml-properties>
                                                <xml-property name="description" value="UUID assigned to configuration." />
                                        </xml-properties>
                                </xml-element>
+                               <xml-element java-attribute="managementOption" name="management-option" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="Indicates the entity that will manage this feature. Could be an organization or the name of the application as well." />
+                                       </xml-properties>
+                               </xml-element>                          
                                <xml-element java-attribute="configurationName" name="configuration-name" type="java.lang.String">
                                        <xml-properties>
                                                <xml-property name="description" value="Name of the configuration." />
                                <xml-property name="uniqueProps" value="configuration-id" />
                                <xml-property name="container" value="configurations" />
                                <xml-property name="namespace" value="network" />
+                               <xml-property name="nameProps" value="configuration-type" />
                        </xml-properties>
                </java-type>
 
                                                <xml-property name="description" value="Unique id of VNF.  This is unique across the graph." />
                                        </xml-properties>
                                </xml-element>
+                               <xml-element java-attribute="vnfInstanceId" name="vnf-instance-id" required="false" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="vnf instance id." />
+                                       </xml-properties>
+                               </xml-element>
                                <xml-element java-attribute="vnfName" name="vnf-name" required="true" type="java.lang.String">
                                        <xml-properties>
                                                <xml-property name="description" value="Name of VNF." />
                                                <xml-property name="suggestibleOnSearch" value="true"/>
                                        </xml-properties>
                                </xml-element>
+                               <xml-element java-attribute="vnfPackageName" name="vnf-package-name" required="false" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value=""/>
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="vnfDiscriptorName" name="vnf-discriptor-name" required="false" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="vnf discriptor name"/>
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="jobId" name="job-id" required="false" type="java.lang.String">
+                                       <xml-properties>
+                                               <xml-property name="description" value="job id corresponding to vnf"/>
+                                       </xml-properties>
+                               </xml-element>
                                <xml-element java-attribute="heatStackId" name="heat-stack-id" type="java.lang.String">
                                        <xml-properties>
                                                <xml-property name="description" value="Heat stack id corresponding to this instance, managed by MSO" />
                                                <xml-property name="description" value="units associated with vdisk, used for VNFs with no vservers/flavors, to be used only by uCPE" />
                                        </xml-properties>
                                </xml-element>
+                               <xml-element java-attribute="nshd" name="nshd" type="java.lang.Long">
+                                       <xml-properties>
+                                               <xml-property name="description" value="number of associated SHD in vnf." />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="nvm" name="nvm" type="java.lang.Long">
+                                       <xml-properties>
+                                               <xml-property name="description" value="number of vms in vnf." />
+                                       </xml-properties>
+                               </xml-element>
+                               <xml-element java-attribute="nnet" name="nnet" type="java.lang.Long">
+                                       <xml-properties>
+                                               <xml-property name="description" value="number of network in vnf." />
+                                       </xml-properties>
+                               </xml-element>
                                <xml-element default-value="false" required="true" java-attribute="inMaint" name="in-maint" type="java.lang.Boolean">
                                        <xml-properties>
                                                <xml-property name="defaultValue" value="false"/>