aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/onap')
-rw-r--r--src/main/java/org/onap/aai/datarouter/Application.java14
-rw-r--r--src/main/java/org/onap/aai/datarouter/SpringXMLConfig.java11
2 files changed, 25 insertions, 0 deletions
diff --git a/src/main/java/org/onap/aai/datarouter/Application.java b/src/main/java/org/onap/aai/datarouter/Application.java
new file mode 100644
index 0000000..e81ba3e
--- /dev/null
+++ b/src/main/java/org/onap/aai/datarouter/Application.java
@@ -0,0 +1,14 @@
+package org.onap.aai.datarouter;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+
+@SpringBootApplication
+public class Application {
+
+ public static void main(String[] args) {
+ SpringApplication.run(Application.class, args);
+ }
+
+} \ No newline at end of file
diff --git a/src/main/java/org/onap/aai/datarouter/SpringXMLConfig.java b/src/main/java/org/onap/aai/datarouter/SpringXMLConfig.java
new file mode 100644
index 0000000..1d9234c
--- /dev/null
+++ b/src/main/java/org/onap/aai/datarouter/SpringXMLConfig.java
@@ -0,0 +1,11 @@
+package org.onap.aai.datarouter;
+
+import org.springframework.context.annotation.Configuration;
+import org.springframework.context.annotation.ImportResource;
+
+@Configuration
+@ImportResource({"file:${SERVICE_BEANS}/*.xml"})
+public class SpringXMLConfig {
+
+
+} \ No newline at end of file