Skip to content

Commit

Permalink
Prepare to release v5.3.3. (sofastack#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjboy authored May 30, 2018
1 parent aab9704 commit e711d81
Show file tree
Hide file tree
Showing 35 changed files with 43 additions and 42 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@
![License](https://img.shields.io/badge/license-Apache--2.0-green.svg)
[![Maven](https://img.shields.io/github/release/alipay/sofa-rpc.svg)](https://github.com/alipay/sofa-rpc/releases)

## 概述

SOFARPC 是一个高可扩展性、高性能、生产级的 Java RPC 框架。在蚂蚁金服 SOFARPC 已经经历了十多年及五代版本的发展。SOFARPC 致力于简化应用之间的 RPC 调用,为应用提供方便透明、稳定高效的点对点远程服务调用方案。为了用户和开发者方便的进行功能扩展,SOFARPC 提供了丰富的模型抽象和可扩展接口,包括过滤器、路由、负载均衡等等。同时围绕 SOFARPC 框架及其周边组件提供丰富的微服务治理方案。

## 功能特性

- 透明化、高性能的远程服务调用
- 支持多种服务路由及负载均衡策略
- 支持多种注册中心的集成
- 支持多种协议
- 支持多种协议,包括 Bolt、Rest、Dubbo 等
- 支持同步、单向、回调、泛化等多种调用方式
- 支持集群容错、服务预热、自动故障隔离
- 强大的扩展功能,可以按需扩展各个功能组件
Expand Down
2 changes: 1 addition & 1 deletion all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-all</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>

<name>${project.groupId}:${project.artifactId}</name>
<url>http://github.com/alipay/sofa-rpc</url>
Expand Down
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-bom</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
<packaging>pom</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion core-impl/client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-core-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core-impl/codec/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-core-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-codec</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core-impl/filter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-core-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-filter</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core-impl/log/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-core-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-log</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-parent</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-core-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core-impl/proxy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-core-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-proxy</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core-impl/transport/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<artifactId>sofa-rpc-core-impl</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-transport</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-core</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ public final class Version {
/**
* 当前RPC版本,例如:5.6.7
*/
public static final String VERSION = "5.3.2";
public static final String VERSION = "5.3.3";

/**
* 当前RPC版本,例如: 5.6.7 对应 50607
*/
public static final int RPC_VERSION = 50302;
public static final int RPC_VERSION = 50303;

/**
* 当前Build版本,每次发布修改
*/
public static final String BUILD_VERSION = "5.3.2_20180427180628";
public static final String BUILD_VERSION = "5.3.3_20180530221429";
}
2 changes: 1 addition & 1 deletion core/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-core</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/exception/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-core</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-exception</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-parent</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-core</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-parent</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-example</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/api-compatible/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-extension-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-api-compatible</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/bootstrap-bolt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-extension-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-bootstrap-bolt</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/bootstrap-dubbo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>sofa-rpc-extension-impl</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-bootstrap-dubbo</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/bootstrap-rest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>sofa-rpc-extension-impl</artifactId>
<groupId>com.alipay.sofa</groupId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-bootstrap-rest</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/extension-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-extension-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-extension-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/fault-tolerance/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-extension-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-fault-tolerance</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/log-common-tools/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-extension-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-log-common-tools</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-parent</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-extension-impl</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/registry-local/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-extension-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-registry-local</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/registry-zk/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-extension-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-registry-zk</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/remoting-bolt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-extension-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-remoting-bolt</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion extension-impl/remoting-resteasy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-extension-impl</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-remoting-resteasy</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-parent</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
<packaging>pom</packaging>
<name>[SOFA] - RPC Framework</name>
<url>http://www.antfin.com</url>
Expand Down
2 changes: 1 addition & 1 deletion test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-parent</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-test</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion test/test-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-test</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-test-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion test/test-integration-3rd/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-test</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-test-integration-3rd</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public void testWarmUp() throws InterruptedException {
.setRef(new WarmUpServiceImpl(22111))
.setServer(serverConfig2)
.setRegistry(registryConfig)
.setRepeatedExportLimit(-1)
.setWeight(0);

providerConfig.export();
Expand Down
2 changes: 1 addition & 1 deletion test/test-integration/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-rpc-test</artifactId>
<version>5.3.2</version>
<version>5.3.3</version>
</parent>

<artifactId>sofa-rpc-test-integration</artifactId>
Expand Down
12 changes: 7 additions & 5 deletions tools/change_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ if [ -f $version_java_file ]; then
echo " WARN: You need to modify \"core/api/src/main/java/com/alipay/sofa/rpc/common/Version.java\" "
echo "=================="

echo "VERSION is $1"
sed -i "" "s/\(VERSION[ ]*=[ ]*\"\).*$/\1$1\";/g" $version_java_file
version_str=$(echo $1 | \sed -e "s/[^0-9\.]//g")
echo "VERSION is ${version_str}"
sed "s/\(VERSION[ ]*=[ ]*\"\).*$/\1${version_str}\";/g" $version_java_file

# number and dot -> padding bugfix version -> padding minor version -> padding major version -> only leave number
rpc_version=$(echo $1 | \sed -e "s/[^0-9\.]//g" \
Expand All @@ -62,9 +63,10 @@ if [ -f $version_java_file ]; then
-e "s/^\([0-9]\)\./\1\./g" \
-e "s/[^0-9]//g")
echo "RPC_VERSION is ${rpc_version}"
sed -i "" "s/\(RPC_VERSION[ ]*=[ ]*\).*$/\1${rpc_version};/g" $version_java_file
sed "s/\(RPC_VERSION[ ]*=[ ]*\).*$/\1${rpc_version};/g" $version_java_file

date_format=$(date +"%Y%m%d%H%M%S")
echo "BUILD_VERSION is $1_${date_format}"
sed -i "" "s/\(BUILD_VERSION[ ]*=[ ]*\"\).*$/\1$1_${date_format}\";/g" $version_java_file
build_version=${version_str}_${date_format}
echo "BUILD_VERSION is ${build_version}"
sed "s/\(BUILD_VERSION[ ]*=[ ]*\"\).*$/\1${build_version}\";/g" $version_java_file
fi

0 comments on commit e711d81

Please sign in to comment.