knightliao 9 年之前
父節點
當前提交
9af37f99af

+ 1 - 1
disconf-client/pom.xml

@@ -10,7 +10,7 @@
     <parent>
         <groupId>com.baidu.disconf</groupId>
         <artifactId>disconf-base</artifactId>
-        <version>2.6.30-SNAPSHOT</version>
+        <version>2.6.30</version>
     </parent>
 
     <licenses>

+ 1 - 0
disconf-client/src/test/java/com/baidu/disconf/client/test/DisconfMgrTestCase.java

@@ -93,6 +93,7 @@ public class DisconfMgrTestCase extends BaseSpringMockTestCase {
             fileSet.add("atomserverl.properties");
             fileSet.add("atomserverm_slave.properties");
             DisconfCenterHostFilesStore.getInstance().addJustHostFileSet(fileSet);
+
             DisconfMgr.getInstance().start(StringUtil.parseStringToStringList(ScanPackTestCase.SCAN_PACK_NAME,
                     DisconfMgrBean.SCAN_SPLIT_TOKEN));
 

+ 7 - 5
disconf-client/src/test/resources/applicationContext.xml

@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <beans xmlns="http://www.springframework.org/schema/beans"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
-    xmlns:tx="http://www.springframework.org/schema/tx" xmlns:context="http://www.springframework.org/schema/context"
-    xsi:schemaLocation="http://www.springframework.org/schema/beans 
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
+       xmlns:context="http://www.springframework.org/schema/context"
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
         http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
         http://www.springframework.org/schema/aop 
         http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
@@ -11,8 +11,10 @@
         http://www.springframework.org/schema/context/spring-context-3.0.xsd
         ">
 
-    <context:component-scan base-package="com.baidu" />
+    <context:component-scan base-package="com.baidu"/>
 
-    <aop:aspectj-autoproxy proxy-target-class="true" />
+    <aop:aspectj-autoproxy proxy-target-class="true"/>
+
+    <bean class="com.baidu.disconf.client.store.aspect.DisconfAspectJ"/>
 
 </beans>

+ 1 - 1
disconf-core/pom.xml

@@ -13,7 +13,7 @@
     <parent>
         <groupId>com.baidu.disconf</groupId>
         <artifactId>disconf-base</artifactId>
-        <version>2.6.30-SNAPSHOT</version>
+        <version>2.6.30</version>
     </parent>
 
     <licenses>

+ 1 - 1
disconf-web/pom.xml

@@ -12,7 +12,7 @@
     <parent>
         <groupId>com.baidu.disconf</groupId>
         <artifactId>disconf-base</artifactId>
-        <version>2.6.30-SNAPSHOT</version>
+        <version>2.6.30</version>
     </parent>
 
     <dependencies>

+ 4 - 4
pom.xml

@@ -5,7 +5,7 @@
 
     <groupId>com.baidu.disconf</groupId>
     <artifactId>disconf-base</artifactId>
-    <version>2.6.30-SNAPSHOT</version>
+    <version>2.6.30</version>
     <packaging>pom</packaging>
 
     <modules>
@@ -25,9 +25,9 @@
 
     <properties>
         <!-- 模块版本号 -->
-        <disconf-core.version>2.6.30-SNAPSHOT</disconf-core.version>
-        <disconf-client.version>2.6.30-SNAPSHOT</disconf-client.version>
-        <disconf-client-spring.version>2.6.30-SNAPSHOT</disconf-client-spring.version>
+        <disconf-core.version>2.6.30</disconf-core.version>
+        <disconf-client.version>2.6.30</disconf-client.version>
+        <disconf-client-spring.version>2.6.30</disconf-client-spring.version>
 
         <!-- Spring項目配置 -->
         <encoding>UTF-8</encoding>