Implement support for v10 model entities.
[aai/model-loader.git] / src / main / ajsc / model-loader_v1 / model-loader / v1 / routes / modelLoader.route
@@ -1,27 +1,24 @@
-<!--
+<!--\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
+<route xmlns="http://camel.apache.org/schema/spring" trace="true">\r
+  <from uri="att-dme2-servlet:///__module_ajsc_namespace_name__/__module_ajsc_namespace_version__/model-service?matchOnUriPrefix=true" />\r
+  <to uri="cxfbean:modelLoaderServices" />\r
+</route>\r