Allow handling of legact model artifacts
[aai/model-loader.git] / src / test / resources / models / named-query-wan-connector.xml
index 5606cf8..55d8fda 100644 (file)
@@ -1,24 +1,4 @@
-<!--
-  ============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/v8">
+<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>
@@ -31,7 +11,7 @@
                                        <related-to>model</related-to>
                                        <relationship-data>
                                                <!-- connector -->
-                                               <relationship-key>model.model-name-version-id</relationship-key>
+                                               <relationship-key>model.model-invariant-id</relationship-key>
                                                <relationship-value>d09dd9da-0148-46cd-a947-591afc844d24
                                                </relationship-value>
                                        </relationship-data>
@@ -44,7 +24,7 @@
                                                        <related-to>model</related-to>
                                                        <relationship-data>
                                                                <!-- vdc -->
-                                                               <relationship-key>model.model-name-version-id</relationship-key>
+                                                               <relationship-key>model.model-invariant-id</relationship-key>
                                                                <relationship-value>997fc7-fca1-451f-b953-9a1e6197b4d6
                                                                </relationship-value>
                                                        </relationship-data>
@@ -57,7 +37,7 @@
                                                                        <related-to>model</related-to>
                                                                        <relationship-data>
                                                                                <!-- logical-link -->
-                                                                               <relationship-key>model.model-name-version-id
+                                                                               <relationship-key>model.model-invariant-id
                                                                                </relationship-key>
                                                                                <relationship-value>897df7ea-8938-42b0-bc57-46e913a4d93b
                                                                                </relationship-value>
@@ -71,7 +51,7 @@
                                                                                        <related-to>model</related-to>
                                                                                        <relationship-data>
                                                                                                <!-- pserver -->
-                                                                                               <relationship-key>model.model-name-version-id
+                                                                                               <relationship-key>model.model-invariant-id
                                                                                                </relationship-key>
                                                                                                <relationship-value>f2b24d95-c582-48d5-b2d6-c5b3a94ce812
                                                                                                </relationship-value>