Skip to content
This repository has been archived by the owner on May 30, 2022. It is now read-only.

Commit

Permalink
Change boot version to 2.5.1 (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
leizhiyuan authored and QilongZhang committed Oct 25, 2018
1 parent 132cd04 commit b9676c3
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 10 deletions.
2 changes: 1 addition & 1 deletion sofa-boot-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofaboot-dependencies</artifactId>
<version>2.4.9</version>
<version>2.5.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 2 additions & 2 deletions sofa-boot-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofaboot-dependencies</artifactId>
<version>2.4.9</version>
<version>2.5.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand All @@ -14,7 +14,7 @@

<properties>
<ark.plugin.name>rpc-sofa-boot-plugin</ark.plugin.name>
<rpc.all.version>5.4.5</rpc.all.version>
<rpc.all.version>5.4.7</rpc.all.version>
</properties>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion sofa-boot-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<properties>
<dubbo_version>2.4.10</dubbo_version>
<cxf.version>3.0.14</cxf.version>
<sofaboot.version>2.4.9</sofaboot.version>
<sofaboot.version>2.5.1</sofaboot.version>
<rpc.starter.version>5.4.7</rpc.starter.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion sofa-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofaboot-dependencies</artifactId>
<version>2.4.9</version>
<version>2.5.1</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
@SpringBootApplication
@SpringBootTest(classes = RpcShutdownTest.class)
@RunWith(SpringRunner.class)
@ImportResource("classpath:spring/readiness.xml")
@ImportResource("classpath:spring/shutdown.xml")
public class RpcShutdownTest extends ActivelyDestroyTest implements ApplicationContextAware {
private static ApplicationContext applicationContext;

Expand Down
5 changes: 1 addition & 4 deletions sofa-boot-starter/src/test/resources/spring/readiness.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
xmlns:sofa="http://sofastack.io/schema/sofaboot"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://sofastack.io/schema/sofaboot http://sofastack.io/schema/sofaboot.xsd">
<bean class="com.alipay.sofa.rpc.test.bean.SampleFacadeImpl" id="sampleFacadeBean"/>
<sofa:service ref="sampleFacadeBean" interface="com.alipay.sofa.rpc.test.bean.SampleFacade">
<sofa:binding.bolt/>
</sofa:service>

<sofa:reference jvm-first="false" interface="com.alipay.sofa.rpc.test.bean.SampleFacade" id="sampleFacade">
<sofa:binding.bolt/>
</sofa:reference>
Expand Down
15 changes: 15 additions & 0 deletions sofa-boot-starter/src/test/resources/spring/shutdown.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?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:sofa="http://sofastack.io/schema/sofaboot"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://sofastack.io/schema/sofaboot http://sofastack.io/schema/sofaboot.xsd">

<bean class="com.alipay.sofa.rpc.test.bean.SampleFacadeImpl" id="sampleFacadeBean"/>
<sofa:service ref="sampleFacadeBean" interface="com.alipay.sofa.rpc.test.bean.SampleFacade">
<sofa:binding.bolt/>
</sofa:service>
<sofa:reference jvm-first="false" interface="com.alipay.sofa.rpc.test.bean.SampleFacade" id="sampleFacade">
<sofa:binding.bolt/>
</sofa:reference>
</beans>
1 change: 1 addition & 0 deletions tools/change_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ sed "s/<rpc.starter.version>.*<\/rpc.starter.version>/<rpc.starter.version>$1<\/
echo "Change rpc version in sofa-boot-plugin ===>"
sed "s/<rpc.starter.version>.*<\/rpc.starter.version>/<rpc.starter.version>$1<\/rpc.starter.version>/" $shellDir/../sofa-boot-plugin/pom.xml
sed "/\/parent/,/<properties/ s/<version>[^\$].*<\/version>/<version>$1<\/version>/" $shellDir/../sofa-boot-plugin/pom.xml
sed "s/<rpc.all.version>.*<\/rpc.all.version>/<rpc.all.version>$1<\/rpc.all.version>/" $shellDir/../sofa-boot-plugin/pom.xml

0 comments on commit b9676c3

Please sign in to comment.