fix:修改配置文件指向资源文件的路径

dev
郭承 4 months ago
parent 45079ee231
commit 451bcd8573

@ -18,8 +18,8 @@
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:redis.properties</value>
<value>classpath:application.properties</value>
<value>file:${XYDL_DIR}/jkpg/redis.properties</value>
<value>file:${XYDL_DIR}/jkpg/application.properties</value>
</list>
</property>
</bean>

@ -6,7 +6,8 @@
http://code.alibabatech.com/schema/dubbo
http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
<dubbo:application name="${base.name}" />
<!--<dubbo:application name="${base.name}" />-->
<dubbo:application name="busi_app_consumer" />
<dubbo:consumer timeout="${base.timeout}" loadbalance="${base.roundrobin}"
retries="${base.retries}" />
<!-- 使用zookeeper注册中心暴露服务地址 -->

@ -17,8 +17,8 @@
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:redis.properties</value>
<value>classpath:application.properties</value>
<value>file:${XYDL_DIR}/jkpg/redis.properties</value>
<value>file:${XYDL_DIR}/jkpg/application.properties</value>
</list>
</property>
<property name="fileEncoding">

@ -6,7 +6,7 @@
http://code.alibabatech.com/schema/dubbo
http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
<dubbo:application name="${base.name}" />
<dubbo:application name="busi_consumer" />
<dubbo:consumer timeout="${base.timeout}" loadbalance="${base.roundrobin}"
retries="${base.retries}" />
<!-- 使用zookeeper注册中心暴露服务地址 -->

@ -61,7 +61,8 @@
scope="prototype">
<property name="patterns">
<list>
<value>${base.service.package}</value>
<!-- <value>${base.service.package}</value> -->
<value>com.huatek.busi.service.*</value>
</list>
</property>
</bean>
@ -85,8 +86,9 @@
<property name="mapperLocations">
<array>
<value>${base.mapper.path}</value>
<value>classpath:com/huatek/torch/sql/mapping/*Mapper.xml</value>
<!-- <value>${base.mapper.path}</value> -->
<value>classpath:com/huatek/busi/mapping/*Mapping.xml</value>
<value>classpath:com/huatek/torch/sql/mapping/*Mapper.xml</value>
</array>
</property>

@ -10,9 +10,9 @@
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:jdbc.properties</value>
<value>classpath:application.properties</value>
<value>classpath:redis.properties</value>
<value>file:${XYDL_DIR}/jkpg/jdbc.properties</value>
<value>file:${XYDL_DIR}/jkpg/application.properties</value>
<value>file:${XYDL_DIR}/jkpg/redis.properties</value>
</list>
</property>
</bean>
@ -22,15 +22,17 @@
<import resource="spring-redis.xml" />
<import resource="spring-quartz.xml" />
<dubbo:application name="${base.name}" />
<dubbo:application name="busi_provider" />
<!-- 使用zookeeper注册中心暴露服务地址 -->
<dubbo:registry address="${base.zookeepr}" />
<!-- 用dubbo协议在28080端口暴露服务 -->
<dubbo:protocol name="dubbo" port="${base.port}"/>
<!-- <dubbo:protocol name="dubbo" port="${base.port}"/> -->
<dubbo:protocol name="dubbo" port="10100"/>
<dubbo:provider timeout="${base.timeout}" threadpool="${base.threadpool}"
threads="${base.threads}" accepts="${base.accepts}" retries="${base.retries}"
filter="busiExceptionFilter,-exception" payload="21557050"/>
<!-- filter="busiExceptionFilter,-exception" -->
<dubbo:annotation package="${base.service.impl.package}" />
<!-- <dubbo:annotation package="${base.service.impl.package}" /> -->
<dubbo:annotation package="com.huatek.busi.service.impl" />
</beans>

@ -20,7 +20,7 @@
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:application.properties</value>
<value>file:${XYDL_DIR}/jkpg/application.properties</value>
</list>
</property>
</bean>

@ -6,7 +6,7 @@
http://code.alibabatech.com/schema/dubbo
http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
<dubbo:application name="${base.name}" />
<dubbo:application name="base_ws_consumer" />
<dubbo:consumer timeout="${base.timeout}" loadbalance="${base.roundrobin}"
retries="${base.retries}" />
<!-- 使用zookeeper注册中心暴露服务地址 -->

@ -18,8 +18,8 @@
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:redis.properties</value>
<value>classpath:application.properties</value>
<value>file:${XYDL_DIR}/jkpg/redis.properties</value>
<value>file:${XYDL_DIR}/jkpg/application.properties</value>
</list>
</property>
</bean>

@ -6,7 +6,7 @@
http://code.alibabatech.com/schema/dubbo
http://code.alibabatech.com/schema/dubbo/dubbo.xsd">
<dubbo:application name="${base.name}" />
<dubbo:application name="base_consumer" />
<dubbo:consumer timeout="${base.timeout}" loadbalance="${base.roundrobin}"
retries="${base.retries}" />
<!-- 使用zookeeper注册中心暴露服务地址 -->

@ -57,7 +57,7 @@
scope="prototype">
<property name="patterns">
<list>
<value>${base.service.package}</value>
<value>com.huatek.frame.base.service.*</value>
</list>
</property>
</bean>
@ -81,7 +81,7 @@
<property name="mapperLocations">
<array>
<value>${base.mapper.path}</value>
<value>classpath:com/huatek/frame/base/mapping/*Mapper.xml</value>
<value>classpath:com/huatek/torch/sql/mapping/*Mapper.xml</value>
</array>
</property>

@ -10,9 +10,9 @@
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>classpath:jdbc.properties</value>
<value>classpath:application.properties</value>
<value>classpath:redis.properties</value>
<value>file:${XYDL_DIR}/jkpg/jdbc.properties</value>
<value>file:${XYDL_DIR}/jkpg/application.properties</value>
<value>file:${XYDL_DIR}/jkpg/redis.properties</value>
</list>
</property>
</bean>
@ -21,13 +21,13 @@
<import resource="spring-database.xml" />
<import resource="spring-redis.xml" />
<dubbo:application name="${base.name}" />
<dubbo:application name="base_provider" />
<!-- 使用zookeeper注册中心暴露服务地址 -->
<dubbo:registry address="${base.zookeepr}" />
<!-- 用dubbo协议在28080端口暴露服务 -->
<dubbo:protocol name="dubbo" port="${base.port}" />
<dubbo:protocol name="dubbo" port="10001" />
<dubbo:provider timeout="${base.timeout}" threadpool="${base.threadpool}"
threads="${base.threads}" accepts="${base.accepts}" retries="${base.retries}" />
<dubbo:annotation package="${base.service.impl.package}" />
<dubbo:annotation package="com.huatek.frame.base.service.impl" />
</beans>
Loading…
Cancel
Save