diff options
author | Michael Lando <ml636r@att.com> | 2018-07-29 16:13:45 +0300 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2018-07-29 16:20:34 +0300 |
commit | 5b593496b8f1b8e8be8d7d2dbcc223332e65a49b (patch) | |
tree | 2f9dfc45191e723da69cf74be7829784e9741b94 /catalog-be/src/main/resources/application-context.xml | |
parent | 9200382f2ce7b4bb729aa287d0878004b2d2b4f9 (diff) |
re base code
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5
Issue-ID: SDC-1566
Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-be/src/main/resources/application-context.xml')
-rw-r--r-- | catalog-be/src/main/resources/application-context.xml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/catalog-be/src/main/resources/application-context.xml b/catalog-be/src/main/resources/application-context.xml index b34ad69ffb..b3dcbc1de1 100644 --- a/catalog-be/src/main/resources/application-context.xml +++ b/catalog-be/src/main/resources/application-context.xml @@ -14,8 +14,8 @@ base-package= "org.openecomp.sdc.be.components.health, org.openecomp.sdc.be.servlets, org.openecomp.sdc.be.externalapi.servlet, - org.openecomp.sdc.be.components.scheduledtasks, - org.openecomp.sdc.be.model.jsontitan.utils"> + org.openecomp.sdc.be.components.scheduledtasks + "> </context:component-scan> <bean class="org.openecomp.sdc.be.dao.config.DAOSpringConfig"/> @@ -24,6 +24,14 @@ <bean class="org.openecomp.sdc.config.CatalogBESpringConfig"/> + <aop:config> + <aop:aspect id="lockAspect" ref="componentLockAspect"> + <aop:pointcut id="lockingTransaction" expression="@annotation(org.openecomp.sdc.be.components.impl.lock.LockingTransactional) and args(componentId, componentType,..)"/> + <aop:around method="lock" arg-names="proceedingJoinPoint,componentId,componentType" pointcut-ref="lockingTransaction"/> + </aop:aspect> + </aop:config> + + <util:properties id="elasticsearchConfig" location="file:${config.home}/elasticsearch.yml" /> </beans> |