[GitHub] wz510172336 commented on issue #372: 我的服务模块连接不上alpha集群,以至于在全局事务时用restemplete 访问不了模块url
wz510172336 commented on issue #372: 我的服务模块连接不上alpha集群,以至于在全局事务时用restemplete 访问不了模块url URL: https://github.com/apache/servicecomb-pack/issues/372#issuecomment-451070127 alpha: cluster: address: alpha-server.servicecomb.io:8080 我在子模块中加了上述配置,用的saga-0.2.0 镜像,而且打上标记@enableomga后,应该在alpha中找得到instanceid,可是3个服务一个都没连接。不知道是不是grpc包引用问题还是Spring5.0.9和spring4.1.13与其兼容问题 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] wz510172336 opened a new issue #372: 我的服务模块连接不上alpha集群,以至于在全局事务时用restemplete 访问不了模块url
wz510172336 opened a new issue #372: 我的服务模块连接不上alpha集群,以至于在全局事务时用restemplete 访问不了模块url URL: https://github.com/apache/servicecomb-pack/issues/372 报这个错误: 2019-01-03 06:48:01.006 ERROR 40 --- [nio-8080-exec-1] o.a.s.s.o.transaction.SagaStartAspect: Transaction 8018b128-a32b-4e08-befb-6c31c1262d0a failed. is org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://account-service.servicecomb.io:8080/account/128/4": Connection refused (Connection refused); nested exception is java.net.ConnectException: Connection refused (Connection refused)] with root cause java.net.ConnectException: Connection refused (Connection refused 我代码是这样的: @RestController @Slf4j public class MerchantAccountController { @Autowired private RestTemplate restTemplate; @Value("${account-service.service.address:http://account-service.servicecomb.io:8080};) private String accoountUrl; @Value("${businesses-service.service.address:http://businesses-service.servicecomb.io:8080};) private String businessesUrl; @SagaStart @PostMapping("/num/caculate/{num1}/{num2}") public void numCaculate(@PathVariable Integer num1, @PathVariable Integer num2) { log.info("saga事务start"); //全局事务 restTemplate.postForEntity(accoountUrl+"/account/{num1}/{num2}",null,String.class,num1,num2); restTemplate.postForEntity(businessesUrl+"/merchant/{num1}/{num2}",null,String.class,num1,num2); log.info("saga事务结束"); } } This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[servicecomb-pack] branch master updated: Update the README file
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git The following commit(s) were added to refs/heads/master by this push: new 32bf295 Update the README file 32bf295 is described below commit 32bf29526b957076e3f7127ca0692c1fe5fbedb1 Author: Willem Jiang AuthorDate: Thu Jan 3 12:33:06 2019 +0800 Update the README file --- README.md| 2 +- README_ZH.md | 6 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 890f623..0d548df 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Pack | [中文](README_ZH.md) [![Build Status](https://travis-ci.org/apache/servicecomb-pack.svg?branch=master)](https://travis-ci.org/apache/servicecomb-pack?branch=master) [![Coverage Status](https://coveralls.io/repos/github/apache/servicecomb-pack/badge.svg?branch=master)](https://coveralls.io/github/apache/servicecomb-pack?branch=master)[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.servicecomb.saga/saga/badge.svg)](http://search.maven.org/#search%7Cga%7 [...] +# Pack | [中文](README_ZH.md) [![Build Status](https://travis-ci.org/apache/servicecomb-pack.svg?branch=master)](https://travis-ci.org/apache/servicecomb-pack?branch=master) [![Coverage Status](https://coveralls.io/repos/github/apache/servicecomb-pack/badge.svg?branch=master)](https://coveralls.io/github/apache/servicecomb-pack?branch=master)[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.servicecomb.pack/pack/badge.svg)](http://search.maven.org/#search%7Cga%7 [...] Apache ServiceComb Pack is an eventually data consistency solution for micro-service applications. ## Features diff --git a/README_ZH.md b/README_ZH.md index d560fef..7366d3a 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -1,4 +1,4 @@ -# Pack | [English](README.md) [![Build Status](https://travis-ci.org/apache/servicecomb-pack.svg?branch=master)](https://travis-ci.org/apache/servicecomb-pack?branch=master) [![Coverage Status](https://coveralls.io/repos/github/apache/servicecomb-pack/badge.svg?branch=master)](https://coveralls.io/github/apache/servicecomb-pack?branch=master) [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html) [![Gitter](https://img.s [...] +# Pack | [English](README.md) [![Build Status](https://travis-ci.org/apache/servicecomb-pack.svg?branch=master)](https://travis-ci.org/apache/servicecomb-pack?branch=master) [![Coverage Status](https://coveralls.io/repos/github/apache/servicecomb-pack/badge.svg?branch=master)](https://coveralls.io/github/apache/servicecomb-pack?branch=master)[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.apache.servicecomb.pack/pack/badge.svg)](http://search.maven.org/#search%7Cga [...] Apache ServiceComb Pack 是一个微服务应用的数据最终一致性解决方案。 ## 特性 @@ -103,5 +103,9 @@ JDK9或者JDK10 来编译Saga并运行测试的话,你需要使用 spring-boot ## 贡献 详情可浏览[代码提交指南](http://servicecomb.apache.org/cn/developers/submit-codes/)。 +## Github加星之旅 +[![Stargazers over time](https://starcharts.herokuapp.com/apache/servicecomb-pack.svg)](https://starcharts.herokuapp.com/apache/servicecomb-pack) + + ## License [Apache 2.0 license](https://github.com/apache/servicecomb-pack/blob/master/LICENSE)。
[servicecomb-website] branch asf-site updated (558f53e -> 5ed3262)
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git. from 558f53e Publish the website add ff533fa Added a note on saga-downloads page and translate the download page new 44bf4d5 Merge branch 'master' into asf-site new 5ed3262 Publish the website The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: _release/cn/compatible_version.md | 2 +- _release/cn/pack_downloads.md | 2 +- _release/cn/saga_actuator_downloads.md | 4 ++-- _release/cn/saga_downloads.md | 3 ++- _release/cn/service_center_downloads.md| 2 +- _release/pack_downloads.md | 2 +- _release/saga_downloads.md | 1 + content/cn/release/compatibleversion.html | 2 +- content/cn/release/pack-downloads/index.html | 6 +++--- content/cn/release/saga-actuator-downloads/index.html | 8 content/cn/release/saga-downloads/index.html | 6 -- content/cn/release/service-center-downloads/index.html | 4 ++-- content/feed.xml | 2 +- content/release/pack-downloads/index.html | 2 +- content/release/saga-downloads/index.html | 4 +++- 15 files changed, 28 insertions(+), 22 deletions(-)
[servicecomb-website] branch master updated (fc899e8 -> ff533fa)
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git. from fc899e8 Fix a key import issue in the download page add ff533fa Added a note on saga-downloads page and translate the download page No new revisions were added by this update. Summary of changes: _release/cn/compatible_version.md | 2 +- _release/cn/pack_downloads.md | 2 +- _release/cn/saga_actuator_downloads.md | 4 ++-- _release/cn/saga_downloads.md | 3 ++- _release/cn/service_center_downloads.md | 2 +- _release/pack_downloads.md | 2 +- _release/saga_downloads.md | 1 + 7 files changed, 9 insertions(+), 7 deletions(-)
[servicecomb-website] 01/02: Merge branch 'master' into asf-site
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git commit 44bf4d516b46a3d4d41a0af2caf6be27cf19bfd2 Merge: 558f53e ff533fa Author: Willem Jiang AuthorDate: Thu Jan 3 09:58:21 2019 +0800 Merge branch 'master' into asf-site _release/cn/compatible_version.md | 2 +- _release/cn/pack_downloads.md | 2 +- _release/cn/saga_actuator_downloads.md | 4 ++-- _release/cn/saga_downloads.md | 3 ++- _release/cn/service_center_downloads.md | 2 +- _release/pack_downloads.md | 2 +- _release/saga_downloads.md | 1 + 7 files changed, 9 insertions(+), 7 deletions(-)
[GitHub] WillemJiang commented on issue #369: 如何连上你们开发的maven私库
WillemJiang commented on issue #369: 如何连上你们开发的maven私库 URL: https://github.com/apache/servicecomb-pack/issues/369#issuecomment-451040437 @nglj03 FYI, We updated the README file for it in this #371. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] WillemJiang commented on a change in pull request #159: Add ServiceComb community introduction
WillemJiang commented on a change in pull request #159: Add ServiceComb community introduction URL: https://github.com/apache/servicecomb-website/pull/159#discussion_r244901302 ## File path: _posts/cn/2018-12-29-apache-servicecomb-introduction-slides.md ## @@ -0,0 +1,20 @@ +--- +title: "Apache ServiceComb开源微服务社区介绍" +lang: cn +ref: apache-servicecomb-introduction-slides +permalink: /cn/docs/apache-servicecomb-introduction-slides/ +excerpt: "Apache ServiceComb开源微服务社区介绍PDF" +last_modified_at: 2018-12-29T17:18:43+08:00 +author: Mabin +tags: [微服务, PDF] +redirect_from: + - /theme-setup/ +--- + + + + +**《Apache ServiceComb开源微服务社区介绍》** Review comment: Please update the[ slide list](https://github.com/apache/servicecomb-website/blob/master/_pages/cn/about-slides.md) for this slide. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[servicecomb-website] 02/02: Publish the website
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git commit 558f53e2a388a8c6f2c84e001c5471bb5ff6f99d Author: Willem Jiang AuthorDate: Thu Jan 3 09:23:12 2019 +0800 Publish the website --- .../cn/release/java-chassis-downloads/index.html | 12 content/cn/release/pack-downloads/index.html | 11 --- .../cn/release/saga-actuator-downloads/index.html | 35 ++ content/cn/release/saga-downloads/index.html | 2 +- .../cn/release/service-center-downloads/index.html | 12 content/feed.xml | 2 +- content/index.html | 4 +-- content/release/java-chassis-downloads/index.html | 15 +- content/release/saga-actuator-downloads/index.html | 2 +- content/release/saga-downloads/index.html | 2 +- .../release/service-center-downloads/index.html| 14 - 11 files changed, 53 insertions(+), 58 deletions(-) diff --git a/content/cn/release/java-chassis-downloads/index.html b/content/cn/release/java-chassis-downloads/index.html index 62610a1..2c4341e 100644 --- a/content/cn/release/java-chassis-downloads/index.html +++ b/content/cn/release/java-chassis-downloads/index.html @@ -465,14 +465,14 @@ 发布包验证 使用PGP或SHA签名验证下载文件的完整性是很有必要的。PGP签名可以使用GPG或PGP进行验证,请下载 https://www.apache.org/dist/servicecomb/KEYS;>KEYS以及相关发行的asc签名文件。建议从主发行https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/; target="_blank">目录 中获取这些文件,而不是从镜像中获取这些文件。 - gpg -i KEYS - + gpg -import KEYS + or - + pgpk -a KEYS - + or - + pgp -ka KEYS @@ -486,7 +486,7 @@ or pgpv apache-servicecomb-java-chassis-.asc -or +or pgp apache-servicecomb-java-chassis-.asc diff --git a/content/cn/release/pack-downloads/index.html b/content/cn/release/pack-downloads/index.html index 1da63d1..ff3cf12 100644 --- a/content/cn/release/pack-downloads/index.html +++ b/content/cn/release/pack-downloads/index.html @@ -423,7 +423,7 @@ -Releases +发布包 @@ -442,12 +442,11 @@ -Verifying the release +发布包验证 +使用PGP或SHA签名验证下载文件的完整性是很有必要的。PGP签名可以使用GPG或PGP进行验证,请下载 https://www.apache.org/dist/servicecomb/KEYS;>KEYS以及相关发行的asc签名文件。 +建议从主发行https://www.apache.org/dist/servicecomb/servicecomb-pack/; target="_blank">目录中获取这些文件,而不是从镜像中获取这些文件。 -It is essential that you verify the integrity of the downloaded files using the PGP or SHA signatures. - The PGP signatures can be verified using GPG or PGP. - Please download the https://www.apache.org/dist/servicecomb/KEYS; target="_blank">KEYS as well as the asc signature files for relevant distribution. It is recommended to get these files from the main distribution https://www.apache.org/dist/servicecomb/servicecomb-pack/; target="_blank">directory and not from the mirrors. - gpg -i KEYS + gpg -import KEYS or diff --git a/content/cn/release/saga-actuator-downloads/index.html b/content/cn/release/saga-actuator-downloads/index.html index 09ef3da..1599db8 100644 --- a/content/cn/release/saga-actuator-downloads/index.html +++ b/content/cn/release/saga-actuator-downloads/index.html @@ -444,37 +444,34 @@ Verifying the release -It is essential that you verify the integrity of the downloaded files using the PGP or SHA signatures. - The PGP signatures can be verified using GPG or PGP. - Please download the https://www.apache.org/dist/servicecomb/KEYS; target="_blank">KEYS as well as the asc signature files for relevant distribution. It is recommended to get these files from the main distribution https://www.apache.org/dist/servicecomb/servicecomb-saga-actuator/; target="_blank">directory and not from the mirrors. - gpg -i KEYS +使用PGP或SHA签名验证下载文件的完整性是很有必要的。PGP签名可以使用GPG或PGP进行验证,请下载 https://www.apache.org/dist/servicecomb/KEYS;>KEYS以及相关发行的asc签名文件。 +建议从主发行https://www.apache.org/dist/servicecomb/servicecomb-saga-actuator/; target="_blank">目录中获取这些文件,而不是从镜像中获取这些文件。 ``` + gpg -import KEYS - or +or - pgpk -a KEYS +pgpk -a KEYS - or +or - pgp -ka KEYS +pgp -ka KEYS + + +To verify the binaries/sources you can download the relevant asc files for it from main distribution directory and follow the below guide. +gpg –verify apache-servicecomb-saga**.asc apache-servicecomb-saga-*** -To verify the binaries/sources you can download the relevant asc files for it from main distribution directory and follow the below guide. - -gpg --verify apache-servicecomb-saga.asc apache-servicecomb-saga-* - -or +or -pgpv apache-servicecomb-saga-.asc +pgpv apache-servicecomb-saga-.asc -or +or -pgp apache-servicecomb-saga-.asc +pgp apache-servicecomb-saga-.asc - - - +``` Alternatively you can download the SHA signatures from main distribution https://www.apache.org/dist/servicecomb/servicecomb-saga-actuator/;
[servicecomb-website] branch asf-site updated (eef425d -> 558f53e)
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git. from eef425d Publish the website add 8d71b44 Polish the home page news add fc899e8 Fix a key import issue in the download page new 69deddd Merge branch 'master' into asf-site new 558f53e Publish the website The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: _pages/home.md | 6 ++-- _release/cn/java_chassis_downloads.md | 18 +-- _release/cn/pack_downloads.md | 15 +- _release/cn/saga_actuator_downloads.md | 12 _release/cn/saga_downloads.md | 6 ++-- _release/cn/service_center_downloads.md| 12 _release/java_chassis_downloads.md | 22 +++--- _release/pack_downloads.md | 4 +-- _release/saga_actuator_downloads.md| 6 ++-- _release/saga_downloads.md | 6 ++-- _release/service_center_downloads.md | 14 - .../cn/release/java-chassis-downloads/index.html | 12 content/cn/release/pack-downloads/index.html | 11 --- .../cn/release/saga-actuator-downloads/index.html | 35 ++ content/cn/release/saga-downloads/index.html | 2 +- .../cn/release/service-center-downloads/index.html | 12 content/feed.xml | 2 +- content/index.html | 4 +-- content/release/java-chassis-downloads/index.html | 15 +- content/release/saga-actuator-downloads/index.html | 2 +- content/release/saga-downloads/index.html | 2 +- .../release/service-center-downloads/index.html| 14 - 22 files changed, 111 insertions(+), 121 deletions(-)
[servicecomb-website] 01/02: Merge branch 'master' into asf-site
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git commit 69deddd243d6a060414a65fc6896a82ae981ce83 Merge: eef425d fc899e8 Author: Willem Jiang AuthorDate: Thu Jan 3 09:18:48 2019 +0800 Merge branch 'master' into asf-site _pages/home.md | 6 +++--- _release/cn/java_chassis_downloads.md | 18 +- _release/cn/pack_downloads.md | 15 +++ _release/cn/saga_actuator_downloads.md | 12 +--- _release/cn/saga_downloads.md | 6 +++--- _release/cn/service_center_downloads.md | 12 ++-- _release/java_chassis_downloads.md | 22 ++ _release/pack_downloads.md | 4 ++-- _release/saga_actuator_downloads.md | 6 +++--- _release/saga_downloads.md | 6 +++--- _release/service_center_downloads.md| 14 +++--- 11 files changed, 58 insertions(+), 63 deletions(-)
[servicecomb-website] branch master updated (7009b07 -> fc899e8)
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git. from 7009b07 Polish the home page and fix the navigation error add 8d71b44 Polish the home page news add fc899e8 Fix a key import issue in the download page No new revisions were added by this update. Summary of changes: _pages/home.md | 6 +++--- _release/cn/java_chassis_downloads.md | 18 +- _release/cn/pack_downloads.md | 15 +++ _release/cn/saga_actuator_downloads.md | 12 +--- _release/cn/saga_downloads.md | 6 +++--- _release/cn/service_center_downloads.md | 12 ++-- _release/java_chassis_downloads.md | 22 ++ _release/pack_downloads.md | 4 ++-- _release/saga_actuator_downloads.md | 6 +++--- _release/saga_downloads.md | 6 +++--- _release/service_center_downloads.md| 14 +++--- 11 files changed, 58 insertions(+), 63 deletions(-)
[servicecomb-website] branch master updated (92fdf95 -> 7009b07)
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git. from 92fdf95 Update the Release Page with ServiceComb Pack 0.3.0 Release Info add 7009b07 Polish the home page and fix the navigation error No new revisions were added by this update. Summary of changes: _data/navigation.yml | 10 +- _pages/cn/home.md| 8 _pages/home.md | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-)
[servicecomb-website] branch asf-site updated (3599c2e -> eef425d)
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a change to branch asf-site in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git. from 3599c2e Publish the website add 92fdf95 Update the Release Page with ServiceComb Pack 0.3.0 Release Info add 7009b07 Polish the home page and fix the navigation error new 07ff6a8 Merge branch 'master' into asf-site new eef425d Publish the website The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: _data/navigation.yml | 25 ++- _pages/cn/home.md | 11 +- _pages/home.md | 9 +- _release/cn/pack_downloads.md | 50 ++ _release/cn/pack_releaseNotes.md | 161 + _release/cn/release.md | 2 + _release/pack_downloads.md | 50 ++ _release/pack_releaseNotes.md | 161 + _release/release.md| 2 + content/404.html | 2 +- content/cn/404.html| 2 +- content/cn/developers/becomming-a-commiter.html| 2 +- content/cn/developers/contributing.html| 2 +- content/cn/developers/index.html | 2 +- content/cn/developers/release-guide/index.html | 2 +- .../developers/release-validation-guide/index.html | 2 +- .../developers/setup-committer-rights/index.html | 2 +- .../setup-develop-environment/index.html | 2 +- content/cn/developers/submit-codes/index.html | 2 +- .../cn/developers/subscribe-mail-list/index.html | 2 +- content/cn/developers/team/index.html | 2 +- content/cn/developers/use-gitter/index.html| 2 +- content/cn/developers/use-jira/index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- .../docs/apache-servicecomb-day-slides/index.html | 2 +- .../apache-servicecomb-incubating-day/index.html | 2 +- content/cn/docs/autoscale-on-company/index.html| 2 +- .../index.html | 2 +- content/cn/docs/communication-btw-sc-ms/index.html | 2 +- content/cn/docs/company-on-kubernetes/index.html | 2 +- .../cn/docs/config_center_integration/index.html | 2 +- content/cn/docs/consul-servicemesh.html| 2 +- content/cn/docs/crm-part-I/index.html | 2 +- .../index.html | 2 +- content/cn/docs/distributed_saga_1/index.html | 2 +- content/cn/docs/distributed_saga_2/index.html | 2 +- content/cn/docs/distributed_saga_3/index.html | 2 +- content/cn/docs/go-to-cloud/index.html | 2 +- .../index.html | 2 +- .../docs/how-to-reform-a-legacy-system/index.html | 2 +- content/cn/docs/jira_beginner_guide/index.html | 2 +- content/cn/docs/join_the_community/index.html | 2 +- content/cn/docs/linuxcon-workshop-demo/index.html | 2 +- content/cn/docs/loadtest-saga-with-kubernetes.html | 2 +- .../cn/docs/maven_dependency_management/index.html | 2 +- content/cn/docs/open-design/index.html | 2 +- .../index.html | 2 +- content/cn/docs/osi-microservices/index.html | 2 +- .../index.html | 2 +- .../distributed-tracing/index.html | 2 +- .../quick-start-advance/flow-control/index.html| 2 +- content/cn/docs/quick-start-advance/index.html | 2 +- .../quick-start-advance/load-balance/index.html| 2 +- .../service-management/index.html | 2 +- content/cn/docs/quick-start-bmi/index.html | 2 +- .../cn/docs/quick-start-dataconsistency/index.html | 2 +- content/cn/docs/quick-start/index.html | 2 +- content/cn/docs/release-note-1-0-0.html| 2 +- content/cn/docs/saga_pack_design/index.html| 2 +- content/cn/docs/saga_with_cucumber/index.html | 2 +- .../seckill-development-journey-part-I/index.html | 2 +- .../seckill-development-journey-part-II/index.html | 2 +- .../index.html | 2 +- .../index.html | 2 +- content/cn/docs/talk-to-apache-experts.html| 2 +- .../cn/docs/tracing-with-servicecomb/index.html| 2 +- content/cn/faqs/faqs-huawei-cloud/index.html | 2 +- content/cn/faqs/index.html | 2 +- content/cn/index.html
[GitHub] nglj03 commented on issue #369: 如何连上你们开发的maven私库
nglj03 commented on issue #369: 如何连上你们开发的maven私库 URL: https://github.com/apache/servicecomb-pack/issues/369#issuecomment-451031006 ok,thx This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] nglj03 closed issue #369: 如何连上你们开发的maven私库
nglj03 closed issue #369: 如何连上你们开发的maven私库 URL: https://github.com/apache/servicecomb-pack/issues/369 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[servicecomb-pack] branch master updated: SCB-1099 Add nexus SNAPSHOT information to the README repo
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git The following commit(s) were added to refs/heads/master by this push: new 716c8f9 SCB-1099 Add nexus SNAPSHOT information to the README repo 716c8f9 is described below commit 716c8f9ac0852f2f3cde4050e7bf7a79b87c7285 Author: longchun AuthorDate: Wed Jan 2 18:12:52 2019 +0800 SCB-1099 Add nexus SNAPSHOT information to the README repo --- README.md| 34 -- README_ZH.md | 34 +- 2 files changed, 65 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b96b1e0..890f623 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,39 @@ Since Spring Boot supports JDK9 since 2.x, if you want to build and run test the ## User Guide How to build and use can refer to [User Guide](docs/user_guide.md). -## Get The Latest Release +## Get The Latest Version -[Download Pack](http://servicecomb.apache.org/release/saga-downloads/) +Get released version: + +* [Download Pack](http://servicecomb.apache.org/release/saga-downloads/) + +Get snapshot version: + +* We publish the snapshot version to Apache nexus repo, please add below repositories into your pom.xml. + ``` + + + + + true + + repo.apache.snapshot + https://repository.apache.org/content/repositories/snapshots/ + + + + + + + true + + repo.apache.snapshot + https://repository.apache.org/content/repositories/snapshots/ + + + + + ``` ## [FAQ](FAQ.md) diff --git a/README_ZH.md b/README_ZH.md index a200cfb..d560fef 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -57,7 +57,39 @@ JDK9或者JDK10 来编译Saga并运行测试的话,你需要使用 spring-boot ## 用户指南 如何构建和使用可浏览[用户指南](docs/user_guide_zh.md)。 -## 获取最新发行版本 +## 获取最新版本 + +获取最新发行版本: + +* [下载软件包](http://servicecomb.apache.org/release/saga-downloads/) + +获取最新预览版本: + +* 最新的预览版本会发布到Apache nexus的仓库中,请将如下的仓库描述信息加到你的pom.xml文件中. + ``` + + + + + true + + repo.apache.snapshot + https://repository.apache.org/content/repositories/snapshots/ + + + + + + + true + + repo.apache.snapshot + https://repository.apache.org/content/repositories/snapshots/ + + + + + ``` [下载Pack](http://servicecomb.apache.org/release/saga-downloads/)
[GitHub] WillemJiang closed pull request #371: SCB-1099 Add nexus SNAPSHOT information to the README repo
WillemJiang closed pull request #371: SCB-1099 Add nexus SNAPSHOT information to the README repo URL: https://github.com/apache/servicecomb-pack/pull/371 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/README.md b/README.md index b96b1e0a7..890f6238f 100644 --- a/README.md +++ b/README.md @@ -54,9 +54,39 @@ Since Spring Boot supports JDK9 since 2.x, if you want to build and run test the ## User Guide How to build and use can refer to [User Guide](docs/user_guide.md). -## Get The Latest Release +## Get The Latest Version -[Download Pack](http://servicecomb.apache.org/release/saga-downloads/) +Get released version: + +* [Download Pack](http://servicecomb.apache.org/release/saga-downloads/) + +Get snapshot version: + +* We publish the snapshot version to Apache nexus repo, please add below repositories into your pom.xml. + ``` + + + + + true + + repo.apache.snapshot + https://repository.apache.org/content/repositories/snapshots/ + + + + + + + true + + repo.apache.snapshot + https://repository.apache.org/content/repositories/snapshots/ + + + + + ``` ## [FAQ](FAQ.md) diff --git a/README_ZH.md b/README_ZH.md index a200cfb73..d560fef0c 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -57,7 +57,39 @@ JDK9或者JDK10 来编译Saga并运行测试的话,你需要使用 spring-boot ## 用户指南 如何构建和使用可浏览[用户指南](docs/user_guide_zh.md)。 -## 获取最新发行版本 +## 获取最新版本 + +获取最新发行版本: + +* [下载软件包](http://servicecomb.apache.org/release/saga-downloads/) + +获取最新预览版本: + +* 最新的预览版本会发布到Apache nexus的仓库中,请将如下的仓库描述信息加到你的pom.xml文件中. + ``` + + + + + true + + repo.apache.snapshot + https://repository.apache.org/content/repositories/snapshots/ + + + + + + + true + + repo.apache.snapshot + https://repository.apache.org/content/repositories/snapshots/ + + + + + ``` [下载Pack](http://servicecomb.apache.org/release/saga-downloads/) This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[servicecomb-website] branch master updated: Update the Release Page with ServiceComb Pack 0.3.0 Release Info
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-website.git The following commit(s) were added to refs/heads/master by this push: new 92fdf95 Update the Release Page with ServiceComb Pack 0.3.0 Release Info 92fdf95 is described below commit 92fdf95dcf3e5c25a66b9331a28e883bbb944e6c Author: asifdxtreme AuthorDate: Wed Jan 2 15:02:33 2019 +0530 Update the Release Page with ServiceComb Pack 0.3.0 Release Info --- _data/navigation.yml | 25 -- _pages/cn/home.md| 5 +- _pages/home.md | 9 ++- _release/cn/pack_downloads.md| 50 _release/cn/pack_releaseNotes.md | 161 +++ _release/cn/release.md | 2 + _release/pack_downloads.md | 50 _release/pack_releaseNotes.md| 161 +++ _release/release.md | 2 + 9 files changed, 454 insertions(+), 11 deletions(-) diff --git a/_data/navigation.yml b/_data/navigation.yml index 90d4fa6..5c6cfe0 100755 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -85,19 +85,24 @@ t: url: /release/java-chassis-release-notes/ - title: "Downloads" url: /release/java-chassis-downloads/ - - title: "Saga" + - title: "Pack" children: - title: "Release Notes" -url: /release/saga-release-notes/ +url: /release/pack-release-notes/ - title: "Downloads" -url: /release/saga-downloads/ +url: /release/pack-downloads/ - title: "Saga Actuator" children: - title: "Release Notes" url: /release/saga-actuator-release-notes/ - title: "Downloads" url: /release/saga-actuator-downloads/ - + - title: "Saga" + children: +- title: "Release Notes" + url: /release/saga-release-notes/ +- title: "Downloads" + url: /release/saga-downloads/ cn: main: @@ -190,15 +195,21 @@ t: url: /cn/release/java-chassis-release-notes/ - title: "发布包" url: /cn/release/java-chassis-downloads/ - - title: "Saga" + - title: "Pack" children: - title: "发布说明" -url: /cn/release/saga-release-notes/ +url: /cn/release/pack-release-notes/ - title: "发布包" -url: /cn/release/saga-downloads/ +url: /cn/release/pack-downloads/ - title: "Saga Actuator" children: - title: "发布说明" url: /cn/release/saga-actuator-release-notes/ - title: "发布包" url: /cn/release/saga-actuator-downloads/ + - title: "Saga" +children: + - title: "发布说明" +url: /cn/release/saga-release-notes/ + - title: "发布包" +url: /cn/release/saga-downloads/ diff --git a/_pages/cn/home.md b/_pages/cn/home.md index 9cadb3e..0b73512 100755 --- a/_pages/cn/home.md +++ b/_pages/cn/home.md @@ -20,7 +20,7 @@ intro: -Apache ServiceComb 发布正式版 1.1.0 +Apache ServiceComb Pack 式版 0.3.0 Apache ServiceComb Saga 发布最新版 0.2.1 @@ -38,6 +38,9 @@ intro: +Apache ServiceComb 发布正式版 1.1.0 + + 欢迎加入 Apache ServiceComb 社区Gitter即时聊天室 diff --git a/_pages/home.md b/_pages/home.md index 9b9dee6..36c2d05 100755 --- a/_pages/home.md +++ b/_pages/home.md @@ -19,13 +19,13 @@ intro: -Apache ServiceComb Release Version 1.1.0 +Apache ServiceComb Release Pack 0.3.0 -Apache ServiceComb Saga releases a new version 0.2.1 +Apache ServiceComb Saga Actuator releases a new version 0.3.0 -Apache ServiceComb Saga Actuator releases a new version 0.3.0 +Apache ServiceComb Saga releases a new version 0.2.1 Apache ServiceComb won the first prize of China's outstanding open source project organized by China Open Source Cloud Alliance @@ -37,6 +37,9 @@ intro: + Apache ServiceComb Release Version 1.1.0 + + Welcome to join Apache ServiceComb community at Gitter diff --git a/_release/cn/pack_downloads.md b/_release/cn/pack_downloads.md new file mode 100644 index 000..e0f9021 --- /dev/null +++ b/_release/cn/pack_downloads.md @@ -0,0 +1,50 @@ +--- +title: "ServiceComb Pack Downloads" +lang: cn +ref: release +permalink: /cn/release/pack-downloads/ +excerpt: "ServiceComb Pack Downloads" +last_modified_at: 2018-03-28T00:50:43-55:00 +--- + +## Releases + +| Release | Source| Distribution | +| -- | - | - | +|**Apache ServiceComb Pack
[GitHub] WillemJiang closed pull request #160: Update the Release Page with ServiceComb Pack 0.3.0 Release Info
WillemJiang closed pull request #160: Update the Release Page with ServiceComb Pack 0.3.0 Release Info URL: https://github.com/apache/servicecomb-website/pull/160 This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/_data/navigation.yml b/_data/navigation.yml index 90d4fa61..5c6cfe04 100755 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -85,19 +85,24 @@ t: url: /release/java-chassis-release-notes/ - title: "Downloads" url: /release/java-chassis-downloads/ - - title: "Saga" + - title: "Pack" children: - title: "Release Notes" -url: /release/saga-release-notes/ +url: /release/pack-release-notes/ - title: "Downloads" -url: /release/saga-downloads/ +url: /release/pack-downloads/ - title: "Saga Actuator" children: - title: "Release Notes" url: /release/saga-actuator-release-notes/ - title: "Downloads" url: /release/saga-actuator-downloads/ - + - title: "Saga" + children: +- title: "Release Notes" + url: /release/saga-release-notes/ +- title: "Downloads" + url: /release/saga-downloads/ cn: main: @@ -190,15 +195,21 @@ t: url: /cn/release/java-chassis-release-notes/ - title: "发布包" url: /cn/release/java-chassis-downloads/ - - title: "Saga" + - title: "Pack" children: - title: "发布说明" -url: /cn/release/saga-release-notes/ +url: /cn/release/pack-release-notes/ - title: "发布包" -url: /cn/release/saga-downloads/ +url: /cn/release/pack-downloads/ - title: "Saga Actuator" children: - title: "发布说明" url: /cn/release/saga-actuator-release-notes/ - title: "发布包" url: /cn/release/saga-actuator-downloads/ + - title: "Saga" +children: + - title: "发布说明" +url: /cn/release/saga-release-notes/ + - title: "发布包" +url: /cn/release/saga-downloads/ diff --git a/_pages/cn/home.md b/_pages/cn/home.md index 9cadb3ed..0b735126 100755 --- a/_pages/cn/home.md +++ b/_pages/cn/home.md @@ -20,7 +20,7 @@ intro: -Apache ServiceComb 发布正式版 1.1.0 +Apache ServiceComb Pack 式版 0.3.0 Apache ServiceComb Saga 发布最新版 0.2.1 @@ -37,6 +37,9 @@ intro: + +Apache ServiceComb 发布正式版 1.1.0 + 欢迎加入 Apache ServiceComb 社区Gitter即时聊天室 diff --git a/_pages/home.md b/_pages/home.md index 9b9dee69..36c2d057 100755 --- a/_pages/home.md +++ b/_pages/home.md @@ -19,13 +19,13 @@ intro: -Apache ServiceComb Release Version 1.1.0 +Apache ServiceComb Release Pack 0.3.0 -Apache ServiceComb Saga releases a new version 0.2.1 +Apache ServiceComb Saga Actuator releases a new version 0.3.0 -Apache ServiceComb Saga Actuator releases a new version 0.3.0 +Apache ServiceComb Saga releases a new version 0.2.1 Apache ServiceComb won the first prize of China's outstanding open source project organized by China Open Source Cloud Alliance @@ -36,6 +36,9 @@ intro: + + Apache ServiceComb Release Version 1.1.0 + Welcome to join Apache ServiceComb community at Gitter diff --git a/_release/cn/pack_downloads.md b/_release/cn/pack_downloads.md new file mode 100644 index ..e0f90210 --- /dev/null +++ b/_release/cn/pack_downloads.md @@ -0,0 +1,50 @@ +--- +title: "ServiceComb Pack Downloads" +lang: cn +ref: release +permalink: /cn/release/pack-downloads/ +excerpt: "ServiceComb Pack Downloads" +last_modified_at: 2018-03-28T00:50:43-55:00 +--- + +## Releases + +| Release | Source| Distribution | +| -- | - | - | +|**Apache ServiceComb Pack 0.3.0(LATEST)**|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip) [[asc]](https://www.apache.org/dist/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.asc) [[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.sha512)|[[Binary]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip) [[asc]](https://www.apache.org/dist/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.asc)
[GitHub] coveralls commented on issue #371: SCB-1099 Add nexus SNAPSHOT information to the README repo
coveralls commented on issue #371: SCB-1099 Add nexus SNAPSHOT information to the README repo URL: https://github.com/apache/servicecomb-pack/pull/371#issuecomment-450830779 [![Coverage Status](https://coveralls.io/builds/20865569/badge)](https://coveralls.io/builds/20865569) Coverage remained the same at 90.989% when pulling **29fb450f62703a590bd8a5a3e1786518887888fb on zhanglongchun:SCB-1099** into **026cc09720ef5084d72ec8378bbb779def5a on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] coveralls commented on issue #1049: [SCB-1101] support IPv6 address format
coveralls commented on issue #1049: [SCB-1101] support IPv6 address format URL: https://github.com/apache/servicecomb-java-chassis/pull/1049#issuecomment-450827748 [![Coverage Status](https://coveralls.io/builds/20865456/badge)](https://coveralls.io/builds/20865456) Coverage increased (+0.02%) to 86.672% when pulling **635ea1b0d576c6f1a10b6dca807afcbc76103e53 on yhs0092:support_IPv6** into **6b1ec5ea506617d0ea4eef1897437479ee76edb2 on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] zhanglongchun opened a new pull request #371: SCB-1099 Add nexus SNAPSHOT information to the README repo
zhanglongchun opened a new pull request #371: SCB-1099 Add nexus SNAPSHOT information to the README repo URL: https://github.com/apache/servicecomb-pack/pull/371 Follow this checklist to help us incorporate your contribution quickly and easily: - [ ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/SCB) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. - [ ] Each commit in the pull request should have a meaningful subject line and body. - [ ] Format the pull request title like `[SCB-XXX] Fixes bug in ApproximateQuantiles`, where you replace `SCB-XXX` with the appropriate JIRA issue. - [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [ ] Run `mvn clean install` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically. - [ ] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). --- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] yhs0092 opened a new pull request #1049: [SCB-1101] support IPv6 address format
yhs0092 opened a new pull request #1049: [SCB-1101] support IPv6 address format URL: https://github.com/apache/servicecomb-java-chassis/pull/1049 Follow this checklist to help us incorporate your contribution quickly and easily: - [x] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/SCB) filed for the change (usually before you start working on it). Trivial changes like typos do not require a JIRA issue. Your pull request should address just this issue, without pulling in other changes. - [x] Each commit in the pull request should have a meaningful subject line and body. - [x] Format the pull request title like `[SCB-XXX] Fixes bug in ApproximateQuantiles`, where you replace `SCB-XXX` with the appropriate JIRA issue. - [x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. - [x] Run `mvn clean install` to make sure basic checks pass. A more thorough check will be performed on your pull request automatically. - [x] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). --- Currently our IP address parsing logic cannot work properly in IPv6 environment This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] asifdxtreme opened a new pull request #160: Update the Release Page with ServiceComb Pack 0.3.0 Release Info
asifdxtreme opened a new pull request #160: Update the Release Page with ServiceComb Pack 0.3.0 Release Info URL: https://github.com/apache/servicecomb-website/pull/160 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] coveralls commented on issue #370: SCB-1100 Updated the user guide for migration from saga 0.2.x
coveralls commented on issue #370: SCB-1100 Updated the user guide for migration from saga 0.2.x URL: https://github.com/apache/servicecomb-pack/pull/370#issuecomment-450818579 [![Coverage Status](https://coveralls.io/builds/20864868/badge)](https://coveralls.io/builds/20864868) Coverage decreased (-0.09%) to 90.989% when pulling **2cc1cfe83df1d2b28bcb11aca6bbeaa194ba1502 on SCB-1100** into **b30d8aa63f267d541ce4806a89992168e3c62902 on master**. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[servicecomb-pack] branch 0.3.x updated: SCB-1100 Updated the user guilde for migration from saga 0.2.x
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch 0.3.x in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git The following commit(s) were added to refs/heads/0.3.x by this push: new d4f3c37 SCB-1100 Updated the user guilde for migration from saga 0.2.x d4f3c37 is described below commit d4f3c376888cee96fe6665b87e4c274b15db560a Author: Willem Jiang AuthorDate: Wed Jan 2 17:10:09 2019 +0800 SCB-1100 Updated the user guilde for migration from saga 0.2.x --- docs/user_guide.md| 25 - docs/user_guide_zh.md | 24 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/docs/user_guide.md b/docs/user_guide.md index ef2f198..ce83251 100644 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -51,13 +51,23 @@ After executing either one of the above command, you will find alpha server's ex ${pack.version} ``` -**Note**: Please change the `${pack.version}` to the actual version. Since 0.3.0 we update the package name of +**Note**: Please change the `${pack.version}` to the actual version. + +**Migration Note**:Since 0.3.0 we rename the project repository name from saga to pack. Please update the group id and package name if you migrate your application from saga 0.2.x to pack 0.3.0. + +| name| 0.2.x | 0.3.x| +| | | | +| groupId| org.apache.servicecomb.saga | org.apache.servicecomb.pack | +| Package Name | org.apache.servicecomb.saga | org.apache.servicecomb.pack | ### Saga Support Add saga annotations and corresponding compensation methods Take a transfer money application as an example: 1. add `@EnableOmega` at application entry to initialize omega configurations and connect to alpha ```java + import org.apache.servicecomb.pack.omega.spring.EnableOmega; + import org.springframework.boot.autoconfigure.SpringBootApplication; + @SpringBootApplication @EnableOmega public class Application { @@ -69,6 +79,8 @@ Take a transfer money application as an example: 2. add `@SagaStart` at the starting point of the global transaction ```java + import org.apache.servicecomb.pack.omega.context.annotations.SagaStart; + @SagaStart(timeout=10) public boolean transferMoney(String from, String to, int amount) { transferOut(from, amount); @@ -79,6 +91,9 @@ Take a transfer money application as an example: 3. add `@Compensable` at the sub-transaction and specify its corresponding compensation method ```java + import javax.transaction.Transactional; + import org.apache.servicecomb.pack.omega.transaction.annotations.Compensable; + @Compensable(timeout=5, compensationMethod="cancel") @Transactional public boolean transferOut(String from, int amount) { @@ -107,6 +122,9 @@ Add TCC annotations and corresponding confirm and cancel methods Take a transfer money application as an example: 1. add `@EnableOmega` at application entry to initialize omega configurations and connect to alpha ```java +import org.apache.servicecomb.pack.omega.spring.EnableOmega; +import org.springframework.boot.autoconfigure.SpringBootApplication; + @SpringBootApplication @EnableOmega public class Application { @@ -118,6 +136,8 @@ Add TCC annotations and corresponding confirm and cancel methods 2. add `@TccStart` at the starting point of the global transaction ```java +import org.apache.servicecomb.pack.omega.context.annotations.TccStart; + @TccStart public boolean transferMoney(String from, String to, int amount) { transferOut(from, amount); @@ -128,6 +148,9 @@ Add TCC annotations and corresponding confirm and cancel methods 3. add `@Participate` at the sub-transaction and specify its corresponding compensation method ```java +import javax.transaction.Transactional; +import org.apache.servicecomb.pack.omega.transaction.annotations.Participate; + @Participate(confirmMethod = "confirm", cancelMethod = "cancel") @Transactional public void transferOut(String from, int amount) { diff --git a/docs/user_guide_zh.md b/docs/user_guide_zh.md index c9724f0..2b13f79 100644 --- a/docs/user_guide_zh.md +++ b/docs/user_guide_zh.md @@ -52,12 +52,23 @@ Saga可通过以下任一方式进行构建: ``` **注意**: 请将`${pack.version}`更改为实际的版本号。 +**版本迁移提示**: 从0.3.0 开始,整个项目的代码库名由servicecomb-saga改名为servicecomb-pack, 与此同时我们也更新了对应发布包的组名以及相关包名。 +如果你的项目是从saga 0.2.x 迁移过来,请按照下表所示进行修改。 + +| name| 0.2.x | 0.3.x| +| | | | +| groupId| org.apache.servicecomb.saga | org.apache.servicecomb.pack | +| Package Name | org.apache.servicecomb.saga | org.apache.servicecomb.pack | + ### Saga 支持 添加Saga的注解及相应的补偿方法 以一个转账应用为例: 1. 在应用入口添加 `@EnableOmega` 的注解来初始化omega的配置并与alpha建立连接。 ```java + import org.apache.servicecomb.pack.omega.spring.EnableOmega; + import
[servicecomb-pack] branch master updated: SCB-1100 Updated the user guilde for migration from saga 0.2.x
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git The following commit(s) were added to refs/heads/master by this push: new 026cc09 SCB-1100 Updated the user guilde for migration from saga 0.2.x 026cc09 is described below commit 026cc09720ef5084d72ec8378bbb779def5a Author: Willem Jiang AuthorDate: Wed Jan 2 17:10:09 2019 +0800 SCB-1100 Updated the user guilde for migration from saga 0.2.x --- docs/user_guide.md| 25 - docs/user_guide_zh.md | 24 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/docs/user_guide.md b/docs/user_guide.md index ef2f198..ce83251 100644 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -51,13 +51,23 @@ After executing either one of the above command, you will find alpha server's ex ${pack.version} ``` -**Note**: Please change the `${pack.version}` to the actual version. Since 0.3.0 we update the package name of +**Note**: Please change the `${pack.version}` to the actual version. + +**Migration Note**:Since 0.3.0 we rename the project repository name from saga to pack. Please update the group id and package name if you migrate your application from saga 0.2.x to pack 0.3.0. + +| name| 0.2.x | 0.3.x| +| | | | +| groupId| org.apache.servicecomb.saga | org.apache.servicecomb.pack | +| Package Name | org.apache.servicecomb.saga | org.apache.servicecomb.pack | ### Saga Support Add saga annotations and corresponding compensation methods Take a transfer money application as an example: 1. add `@EnableOmega` at application entry to initialize omega configurations and connect to alpha ```java + import org.apache.servicecomb.pack.omega.spring.EnableOmega; + import org.springframework.boot.autoconfigure.SpringBootApplication; + @SpringBootApplication @EnableOmega public class Application { @@ -69,6 +79,8 @@ Take a transfer money application as an example: 2. add `@SagaStart` at the starting point of the global transaction ```java + import org.apache.servicecomb.pack.omega.context.annotations.SagaStart; + @SagaStart(timeout=10) public boolean transferMoney(String from, String to, int amount) { transferOut(from, amount); @@ -79,6 +91,9 @@ Take a transfer money application as an example: 3. add `@Compensable` at the sub-transaction and specify its corresponding compensation method ```java + import javax.transaction.Transactional; + import org.apache.servicecomb.pack.omega.transaction.annotations.Compensable; + @Compensable(timeout=5, compensationMethod="cancel") @Transactional public boolean transferOut(String from, int amount) { @@ -107,6 +122,9 @@ Add TCC annotations and corresponding confirm and cancel methods Take a transfer money application as an example: 1. add `@EnableOmega` at application entry to initialize omega configurations and connect to alpha ```java +import org.apache.servicecomb.pack.omega.spring.EnableOmega; +import org.springframework.boot.autoconfigure.SpringBootApplication; + @SpringBootApplication @EnableOmega public class Application { @@ -118,6 +136,8 @@ Add TCC annotations and corresponding confirm and cancel methods 2. add `@TccStart` at the starting point of the global transaction ```java +import org.apache.servicecomb.pack.omega.context.annotations.TccStart; + @TccStart public boolean transferMoney(String from, String to, int amount) { transferOut(from, amount); @@ -128,6 +148,9 @@ Add TCC annotations and corresponding confirm and cancel methods 3. add `@Participate` at the sub-transaction and specify its corresponding compensation method ```java +import javax.transaction.Transactional; +import org.apache.servicecomb.pack.omega.transaction.annotations.Participate; + @Participate(confirmMethod = "confirm", cancelMethod = "cancel") @Transactional public void transferOut(String from, int amount) { diff --git a/docs/user_guide_zh.md b/docs/user_guide_zh.md index c9724f0..2b13f79 100644 --- a/docs/user_guide_zh.md +++ b/docs/user_guide_zh.md @@ -52,12 +52,23 @@ Saga可通过以下任一方式进行构建: ``` **注意**: 请将`${pack.version}`更改为实际的版本号。 +**版本迁移提示**: 从0.3.0 开始,整个项目的代码库名由servicecomb-saga改名为servicecomb-pack, 与此同时我们也更新了对应发布包的组名以及相关包名。 +如果你的项目是从saga 0.2.x 迁移过来,请按照下表所示进行修改。 + +| name| 0.2.x | 0.3.x| +| | | | +| groupId| org.apache.servicecomb.saga | org.apache.servicecomb.pack | +| Package Name | org.apache.servicecomb.saga | org.apache.servicecomb.pack | + ### Saga 支持 添加Saga的注解及相应的补偿方法 以一个转账应用为例: 1. 在应用入口添加 `@EnableOmega` 的注解来初始化omega的配置并与alpha建立连接。 ```java + import org.apache.servicecomb.pack.omega.spring.EnableOmega; + import
[GitHub] WillemJiang closed pull request #370: SCB-1100 Updated the user guide for migration from saga 0.2.x
WillemJiang closed pull request #370: SCB-1100 Updated the user guide for migration from saga 0.2.x URL: https://github.com/apache/servicecomb-pack/pull/370 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] WillemJiang opened a new pull request #370: SCB-1100 Updated the user guide for migration from saga 0.2.x
WillemJiang opened a new pull request #370: SCB-1100 Updated the user guide for migration from saga 0.2.x URL: https://github.com/apache/servicecomb-pack/pull/370 This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[servicecomb-pack] 01/01: SCB-1100 Updated the user guilde for migration from saga 0.2.x
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a commit to branch SCB-1100 in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git commit 2cc1cfe83df1d2b28bcb11aca6bbeaa194ba1502 Author: Willem Jiang AuthorDate: Wed Jan 2 17:10:09 2019 +0800 SCB-1100 Updated the user guilde for migration from saga 0.2.x --- docs/user_guide.md| 25 - docs/user_guide_zh.md | 24 2 files changed, 48 insertions(+), 1 deletion(-) diff --git a/docs/user_guide.md b/docs/user_guide.md index ef2f198..ce83251 100644 --- a/docs/user_guide.md +++ b/docs/user_guide.md @@ -51,13 +51,23 @@ After executing either one of the above command, you will find alpha server's ex ${pack.version} ``` -**Note**: Please change the `${pack.version}` to the actual version. Since 0.3.0 we update the package name of +**Note**: Please change the `${pack.version}` to the actual version. + +**Migration Note**:Since 0.3.0 we rename the project repository name from saga to pack. Please update the group id and package name if you migrate your application from saga 0.2.x to pack 0.3.0. + +| name| 0.2.x | 0.3.x| +| | | | +| groupId| org.apache.servicecomb.saga | org.apache.servicecomb.pack | +| Package Name | org.apache.servicecomb.saga | org.apache.servicecomb.pack | ### Saga Support Add saga annotations and corresponding compensation methods Take a transfer money application as an example: 1. add `@EnableOmega` at application entry to initialize omega configurations and connect to alpha ```java + import org.apache.servicecomb.pack.omega.spring.EnableOmega; + import org.springframework.boot.autoconfigure.SpringBootApplication; + @SpringBootApplication @EnableOmega public class Application { @@ -69,6 +79,8 @@ Take a transfer money application as an example: 2. add `@SagaStart` at the starting point of the global transaction ```java + import org.apache.servicecomb.pack.omega.context.annotations.SagaStart; + @SagaStart(timeout=10) public boolean transferMoney(String from, String to, int amount) { transferOut(from, amount); @@ -79,6 +91,9 @@ Take a transfer money application as an example: 3. add `@Compensable` at the sub-transaction and specify its corresponding compensation method ```java + import javax.transaction.Transactional; + import org.apache.servicecomb.pack.omega.transaction.annotations.Compensable; + @Compensable(timeout=5, compensationMethod="cancel") @Transactional public boolean transferOut(String from, int amount) { @@ -107,6 +122,9 @@ Add TCC annotations and corresponding confirm and cancel methods Take a transfer money application as an example: 1. add `@EnableOmega` at application entry to initialize omega configurations and connect to alpha ```java +import org.apache.servicecomb.pack.omega.spring.EnableOmega; +import org.springframework.boot.autoconfigure.SpringBootApplication; + @SpringBootApplication @EnableOmega public class Application { @@ -118,6 +136,8 @@ Add TCC annotations and corresponding confirm and cancel methods 2. add `@TccStart` at the starting point of the global transaction ```java +import org.apache.servicecomb.pack.omega.context.annotations.TccStart; + @TccStart public boolean transferMoney(String from, String to, int amount) { transferOut(from, amount); @@ -128,6 +148,9 @@ Add TCC annotations and corresponding confirm and cancel methods 3. add `@Participate` at the sub-transaction and specify its corresponding compensation method ```java +import javax.transaction.Transactional; +import org.apache.servicecomb.pack.omega.transaction.annotations.Participate; + @Participate(confirmMethod = "confirm", cancelMethod = "cancel") @Transactional public void transferOut(String from, int amount) { diff --git a/docs/user_guide_zh.md b/docs/user_guide_zh.md index c9724f0..2b13f79 100644 --- a/docs/user_guide_zh.md +++ b/docs/user_guide_zh.md @@ -52,12 +52,23 @@ Saga可通过以下任一方式进行构建: ``` **注意**: 请将`${pack.version}`更改为实际的版本号。 +**版本迁移提示**: 从0.3.0 开始,整个项目的代码库名由servicecomb-saga改名为servicecomb-pack, 与此同时我们也更新了对应发布包的组名以及相关包名。 +如果你的项目是从saga 0.2.x 迁移过来,请按照下表所示进行修改。 + +| name| 0.2.x | 0.3.x| +| | | | +| groupId| org.apache.servicecomb.saga | org.apache.servicecomb.pack | +| Package Name | org.apache.servicecomb.saga | org.apache.servicecomb.pack | + ### Saga 支持 添加Saga的注解及相应的补偿方法 以一个转账应用为例: 1. 在应用入口添加 `@EnableOmega` 的注解来初始化omega的配置并与alpha建立连接。 ```java + import org.apache.servicecomb.pack.omega.spring.EnableOmega; + import org.springframework.boot.autoconfigure.SpringBootApplication; + @SpringBootApplication @EnableOmega public class Application { @@ -69,6 +80,8 @@ Saga可通过以下任一方式进行构建: 2.
[servicecomb-pack] branch SCB-1100 created (now 2cc1cfe)
This is an automated email from the ASF dual-hosted git repository. ningjiang pushed a change to branch SCB-1100 in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git. at 2cc1cfe SCB-1100 Updated the user guilde for migration from saga 0.2.x This branch includes the following new commits: new 2cc1cfe SCB-1100 Updated the user guilde for migration from saga 0.2.x The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference.
svn commit: r31738 - in /release/servicecomb/servicecomb-pack: ./ 0.3.0/
Author: asifdxtreme Date: Wed Jan 2 08:39:44 2019 New Revision: 31738 Log: Add ServiceComb Pack 0.3.0 Release Added: release/servicecomb/servicecomb-pack/ release/servicecomb/servicecomb-pack/0.3.0/ release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip (with props) release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.asc (with props) release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.sha512 (with props) release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip (with props) release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.asc (with props) release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.sha512 (with props) Added: release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip == Binary file - no diff available. Propchange: release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip -- svn:mime-type = application/octet-stream Added: release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.asc == --- release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.asc (added) +++ release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.asc Wed Jan 2 08:39:44 2019 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEQsDXlA/N5eYw5Krj3JP2lr16TWkFAlwnW4IACgkQ3JP2lr16 +TWmlZRAAlPAgmu0on3Olou/N/dTiNw2+An5rV5gkcNk7nnY3RweDiZvwJCWOHOKx +9/slyEp1R7Hm6wFB2oJ/BUqUOHHjp6gYY3Ng8W6FSeAOHqU5AaIvxMKyZpsO8EQq +uxfB/m0ffrkr7+qyYZYmC0ND4Tt3Jigc8kGa3+PKTIX9SM2+u+4hCiNYs87aSYLi +3nOrzB0p9bCHR+6sF2fbPm1d7hHkk9IFSRrnLvidGja44uX87UTysn0CvuPgP0vF +ZQEBf+70ZkvZ5MeaMfshkmKWplkXW99sWD1elBFscoVvHvlR9w89bYrQ7XUwYeaW +3/ZyrV8BtGPr1AJ6dN98XF4GIcfCxPX0MWgehENXyzU1puj/5tVMFSwtKFs05K87 +d+LUeoOjuOr3LYk/aT1Yu/74pFn0boBDX07+xoH9g4CyesCi0KSvT0VtxpaK22AC +7yXaKuD3+FU3JikZ3OKjCBP0pVOJ+rhdV+BtgSAgyyrGecuHX4ZQAqMvKCVGP61c +XQAKlBsvwixC52nPBujxAcHzFzkvGOscb4zAvkwSJhpEK5y2rXQ4vwi+17GJpzyk +UxmOvRngk2ta0mE3JvLLBtZyaUkYdJuD2cOs0dbJxIt6I/LNjCMkChDkOTILSwY+ +UgxEoa43b7VFqA9ikXtuT2VUrbGTxqN4B1u7umaKnsv8XG6ed4I= +=hGIg +-END PGP SIGNATURE- Propchange: release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.asc -- svn:eol-style = native Added: release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.sha512 == --- release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.sha512 (added) +++ release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.sha512 Wed Jan 2 08:39:44 2019 @@ -0,0 +1 @@ +da7ec33909b380ee56f5e5b46340ff908eebcb7bfbcf4ceacf9afbb046d84fcb89467cf019a27501858966d9aeb33fa4938e028e6928f790985d9e623e593e1c apache-servicecomb-pack-distribution-0.3.0-bin.zip Propchange: release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-bin.zip.sha512 -- svn:eol-style = native Added: release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip == Binary file - no diff available. Propchange: release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip -- svn:mime-type = application/octet-stream Added: release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.asc == --- release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.asc (added) +++ release/servicecomb/servicecomb-pack/0.3.0/apache-servicecomb-pack-distribution-0.3.0-src.zip.asc Wed Jan 2 08:39:44 2019 @@ -0,0 +1,16 @@ +-BEGIN PGP SIGNATURE- + +iQIzBAABCgAdFiEEQsDXlA/N5eYw5Krj3JP2lr16TWkFAlwnW3kACgkQ3JP2lr16 +TWnM2BAArKpXjlOMR63RM2L5GsDZPPkfiTse6vcSZLJQ+lczoRcSlICLbcElUqg0 +qWtwj8Qk9T858EV0zk8aOqtiwM9oPmFGBhVrMcqgGdnVuMoJ2R9AATYZmM+nP3LX +z8aTxJZTCE92ifUDM12HHuuwCFfkH2SrAp7CYKhoMy7CfaK5SnoZzV1NPP+nUfJN +RtE9MhfDmHgISFqaVT449vJYK8G4tt7FwezSO0t2X1ME1BxtOZZxRRNgr+Ea0xcy