Initial OpenECOMP A&AI Model Loader commit
[aai/model-loader.git] / src / test / resources / models / named-query-wan-connector.xml
diff --git a/src/test/resources/models/named-query-wan-connector.xml b/src/test/resources/models/named-query-wan-connector.xml
new file mode 100644 (file)
index 0000000..d0d5a05
--- /dev/null
@@ -0,0 +1,90 @@
+<!--
+  ============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
+  limitations under the License.
+  ============LICENSE_END=========================================================
+  -->
+
+<named-query xmlns="http://org.openecomp.aai.inventory/v7">
+       <named-query-uuid>94cac189-8d88-4d63-a194-f44214e080ff
+       </named-query-uuid>
+       <named-query-name>wan-connector</named-query-name>
+       <named-query-version>v1.0</named-query-version>
+       <description>Named Query - Wan Connector</description>
+       <named-query-elements>
+               <named-query-element>
+                       <relationship-list>
+                               <relationship>
+                                       <related-to>model</related-to>
+                                       <relationship-data>
+                                               <!-- connector -->
+                                               <relationship-key>model.model-name-version-id</relationship-key>
+                                               <relationship-value>d09dd9da-0148-46cd-a947-591afc844d24
+                                               </relationship-value>
+                                       </relationship-data>
+                               </relationship>
+                       </relationship-list>
+                       <named-query-elements>
+                               <named-query-element>
+                                       <relationship-list>
+                                               <relationship>
+                                                       <related-to>model</related-to>
+                                                       <relationship-data>
+                                                               <!-- vdc -->
+                                                               <relationship-key>model.model-name-version-id</relationship-key>
+                                                               <relationship-value>997fc7-fca1-451f-b953-9a1e6197b4d6
+                                                               </relationship-value>
+                                                       </relationship-data>
+                                               </relationship>
+                                       </relationship-list>
+                                       <named-query-elements>
+                                               <named-query-element>
+                                                       <relationship-list>
+                                                               <relationship>
+                                                                       <related-to>model</related-to>
+                                                                       <relationship-data>
+                                                                               <!-- logical-link -->
+                                                                               <relationship-key>model.model-name-version-id
+                                                                               </relationship-key>
+                                                                               <relationship-value>897df7ea-8938-42b0-bc57-46e913a4d93b
+                                                                               </relationship-value>
+                                                                       </relationship-data>
+                                                               </relationship>
+                                                       </relationship-list>
+                                                       <named-query-elements>
+                                                               <named-query-element>
+                                                                       <relationship-list>
+                                                                               <relationship>
+                                                                                       <related-to>model</related-to>
+                                                                                       <relationship-data>
+                                                                                               <!-- pserver -->
+                                                                                               <relationship-key>model.model-name-version-id
+                                                                                               </relationship-key>
+                                                                                               <relationship-value>f2b24d95-c582-48d5-b2d6-c5b3a94ce812
+                                                                                               </relationship-value>
+                                                                                       </relationship-data>
+                                                                               </relationship>
+                                                                       </relationship-list>
+                                                               </named-query-element>
+                                                       </named-query-elements>
+                                               </named-query-element>
+                                       </named-query-elements>
+                               </named-query-element>
+                       </named-query-elements>
+               </named-query-element>
+       </named-query-elements>
+</named-query>
+