Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 1 | <?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 Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 14 | base-package= "org.openecomp.sdc.be.components.health, |
| 15 | org.openecomp.sdc.be.servlets, |
| 16 | org.openecomp.sdc.be.externalapi.servlet, |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame^] | 17 | org.openecomp.sdc.be.components.scheduledtasks |
| 18 | "> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 19 | </context:component-scan> |
Michael Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 20 | |
| 21 | <bean class="org.openecomp.sdc.be.dao.config.DAOSpringConfig"/> |
Michael Lando | a544510 | 2018-03-04 14:53:33 +0200 | [diff] [blame] | 22 | <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 Lando | ed64b5e | 2017-06-09 03:19:04 +0300 | [diff] [blame] | 26 | |
Michael Lando | 5b59349 | 2018-07-29 16:13:45 +0300 | [diff] [blame^] | 27 | <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 Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 35 | <util:properties id="elasticsearchConfig" location="file:${config.home}/elasticsearch.yml" /> |
| 36 | |
| 37 | </beans> |