aboutsummaryrefslogtreecommitdiffstats
path: root/aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-05-12 17:36:59 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-05-12 17:37:13 -0400
commitb5b99b72733ca5c064b46fdf4527ace28b8b545b (patch)
treeb1606e7d824e5d56b3530f724bf7bf326f9a7833 /aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf
parentb6a2b26886ac329dd0836270127c1b9d283c3659 (diff)
Add all of the traversal source files
Change-Id: Id31f4bdda9c86f782f86829f8b86dada959a9729 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf')
-rw-r--r--aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/FileMonitorBeans.xml20
-rw-r--r--aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/jaxrsBeans.groovy26
-rw-r--r--aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml47
3 files changed, 93 insertions, 0 deletions
diff --git a/aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/FileMonitorBeans.xml b/aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/FileMonitorBeans.xml
new file mode 100644
index 0000000..9e3e060
--- /dev/null
+++ b/aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/FileMonitorBeans.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
+
+ <!--<bean-->
+ <!--class="org.springframework.context.annotation.CommonAnnotationBeanPostProcessor" />-->
+ <!---->
+ <!--<bean id="ServicePropertiesListener" class="org.openecomp.aai.ajsc_aai.filemonitor.ServicePropertiesListener" />-->
+ <!---->
+ <!--<bean id="ServicePropertiesMap" class="org.openecomp.aai.ajsc_aai.filemonitor.ServicePropertiesMap" />-->
+
+ <!--<bean id="ServicePropertyService" class="org.openecomp.aai.ajsc_aai.filemonitor.ServicePropertyService">-->
+ <!--<property name="loadOnStartup" value="false" />-->
+ <!--<property name="fileChangedListener" ref="ServicePropertiesListener" />-->
+ <!--<property name="filePropertiesMap" ref="ServicePropertiesMap" />-->
+ <!--<property name="ssfFileMonitorPollingInterval" value="15" />-->
+ <!--<property name="ssfFileMonitorThreadpoolSize" value="10" />-->
+ <!--</bean>-->
+</beans>
diff --git a/aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/jaxrsBeans.groovy b/aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/jaxrsBeans.groovy
new file mode 100644
index 0000000..4029d25
--- /dev/null
+++ b/aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/jaxrsBeans.groovy
@@ -0,0 +1,26 @@
+beans{
+ xmlns cxf: "http://camel.apache.org/schema/cxf"
+ xmlns jaxrs: "http://cxf.apache.org/jaxrs"
+ xmlns util: "http://www.springframework.org/schema/util"
+
+ SearchProvider(org.openecomp.aai.rest.search.SearchProvider)
+ ModelAndNamedQueryRestProvider(org.openecomp.aai.rest.search.ModelAndNamedQueryRestProvider)
+ QueryConsumer(org.openecomp.aai.rest.QueryConsumer)
+
+ V3ThroughV7Retired(org.openecomp.aai.rest.retired.V3ThroughV7Consumer)
+ V7V8NamedQueries(org.openecomp.aai.rest.retired.V7V8NamedQueries)
+
+ EchoResponse(org.openecomp.aai.rest.util.EchoResponse)
+
+
+ util.list(id: 'jaxrsServices') {
+
+ ref(bean:'SearchProvider')
+ ref(bean:'ModelAndNamedQueryRestProvider')
+ ref(bean:'QueryConsumer')
+ ref(bean: 'V7V8NamedQueries')
+ ref(bean:'V3ThroughV7Retired')
+
+ ref(bean:'EchoResponse')
+ }
+} \ No newline at end of file
diff --git a/aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml b/aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml
new file mode 100644
index 0000000..f4bc26a
--- /dev/null
+++ b/aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml
@@ -0,0 +1,47 @@
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cxf="http://cxf.apache.org/core"
+ xmlns:context="http://www.springframework.org/schema/context"
+ xmlns:task="http://www.springframework.org/schema/task" xmlns:jms="http://www.springframework.org/schema/jms"
+ xsi:schemaLocation="
+ http://cxf.apache.org/core
+ http://cxf.apache.org/schemas/core.xsd
+ http://www.springframework.org/schema/beans
+ http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://www.springframework.org/schema/context
+ http://www.springframework.org/schema/context/spring-context-2.5.xsd
+ http://www.springframework.org/schema/task
+ http://www.springframework.org/schema/task/spring-task-3.0.xsd
+ http://www.springframework.org/schema/jms
+ http://www.springframework.org/schema/jms/spring-jms-4.1.xsd">
+
+ <!-- Your bean definitions goes here -->
+ <!-- <bean id="performanceLog" name="performanceLog" class="com.att.ajsc.csi.logging.PerformanceTracking"
+ /> -->
+ <!-- <bean id="processRestletHeaders" name="processRestletHeaders" class="ajsc.restlet.ProcessRestletHeaders"
+ /> -->
+ <bean id="servicePropsBean" name="servicePropsBean"
+ class="org.openecomp.aai.ajsc_aai.util.ServicePropertiesMapBean" />
+ <bean id="jsonProvider" class="org.openecomp.aai.restcore.CustomJacksonJaxBJsonProvider" />
+
+ <bean id="inInterceptor" class="org.openecomp.aai.interceptors.AAILogJAXRSInInterceptor" />
+ <bean id="outInterceptor" class="org.openecomp.aai.interceptors.AAILogJAXRSOutInterceptor" />
+ <cxf:bus bus="cxfBus">
+ <cxf:inInterceptors>
+ <ref bean="inInterceptor" />
+ </cxf:inInterceptors>
+ <cxf:outInterceptors>
+ <ref bean="outInterceptor" />
+ </cxf:outInterceptors>
+ </cxf:bus>
+ <context:component-scan base-package="org.openecomp.aai.tasks" />
+
+ <task:scheduler id="taskScheduler" pool-size="10" />
+ <task:executor id="taskExecutor" pool-size="10"
+ queue-capacity="5" />
+ <task:annotation-driven executor="taskExecutor"
+ scheduler="taskScheduler" />
+
+
+
+
+</beans> \ No newline at end of file