blob: b3dcbc1de185391903e185b77c2684a31a59e43d [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001<?xml version="1.0" encoding="UTF-8"?>
2<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context"
3 xmlns:aop="http://www.springframework.org/schema/aop" xmlns:util="http://www.springframework.org/schema/util"
4 xsi:schemaLocation="
5 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
6 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.1.xsd
7 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
8 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd">
9
10 <context:annotation-config />
11 <aop:aspectj-autoproxy proxy-target-class="true" />
12
13 <context:component-scan
Michael Landoa5445102018-03-04 14:53:33 +020014 base-package= "org.openecomp.sdc.be.components.health,
15 org.openecomp.sdc.be.servlets,
16 org.openecomp.sdc.be.externalapi.servlet,
Michael Lando5b593492018-07-29 16:13:45 +030017 org.openecomp.sdc.be.components.scheduledtasks
18 ">
Michael Landoa5445102018-03-04 14:53:33 +020019 </context:component-scan>
Michael Landoed64b5e2017-06-09 03:19:04 +030020
21 <bean class="org.openecomp.sdc.be.dao.config.DAOSpringConfig"/>
Michael Landoa5445102018-03-04 14:53:33 +020022 <bean class="org.openecomp.sdc.be.config.CatalogModelSpringConfig"/>
23 <bean class="org.openecomp.sdc.be.components.distribution.engine.config.DistributionEngineSpringConfig"/>
24 <bean class="org.openecomp.sdc.config.CatalogBESpringConfig"/>
25
Michael Landoed64b5e2017-06-09 03:19:04 +030026
Michael Lando5b593492018-07-29 16:13:45 +030027 <aop:config>
28 <aop:aspect id="lockAspect" ref="componentLockAspect">
29 <aop:pointcut id="lockingTransaction" expression="@annotation(org.openecomp.sdc.be.components.impl.lock.LockingTransactional) and args(componentId, componentType,..)"/>
30 <aop:around method="lock" arg-names="proceedingJoinPoint,componentId,componentType" pointcut-ref="lockingTransaction"/>
31 </aop:aspect>
32 </aop:config>
33
34
Michael Lando451a3402017-02-19 10:28:42 +020035 <util:properties id="elasticsearchConfig" location="file:${config.home}/elasticsearch.yml" />
36
37</beans>