Implement support for v10 model entities.
[aai/model-loader.git] / src / test / resources / models / l3-network-widget.xml
similarity index 73%
rename from src/test/resources/models/vnf-model.xml
rename to src/test/resources/models/l3-network-widget.xml
index 2dd44b5..1e50300 100644 (file)
@@ -1,27 +1,31 @@
-<!--
+<!--\r
   ============LICENSE_START=======================================================
   MODEL LOADER SERVICE
   ================================================================================
   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
-  
-       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
+  Licensed under the Apache License, Version 2.0 (the "License");\r
+  you may not use this file except in compliance with the License.\r
+  You may obtain a copy of the License at\r
+  \r
+       http://www.apache.org/licenses/LICENSE-2.0\r
+  \r
+  Unless required by applicable law or agreed to in writing, software\r
+  distributed under the License is distributed on an "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+  See the License for the specific language governing permissions and\r
   limitations under the License.
-  ============LICENSE_END=========================================================
-  -->
-
-<model xmlns="http://org.openecomp.aai.inventory/v8">
-       <model-id>model-id</model-id>
-       <model-type>widget</model-type>
-       <model-name>generic-vnf</model-name>
-       <model-version>v1.0</model-version>
-       <model-name-version-id>model-vid</model-name-version-id>
-</model>
+  ============LICENSE_END=========================================================\r
+  -->\r
+\r
+<model xmlns="http://org.openecomp.aai.inventory/v9">\r
+   <model-invariant-id>3d560d81-57d0-438b-a2a1-5334dba0651a</model-invariant-id>\r
+       <model-type>widget</model-type>\r
+       <model-vers>\r
+               <model-ver>\r
+                       <model-version-id>9111f20f-e680-4001-b83f-19a2fc23bfc1</model-version-id>\r
+                       <model-version>1.0</model-version>\r
+                       <model-name>l3-network</model-name>\r
+               </model-ver>\r
+       </model-vers>\r
+</model>\r