Implement support for v10 model entities.
[aai/model-loader.git] / src / main / ajsc / model-loader_v1 / model-loader / v1 / conf / modelLoaderBeans.groovy
diff --git a/src/main/ajsc/model-loader_v1/model-loader/v1/conf/modelLoaderBeans.groovy b/src/main/ajsc/model-loader_v1/model-loader/v1/conf/modelLoaderBeans.groovy
new file mode 100644 (file)
index 0000000..2162213
--- /dev/null
@@ -0,0 +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");\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=========================================================\r
+ */\r
+\r
+beans{\r
+       xmlns cxf: "http://camel.apache.org/schema/cxf"\r
+       xmlns jaxrs: "http://cxf.apache.org/jaxrs"\r
+       xmlns util: "http://www.springframework.org/schema/util"\r
+       \r
+       modelLoader(org.openecomp.modelloader.service.ModelLoaderService)\r
+       \r
+       util.list(id: 'modelLoaderServices') {\r
+               ref(bean:'modelLoader')\r
+       }\r
+}\r