From 67bbfc1ed6ab49e6c0b9a862fced333c98e24e22 Mon Sep 17 00:00:00 2001 From: flystar32 Date: Tue, 16 Apr 2019 21:17:23 +0800 Subject: [PATCH] rename fescar to seata --- pom.xml | 4 ++-- spring-cloud-alibaba-dependencies/pom.xml | 4 ++-- spring-cloud-alibaba-examples/pom.xml | 8 +++---- .../account-service/pom.xml | 2 +- .../cloud/examples/AccountApplication.java | 0 .../cloud/examples/AccountController.java | 0 .../cloud/examples/DatabaseConfiguration.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/file.conf | 0 .../src/main/resources/registry.conf | 0 .../business-service/pom.xml | 2 +- .../cloud/examples/BusinessApplication.java | 0 .../cloud/examples/HomeController.java | 0 .../cloud/alibaba/cloud/examples/Order.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/file.conf | 0 .../src/main/resources/registry.conf | 0 .../order-service/pom.xml | 2 +- .../cloud/examples/DatabaseConfiguration.java | 0 .../cloud/examples/OderApplication.java | 0 .../cloud/alibaba/cloud/examples/Order.java | 0 .../cloud/examples/OrderController.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/file.conf | 0 .../src/main/resources/registry.conf | 0 .../readme-zh.md | 6 ++--- .../storage-service/pom.xml | 2 +- .../cloud/examples/DatabaseConfiguration.java | 0 .../cloud/examples/StorageApplication.java | 0 .../cloud/examples/StorageController.java | 0 .../src/main/resources/application.properties | 0 .../src/main/resources/file.conf | 0 .../src/main/resources/registry.conf | 0 .../main/resources/META-INF/spring.factories | 7 ------ .../pom.xml | 4 ++-- .../GlobalTransactionAutoConfiguration.java | 14 +++++------ .../cloud/alibaba/seata/SeataProperties.java | 8 +++---- .../seata/feign/SeataBeanPostProcessor.java | 12 +++++----- .../feign/SeataContextBeanPostProcessor.java | 22 ++++++++--------- .../seata/feign/SeataFeignBuilder.java | 8 +++---- .../alibaba/seata/feign/SeataFeignClient.java | 8 +++---- .../SeataFeignClientAutoConfiguration.java | 24 +++++++++---------- .../seata/feign/SeataFeignContext.java | 16 ++++++------- .../seata/feign/SeataFeignObjectWrapper.java | 12 +++++----- .../seata/feign/SeataHystrixFeignBuilder.java | 8 +++---- .../feign/SeataLoadBalancerFeignClient.java | 12 +++++----- .../feign/SeataSentinelFeignBuilder.java | 10 ++++---- .../SeataHystrixAutoConfiguration.java | 8 +++---- .../SeataHystrixConcurrencyStrategy.java | 6 ++--- .../SeataRestTemplateAutoConfiguration.java | 12 +++++----- .../rest/SeataRestTemplateInterceptor.java | 4 ++-- .../seata/web/SeataHandlerInterceptor.java | 6 ++--- .../SeataHandlerInterceptorConfiguration.java | 6 ++--- .../main/resources/META-INF/spring.factories | 7 ++++++ spring-cloud-starter-alibaba/pom.xml | 2 +- .../pom.xml | 6 ++--- 56 files changed, 125 insertions(+), 127 deletions(-) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/account-service/pom.xml (94%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/AccountApplication.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/AccountController.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/account-service/src/main/resources/application.properties (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/account-service/src/main/resources/file.conf (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/account-service/src/main/resources/registry.conf (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/business-service/pom.xml (94%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/BusinessApplication.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/HomeController.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/Order.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/business-service/src/main/resources/application.properties (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/business-service/src/main/resources/file.conf (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/business-service/src/main/resources/registry.conf (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/order-service/pom.xml (94%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/OderApplication.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/Order.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/OrderController.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/order-service/src/main/resources/application.properties (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/order-service/src/main/resources/file.conf (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/order-service/src/main/resources/registry.conf (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/readme-zh.md (94%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/storage-service/pom.xml (94%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/StorageApplication.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/StorageController.java (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/storage-service/src/main/resources/application.properties (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/storage-service/src/main/resources/file.conf (100%) rename spring-cloud-alibaba-examples/{fescar-example => seata-example}/storage-service/src/main/resources/registry.conf (100%) delete mode 100644 spring-cloud-alibaba-fescar/src/main/resources/META-INF/spring.factories rename {spring-cloud-alibaba-fescar => spring-cloud-alibaba-seata}/pom.xml (97%) rename {spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata}/GlobalTransactionAutoConfiguration.java (82%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/FescarProperties.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/SeataProperties.java (81%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarBeanPostProcessor.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataBeanPostProcessor.java (72%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarContextBeanPostProcessor.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataContextBeanPostProcessor.java (66%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignBuilder.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignBuilder.java (80%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignClient.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignClient.java (90%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignClientAutoConfiguration.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignClientAutoConfiguration.java (75%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignContext.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignContext.java (77%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignObjectWrapper.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignObjectWrapper.java (83%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarHystrixFeignBuilder.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataHystrixFeignBuilder.java (83%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarLoadBalancerFeignClient.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataLoadBalancerFeignClient.java (78%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarSentinelFeignBuilder.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataSentinelFeignBuilder.java (75%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/hystrix/FescarHystrixAutoConfiguration.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/hystrix/SeataHystrixAutoConfiguration.java (80%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/hystrix/FescarHystrixConcurrencyStrategy.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/hystrix/SeataHystrixConcurrencyStrategy.java (90%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/rest/FescarRestTemplateAutoConfiguration.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/rest/SeataRestTemplateAutoConfiguration.java (85%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/rest/FescarRestTemplateInterceptor.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/rest/SeataRestTemplateInterceptor.java (91%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/web/FescarHandlerInterceptor.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/web/SeataHandlerInterceptor.java (93%) rename spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/web/FescarHandlerInterceptorConfiguration.java => spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/web/SeataHandlerInterceptorConfiguration.java (80%) create mode 100644 spring-cloud-alibaba-seata/src/main/resources/META-INF/spring.factories rename spring-cloud-starter-alibaba/{spring-cloud-starter-alibaba-fescar => spring-cloud-starter-alibaba-seata}/pom.xml (76%) diff --git a/pom.xml b/pom.xml index 552e4db6c..a0dcba8a7 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ Alibaba https://github.com/mercyblitz - + yunzheng yunzheng1228@gmail.com @@ -96,7 +96,7 @@ spring-cloud-alibaba-sentinel-zuul spring-cloud-alibaba-nacos-config spring-cloud-alibaba-nacos-discovery - spring-cloud-alibaba-fescar + spring-cloud-alibaba-seata spring-cloud-stream-binder-rocketmq spring-cloud-alibaba-nacos-config-server spring-cloud-alibaba-dubbo diff --git a/spring-cloud-alibaba-dependencies/pom.xml b/spring-cloud-alibaba-dependencies/pom.xml index d9058e12c..e456df53d 100644 --- a/spring-cloud-alibaba-dependencies/pom.xml +++ b/spring-cloud-alibaba-dependencies/pom.xml @@ -272,7 +272,7 @@ org.springframework.cloud - spring-cloud-alibaba-fescar + spring-cloud-alibaba-seata ${project.version} @@ -325,7 +325,7 @@ org.springframework.cloud - spring-cloud-starter-alibaba-fescar + spring-cloud-starter-alibaba-seata ${project.version} diff --git a/spring-cloud-alibaba-examples/pom.xml b/spring-cloud-alibaba-examples/pom.xml index c82e51d54..11a8cb3fb 100644 --- a/spring-cloud-alibaba-examples/pom.xml +++ b/spring-cloud-alibaba-examples/pom.xml @@ -28,10 +28,10 @@ ans-example/ans-consumer-feign-example ans-example/ans-consumer-ribbon-example ans-example/ans-provider-example - fescar-example/business-service - fescar-example/order-service - fescar-example/storage-service - fescar-example/account-service + seata-example/business-service + seata-example/order-service + seata-example/storage-service + seata-example/account-service acm-example/acm-local-example rocketmq-example/rocketmq-consume-example rocketmq-example/rocketmq-produce-example diff --git a/spring-cloud-alibaba-examples/fescar-example/account-service/pom.xml b/spring-cloud-alibaba-examples/seata-example/account-service/pom.xml similarity index 94% rename from spring-cloud-alibaba-examples/fescar-example/account-service/pom.xml rename to spring-cloud-alibaba-examples/seata-example/account-service/pom.xml index 5ffd26995..574895ce8 100644 --- a/spring-cloud-alibaba-examples/fescar-example/account-service/pom.xml +++ b/spring-cloud-alibaba-examples/seata-example/account-service/pom.xml @@ -14,7 +14,7 @@ org.springframework.cloud - spring-cloud-starter-alibaba-fescar + spring-cloud-starter-alibaba-seata org.springframework.boot diff --git a/spring-cloud-alibaba-examples/fescar-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/AccountApplication.java b/spring-cloud-alibaba-examples/seata-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/AccountApplication.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/AccountApplication.java rename to spring-cloud-alibaba-examples/seata-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/AccountApplication.java diff --git a/spring-cloud-alibaba-examples/fescar-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/AccountController.java b/spring-cloud-alibaba-examples/seata-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/AccountController.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/AccountController.java rename to spring-cloud-alibaba-examples/seata-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/AccountController.java diff --git a/spring-cloud-alibaba-examples/fescar-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java b/spring-cloud-alibaba-examples/seata-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java rename to spring-cloud-alibaba-examples/seata-example/account-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java diff --git a/spring-cloud-alibaba-examples/fescar-example/account-service/src/main/resources/application.properties b/spring-cloud-alibaba-examples/seata-example/account-service/src/main/resources/application.properties similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/account-service/src/main/resources/application.properties rename to spring-cloud-alibaba-examples/seata-example/account-service/src/main/resources/application.properties diff --git a/spring-cloud-alibaba-examples/fescar-example/account-service/src/main/resources/file.conf b/spring-cloud-alibaba-examples/seata-example/account-service/src/main/resources/file.conf similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/account-service/src/main/resources/file.conf rename to spring-cloud-alibaba-examples/seata-example/account-service/src/main/resources/file.conf diff --git a/spring-cloud-alibaba-examples/fescar-example/account-service/src/main/resources/registry.conf b/spring-cloud-alibaba-examples/seata-example/account-service/src/main/resources/registry.conf similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/account-service/src/main/resources/registry.conf rename to spring-cloud-alibaba-examples/seata-example/account-service/src/main/resources/registry.conf diff --git a/spring-cloud-alibaba-examples/fescar-example/business-service/pom.xml b/spring-cloud-alibaba-examples/seata-example/business-service/pom.xml similarity index 94% rename from spring-cloud-alibaba-examples/fescar-example/business-service/pom.xml rename to spring-cloud-alibaba-examples/seata-example/business-service/pom.xml index 1758d6ece..f396fdf91 100644 --- a/spring-cloud-alibaba-examples/fescar-example/business-service/pom.xml +++ b/spring-cloud-alibaba-examples/seata-example/business-service/pom.xml @@ -14,7 +14,7 @@ org.springframework.cloud - spring-cloud-starter-alibaba-fescar + spring-cloud-starter-alibaba-seata org.springframework.cloud diff --git a/spring-cloud-alibaba-examples/fescar-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/BusinessApplication.java b/spring-cloud-alibaba-examples/seata-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/BusinessApplication.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/BusinessApplication.java rename to spring-cloud-alibaba-examples/seata-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/BusinessApplication.java diff --git a/spring-cloud-alibaba-examples/fescar-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/HomeController.java b/spring-cloud-alibaba-examples/seata-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/HomeController.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/HomeController.java rename to spring-cloud-alibaba-examples/seata-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/HomeController.java diff --git a/spring-cloud-alibaba-examples/fescar-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/Order.java b/spring-cloud-alibaba-examples/seata-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/Order.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/Order.java rename to spring-cloud-alibaba-examples/seata-example/business-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/Order.java diff --git a/spring-cloud-alibaba-examples/fescar-example/business-service/src/main/resources/application.properties b/spring-cloud-alibaba-examples/seata-example/business-service/src/main/resources/application.properties similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/business-service/src/main/resources/application.properties rename to spring-cloud-alibaba-examples/seata-example/business-service/src/main/resources/application.properties diff --git a/spring-cloud-alibaba-examples/fescar-example/business-service/src/main/resources/file.conf b/spring-cloud-alibaba-examples/seata-example/business-service/src/main/resources/file.conf similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/business-service/src/main/resources/file.conf rename to spring-cloud-alibaba-examples/seata-example/business-service/src/main/resources/file.conf diff --git a/spring-cloud-alibaba-examples/fescar-example/business-service/src/main/resources/registry.conf b/spring-cloud-alibaba-examples/seata-example/business-service/src/main/resources/registry.conf similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/business-service/src/main/resources/registry.conf rename to spring-cloud-alibaba-examples/seata-example/business-service/src/main/resources/registry.conf diff --git a/spring-cloud-alibaba-examples/fescar-example/order-service/pom.xml b/spring-cloud-alibaba-examples/seata-example/order-service/pom.xml similarity index 94% rename from spring-cloud-alibaba-examples/fescar-example/order-service/pom.xml rename to spring-cloud-alibaba-examples/seata-example/order-service/pom.xml index d9041e876..53b94a65c 100644 --- a/spring-cloud-alibaba-examples/fescar-example/order-service/pom.xml +++ b/spring-cloud-alibaba-examples/seata-example/order-service/pom.xml @@ -14,7 +14,7 @@ org.springframework.cloud - spring-cloud-starter-alibaba-fescar + spring-cloud-starter-alibaba-seata org.springframework.boot diff --git a/spring-cloud-alibaba-examples/fescar-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java b/spring-cloud-alibaba-examples/seata-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java rename to spring-cloud-alibaba-examples/seata-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java diff --git a/spring-cloud-alibaba-examples/fescar-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/OderApplication.java b/spring-cloud-alibaba-examples/seata-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/OderApplication.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/OderApplication.java rename to spring-cloud-alibaba-examples/seata-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/OderApplication.java diff --git a/spring-cloud-alibaba-examples/fescar-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/Order.java b/spring-cloud-alibaba-examples/seata-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/Order.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/Order.java rename to spring-cloud-alibaba-examples/seata-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/Order.java diff --git a/spring-cloud-alibaba-examples/fescar-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/OrderController.java b/spring-cloud-alibaba-examples/seata-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/OrderController.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/OrderController.java rename to spring-cloud-alibaba-examples/seata-example/order-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/OrderController.java diff --git a/spring-cloud-alibaba-examples/fescar-example/order-service/src/main/resources/application.properties b/spring-cloud-alibaba-examples/seata-example/order-service/src/main/resources/application.properties similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/order-service/src/main/resources/application.properties rename to spring-cloud-alibaba-examples/seata-example/order-service/src/main/resources/application.properties diff --git a/spring-cloud-alibaba-examples/fescar-example/order-service/src/main/resources/file.conf b/spring-cloud-alibaba-examples/seata-example/order-service/src/main/resources/file.conf similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/order-service/src/main/resources/file.conf rename to spring-cloud-alibaba-examples/seata-example/order-service/src/main/resources/file.conf diff --git a/spring-cloud-alibaba-examples/fescar-example/order-service/src/main/resources/registry.conf b/spring-cloud-alibaba-examples/seata-example/order-service/src/main/resources/registry.conf similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/order-service/src/main/resources/registry.conf rename to spring-cloud-alibaba-examples/seata-example/order-service/src/main/resources/registry.conf diff --git a/spring-cloud-alibaba-examples/fescar-example/readme-zh.md b/spring-cloud-alibaba-examples/seata-example/readme-zh.md similarity index 94% rename from spring-cloud-alibaba-examples/fescar-example/readme-zh.md rename to spring-cloud-alibaba-examples/seata-example/readme-zh.md index d10ecbf29..6c1b6747e 100644 --- a/spring-cloud-alibaba-examples/fescar-example/readme-zh.md +++ b/spring-cloud-alibaba-examples/seata-example/readme-zh.md @@ -1,11 +1,11 @@ -# Fescar Example +# Seata Example ## 项目说明 -本项目演示如何使用 Fescar Starter 完成 Spring Cloud 应用的分布式事务接入。 +本项目演示如何使用 Seata Starter 完成 Spring Cloud 应用的分布式事务接入。 -[Fescar](https://github.com/alibaba/fescar) 是 阿里巴巴 开源的 分布式事务中间件,以 高效 并且对业务 0 侵入 的方式,解决 微服务 场景下面临的分布式事务问题。 +[Seata](https://github.com/seata/seata) 是 阿里巴巴 开源的 分布式事务中间件,以 高效 并且对业务 0 侵入 的方式,解决 微服务 场景下面临的分布式事务问题。 diff --git a/spring-cloud-alibaba-examples/fescar-example/storage-service/pom.xml b/spring-cloud-alibaba-examples/seata-example/storage-service/pom.xml similarity index 94% rename from spring-cloud-alibaba-examples/fescar-example/storage-service/pom.xml rename to spring-cloud-alibaba-examples/seata-example/storage-service/pom.xml index 15a8bddef..f5f7ad459 100644 --- a/spring-cloud-alibaba-examples/fescar-example/storage-service/pom.xml +++ b/spring-cloud-alibaba-examples/seata-example/storage-service/pom.xml @@ -14,7 +14,7 @@ org.springframework.cloud - spring-cloud-starter-alibaba-fescar + spring-cloud-starter-alibaba-seata org.springframework.boot diff --git a/spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java b/spring-cloud-alibaba-examples/seata-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java rename to spring-cloud-alibaba-examples/seata-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/DatabaseConfiguration.java diff --git a/spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/StorageApplication.java b/spring-cloud-alibaba-examples/seata-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/StorageApplication.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/StorageApplication.java rename to spring-cloud-alibaba-examples/seata-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/StorageApplication.java diff --git a/spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/StorageController.java b/spring-cloud-alibaba-examples/seata-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/StorageController.java similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/StorageController.java rename to spring-cloud-alibaba-examples/seata-example/storage-service/src/main/java/org/springframework/cloud/alibaba/cloud/examples/StorageController.java diff --git a/spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/resources/application.properties b/spring-cloud-alibaba-examples/seata-example/storage-service/src/main/resources/application.properties similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/resources/application.properties rename to spring-cloud-alibaba-examples/seata-example/storage-service/src/main/resources/application.properties diff --git a/spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/resources/file.conf b/spring-cloud-alibaba-examples/seata-example/storage-service/src/main/resources/file.conf similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/resources/file.conf rename to spring-cloud-alibaba-examples/seata-example/storage-service/src/main/resources/file.conf diff --git a/spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/resources/registry.conf b/spring-cloud-alibaba-examples/seata-example/storage-service/src/main/resources/registry.conf similarity index 100% rename from spring-cloud-alibaba-examples/fescar-example/storage-service/src/main/resources/registry.conf rename to spring-cloud-alibaba-examples/seata-example/storage-service/src/main/resources/registry.conf diff --git a/spring-cloud-alibaba-fescar/src/main/resources/META-INF/spring.factories b/spring-cloud-alibaba-fescar/src/main/resources/META-INF/spring.factories deleted file mode 100644 index 3560bcee4..000000000 --- a/spring-cloud-alibaba-fescar/src/main/resources/META-INF/spring.factories +++ /dev/null @@ -1,7 +0,0 @@ -org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ -org.springframework.cloud.alibaba.fescar.rest.FescarRestTemplateAutoConfiguration,\ -org.springframework.cloud.alibaba.fescar.web.FescarHandlerInterceptorConfiguration,\ -org.springframework.cloud.alibaba.fescar.GlobalTransactionAutoConfiguration,\ -org.springframework.cloud.alibaba.fescar.feign.FescarFeignClientAutoConfiguration,\ -org.springframework.cloud.alibaba.fescar.feign.hystrix.FescarHystrixAutoConfiguration - diff --git a/spring-cloud-alibaba-fescar/pom.xml b/spring-cloud-alibaba-seata/pom.xml similarity index 97% rename from spring-cloud-alibaba-fescar/pom.xml rename to spring-cloud-alibaba-seata/pom.xml index 0b0cd6400..72002cca7 100644 --- a/spring-cloud-alibaba-fescar/pom.xml +++ b/spring-cloud-alibaba-seata/pom.xml @@ -10,8 +10,8 @@ 4.0.0 org.springframework.cloud - spring-cloud-alibaba-fescar - Spring Cloud Alibaba Fescar + spring-cloud-alibaba-seata + Spring Cloud Alibaba Seata diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/GlobalTransactionAutoConfiguration.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/GlobalTransactionAutoConfiguration.java similarity index 82% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/GlobalTransactionAutoConfiguration.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/GlobalTransactionAutoConfiguration.java index d876ad3bd..1c0abc2d8 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/GlobalTransactionAutoConfiguration.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/GlobalTransactionAutoConfiguration.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar; +package org.springframework.cloud.alibaba.seata; import com.alibaba.fescar.spring.annotation.GlobalTransactionScanner; @@ -29,17 +29,17 @@ import org.springframework.util.StringUtils; */ @Configuration -@EnableConfigurationProperties(FescarProperties.class) +@EnableConfigurationProperties(SeataProperties.class) public class GlobalTransactionAutoConfiguration { private final ApplicationContext applicationContext; - private final FescarProperties fescarProperties; + private final SeataProperties seataProperties; public GlobalTransactionAutoConfiguration(ApplicationContext applicationContext, - FescarProperties fescarProperties) { + SeataProperties seataProperties) { this.applicationContext = applicationContext; - this.fescarProperties = fescarProperties; + this.seataProperties = seataProperties; } @Bean @@ -48,11 +48,11 @@ public class GlobalTransactionAutoConfiguration { String applicationName = applicationContext.getEnvironment() .getProperty("spring.application.name"); - String txServiceGroup = fescarProperties.getTxServiceGroup(); + String txServiceGroup = seataProperties.getTxServiceGroup(); if (StringUtils.isEmpty(txServiceGroup)) { txServiceGroup = applicationName + "-fescar-service-group"; - fescarProperties.setTxServiceGroup(txServiceGroup); + seataProperties.setTxServiceGroup(txServiceGroup); } return new GlobalTransactionScanner(applicationName, txServiceGroup); diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/FescarProperties.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/SeataProperties.java similarity index 81% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/FescarProperties.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/SeataProperties.java index f7847d968..2aea2745a 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/FescarProperties.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/SeataProperties.java @@ -14,20 +14,20 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar; +package org.springframework.cloud.alibaba.seata; import org.springframework.boot.context.properties.ConfigurationProperties; /** * @author xiaojing */ -@ConfigurationProperties("spring.cloud.alibaba.fescar") -public class FescarProperties { +@ConfigurationProperties("spring.cloud.alibaba.seata") +public class SeataProperties { // todo support config Fescar server information /** - * Fescar tx service group.default is ${spring.application.name}-fescar-service-group. + * Seata tx service group.default is ${spring.application.name}-fescar-service-group. */ private String txServiceGroup; diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarBeanPostProcessor.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataBeanPostProcessor.java similarity index 72% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarBeanPostProcessor.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataBeanPostProcessor.java index 02bd6c32a..17bafb7f7 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarBeanPostProcessor.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataBeanPostProcessor.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign; +package org.springframework.cloud.alibaba.seata.feign; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanPostProcessor; @@ -22,18 +22,18 @@ import org.springframework.beans.factory.config.BeanPostProcessor; /** * @author xiaojing */ -final class FescarBeanPostProcessor implements BeanPostProcessor { +final class SeataBeanPostProcessor implements BeanPostProcessor { - private final FescarFeignObjectWrapper fescarFeignObjectWrapper; + private final SeataFeignObjectWrapper seataFeignObjectWrapper; - FescarBeanPostProcessor(FescarFeignObjectWrapper fescarFeignObjectWrapper) { - this.fescarFeignObjectWrapper = fescarFeignObjectWrapper; + SeataBeanPostProcessor(SeataFeignObjectWrapper seataFeignObjectWrapper) { + this.seataFeignObjectWrapper = seataFeignObjectWrapper; } @Override public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException { - return this.fescarFeignObjectWrapper.wrap(bean); + return this.seataFeignObjectWrapper.wrap(bean); } @Override diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarContextBeanPostProcessor.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataContextBeanPostProcessor.java similarity index 66% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarContextBeanPostProcessor.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataContextBeanPostProcessor.java index ffd8e88e7..b1eb00ef7 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarContextBeanPostProcessor.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataContextBeanPostProcessor.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign; +package org.springframework.cloud.alibaba.seata.feign; import org.springframework.beans.BeansException; import org.springframework.beans.factory.BeanFactory; @@ -24,20 +24,20 @@ import org.springframework.cloud.openfeign.FeignContext; /** * @author xiaojing */ -public class FescarContextBeanPostProcessor implements BeanPostProcessor { +public class SeataContextBeanPostProcessor implements BeanPostProcessor { private final BeanFactory beanFactory; - private FescarFeignObjectWrapper fescarFeignObjectWrapper; + private SeataFeignObjectWrapper seataFeignObjectWrapper; - FescarContextBeanPostProcessor(BeanFactory beanFactory) { + SeataContextBeanPostProcessor(BeanFactory beanFactory) { this.beanFactory = beanFactory; } @Override public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException { - if (bean instanceof FeignContext && !(bean instanceof FescarFeignContext)) { - return new FescarFeignContext(getFescarFeignObjectWrapper(), + if (bean instanceof FeignContext && !(bean instanceof SeataFeignContext)) { + return new SeataFeignContext(getSeataFeignObjectWrapper(), (FeignContext) bean); } return bean; @@ -49,11 +49,11 @@ public class FescarContextBeanPostProcessor implements BeanPostProcessor { return bean; } - private FescarFeignObjectWrapper getFescarFeignObjectWrapper() { - if (this.fescarFeignObjectWrapper == null) { - this.fescarFeignObjectWrapper = this.beanFactory - .getBean(FescarFeignObjectWrapper.class); + private SeataFeignObjectWrapper getSeataFeignObjectWrapper() { + if (this.seataFeignObjectWrapper == null) { + this.seataFeignObjectWrapper = this.beanFactory + .getBean(SeataFeignObjectWrapper.class); } - return this.fescarFeignObjectWrapper; + return this.seataFeignObjectWrapper; } } diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignBuilder.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignBuilder.java similarity index 80% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignBuilder.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignBuilder.java index acab33ff9..4e312011f 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignBuilder.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign; +package org.springframework.cloud.alibaba.seata.feign; import org.springframework.beans.factory.BeanFactory; @@ -23,12 +23,12 @@ import feign.Feign; /** * @author xiaojing */ -final class FescarFeignBuilder { +final class SeataFeignBuilder { - private FescarFeignBuilder() { + private SeataFeignBuilder() { } static Feign.Builder builder(BeanFactory beanFactory) { - return Feign.builder().client(new FescarFeignClient(beanFactory)); + return Feign.builder().client(new SeataFeignClient(beanFactory)); } } diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignClient.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignClient.java similarity index 90% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignClient.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignClient.java index 9fc9d527c..79d305c46 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignClient.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignClient.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign; +package org.springframework.cloud.alibaba.seata.feign; import java.io.IOException; import java.util.ArrayList; @@ -35,17 +35,17 @@ import org.springframework.util.StringUtils; /** * @author xiaojing */ -public class FescarFeignClient implements Client { +public class SeataFeignClient implements Client { private final Client delegate; private final BeanFactory beanFactory; - FescarFeignClient(BeanFactory beanFactory) { + SeataFeignClient(BeanFactory beanFactory) { this.beanFactory = beanFactory; this.delegate = new Client.Default(null, null); } - FescarFeignClient(BeanFactory beanFactory, Client delegate) { + SeataFeignClient(BeanFactory beanFactory, Client delegate) { this.delegate = delegate; this.beanFactory = beanFactory; } diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignClientAutoConfiguration.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignClientAutoConfiguration.java similarity index 75% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignClientAutoConfiguration.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignClientAutoConfiguration.java index 1cb2c0cbb..c3a24f798 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignClientAutoConfiguration.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignClientAutoConfiguration.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign; +package org.springframework.cloud.alibaba.seata.feign; import org.springframework.beans.factory.BeanFactory; import org.springframework.boot.autoconfigure.AutoConfigureBefore; @@ -36,14 +36,14 @@ import feign.Feign; @Configuration @ConditionalOnClass(Client.class) @AutoConfigureBefore(FeignAutoConfiguration.class) -public class FescarFeignClientAutoConfiguration { +public class SeataFeignClientAutoConfiguration { @Bean @Scope("prototype") @ConditionalOnClass(name = "com.netflix.hystrix.HystrixCommand") @ConditionalOnProperty(name = "feign.hystrix.enabled", havingValue = "true") Feign.Builder feignHystrixBuilder(BeanFactory beanFactory) { - return FescarHystrixFeignBuilder.builder(beanFactory); + return SeataHystrixFeignBuilder.builder(beanFactory); } @Bean @@ -51,34 +51,34 @@ public class FescarFeignClientAutoConfiguration { @ConditionalOnClass(name = "com.alibaba.csp.sentinel.SphU") @ConditionalOnProperty(name = "feign.sentinel.enabled", havingValue = "true") Feign.Builder feignSentinelBuilder(BeanFactory beanFactory) { - return FescarSentinelFeignBuilder.builder(beanFactory); + return SeataSentinelFeignBuilder.builder(beanFactory); } @Bean @ConditionalOnMissingBean @Scope("prototype") Feign.Builder feignBuilder(BeanFactory beanFactory) { - return FescarFeignBuilder.builder(beanFactory); + return SeataFeignBuilder.builder(beanFactory); } @Configuration protected static class FeignBeanPostProcessorConfiguration { @Bean - FescarBeanPostProcessor fescarBeanPostProcessor( - FescarFeignObjectWrapper fescarFeignObjectWrapper) { - return new FescarBeanPostProcessor(fescarFeignObjectWrapper); + SeataBeanPostProcessor fescarBeanPostProcessor( + SeataFeignObjectWrapper seataFeignObjectWrapper) { + return new SeataBeanPostProcessor(seataFeignObjectWrapper); } @Bean - FescarContextBeanPostProcessor fescarContextBeanPostProcessor( + SeataContextBeanPostProcessor fescarContextBeanPostProcessor( BeanFactory beanFactory) { - return new FescarContextBeanPostProcessor(beanFactory); + return new SeataContextBeanPostProcessor(beanFactory); } @Bean - FescarFeignObjectWrapper fescarFeignObjectWrapper(BeanFactory beanFactory) { - return new FescarFeignObjectWrapper(beanFactory); + SeataFeignObjectWrapper fescarFeignObjectWrapper(BeanFactory beanFactory) { + return new SeataFeignObjectWrapper(beanFactory); } } diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignContext.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignContext.java similarity index 77% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignContext.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignContext.java index bd8d2251a..4b8c16e77 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignContext.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignContext.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign; +package org.springframework.cloud.alibaba.seata.feign; import java.util.HashMap; import java.util.Map; @@ -26,14 +26,14 @@ import org.springframework.cloud.openfeign.FeignContext; * * @author xiaojing */ -public class FescarFeignContext extends FeignContext { +public class SeataFeignContext extends FeignContext { - private final FescarFeignObjectWrapper fescarFeignObjectWrapper; + private final SeataFeignObjectWrapper seataFeignObjectWrapper; private final FeignContext delegate; - FescarFeignContext(FescarFeignObjectWrapper fescarFeignObjectWrapper, - FeignContext delegate) { - this.fescarFeignObjectWrapper = fescarFeignObjectWrapper; + SeataFeignContext(SeataFeignObjectWrapper seataFeignObjectWrapper, + FeignContext delegate) { + this.seataFeignObjectWrapper = seataFeignObjectWrapper; this.delegate = delegate; } @@ -43,7 +43,7 @@ public class FescarFeignContext extends FeignContext { if (object instanceof Client) { return object; } - return (T) this.fescarFeignObjectWrapper.wrap(object); + return (T) this.seataFeignObjectWrapper.wrap(object); } @Override @@ -59,7 +59,7 @@ public class FescarFeignContext extends FeignContext { } else { convertedInstances.put(entry.getKey(), - (T) this.fescarFeignObjectWrapper.wrap(entry.getValue())); + (T) this.seataFeignObjectWrapper.wrap(entry.getValue())); } } return convertedInstances; diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignObjectWrapper.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignObjectWrapper.java similarity index 83% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignObjectWrapper.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignObjectWrapper.java index 9b42b2f98..4c416e245 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarFeignObjectWrapper.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataFeignObjectWrapper.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign; +package org.springframework.cloud.alibaba.seata.feign; import org.springframework.beans.factory.BeanFactory; import org.springframework.cloud.netflix.ribbon.SpringClientFactory; @@ -26,25 +26,25 @@ import org.springframework.cloud.openfeign.ribbon.LoadBalancerFeignClient; /** * @author xiaojing */ -public class FescarFeignObjectWrapper { +public class SeataFeignObjectWrapper { private final BeanFactory beanFactory; private CachingSpringLoadBalancerFactory cachingSpringLoadBalancerFactory; private SpringClientFactory springClientFactory; - FescarFeignObjectWrapper(BeanFactory beanFactory) { + SeataFeignObjectWrapper(BeanFactory beanFactory) { this.beanFactory = beanFactory; } Object wrap(Object bean) { - if (bean instanceof Client && !(bean instanceof FescarFeignClient)) { + if (bean instanceof Client && !(bean instanceof SeataFeignClient)) { if (bean instanceof LoadBalancerFeignClient) { LoadBalancerFeignClient client = ((LoadBalancerFeignClient) bean); - return new FescarLoadBalancerFeignClient(client.getDelegate(), factory(), + return new SeataLoadBalancerFeignClient(client.getDelegate(), factory(), clientFactory(), this.beanFactory); } - return new FescarFeignClient(this.beanFactory, (Client) bean); + return new SeataFeignClient(this.beanFactory, (Client) bean); } return bean; } diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarHystrixFeignBuilder.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataHystrixFeignBuilder.java similarity index 83% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarHystrixFeignBuilder.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataHystrixFeignBuilder.java index b67a9d840..61a27b842 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarHystrixFeignBuilder.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataHystrixFeignBuilder.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign; +package org.springframework.cloud.alibaba.seata.feign; import feign.Retryer; import feign.hystrix.HystrixFeign; @@ -25,13 +25,13 @@ import feign.Feign; /** * @author xiaojing */ -final class FescarHystrixFeignBuilder { +final class SeataHystrixFeignBuilder { - private FescarHystrixFeignBuilder() { + private SeataHystrixFeignBuilder() { } static Feign.Builder builder(BeanFactory beanFactory) { return HystrixFeign.builder().retryer(Retryer.NEVER_RETRY) - .client(new FescarFeignClient(beanFactory)); + .client(new SeataFeignClient(beanFactory)); } } diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarLoadBalancerFeignClient.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataLoadBalancerFeignClient.java similarity index 78% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarLoadBalancerFeignClient.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataLoadBalancerFeignClient.java index 7f00d0585..991ee166d 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarLoadBalancerFeignClient.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataLoadBalancerFeignClient.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign; +package org.springframework.cloud.alibaba.seata.feign; import java.io.IOException; @@ -30,13 +30,13 @@ import org.springframework.cloud.openfeign.ribbon.LoadBalancerFeignClient; /** * @author xiaojing */ -public class FescarLoadBalancerFeignClient extends LoadBalancerFeignClient { +public class SeataLoadBalancerFeignClient extends LoadBalancerFeignClient { private final BeanFactory beanFactory; - FescarLoadBalancerFeignClient(Client delegate, - CachingSpringLoadBalancerFactory lbClientFactory, - SpringClientFactory clientFactory, BeanFactory beanFactory) { + SeataLoadBalancerFeignClient(Client delegate, + CachingSpringLoadBalancerFactory lbClientFactory, + SpringClientFactory clientFactory, BeanFactory beanFactory) { super(wrap(delegate, beanFactory), lbClientFactory, clientFactory); this.beanFactory = beanFactory; } @@ -47,7 +47,7 @@ public class FescarLoadBalancerFeignClient extends LoadBalancerFeignClient { } private static Client wrap(Client delegate, BeanFactory beanFactory) { - return (Client) new FescarFeignObjectWrapper(beanFactory).wrap(delegate); + return (Client) new SeataFeignObjectWrapper(beanFactory).wrap(delegate); } } diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarSentinelFeignBuilder.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataSentinelFeignBuilder.java similarity index 75% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarSentinelFeignBuilder.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataSentinelFeignBuilder.java index 42f632144..166b27882 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/FescarSentinelFeignBuilder.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/SeataSentinelFeignBuilder.java @@ -14,26 +14,24 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign; +package org.springframework.cloud.alibaba.seata.feign; import org.springframework.beans.factory.BeanFactory; import feign.Feign; import feign.Retryer; -import feign.hystrix.HystrixFeign; -import org.springframework.boot.autoconfigure.data.redis.RedisProperties.Sentinel; import org.springframework.cloud.alibaba.sentinel.feign.SentinelFeign; /** * @author xiaojing */ -final class FescarSentinelFeignBuilder { +final class SeataSentinelFeignBuilder { - private FescarSentinelFeignBuilder() { + private SeataSentinelFeignBuilder() { } static Feign.Builder builder(BeanFactory beanFactory) { return SentinelFeign.builder().retryer(Retryer.NEVER_RETRY) - .client(new FescarFeignClient(beanFactory)); + .client(new SeataFeignClient(beanFactory)); } } diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/hystrix/FescarHystrixAutoConfiguration.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/hystrix/SeataHystrixAutoConfiguration.java similarity index 80% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/hystrix/FescarHystrixAutoConfiguration.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/hystrix/SeataHystrixAutoConfiguration.java index f7db4b0d9..332293d17 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/hystrix/FescarHystrixAutoConfiguration.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/hystrix/SeataHystrixAutoConfiguration.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign.hystrix; +package org.springframework.cloud.alibaba.seata.feign.hystrix; import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; import org.springframework.context.annotation.Bean; @@ -27,11 +27,11 @@ import com.netflix.hystrix.HystrixCommand; @Configuration @ConditionalOnClass(HystrixCommand.class) -public class FescarHystrixAutoConfiguration { +public class SeataHystrixAutoConfiguration { @Bean - FescarHystrixConcurrencyStrategy fescarHystrixConcurrencyStrategy() { - return new FescarHystrixConcurrencyStrategy(); + SeataHystrixConcurrencyStrategy fescarHystrixConcurrencyStrategy() { + return new SeataHystrixConcurrencyStrategy(); } } \ No newline at end of file diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/hystrix/FescarHystrixConcurrencyStrategy.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/hystrix/SeataHystrixConcurrencyStrategy.java similarity index 90% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/hystrix/FescarHystrixConcurrencyStrategy.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/hystrix/SeataHystrixConcurrencyStrategy.java index e21ff1680..47bd70711 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/feign/hystrix/FescarHystrixConcurrencyStrategy.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/feign/hystrix/SeataHystrixConcurrencyStrategy.java @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.feign.hystrix; +package org.springframework.cloud.alibaba.seata.feign.hystrix; import java.util.concurrent.Callable; @@ -25,11 +25,11 @@ import com.netflix.hystrix.strategy.concurrency.HystrixConcurrencyStrategy; /** * @author xiaojing */ -public class FescarHystrixConcurrencyStrategy extends HystrixConcurrencyStrategy { +public class SeataHystrixConcurrencyStrategy extends HystrixConcurrencyStrategy { private HystrixConcurrencyStrategy delegate; - public FescarHystrixConcurrencyStrategy() { + public SeataHystrixConcurrencyStrategy() { this.delegate = HystrixPlugins.getInstance().getConcurrencyStrategy(); HystrixPlugins.reset(); HystrixPlugins.getInstance().registerConcurrencyStrategy(this); diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/rest/FescarRestTemplateAutoConfiguration.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/rest/SeataRestTemplateAutoConfiguration.java similarity index 85% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/rest/FescarRestTemplateAutoConfiguration.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/rest/SeataRestTemplateAutoConfiguration.java index 11fde4df4..9acad5a0e 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/rest/FescarRestTemplateAutoConfiguration.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/rest/SeataRestTemplateAutoConfiguration.java @@ -29,7 +29,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.rest; +package org.springframework.cloud.alibaba.seata.rest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; @@ -47,18 +47,18 @@ import java.util.List; */ @Configuration -public class FescarRestTemplateAutoConfiguration { +public class SeataRestTemplateAutoConfiguration { @Bean - public FescarRestTemplateInterceptor fescarRestTemplateInterceptor() { - return new FescarRestTemplateInterceptor(); + public SeataRestTemplateInterceptor fescarRestTemplateInterceptor() { + return new SeataRestTemplateInterceptor(); } @Autowired(required = false) private Collection restTemplates; @Autowired - private FescarRestTemplateInterceptor fescarRestTemplateInterceptor; + private SeataRestTemplateInterceptor seataRestTemplateInterceptor; @PostConstruct public void init() { @@ -66,7 +66,7 @@ public class FescarRestTemplateAutoConfiguration { for (RestTemplate restTemplate : restTemplates) { List interceptors = new ArrayList( restTemplate.getInterceptors()); - interceptors.add(this.fescarRestTemplateInterceptor); + interceptors.add(this.seataRestTemplateInterceptor); restTemplate.setInterceptors(interceptors); } } diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/rest/FescarRestTemplateInterceptor.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/rest/SeataRestTemplateInterceptor.java similarity index 91% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/rest/FescarRestTemplateInterceptor.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/rest/SeataRestTemplateInterceptor.java index 5a5b2a10a..1f4bb6f8d 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/rest/FescarRestTemplateInterceptor.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/rest/SeataRestTemplateInterceptor.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.rest; +package org.springframework.cloud.alibaba.seata.rest; import java.io.IOException; @@ -30,7 +30,7 @@ import org.springframework.util.StringUtils; /** * @author xiaojing */ -public class FescarRestTemplateInterceptor implements ClientHttpRequestInterceptor { +public class SeataRestTemplateInterceptor implements ClientHttpRequestInterceptor { @Override public ClientHttpResponse intercept(HttpRequest httpRequest, byte[] bytes, ClientHttpRequestExecution clientHttpRequestExecution) throws IOException { diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/web/FescarHandlerInterceptor.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/web/SeataHandlerInterceptor.java similarity index 93% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/web/FescarHandlerInterceptor.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/web/SeataHandlerInterceptor.java index 84ffee8e8..640a56054 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/web/FescarHandlerInterceptor.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/web/SeataHandlerInterceptor.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.web; +package org.springframework.cloud.alibaba.seata.web; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -35,10 +35,10 @@ import org.springframework.web.servlet.HandlerInterceptor; * And clean up Fescar information after servlet method invocation in * {@link org.springframework.web.servlet.HandlerInterceptor#afterCompletion(HttpServletRequest, HttpServletResponse, Object, Exception)} */ -public class FescarHandlerInterceptor implements HandlerInterceptor { +public class SeataHandlerInterceptor implements HandlerInterceptor { private static final Logger log = LoggerFactory - .getLogger(FescarHandlerInterceptor.class); + .getLogger(SeataHandlerInterceptor.class); @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, diff --git a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/web/FescarHandlerInterceptorConfiguration.java b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/web/SeataHandlerInterceptorConfiguration.java similarity index 80% rename from spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/web/FescarHandlerInterceptorConfiguration.java rename to spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/web/SeataHandlerInterceptorConfiguration.java index c510b1ac7..bc0ce5635 100644 --- a/spring-cloud-alibaba-fescar/src/main/java/org/springframework/cloud/alibaba/fescar/web/FescarHandlerInterceptorConfiguration.java +++ b/spring-cloud-alibaba-seata/src/main/java/org/springframework/cloud/alibaba/seata/web/SeataHandlerInterceptorConfiguration.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package org.springframework.cloud.alibaba.fescar.web; +package org.springframework.cloud.alibaba.seata.web; import org.springframework.web.servlet.config.annotation.InterceptorRegistry; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @@ -22,10 +22,10 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; /** * @author xiaojing */ -public class FescarHandlerInterceptorConfiguration implements WebMvcConfigurer { +public class SeataHandlerInterceptorConfiguration implements WebMvcConfigurer { @Override public void addInterceptors(InterceptorRegistry registry) { - registry.addInterceptor(new FescarHandlerInterceptor()).addPathPatterns("/**"); + registry.addInterceptor(new SeataHandlerInterceptor()).addPathPatterns("/**"); } } diff --git a/spring-cloud-alibaba-seata/src/main/resources/META-INF/spring.factories b/spring-cloud-alibaba-seata/src/main/resources/META-INF/spring.factories new file mode 100644 index 000000000..24c7c008a --- /dev/null +++ b/spring-cloud-alibaba-seata/src/main/resources/META-INF/spring.factories @@ -0,0 +1,7 @@ +org.springframework.boot.autoconfigure.EnableAutoConfiguration=\ +org.springframework.cloud.alibaba.seata.rest.SeataRestTemplateAutoConfiguration,\ +org.springframework.cloud.alibaba.seata.web.SeataHandlerInterceptorConfiguration,\ +org.springframework.cloud.alibaba.seata.GlobalTransactionAutoConfiguration,\ +org.springframework.cloud.alibaba.seata.feign.SeataFeignClientAutoConfiguration,\ +org.springframework.cloud.alibaba.seata.feign.hystrix.SeataHystrixAutoConfiguration + diff --git a/spring-cloud-starter-alibaba/pom.xml b/spring-cloud-starter-alibaba/pom.xml index f510d18f0..bac3eafc3 100644 --- a/spring-cloud-starter-alibaba/pom.xml +++ b/spring-cloud-starter-alibaba/pom.xml @@ -16,7 +16,7 @@ spring-cloud-starter-alibaba-nacos-config-server spring-cloud-starter-alibaba-nacos-discovery spring-cloud-starter-alibaba-sentinel - spring-cloud-starter-alibaba-fescar + spring-cloud-starter-alibaba-seata spring-cloud-starter-stream-rocketmq spring-cloud-starter-bus-rocketmq spring-cloud-starter-dubbo diff --git a/spring-cloud-starter-alibaba/spring-cloud-starter-alibaba-fescar/pom.xml b/spring-cloud-starter-alibaba/spring-cloud-starter-alibaba-seata/pom.xml similarity index 76% rename from spring-cloud-starter-alibaba/spring-cloud-starter-alibaba-fescar/pom.xml rename to spring-cloud-starter-alibaba/spring-cloud-starter-alibaba-seata/pom.xml index ca3b4b281..a6c5df07d 100644 --- a/spring-cloud-starter-alibaba/spring-cloud-starter-alibaba-fescar/pom.xml +++ b/spring-cloud-starter-alibaba/spring-cloud-starter-alibaba-seata/pom.xml @@ -7,13 +7,13 @@ spring-cloud-starter-alibaba 2.1.0.BUILD-SNAPSHOT - spring-cloud-starter-alibaba-fescar - Spring Cloud Starter Alibaba Fescar + spring-cloud-starter-alibaba-seata + Spring Cloud Starter Alibaba Seata org.springframework.cloud - spring-cloud-alibaba-fescar + spring-cloud-alibaba-seata