diff options
Diffstat (limited to 'aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml')
-rw-r--r-- | aai-traversal/src/main/ajsc/ajsc-aai_v1/ajsc-aai/v1/conf/serviceBeans.xml | 47 |
1 files changed, 47 insertions, 0 deletions
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 |