diff options
author | Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com> | 2018-03-27 16:46:32 -0400 |
---|---|---|
committer | Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com> | 2018-03-27 17:09:31 -0400 |
commit | 5da95c0df892b635db68550a3321e0e48c9e78f8 (patch) | |
tree | 7ede3891637e2d9032da2141b5952b36cc0cda33 /src/main/java/org/onap | |
parent | 047ade94d55a1b6d8c352168652140f3579198ac (diff) |
Moving data-router to Springboot for security
Change-Id: I7a02720c4e0a79619ed6b309ff1f65f4d755c364
Issue-ID: AAI-590
Signed-off-by: Bansal, Nitin (nb121v) <nitin.bansal@amdocs.com>
Diffstat (limited to 'src/main/java/org/onap')
-rw-r--r-- | src/main/java/org/onap/aai/datarouter/Application.java | 14 | ||||
-rw-r--r-- | src/main/java/org/onap/aai/datarouter/SpringXMLConfig.java | 11 |
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 |