Skip to content

Commit c60093b

Browse files
authored
Release 3.1.3 (sofastack#373)
1 parent e373c2e commit c60093b

27 files changed

Lines changed: 32 additions & 30 deletions

File tree

healthcheck-sofa-boot-starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.alipay.sofa</groupId>
2424
<artifactId>sofa-boot-runtime</artifactId>
25-
<version>3.1.3-SNAPSHOT</version>
25+
<version>3.1.3</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828

infra-sofa-boot-starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.alipay.sofa</groupId>
2424
<artifactId>sofa-boot-runtime</artifactId>
25-
<version>3.1.3-SNAPSHOT</version>
25+
<version>3.1.3</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<modelVersion>4.0.0</modelVersion>

isle-sofa-boot-starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.alipay.sofa</groupId>
77
<artifactId>sofa-boot-runtime</artifactId>
8-
<version>3.1.3-SNAPSHOT</version>
8+
<version>3.1.3</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<modelVersion>4.0.0</modelVersion>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
<parent>
2424
<groupId>com.alipay.sofa</groupId>
2525
<artifactId>sofaboot-dependencies</artifactId>
26-
<version>3.1.3-SNAPSHOT</version>
26+
<version>3.1.3</version>
2727
</parent>
2828

2929
<modelVersion>4.0.0</modelVersion>
3030
<artifactId>sofa-boot-runtime</artifactId>
31-
<version>3.1.3-SNAPSHOT</version>
31+
<version>3.1.3</version>
3232
<packaging>pom</packaging>
3333

3434
<name>SOFABoot Runtime</name>

runtime-sofa-boot-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.alipay.sofa</groupId>
2424
<artifactId>sofa-boot-runtime</artifactId>
25-
<version>3.1.3-SNAPSHOT</version>
25+
<version>3.1.3</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<modelVersion>4.0.0</modelVersion>

runtime-sofa-boot-starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>com.alipay.sofa</groupId>
2424
<artifactId>sofa-boot-runtime</artifactId>
25-
<version>3.1.3-SNAPSHOT</version>
25+
<version>3.1.3</version>
2626
<relativePath>../pom.xml</relativePath>
2727
</parent>
2828
<modelVersion>4.0.0</modelVersion>

runtime-sofa-boot-starter/src/main/java/com/alipay/sofa/runtime/integration/service/SofaEventHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
public class SofaEventHandler implements EventHandler {
3333
@Override
3434
public void handleEvent(ArkEvent event) {
35-
if (Constants.BIZ_EVENT_TOPIC_UNINSTALL.equals(event.getTopic())) {
35+
if (Constants.BIZ_EVENT_TOPIC_AFTER_INVOKE_BIZ_STOP.equals(event.getTopic())) {
3636
doUninstallBiz((BizEvent) event);
37-
} else if (Constants.BIZ_EVENT_TOPIC_HEALTH_CHECK.equals(event.getTopic())) {
37+
} else if (Constants.BIZ_EVENT_TOPIC_AFTER_INVOKE_BIZ_START.equals(event.getTopic())) {
3838
doHealthCheck((BizEvent) event);
3939
}
4040
}

runtime-sofa-boot-starter/src/test/java/com/alipay/sofa/runtime/ark/SofaEventHandlerTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ public void testUninstallEvent() {
9393
Assert.assertTrue(applicationContext.isActive());
9494

9595
SofaEventHandler sofaEventHandler = new SofaEventHandler();
96-
sofaEventHandler.handleEvent(new BizEvent(biz, Constants.BIZ_EVENT_TOPIC_UNINSTALL));
96+
sofaEventHandler.handleEvent(new BizEvent(biz,
97+
Constants.BIZ_EVENT_TOPIC_AFTER_INVOKE_BIZ_STOP));
9798

9899
Assert.assertFalse(SofaRuntimeProperties.isDisableJvmFirst(applicationContext
99100
.getClassLoader()));
@@ -113,7 +114,8 @@ public void testHealthCheck() {
113114
}
114115
};
115116
SofaEventHandler sofaEventHandler = new SofaEventHandler();
116-
sofaEventHandler.handleEvent(new BizEvent(biz, Constants.BIZ_EVENT_TOPIC_HEALTH_CHECK));
117+
sofaEventHandler.handleEvent(new BizEvent(biz,
118+
Constants.BIZ_EVENT_TOPIC_AFTER_INVOKE_BIZ_START));
117119
}
118120

119121
@Test

sofa-boot-gradle-plugin/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
}
1212

1313
group 'com.alipay.sofa'
14-
version '3.1.3-SNAPSHOT'
14+
version '3.1.3'
1515

1616
sourceCompatibility = 1.8
1717

sofa-boot-gradle-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.alipay.sofa</groupId>
77
<artifactId>sofa-boot-runtime</artifactId>
8-
<version>3.1.3-SNAPSHOT</version>
8+
<version>3.1.3</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111
<artifactId>sofa-boot-gradle-plugin</artifactId>

0 commit comments

Comments
 (0)