aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/ajsc
diff options
context:
space:
mode:
authorDaniel Silverthorn <daniel.silverthorn@amdocs.com>2017-05-04 13:08:13 -0400
committerDaniel Silverthorn <daniel.silverthorn@amdocs.com>2017-05-09 12:05:00 -0400
commitc75a08a749718fc5ef25f8c2f826939be657c0bf (patch)
treee2a2e29f8ebc54f6e2eeac6df63d8ca2189d39a0 /src/main/ajsc
parent30b899f10fb4fe638a973061bad6f8ba87003494 (diff)
Initial search service commit
Changing common logging dep Change-Id: I454697a9df0ee63f43d7b7d2a3818fe2d9b7bcf2 Signed-off-by: Daniel Silverthorn <daniel.silverthorn@amdocs.com>
Diffstat (limited to 'src/main/ajsc')
-rw-r--r--src/main/ajsc/search-data-service_v1/search-data-service/v1/conf/jaxrsBeans.groovy14
-rw-r--r--src/main/ajsc/search-data-service_v1/search-data-service/v1/conf/searchBeans.groovy13
-rw-r--r--src/main/ajsc/search-data-service_v1/search-data-service/v1/docs/README.txt1
-rw-r--r--src/main/ajsc/search-data-service_v1/search-data-service/v1/lib/README.txt1
-rw-r--r--src/main/ajsc/search-data-service_v1/search-data-service/v1/props/module.props1
-rw-r--r--src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/errorMessage.route4
-rw-r--r--src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/jaxrsExample.route4
-rw-r--r--src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/searchEngine.route4
8 files changed, 42 insertions, 0 deletions
diff --git a/src/main/ajsc/search-data-service_v1/search-data-service/v1/conf/jaxrsBeans.groovy b/src/main/ajsc/search-data-service_v1/search-data-service/v1/conf/jaxrsBeans.groovy
new file mode 100644
index 0000000..24ec0da
--- /dev/null
+++ b/src/main/ajsc/search-data-service_v1/search-data-service/v1/conf/jaxrsBeans.groovy
@@ -0,0 +1,14 @@
+beans {
+ xmlns cxf: "http://camel.apache.org/schema/cxf"
+ xmlns jaxrs: "http://cxf.apache.org/jaxrs"
+ xmlns util: "http://www.springframework.org/schema/util"
+
+ echoService(org.openecomp.sa.searchdbabstraction.JaxrsEchoService)
+ userService(org.openecomp.sa.searchdbabstraction.JaxrsUserService)
+ searchService(org.openecomp.sa.searchdbabstraction.service.SearchService)
+
+ util.list(id: 'jaxrsServices') {
+ ref(bean: 'echoService')
+ ref(bean: 'userService')
+ }
+}
diff --git a/src/main/ajsc/search-data-service_v1/search-data-service/v1/conf/searchBeans.groovy b/src/main/ajsc/search-data-service_v1/search-data-service/v1/conf/searchBeans.groovy
new file mode 100644
index 0000000..dddedfa
--- /dev/null
+++ b/src/main/ajsc/search-data-service_v1/search-data-service/v1/conf/searchBeans.groovy
@@ -0,0 +1,13 @@
+import org.openecomp.sa.rest.SearchServiceApi
+
+beans {
+ xmlns cxf: "http://camel.apache.org/schema/cxf"
+ xmlns jaxrs: "http://cxf.apache.org/jaxrs"
+ xmlns util: "http://www.springframework.org/schema/util"
+
+ searchServiceAPI(SearchServiceApi)
+
+ util.list(id: 'searchServices') {
+ ref(bean: 'searchServiceAPI')
+ }
+} \ No newline at end of file
diff --git a/src/main/ajsc/search-data-service_v1/search-data-service/v1/docs/README.txt b/src/main/ajsc/search-data-service_v1/search-data-service/v1/docs/README.txt
new file mode 100644
index 0000000..3707179
--- /dev/null
+++ b/src/main/ajsc/search-data-service_v1/search-data-service/v1/docs/README.txt
@@ -0,0 +1 @@
+Place any docs here that you want to access within the ajsc upon deployment of your service.
diff --git a/src/main/ajsc/search-data-service_v1/search-data-service/v1/lib/README.txt b/src/main/ajsc/search-data-service_v1/search-data-service/v1/lib/README.txt
new file mode 100644
index 0000000..639e21b
--- /dev/null
+++ b/src/main/ajsc/search-data-service_v1/search-data-service/v1/lib/README.txt
@@ -0,0 +1 @@
+3rd party JAR's needed by your jars (if any) for a ajsc deployment package go here... \ No newline at end of file
diff --git a/src/main/ajsc/search-data-service_v1/search-data-service/v1/props/module.props b/src/main/ajsc/search-data-service_v1/search-data-service/v1/props/module.props
new file mode 100644
index 0000000..17ebc08
--- /dev/null
+++ b/src/main/ajsc/search-data-service_v1/search-data-service/v1/props/module.props
@@ -0,0 +1 @@
+EXAMPLE.PROPERTY=EXAMLE_VALUE \ No newline at end of file
diff --git a/src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/errorMessage.route b/src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/errorMessage.route
new file mode 100644
index 0000000..7c08576
--- /dev/null
+++ b/src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/errorMessage.route
@@ -0,0 +1,4 @@
+<route xmlns="http://camel.apache.org/schema/spring" trace="true">
+ <from uri="servlet:/__module_ajsc_namespace_name__/__module_ajsc_namespace_version__/errorMessageLookupService2"/>
+ <to uri="bean:errorMessageLookupService?method=getExceptionDetails"/>
+</route> \ No newline at end of file
diff --git a/src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/jaxrsExample.route b/src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/jaxrsExample.route
new file mode 100644
index 0000000..367812e
--- /dev/null
+++ b/src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/jaxrsExample.route
@@ -0,0 +1,4 @@
+<route xmlns="http://camel.apache.org/schema/spring" trace="true">
+ <from uri="servlet:///__module_ajsc_namespace_name__/__module_ajsc_namespace_version__/jaxrsExample?matchOnUriPrefix=true" />
+ <to uri="cxfbean:jaxrsServices" />
+</route> \ No newline at end of file
diff --git a/src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/searchEngine.route b/src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/searchEngine.route
new file mode 100644
index 0000000..ef8e950
--- /dev/null
+++ b/src/main/ajsc/search-data-service_v1/search-data-service/v1/routes/searchEngine.route
@@ -0,0 +1,4 @@
+<route xmlns="http://camel.apache.org/schema/spring" trace="true">
+ <from uri="servlet:///__module_ajsc_namespace_name__/__module_ajsc_namespace_version__/search?matchOnUriPrefix=true" />
+ <to uri="cxfbean:searchServices" />
+</route> \ No newline at end of file