Skip to content

Commit a39b943

Browse files
zhangthenlovepoem
authored andcommitted
Change groupId,artifactId, and package in 0.5.0 (apache#809)
* change groupId, artifactId and version of pom.xml * change package of codes * change fester to seata
1 parent 76734a9 commit a39b943

File tree

471 files changed

+1902
-1816
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

471 files changed

+1902
-1816
lines changed

.github/ISSUE_TEMPLATE/BUG_REPORT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
22
name: Bug Report
3-
about: If you would like to report a issue to Fescar, please use this template.
3+
about: If you would like to report a issue to Seata, please use this template.
44

55

66
---
77

8-
- [ ] I have searched the [issues](https://github.com/alibaba/fescar/issues) of this repository and believe that this is not a duplicate.
8+
- [ ] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate.
99

1010
### Ⅰ. Issue Description
1111

.github/ISSUE_TEMPLATE/FEATURE_REQUEST.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: Feature Request
3-
about: Suggest an idea for Fescar
3+
about: Suggest an idea for Seata
44

55
---
66

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#### FEATURES:
44

5-
* support standalone fescar-server.
5+
* support standalone seata-server.
66
* support mysql automatic transaction.
77
* support @GlobalTransactional spring annotation.
88
* support dubbo on filter.

CONTRIBUTING.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# Fescar
1+
# Seata
22

3-
## Fescar Code Style
4-
Fescar code style Comply with Alibaba Java Coding Guidelines.
3+
## Seata Code Style
4+
Seata code style Comply with Alibaba Java Coding Guidelines.
55

6-
Fescar 的编码规范遵从于《阿里巴巴JAVA开发规约》。
6+
Seata 的编码规范遵从于《阿里巴巴JAVA开发规约》。
77

88

99
### Guidelines

README.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -80,26 +80,26 @@ For more details about principle and design, please go to [Seata wiki page](http
8080

8181
## Maven dependency
8282
```xml
83-
<fescar.version>0.4.2</fescar.version>
83+
<seata.version>0.5.0</seata.version>
8484

8585
<dependency>
86-
<groupId>com.alibaba.fescar</groupId>
87-
<artifactId>fescar-spring</artifactId>
88-
<version>${fescar.version}</version>
86+
<groupId>io.seata</groupId>
87+
<artifactId>seata-spring</artifactId>
88+
<version>${seata.version}</version>
8989
</dependency>
9090

9191
<!--dependency for Apache Dubbo-->
9292
<dependency>
93-
<groupId>com.alibaba.fescar</groupId>
94-
<artifactId>fescar-dubbo</artifactId>
95-
<version>${fescar.version}</version>
93+
<groupId>io.seata</groupId>
94+
<artifactId>seata-dubbo</artifactId>
95+
<version>${seata.version}</version>
9696
</dependency>
9797

9898
<!--dependency for Alibaba Dubbo-->
9999
<dependency>
100-
<groupId>com.alibaba.fescar</groupId>
101-
<artifactId>fescar-dubbo-alibaba</artifactId>
102-
<version>${fescar.version}</version>
100+
<groupId>io.seata</groupId>
101+
<artifactId>seata-dubbo-alibaba</artifactId>
102+
<version>${seata.version}</version>
103103
</dependency>
104104

105105
```
@@ -123,7 +123,7 @@ Contributors are welcomed to join the FEATS project. Please check [CONTRIBUTING]
123123

124124
## Contact
125125

126-
* [Twitter](): TBD. Follow along for latest Fescar news on Twitter.
126+
* [Twitter](https://twitter.com/seataio): Follow along for latest Seata news on Twitter.
127127

128128
* Mailing list:
129129
* [email protected] , for dev/user discussion. [subscribe](mailto:[email protected]), [unsubscribe](mailto:[email protected]), [archive](https://groups.google.com/forum/#!forum/dev-fescar)
@@ -135,7 +135,7 @@ Contributors are welcomed to join the FEATS project. Please check [CONTRIBUTING]
135135

136136
## Seata ecosystem
137137

138-
* [Seata Ecosystem Entry](https://github.com/fescar-group) - A GitHub group `seata-group` to gather all Seata relevant projects not appropriate in [seata](https://github.com/seata) group yet
138+
* [Seata Ecosystem Entry](https://github.com/seata) - A GitHub group `seata` to gather all Seata relevant projects
139139
* [Seata Samples](https://github.com/fescar-group/fescar-samples) - Samples for Seata
140140
* [Seata Docker](https://github.com/fescar-group/fescar-docker) - Seata integration with docker
141141
* [Seata K8s](https://github.com/fescar-group/fescar-k8s) - Seata integration with k8s

common/pom.xml

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@
1818
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1919
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2020
<parent>
21-
<artifactId>fescar-all</artifactId>
22-
<groupId>com.alibaba.fescar</groupId>
23-
<version>0.4.2</version>
21+
<groupId>io.seata</groupId>
22+
<artifactId>seata-parent</artifactId>
23+
<version>0.5.0-SNAPSHOT</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
26-
<artifactId>fescar-common</artifactId>
26+
<artifactId>seata-common</artifactId>
2727
<packaging>jar</packaging>
28-
<name>fescar-common ${project.version}</name>
28+
<name>seata-common ${project.version}</name>
2929
<dependencies>
3030
<dependency>
3131
<groupId>io.netty</groupId>

common/src/main/java/com/alibaba/fescar/common/Constants.java common/src/main/java/io/seata/common/Constants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common;
17+
package io.seata.common;
1818

1919
/**
2020
* The type Constants.

common/src/main/java/com/alibaba/fescar/common/XID.java common/src/main/java/io/seata/common/XID.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common;
17+
package io.seata.common;
1818

1919
/**
2020
* The type Xid.

common/src/main/java/com/alibaba/fescar/common/exception/EurekaRegistryException.java common/src/main/java/io/seata/common/exception/EurekaRegistryException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.alibaba.fescar.common.exception;
16+
package io.seata.common.exception;
1717

1818
/**
1919
* eureka registry exception

common/src/main/java/com/alibaba/fescar/common/exception/FrameworkErrorCode.java common/src/main/java/io/seata/common/exception/FrameworkErrorCode.java

+9-9
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.exception;
17+
package io.seata.common.exception;
1818

1919
/**
2020
* The enum Framework error code.
@@ -28,34 +28,34 @@ public enum FrameworkErrorCode {
2828
*/
2929
ThreadPoolFull("0004", "netty线程池满", "请在配置文件中调整线程数, corePoolSize 的值调大一些"),
3030
/**
31-
* The Init fescar client error.
31+
* The Init services client error.
3232
*/
33-
InitFescarClientError("0008", "fescarAppName or fescarServerGroup is null", ""),
33+
InitSeataClientError("0008", "seataAppName or seataServerGroup is null", ""),
3434
/**
3535
* The Null rule error.
3636
*/
37-
NullRuleError("0010", "fescar rules is null", ""),
37+
NullRuleError("0010", "services rules is null", ""),
3838

3939
/**
4040
* 0101 ~ 0199 网络有关的错误,连接不上,断开,dispatch等
4141
*/
42-
NetConnect("0101", "无法连接服务器", "请检查fescar server是否启动,到fescar server的网络连接是否正常"),
42+
NetConnect("0101", "无法连接服务器", "请检查seata server是否启动,到seata server的网络连接是否正常"),
4343
/**
4444
* The Net reg appname.
4545
*/
46-
NetRegAppname("0102", "register client app name failed", "请检查fescar server是否启动,到fescar server的网络连接是否正常"),
46+
NetRegAppname("0102", "register client app name failed", "请检查seata server是否启动,到seata server的网络连接是否正常"),
4747
/**
4848
* The Net disconnect.
4949
*/
50-
NetDisconnect("0103", "fescarConnection closed", "网络断开,请检查到对端(client 或fescar server)的网络连接"),
50+
NetDisconnect("0103", "seataConnection closed", "网络断开,请检查到对端(client 或seata server)的网络连接"),
5151
/**
5252
* The Net dispatch.
5353
*/
54-
NetDispatch("0104", "dispatch 错误", "网络处理错误,请检查到对端(client 或fescar server)的网络连接 "),
54+
NetDispatch("0104", "dispatch 错误", "网络处理错误,请检查到对端(client 或seata server)的网络连接 "),
5555
/**
5656
* The Net on message.
5757
*/
58-
NetOnMessage("0105", "on message 错误", "网络处理错误,请检查到对端(client 或fescar server)的网络连接 "),
58+
NetOnMessage("0105", "on message 错误", "网络处理错误,请检查到对端(client 或seata server)的网络连接 "),
5959
/**
6060
* Get channel error framework error code.
6161
*/

common/src/main/java/com/alibaba/fescar/common/exception/FrameworkException.java common/src/main/java/io/seata/common/exception/FrameworkException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.exception;
17+
package io.seata.common.exception;
1818

1919
import java.sql.SQLException;
2020

common/src/main/java/com/alibaba/fescar/common/exception/NotSupportYetException.java common/src/main/java/io/seata/common/exception/NotSupportYetException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.exception;
17+
package io.seata.common.exception;
1818

1919
/**
2020
* The type Not support yet exception.

common/src/main/java/com/alibaba/fescar/common/exception/ShouldNeverHappenException.java common/src/main/java/io/seata/common/exception/ShouldNeverHappenException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.exception;
17+
package io.seata.common.exception;
1818

1919
/**
2020
* The type Should never happen exception.

common/src/main/java/com/alibaba/fescar/common/exception/StoreException.java common/src/main/java/io/seata/common/exception/StoreException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.alibaba.fescar.common.exception;
16+
package io.seata.common.exception;
1717

1818
/**
1919
* the store exception

common/src/main/java/com/alibaba/fescar/common/executor/Callback.java common/src/main/java/io/seata/common/executor/Callback.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.executor;
17+
package io.seata.common.executor;
1818

1919
/**
2020
* The interface Callback.

common/src/main/java/com/alibaba/fescar/common/executor/Initialize.java common/src/main/java/io/seata/common/executor/Initialize.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.executor;
17+
package io.seata.common.executor;
1818

1919
/**
2020
* The interface Initialize.

common/src/main/java/com/alibaba/fescar/common/loader/EnhancedServiceLoader.java common/src/main/java/io/seata/common/loader/EnhancedServiceLoader.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.loader;
17+
package io.seata.common.loader;
1818

1919
import java.io.BufferedReader;
2020
import java.io.IOException;
@@ -28,8 +28,8 @@
2828
import java.util.Map;
2929
import java.util.concurrent.ConcurrentHashMap;
3030

31-
import com.alibaba.fescar.common.executor.Initialize;
32-
import com.alibaba.fescar.common.util.CollectionUtils;
31+
import io.seata.common.executor.Initialize;
32+
import io.seata.common.util.CollectionUtils;
3333

3434
import org.apache.commons.lang.ObjectUtils;
3535
import org.apache.commons.lang.StringUtils;
@@ -46,7 +46,7 @@
4646
public class EnhancedServiceLoader {
4747
private static final Logger LOGGER = LoggerFactory.getLogger(EnhancedServiceLoader.class);
4848
private static final String SERVICES_DIRECTORY = "META-INF/services/";
49-
private static final String FESCAR_DIRECTORY = "META-INF/fescar/";
49+
private static final String SEATA_DIRECTORY = "META-INF/seata/";
5050
@SuppressWarnings("rawtypes")
5151
private static Map<Class, List<Class>> providers = new ConcurrentHashMap<Class, List<Class>>();
5252

@@ -167,7 +167,7 @@ private static <S> S loadFile(Class<S> service, String activateName, ClassLoader
167167
}
168168
}
169169
if (StringUtils.isNotEmpty(activateName)) {
170-
loadFile(service, FESCAR_DIRECTORY + activateName.toLowerCase() + "/", loader, extensions);
170+
loadFile(service, SEATA_DIRECTORY + activateName.toLowerCase() + "/", loader, extensions);
171171

172172
List<Class> activateExtensions = new ArrayList<Class>();
173173
for (int i = 0; i < extensions.size(); i++) {
@@ -210,7 +210,7 @@ private static <S> List<Class> findAllExtensionClass(Class<S> service, String ac
210210
List<Class> extensions = new ArrayList<Class>();
211211
try {
212212
loadFile(service, SERVICES_DIRECTORY, loader, extensions);
213-
loadFile(service, FESCAR_DIRECTORY, loader, extensions);
213+
loadFile(service, SEATA_DIRECTORY, loader, extensions);
214214
} catch (IOException e) {
215215
throw new EnhancedServiceNotFoundException(e);
216216
}

common/src/main/java/com/alibaba/fescar/common/loader/EnhancedServiceNotFoundException.java common/src/main/java/io/seata/common/loader/EnhancedServiceNotFoundException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.loader;
17+
package io.seata.common.loader;
1818

1919
import org.apache.commons.lang.exception.NestableRuntimeException;
2020

common/src/main/java/com/alibaba/fescar/common/loader/LoadLevel.java common/src/main/java/io/seata/common/loader/LoadLevel.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.loader;
17+
package io.seata.common.loader;
1818

1919
import java.lang.annotation.Documented;
2020
import java.lang.annotation.ElementType;

common/src/main/java/com/alibaba/fescar/common/thread/NamedThreadFactory.java common/src/main/java/io/seata/common/thread/NamedThreadFactory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.thread;
17+
package io.seata.common.thread;
1818

1919
import java.util.concurrent.ThreadFactory;
2020
import java.util.concurrent.atomic.AtomicInteger;

common/src/main/java/com/alibaba/fescar/common/thread/RejectedPolicies.java common/src/main/java/io/seata/common/thread/RejectedPolicies.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.thread;
17+
package io.seata.common.thread;
1818

1919
import java.util.concurrent.BlockingQueue;
2020
import java.util.concurrent.RejectedExecutionHandler;

common/src/main/java/com/alibaba/fescar/common/util/BlobUtils.java common/src/main/java/io/seata/common/util/BlobUtils.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.util;
17+
package io.seata.common.util;
1818

1919
import java.io.ByteArrayOutputStream;
2020
import java.io.InputStream;
2121
import java.sql.Blob;
2222

2323
import javax.sql.rowset.serial.SerialBlob;
2424

25-
import com.alibaba.fescar.common.exception.ShouldNeverHappenException;
25+
import io.seata.common.exception.ShouldNeverHappenException;
26+
import io.seata.common.exception.ShouldNeverHappenException;
2627

2728
/**
2829
* The type Blob utils.

common/src/main/java/com/alibaba/fescar/common/util/CollectionUtils.java common/src/main/java/io/seata/common/util/CollectionUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.util;
17+
package io.seata.common.util;
1818

1919
import java.util.Collection;
2020

common/src/main/java/com/alibaba/fescar/common/util/CompressUtil.java common/src/main/java/io/seata/common/util/CompressUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package com.alibaba.fescar.common.util;
16+
package io.seata.common.util;
1717

1818
import java.io.ByteArrayInputStream;
1919
import java.io.ByteArrayOutputStream;

common/src/main/java/com/alibaba/fescar/common/util/NetUtil.java common/src/main/java/io/seata/common/util/NetUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.util;
17+
package io.seata.common.util;
1818

1919
import java.net.InetAddress;
2020
import java.net.InetSocketAddress;

common/src/main/java/com/alibaba/fescar/common/util/ReflectionUtil.java common/src/main/java/io/seata/common/util/ReflectionUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.util;
17+
package io.seata.common.util;
1818

1919
import java.lang.reflect.Field;
2020
import java.lang.reflect.InvocationTargetException;

common/src/main/java/com/alibaba/fescar/common/util/StringUtils.java common/src/main/java/io/seata/common/util/StringUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package com.alibaba.fescar.common.util;
17+
package io.seata.common.util;
1818

1919
import java.io.ByteArrayOutputStream;
2020
import java.io.IOException;

0 commit comments

Comments
 (0)