aecpgateway.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <beans xmlns="http://www.springframework.org/schema/beans"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="
  5. http://www.springframework.org/schema/beans
  6. http://www.springframework.org/schema/beans/spring-beans.xsd">
  7. <bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
  8. <property name="locations">
  9. <list>
  10. <value>classpath:application.properties</value>
  11. </list>
  12. </property>
  13. </bean>
  14. <bean id="executableClient" class="com.alibaba.xxpt.gateway.shared.client.http.ExecutableClient" factory-method="getInstance" init-method="init" destroy-method="destroy">
  15. <property name="protocal" value="${xxpt.gateway.protocal}"/>
  16. <property name="domainName" value="${xxpt.gateway.domainName}"/>
  17. <property name="accessKey" value="${xxpt.gateway.accessKey}"/>
  18. <property name="secretKey" value="${xxpt.gateway.secretKey}"/>
  19. </bean>
  20. <bean class="org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator">
  21. <property name="beanNames">
  22. <list>
  23. <value>entityDefineService</value>
  24. <value>mdcEntityDataCallService</value>
  25. </list>
  26. </property>
  27. <property name="interceptorNames">
  28. <list>
  29. <!-- 外部服务认证 --> <value>epaasAdvice</value>
  30. </list>
  31. </property>
  32. </bean>
  33. </beans>