[GitHub] [servicecomb-java-chassis] coveralls commented on pull request #1781: [SCB-1940]rename api's package from foundation-registry to distinguis…
coveralls commented on pull request #1781: URL: https://github.com/apache/servicecomb-java-chassis/pull/1781#issuecomment-634421852 [![Coverage Status](https://coveralls.io/builds/31052938/badge)](https://coveralls.io/builds/31052938) Coverage decreased (-0.003%) to 84.621% when pulling **76b56cffe3ca192c3d16717e442dd665c5fd0e51 on liubao68:liubao** into **a440527beec223b4555b9866f700eb8ffc21d908 on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] liubao68 merged pull request #1780: [SCB-1938] OperationConfig can get in pool timeout by transport name
liubao68 merged pull request #1780: URL: https://github.com/apache/servicecomb-java-chassis/pull/1780 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] liubao68 opened a new pull request #1781: [SCB-1940]rename api's package from foundation-registry to distinguis…
liubao68 opened a new pull request #1781: URL: https://github.com/apache/servicecomb-java-chassis/pull/1781 …h from service-center 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 -Pit` 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 to 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
[GitHub] [servicecomb-java-chassis] liubao68 merged pull request #1777: [SCB-1935]add a demo to show using local registry and service center …
liubao68 merged pull request #1777: URL: https://github.com/apache/servicecomb-java-chassis/pull/1777 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-pack] coolbeevip commented on issue #662: SagaActor 事件处理顺序的问题
coolbeevip commented on issue #662: URL: https://github.com/apache/servicecomb-pack/issues/662#issuecomment-633866527 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-pack] starShinning closed issue #662: SagaActor 事件处理顺序的问题
starShinning closed issue #662: URL: https://github.com/apache/servicecomb-pack/issues/662 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-website] alec-z opened a new pull request #248: add summer2020 page and change fonts.cat.net for speeding visiting
alec-z opened a new pull request #248: URL: https://github.com/apache/servicecomb-website/pull/248 add summer2020 page and change fonts.cat.net for speeding visiting @WillemJiang This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] wujimin opened a new pull request #1779: [SCB-1937] fix integration test(TestAsyncInvoke) always timeout problem
wujimin opened a new pull request #1779: URL: https://github.com/apache/servicecomb-java-chassis/pull/1779 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] liubao68 opened a new pull request #1777: [SCB-1935]add a demo to show using local registry and service center …
liubao68 opened a new pull request #1777: URL: https://github.com/apache/servicecomb-java-chassis/pull/1777 …together 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 -Pit` 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 to 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
[GitHub] [servicecomb-website] WillemJiang commented on a change in pull request #249: Summer2020
WillemJiang commented on a change in pull request #249: URL: https://github.com/apache/servicecomb-website/pull/249#discussion_r430339892 ## File path: _pages/cn/home.md ## @@ -22,7 +22,10 @@ intro: left_ul li{width:100%} -Apache ServiceComb Java-Chassis 发布 2.0.2 + Apache ServiceComb 社区 暑假coding 2020 活动 + + +Apache ServiceComb Java-Chassis 发布 2.0.1 Review comment: 这块改坏了。 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-website] WillemJiang commented on pull request #248: add summer2020 page and change fonts.cat.net for speeding visiting
WillemJiang commented on pull request #248: URL: https://github.com/apache/servicecomb-website/pull/248#issuecomment-633930016 Please send the PR to master branch and resolve the conflict first. This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-pack] starShinning commented on issue #662: SagaActor 事件处理顺序的问题
starShinning commented on issue #662: URL: https://github.com/apache/servicecomb-pack/issues/662#issuecomment-633878532 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] liubao68 merged pull request #1778: [SCB-1936] change findbug dependency to provided
liubao68 merged pull request #1778: URL: https://github.com/apache/servicecomb-java-chassis/pull/1778 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-website] WillemJiang merged pull request #249: Summer2020
WillemJiang merged pull request #249: URL: https://github.com/apache/servicecomb-website/pull/249 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] liubao68 merged pull request #1774: [SCB-1930]When MicroserivceVersions.setInstances continues fail will …
liubao68 merged pull request #1774: URL: https://github.com/apache/servicecomb-java-chassis/pull/1774 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] liubao68 commented on pull request #1778: [SCB-1936] change findbug dependency to provided
liubao68 commented on pull request #1778: URL: https://github.com/apache/servicecomb-java-chassis/pull/1778#issuecomment-634039652 Does jsr 305 required for running java-chassis in vert.x mode? This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] wujimin opened a new pull request #1778: [SCB-1936] change findbug dependency to provided
wujimin opened a new pull request #1778: URL: https://github.com/apache/servicecomb-java-chassis/pull/1778 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] wujimin commented on pull request #1778: [SCB-1936] change findbug dependency to provided
wujimin commented on pull request #1778: URL: https://github.com/apache/servicecomb-java-chassis/pull/1778#issuecomment-634134169 no need for runtime, add them just because compile warning This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] Neverstop opened a new issue #1776: jedis-2.9.0 scope被指定为provided,导致业务lib没这个包,影响功能
Neverstop opened a new issue #1776: URL: https://github.com/apache/servicecomb-java-chassis/issues/1776 java-chassis-dependencies-2.0.1.pom : redis.clients jedis ${jedis.version} provided true This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] liubao68 edited a comment on pull request #1778: [SCB-1936] change findbug dependency to provided
liubao68 edited a comment on pull request #1778: URL: https://github.com/apache/servicecomb-java-chassis/pull/1778#issuecomment-634039652 Does jsr 305 required for running java-chassis in vert.x mode? - if it is: does users have another choise without google implementation - if it is not: why we can not remove it totally from the project This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] coveralls commented on pull request #1779: [SCB-1937] fix integration test(TestAsyncInvoke) always timeout problem
coveralls commented on pull request #1779: URL: https://github.com/apache/servicecomb-java-chassis/pull/1779#issuecomment-634157719 [![Coverage Status](https://coveralls.io/builds/31040854/badge)](https://coveralls.io/builds/31040854) Coverage increased (+0.003%) to 84.621% when pulling **c757e422bc8c973ec12ccf85f0a474901d7359ed on wujimin:SCB-1937-fix-integration-test(TestAsyncInvoke)-always-timeout-problem** into **71fd15c87858e88532f26642d739caef77ad6d64 on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-website] WillemJiang merged pull request #247: release ServiceComb Java Chassis 2.0.2
WillemJiang merged pull request #247: URL: https://github.com/apache/servicecomb-website/pull/247 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] coveralls commented on pull request #1778: [SCB-1936] change findbug dependency to provided
coveralls commented on pull request #1778: URL: https://github.com/apache/servicecomb-java-chassis/pull/1778#issuecomment-634022845 [![Coverage Status](https://coveralls.io/builds/31034878/badge)](https://coveralls.io/builds/31034878) Coverage decreased (-0.008%) to 84.61% when pulling **43c0fe35c443c2fa4a7f16c6a21d6fca26e8f160 on wujimin:SCB-1936-change-findbug-dependency-to-provided** into **71fd15c87858e88532f26642d739caef77ad6d64 on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] wujimin edited a comment on pull request #1778: [SCB-1936] change findbug dependency to provided
wujimin edited a comment on pull request #1778: URL: https://github.com/apache/servicecomb-java-chassis/pull/1778#issuecomment-634134169 no need for runtime, add them just for resolve compile warning This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-website] alec-z closed pull request #248: add summer2020 page and change fonts.cat.net for speeding visiting
alec-z closed pull request #248: URL: https://github.com/apache/servicecomb-website/pull/248 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[servicecomb-java-chassis] branch master updated: [SCB-1938] OperationConfig can get in pool timeout by transport name
This is an automated email from the ASF dual-hosted git repository. liubao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git The following commit(s) were added to refs/heads/master by this push: new a440527 [SCB-1938] OperationConfig can get in pool timeout by transport name a440527 is described below commit a440527beec223b4555b9866f700eb8ffc21d908 Author: wujimin AuthorDate: Wed May 27 09:28:07 2020 +0800 [SCB-1938] OperationConfig can get in pool timeout by transport name --- .../core/definition/OperationConfig.java | 32 +++ .../core/definition/OperationConfigTest.java | 62 ++ 2 files changed, 94 insertions(+) diff --git a/core/src/main/java/org/apache/servicecomb/core/definition/OperationConfig.java b/core/src/main/java/org/apache/servicecomb/core/definition/OperationConfig.java index 7a5b7e7..ccbbb68 100644 --- a/core/src/main/java/org/apache/servicecomb/core/definition/OperationConfig.java +++ b/core/src/main/java/org/apache/servicecomb/core/definition/OperationConfig.java @@ -17,7 +17,9 @@ package org.apache.servicecomb.core.definition; import java.util.Arrays; +import java.util.HashMap; import java.util.List; +import java.util.Map; import java.util.concurrent.TimeUnit; import org.apache.servicecomb.config.inject.InjectProperties; @@ -71,6 +73,13 @@ public class OperationConfig { /** * producer wait in thread pool timeout */ + private Map nanoRequestWaitInPoolTimeoutByTransport = new HashMap<>(); + + @InjectProperty(keys = "Provider.requestWaitInPoolTimeout${op-priority}", defaultValue = "3") + private long msDefaultRequestWaitInPoolTimeout; + + private long nanoDefaultRequestWaitInPoolTimeout; + @InjectProperty(keys = { "Provider.requestWaitInPoolTimeout${op-priority}", "highway.server.requestWaitInPoolTimeout"}, defaultValue = "3") @@ -120,6 +129,27 @@ public class OperationConfig { this.msRequestTimeout = msRequestTimeout; } + public long getNanoRequestWaitInPoolTimeout(String transport) { +return nanoRequestWaitInPoolTimeoutByTransport.getOrDefault(transport, nanoDefaultRequestWaitInPoolTimeout); + } + + public void registerRequestWaitInPoolTimeout(String transport, long msTimeout) { +nanoRequestWaitInPoolTimeoutByTransport.put(transport, TimeUnit.MILLISECONDS.toNanos(msTimeout)); + } + + public long getMsDefaultRequestWaitInPoolTimeout() { +return msDefaultRequestWaitInPoolTimeout; + } + + public void setMsDefaultRequestWaitInPoolTimeout(long msDefaultRequestWaitInPoolTimeout) { +this.msDefaultRequestWaitInPoolTimeout = msDefaultRequestWaitInPoolTimeout; +this.nanoDefaultRequestWaitInPoolTimeout = TimeUnit.MILLISECONDS.toNanos(msDefaultRequestWaitInPoolTimeout); + } + + public long getNanoDefaultRequestWaitInPoolTimeout() { +return nanoDefaultRequestWaitInPoolTimeout; + } + public long getMsHighwayRequestWaitInPoolTimeout() { return msHighwayRequestWaitInPoolTimeout; } @@ -127,6 +157,7 @@ public class OperationConfig { public void setMsHighwayRequestWaitInPoolTimeout(long msHighwayRequestWaitInPoolTimeout) { this.msHighwayRequestWaitInPoolTimeout = msHighwayRequestWaitInPoolTimeout; this.nanoHighwayRequestWaitInPoolTimeout = TimeUnit.MILLISECONDS.toNanos(msHighwayRequestWaitInPoolTimeout); +registerRequestWaitInPoolTimeout(Const.HIGHWAY, msHighwayRequestWaitInPoolTimeout); } public long getNanoHighwayRequestWaitInPoolTimeout() { @@ -140,6 +171,7 @@ public class OperationConfig { public void setMsRestRequestWaitInPoolTimeout(long msRestRequestWaitInPoolTimeout) { this.msRestRequestWaitInPoolTimeout = msRestRequestWaitInPoolTimeout; this.nanoRestRequestWaitInPoolTimeout = TimeUnit.MILLISECONDS.toNanos(msRestRequestWaitInPoolTimeout); +registerRequestWaitInPoolTimeout(Const.RESTFUL, msRestRequestWaitInPoolTimeout); } public long getNanoRestRequestWaitInPoolTimeout() { diff --git a/core/src/test/java/org/apache/servicecomb/core/definition/OperationConfigTest.java b/core/src/test/java/org/apache/servicecomb/core/definition/OperationConfigTest.java new file mode 100644 index 000..1745dfc --- /dev/null +++ b/core/src/test/java/org/apache/servicecomb/core/definition/OperationConfigTest.java @@ -0,0 +1,62 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is
[GitHub] [servicecomb-website] WillemJiang commented on a change in pull request #248: add summer2020 page and change fonts.cat.net for speeding visiting
WillemJiang commented on a change in pull request #248: URL: https://github.com/apache/servicecomb-website/pull/248#discussion_r430284093 ## File path: _data/navigation.yml ## @@ -30,6 +30,9 @@ t: - title: "Blogs" url: /year-archive/ group: "year-archive" + - title: "Summer 2020" Review comment: It's not good to add another manual on the website(there some display issue), we can add the link on the home page news section and https://servicecomb.apache.org/developers/contributing. ## File path: _pages/cn/home.md ## @@ -21,6 +21,9 @@ intro: left_ul li{width:100%} + + Apache ServiceComb 社区 暑假coding 2020 活动 Review comment: The link is note right. This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] wujimin opened a new pull request #1780: [SCB-1938] OperationConfig can get in pool timeout by transport name
wujimin opened a new pull request #1780: URL: https://github.com/apache/servicecomb-java-chassis/pull/1780 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] coveralls commented on pull request #1780: [SCB-1938] OperationConfig can get in pool timeout by transport name
coveralls commented on pull request #1780: URL: https://github.com/apache/servicecomb-java-chassis/pull/1780#issuecomment-634392886 [![Coverage Status](https://coveralls.io/builds/31051423/badge)](https://coveralls.io/builds/31051423) Coverage decreased (-0.004%) to 84.623% when pulling **bdef3a55730f6ad48fbf4e8bab116166f9683ad5 on wujimin:SCB-1938-OperationConfig-can-get-in-pool-timeout-by-transport-name** into **4cc3834b0bc2e38493740022c61b1f420a10d737 on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-website] alec-z opened a new pull request #249: Summer2020
alec-z opened a new pull request #249: URL: https://github.com/apache/servicecomb-website/pull/249 add summer2020 page and change fonts.cat.net for speeding visiting @WillemJiang This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1776: jedis-2.9.0 scope被指定为provided,导致业务lib没这个包,影响功能
liubao68 commented on issue #1776: URL: https://github.com/apache/servicecomb-java-chassis/issues/1776#issuecomment-633967384 java chassis do not use redis, maybe can be removed in next version. you can specify the scope in your dependency or add you own dependency-management to include it. This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] liubao68 merged pull request #1779: [SCB-1937] fix integration test(TestAsyncInvoke) always timeout problem
liubao68 merged pull request #1779: URL: https://github.com/apache/servicecomb-java-chassis/pull/1779 This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-website] WillemJiang commented on pull request #249: Summer2020
WillemJiang commented on pull request #249: URL: https://github.com/apache/servicecomb-website/pull/249#issuecomment-633970337 I updated the latest java-chassis version by hand This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] coveralls commented on pull request #1777: [SCB-1935]add a demo to show using local registry and service center …
coveralls commented on pull request #1777: URL: https://github.com/apache/servicecomb-java-chassis/pull/1777#issuecomment-634050190 [![Coverage Status](https://coveralls.io/builds/31036079/badge)](https://coveralls.io/builds/31036079) Coverage increased (+0.006%) to 84.624% when pulling **32aa2e89dd1a95bcd5df8d9da833034fc80bfe26 on liubao68:liubao** into **71fd15c87858e88532f26642d739caef77ad6d64 on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-pack] starShinning opened a new issue #662: SagaActor 事件处理顺序的问题
starShinning opened a new issue #662: URL: https://github.com/apache/servicecomb-pack/issues/662 所有收到的事件都会转到kafka/redis/memory中再继续消费,而在使用kafka和redis消费过程中并没有要求顺序执行,这样是否会造成由于消费顺序与事件本身的顺序不一致而导致状态异常? This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[GitHub] [servicecomb-java-chassis] coveralls edited a comment on pull request #1774: [SCB-1930]When MicroserivceVersions.setInstances continues fail will …
coveralls edited a comment on pull request #1774: URL: https://github.com/apache/servicecomb-java-chassis/pull/1774#issuecomment-633477276 [![Coverage Status](https://coveralls.io/builds/31025231/badge)](https://coveralls.io/builds/31025231) Coverage increased (+0.01%) to 84.607% when pulling **8f8ea59788cca6797399f69bbd3330c019e23de2 on liubao68:liubao** into **955c68ad77ee9b2ef69c436593797043c2a6e432 on apache:master**. This is an automated message from the Apache Git Service. To respond to the message, please log on to 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
[servicecomb-java-chassis] 01/03: [SCB-1935]add a demo to show using local registry and service center together
This is an automated email from the ASF dual-hosted git repository. liubao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git commit 2eac3a466822d29f272fe236337d18a987f0eb06 Author: liubao AuthorDate: Tue May 26 17:43:41 2020 +0800 [SCB-1935]add a demo to show using local registry and service center together --- .../demo-multi-registries-client/pom.xml | 78 .../servicecomb/demo/registry/Application.java | 67 ++ .../demo/registry/IServiceCenterEndpoint.java | 18 ++-- .../demo/registry/ServiceCenterEndpoint.java | 40 + .../src/main/resources/application.yml | 34 +++ .../src/main/resources/logback.xml | 50 +++ .../ServiceCenterEndpoint.yaml | 59 .../src/main/resources/registry.yaml | 26 ++ .../demo/registry/MultiRegistriesIT.java | 23 +++-- .../demo-multi-registries-server/pom.xml | 100 + .../demo/registry/SelfServiceInvoker.java | 27 -- .../demo/registry/ServerApplication.java | 44 + .../servicecomb/demo/registry/ServerEndpoint.java | 42 + .../src/main/resources/application.yml | 32 +++ .../src/main/resources/logback.xml | 50 +++ demo/demo-multi-registries/pom.xml | 54 +++ demo/pom.xml | 1 + .../serviceregistry/DiscoveryManager.java | 7 +- .../serviceregistry/RegistrationManager.java | 1 + .../serviceregistry/{ => api}/Discovery.java | 21 +++-- .../serviceregistry/{ => api}/LifeCycle.java | 2 +- .../serviceregistry/{ => api}/Registration.java| 2 +- .../client/http/MicroserviceInstances.java | 18 ++-- .../servicecomb/localregistry/LocalDiscovery.java | 4 +- .../localregistry/LocalRegistration.java | 2 +- ...ache.servicecomb.serviceregistry.api.Discovery} | 0 ...e.servicecomb.serviceregistry.api.Registration} | 0 .../serviceregistry/ServiceCenterDiscovery.java| 4 +- .../serviceregistry/ServiceCenterRegistration.java | 1 + .../client/http/ServiceRegistryClientImpl.java | 1 + ...ache.servicecomb.serviceregistry.api.Discovery} | 0 ...e.servicecomb.serviceregistry.api.Registration} | 0 32 files changed, 772 insertions(+), 36 deletions(-) diff --git a/demo/demo-multi-registries/demo-multi-registries-client/pom.xml b/demo/demo-multi-registries/demo-multi-registries-client/pom.xml new file mode 100644 index 000..539ede0 --- /dev/null +++ b/demo/demo-multi-registries/demo-multi-registries-client/pom.xml @@ -0,0 +1,78 @@ + + + +http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; + xmlns="http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;> + 4.0.0 + demo-multi-registries-client + Java Chassis::Demo::Multi Registries client + +org.apache.servicecomb.demo +demo-multi-registries +2.1.0-SNAPSHOT + + + +org.apache.servicecomb.demo.registry.Application + + + + org.apache.servicecomb + java-chassis-spring-boot-starter-servlet + + + org.apache.servicecomb.demo + demo-schema + + + + + +com.github.odavid.maven.plugins +mixin-maven-plugin + + + + org.apache.servicecomb.demo + docker-run-config + ${project.version} + + + + + + + + + + docker + +demo-multi-registries-server + + + + +io.fabric8 +docker-maven-plugin + + + + + + diff --git a/demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/Application.java b/demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/Application.java new file mode 100644 index 000..2ef836c --- /dev/null +++ b/demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/Application.java @@ -0,0 +1,67 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT
[servicecomb-java-chassis] 03/03: [SCB-1935]reorganize test case
This is an automated email from the ASF dual-hosted git repository. liubao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git commit 4cc3834b0bc2e38493740022c61b1f420a10d737 Author: liubao AuthorDate: Tue May 26 21:20:38 2020 +0800 [SCB-1935]reorganize test case --- .../servicecomb/demo/registry/Application.java | 26 ++- .../registry/MultiRegistriesServerTestCase.java| 48 ...Application.java => ServiceCenterTestCase.java} | 51 ++ .../servicecomb/demo/CategorizedTestCase.java | 4 ++ .../demo/CategorizedTestCaseRunner.java| 8 +++- 5 files changed, 84 insertions(+), 53 deletions(-) diff --git a/demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/Application.java b/demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/Application.java index 2ef836c..ffe3756 100644 --- a/demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/Application.java +++ b/demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/Application.java @@ -17,25 +17,18 @@ package org.apache.servicecomb.demo.registry; -import java.util.List; -import java.util.Map; - +import org.apache.servicecomb.demo.CategorizedTestCaseRunner; import org.apache.servicecomb.demo.TestMgr; -import org.apache.servicecomb.provider.pojo.RpcReference; -import org.apache.servicecomb.provider.springmvc.reference.RestTemplateBuilder; import org.apache.servicecomb.springboot2.starter.EnableServiceComb; import org.springframework.boot.WebApplicationType; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.stereotype.Component; -import org.springframework.web.client.RestTemplate; @SpringBootApplication @EnableServiceComb @Component public class Application { - @RpcReference(microserviceName = "thirdParty-service-center", schemaId = "ServiceCenterEndpoint") - static IServiceCenterEndpoint serviceCenterEndpoint; public static void main(final String[] args) throws Exception { new SpringApplicationBuilder().sources(Application.class).web(WebApplicationType.SERVLET).build().run(args); @@ -43,22 +36,9 @@ public class Application { runTest(); } - public static void runTest() { -RestTemplate template = RestTemplateBuilder.create(); - -// invoke demo-multi-registries-server -TestMgr.check("2", template - .getForObject("cse://demo-multi-registries-server/register/url/prefix/getName?name=2", -String.class)); + public static void runTest() throws Exception { + CategorizedTestCaseRunner.runCategorizedTestCase("demo-multi-registries-server"); -// invoke service-center(3rd-parties) -@SuppressWarnings("unchecked") -Map> result = (Map>) serviceCenterEndpoint.getInstances("demo-multi-registries", -"demo-multi-registries-server", -"true", -"0.0.2", -"default"); -TestMgr.check(result.get("instances").size(), 1); TestMgr.summary(); if (!TestMgr.errors().isEmpty()) { throw new IllegalStateException("tests failed"); diff --git a/demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/MultiRegistriesServerTestCase.java b/demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/MultiRegistriesServerTestCase.java new file mode 100644 index 000..d09babf --- /dev/null +++ b/demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/MultiRegistriesServerTestCase.java @@ -0,0 +1,48 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.servicecomb.demo.registry; + +import org.apache.servicecomb.demo.CategorizedTestCase; +import org.apache.servicecomb.demo.TestMgr; +import org.apache.servicecomb.provider.springmvc.reference.RestTemplateBuilder; +import
[servicecomb-java-chassis] branch master updated (40d2aa0 -> 4cc3834)
This is an automated email from the ASF dual-hosted git repository. liubao pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git. from 40d2aa0 [SCB-1937] fix integration test(TestAsyncInvoke) always timeout problem new 2eac3a4 [SCB-1935]add a demo to show using local registry and service center together new 5af49a4 [SCB-1935]publish service center port to local access new 4cc3834 [SCB-1935]reorganize test case The 3 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: .../demo-multi-registries-client}/pom.xml | 10 ++-- .../servicecomb/demo/registry/Application.java | 14 ++--- .../demo/registry/IServiceCenterEndpoint.java | 17 +++--- .../registry/MultiRegistriesServerTestCase.java} | 36 +++-- .../demo/registry/ServiceCenterEndpoint.java} | 26 +- .../demo/registry/ServiceCenterTestCase.java | 60 ++ .../src/main/resources/application.yml | 4 +- .../src/main/resources/logback.xml | 0 .../ServiceCenterEndpoint.yaml}| 42 ++- .../src/main/resources/registry.yaml | 10 ++-- .../demo/registry/MultiRegistriesIT.java} | 2 +- .../demo-multi-registries-server}/pom.xml | 6 +-- .../demo/registry/SelfServiceInvoker.java | 2 +- .../demo/registry/ServerApplication.java | 0 .../servicecomb/demo/registry/ServerEndpoint.java | 0 .../src/main/resources/application.yml | 12 ++--- .../src/main/resources/logback.xml | 0 .../pom.xml| 12 +++-- .../servicecomb/demo/CategorizedTestCase.java | 4 ++ .../demo/CategorizedTestCaseRunner.java| 8 ++- demo/docker-run-config-edge/pom.xml| 4 +- demo/docker-run-config-local/pom.xml | 31 --- demo/docker-run-config/pom.xml | 4 +- demo/pom.xml | 1 + .../serviceregistry/DiscoveryManager.java | 7 ++- .../serviceregistry/RegistrationManager.java | 1 + .../serviceregistry/{ => api}/Discovery.java | 21 +--- .../serviceregistry/{ => api}/LifeCycle.java | 2 +- .../serviceregistry/{ => api}/Registration.java| 2 +- .../client/http/MicroserviceInstances.java | 18 +-- .../servicecomb/localregistry/LocalDiscovery.java | 4 +- .../localregistry/LocalRegistration.java | 2 +- ...ache.servicecomb.serviceregistry.api.Discovery} | 0 ...e.servicecomb.serviceregistry.api.Registration} | 0 .../serviceregistry/ServiceCenterDiscovery.java| 4 +- .../serviceregistry/ServiceCenterRegistration.java | 1 + .../client/http/ServiceRegistryClientImpl.java | 1 + ...ache.servicecomb.serviceregistry.api.Discovery} | 0 ...e.servicecomb.serviceregistry.api.Registration} | 0 39 files changed, 227 insertions(+), 141 deletions(-) copy demo/{demo-local-registry/demo-local-registry-client => demo-multi-registries/demo-multi-registries-client}/pom.xml (88%) copy demo/{demo-local-registry/demo-local-registry-client => demo-multi-registries/demo-multi-registries-client}/src/main/java/org/apache/servicecomb/demo/registry/Application.java (80%) copy swagger/swagger-invocation/invocation-core/src/test/java/org/apache/servicecomb/swagger/invocation/schemas/SpringmvcAddV2.java => demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/IServiceCenterEndpoint.java (62%) copy demo/{demo-register-url-prefix/demo-register-url-prefix-client/src/main/java/org/apache/servicecomb/demo/prefix/Application.java => demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/MultiRegistriesServerTestCase.java} (57%) copy demo/{demo-local-registry/demo-local-registry-server/src/main/java/org/apache/servicecomb/demo/registry/ServerEndpoint.java => demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/ServiceCenterEndpoint.java} (63%) create mode 100644 demo/demo-multi-registries/demo-multi-registries-client/src/main/java/org/apache/servicecomb/demo/registry/ServiceCenterTestCase.java copy demo/{demo-register-url-prefix/demo-register-url-prefix-client => demo-multi-registries/demo-multi-registries-client}/src/main/resources/application.yml (91%) copy demo/{demo-register-url-prefix/demo-register-url-prefix-server => demo-multi-registries/demo-multi-registries-client}/src/main/resources/logback.xml (100%) copy demo/{demo-local-registry/demo-local-registry-client/src/main/resources/microservices/demo-local-registry-server/ServerEndpoint.yaml
[servicecomb-java-chassis] 02/03: [SCB-1935]publish service center port to local access
This is an automated email from the ASF dual-hosted git repository. liubao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git commit 5af49a4a9aceb487c2e8acf83d838c6f4e38dfef Author: liubao AuthorDate: Tue May 26 19:49:10 2020 +0800 [SCB-1935]publish service center port to local access --- demo/docker-run-config-edge/pom.xml | 4 ++-- demo/docker-run-config-local/pom.xml | 31 --- demo/docker-run-config/pom.xml | 4 ++-- 3 files changed, 4 insertions(+), 35 deletions(-) diff --git a/demo/docker-run-config-edge/pom.xml b/demo/docker-run-config-edge/pom.xml index dbc8e61..ac7341f 100644 --- a/demo/docker-run-config-edge/pom.xml +++ b/demo/docker-run-config-edge/pom.xml @@ -52,7 +52,7 @@ 6 -service.center.port:30100 +30100:30100 @@ -284,7 +284,7 @@ 2.19.1 - http://${docker.hostname}:${service.center.port} + http://${docker.hostname}:30100 ${jacoco.failsafe.argLine} diff --git a/demo/docker-run-config-local/pom.xml b/demo/docker-run-config-local/pom.xml index 619c5c0..e2a99dd 100644 --- a/demo/docker-run-config-local/pom.xml +++ b/demo/docker-run-config-local/pom.xml @@ -39,24 +39,6 @@ -servicecomb/service-center -service-center - - -server is ready - - -30100 - - -6 - - -service.center.port:30100 - - - - ${demo.service.name}:${project.version} ${demo.service.name} @@ -66,17 +48,8 @@ /maven/maven/${demo.service.name}-${project.version}.jar - -service-center:sc.servicecomb.io - Register microservice instance success - - 8080 @@ -85,12 +58,8 @@ 12 -7070:7070 8080:8080 - -service-center - diff --git a/demo/docker-run-config/pom.xml b/demo/docker-run-config/pom.xml index ea4445f..b8afd41 100644 --- a/demo/docker-run-config/pom.xml +++ b/demo/docker-run-config/pom.xml @@ -52,7 +52,7 @@ 6 -service.center.port:30100 +30100:30100 @@ -146,7 +146,7 @@ 2.19.1 - http://${docker.hostname}:${service.center.port} + http://${docker.hostname}:30100 ${jacoco.failsafe.argLine}
[servicecomb-java-chassis] branch master updated: [SCB-1936] change findbug dependency to provided
This is an automated email from the ASF dual-hosted git repository. liubao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git The following commit(s) were added to refs/heads/master by this push: new 64a7179 [SCB-1936] change findbug dependency to provided 64a7179 is described below commit 64a7179b2f0c70947c95b27fe27b2a257c1d6a2c Author: wujimin AuthorDate: Tue May 26 20:26:34 2020 +0800 [SCB-1936] change findbug dependency to provided --- dependencies/default/pom.xml| 2 ++ handlers/handler-tracing-zipkin/pom.xml | 6 -- integration-tests/test-common/pom.xml | 4 tracing/tracing-zipkin/pom.xml | 4 4 files changed, 2 insertions(+), 14 deletions(-) diff --git a/dependencies/default/pom.xml b/dependencies/default/pom.xml index 2348f26..a18a0e4 100644 --- a/dependencies/default/pom.xml +++ b/dependencies/default/pom.xml @@ -199,11 +199,13 @@ com.google.code.findbugs annotations ${findbugs-annotations.version} +provided com.google.code.findbugs jsr305 ${findbugs-jsr305.version} +provided diff --git a/handlers/handler-tracing-zipkin/pom.xml b/handlers/handler-tracing-zipkin/pom.xml index 648cc15..5be9fb0 100644 --- a/handlers/handler-tracing-zipkin/pom.xml +++ b/handlers/handler-tracing-zipkin/pom.xml @@ -63,11 +63,5 @@ zipkin compile - - - com.google.code.findbugs - jsr305 - - diff --git a/integration-tests/test-common/pom.xml b/integration-tests/test-common/pom.xml index dc87912..edcb146 100644 --- a/integration-tests/test-common/pom.xml +++ b/integration-tests/test-common/pom.xml @@ -54,10 +54,6 @@ brave-context-log4j12 - com.google.code.findbugs - jsr305 - - log4j log4j test diff --git a/tracing/tracing-zipkin/pom.xml b/tracing/tracing-zipkin/pom.xml index 290e6f6..a113a06 100644 --- a/tracing/tracing-zipkin/pom.xml +++ b/tracing/tracing-zipkin/pom.xml @@ -50,10 +50,6 @@ io.zipkin.brave brave-context-log4j12 - - com.google.code.findbugs - jsr305 - org.springframework.boot
[servicecomb-java-chassis] branch master updated: [SCB-1937] fix integration test(TestAsyncInvoke) always timeout problem
This is an automated email from the ASF dual-hosted git repository. liubao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git The following commit(s) were added to refs/heads/master by this push: new 40d2aa0 [SCB-1937] fix integration test(TestAsyncInvoke) always timeout problem 40d2aa0 is described below commit 40d2aa09b39653aa08864648a68f4ae98d7fa463 Author: wujimin AuthorDate: Tue May 26 23:31:36 2020 +0800 [SCB-1937] fix integration test(TestAsyncInvoke) always timeout problem --- .../main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java| 1 + 1 file changed, 1 insertion(+) diff --git a/integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java b/integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java index c2b4c48..efd89d3 100644 --- a/integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java +++ b/integration-tests/it-consumer/src/main/java/org/apache/servicecomb/it/testcase/TestAsyncInvoke.java @@ -122,6 +122,7 @@ public class TestAsyncInvoke { responseEntityCompletableFuture.whenComplete((responseEntity, ex) -> { checkLogic.accept(responseEntity, ex); responseChecked.value = true; + countDownLatch.countDown(); }); try {
[servicecomb-website] branch master updated (dd90dec -> 3a15fdd)
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 dd90dec Fixed the lastest release version add 3a15fdd Fixed the link for summer 2020 No new revisions were added by this update. Summary of changes: _pages/cn/home.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[servicecomb-website] branch asf-site updated (d81d860 -> eab31f2)
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 d81d860 Publish the website add 3a15fdd Fixed the link for summer 2020 new 40f44a6 Merge branch 'master' into asf-site new eab31f2 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/cn/home.md | 2 +- content/cn/index.html | 2 +- content/feed.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
[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 eab31f2ae4a3b55894c01e9e1bb7fc51d82c4a2d Author: Willem Jiang AuthorDate: Tue May 26 22:28:30 2020 +0800 Publish the website --- content/cn/index.html | 2 +- content/feed.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/cn/index.html b/content/cn/index.html index b52fb0b..a57be25 100644 --- a/content/cn/index.html +++ b/content/cn/index.html @@ -336,7 +336,7 @@ 最新新闻 left_ul li{width:100%} - Apache ServiceComb 社区 暑假coding 2020 活动 Apache ServiceComb Java-Chassis 发布 2.0.2 Apache ServiceComb Service-Center 发布 1.3.0 Apache ServiceComb Pack 发布0.5.0 Apache ServiceComb Toolkit 发布0.2.0 [...] + Apache ServiceComb 社区 暑假coding 2020 活动 Apache ServiceComb Java-Chassis 发布 2.0.2 Apache ServiceComb Service-Center 发布 1.3.0 Apache ServiceComb Pack 发布0.5.0 Apache ServiceComb Toolkit 发布0.2.0 Apache ServiceComb 社区接受新开普软件研究院的代码捐赠 Apache ServiceComb 社区meetup及新品发布 Apache ServiceComb 荣获中国开源云联盟组织的中国优秀开源项目一等奖 Apache ServiceComb 社区联合传智播客的黑马程序员、博学谷、传智汇子品牌发布微服务化教程 https://gitter [...] diff --git a/content/feed.xml b/content/feed.xml index a9a203c..d175e84 100644 --- a/content/feed.xml +++ b/content/feed.xml @@ -1,4 +1,4 @@ -http://www.w3.org/2005/Atom; >https://jekyllrb.com/; version="3.8.5">Jekyll2020-05-26T19:29:47+08:00/feed.xmlApache ServiceCombThe homepage of ServiceComb{name=nil, avatar= [...] +http://www.w3.org/2005/Atom; >https://jekyllrb.com/; version="3.8.5">Jekyll2020-05-26T22:26:42+08:00/feed.xmlApache ServiceCombThe homepage of ServiceComb{name=nil, avatar= [...] p本次讲座得到广东工业大学计算机院学生会同学们的鼎力支持和参与。报名通道开放后,报名人数迅速达到150+,活动放在学校报告厅举办。即便在周日,同学们的热情仍然很高,给广东工业大学的同学们点赞。/p
[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 40f44a6492c9b99de0426af9bc1e238183e948e7 Merge: d81d860 3a15fdd Author: Willem Jiang AuthorDate: Tue May 26 22:26:29 2020 +0800 Merge branch 'master' into asf-site _pages/cn/home.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[servicecomb-website] branch master updated (e12ec15 -> dd90dec)
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 e12ec15 resolve confict for summer 2020 add dd90dec Fixed the lastest release version No new revisions were added by this update. Summary of changes: _pages/cn/home.md | 2 +- _pages/home.md| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
[servicecomb-website] branch asf-site updated (261d135 -> d81d860)
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 261d135 Publish the website add f35325c add summer2020 page and change fonts.cat.net for speeding visiting add e12ec15 resolve confict for summer 2020 add dd90dec Fixed the lastest release version new b527d8d Merge branch 'master' into asf-site new d81d860 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: _includes/head/custom.html | 2 +- _pages/cn/home.md | 3 + _pages/cn/summer2020.html | 10 + _pages/home.md | 3 + _pages/summer2020.html | 10 + 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/sonarcloud-how-to/index.html | 2 +- content/cn/developers/submit-codes/index.html | 2 +- content/cn/developers/submit-issues/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 +- .../index.html | 2 +- .../index.html | 2 +- .../docs/apache-servicecomb-day-slides/index.html | 2 +- .../apache-servicecomb-incubating-day/index.html | 2 +- .../index.html | 2 +- content/cn/docs/autoscale-on-company/index.html| 2 +- .../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 +- .../customized-tracing-with-servicecomb/index.html | 2 +- .../index.html | 2 +- .../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/getting-started/index.html | 2 +- content/cn/docs/go-to-cloud/index.html | 2 +- .../how-to-do-microservice-accept-test/index.html | 2 +- .../index.html | 2 +- .../docs/how-to-reform-a-legacy-system/index.html | 2 +- content/cn/docs/introduction/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 +- .../index.html | 2 +- .../index.html | 2 +- .../docs/products/java-chassis/advance/index.html | 2 +- .../cn/docs/products/java-chassis/bmi/index.html | 2 +- .../java-chassis/distributed-tracing/index.html| 2 +- .../products/java-chassis/flow-control/index.html | 2 +- .../products/java-chassis/load-balance/index.html | 2 +- .../products/java-chassis/quick-start/index.html | 2 +- .../java-chassis/service-management/index.html | 2 +- content/cn/docs/products/mesher/advance/index.html | 2 +- .../products/mesher/distributed-tracing/index.html | 2 +-
[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 b527d8db27beefda6f8d6709f4e28c92b9afb920 Merge: 261d135 dd90dec Author: Willem Jiang AuthorDate: Tue May 26 19:29:32 2020 +0800 Merge branch 'master' into asf-site _includes/head/custom.html | 2 +- _pages/cn/home.md | 3 +++ _pages/cn/summer2020.html | 10 ++ _pages/home.md | 3 +++ _pages/summer2020.html | 10 ++ 5 files changed, 27 insertions(+), 1 deletion(-)
[servicecomb-website] 01/02: add summer2020 page and change fonts.cat.net for speeding visiting
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 commit f35325c0b4b10e89fee217e54366e312c46f1c81 Author: alec.zheng AuthorDate: Tue May 26 15:43:13 2020 +0800 add summer2020 page and change fonts.cat.net for speeding visiting --- _data/navigation.yml | 6 ++ _includes/head/custom.html | 2 +- _pages/cn/summer2020.html | 10 ++ _pages/summer2020.html | 10 ++ 4 files changed, 27 insertions(+), 1 deletion(-) diff --git a/_data/navigation.yml b/_data/navigation.yml index 28fcc55..3e8a4d4 100755 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -30,6 +30,9 @@ t: - title: "Blogs" url: /year-archive/ group: "year-archive" + - title: "Summer 2020" +url: /summer2020 +group: "summer2020" - title: "Downloads" url: /release/ group: "release" @@ -221,6 +224,9 @@ t: - title: "博文" url: /cn/year-archive/ group: "year-archive" + - title: "暑期2020" +url: /cn/summer2020 +group: "summer2020" - title: "下载" url: /cn/release/ group: "release" diff --git a/_includes/head/custom.html b/_includes/head/custom.html index 3875b9e..1bb8c63 100644 --- a/_includes/head/custom.html +++ b/_includes/head/custom.html @@ -1,6 +1,6 @@ -https://fonts.cat.net/css?family=Roboto:400,500,700|Source+Code+Pro" rel="stylesheet"> +https://fonts.loli.net/css?family=Roboto:400,500,700|Source+Code+Pro" rel="stylesheet"> diff --git a/_pages/cn/summer2020.html b/_pages/cn/summer2020.html new file mode 100644 index 000..a8334cb --- /dev/null +++ b/_pages/cn/summer2020.html @@ -0,0 +1,10 @@ +--- +title: "暑期 2020" +lang: en +ref: summer2020 +permalink: /cn/summer2020 +excerpt: "暑期2020" +last_modified_at: 2020-05-25T09:46:01+08:00 +--- + +该页面马上上线... \ No newline at end of file diff --git a/_pages/summer2020.html b/_pages/summer2020.html new file mode 100644 index 000..682f04a --- /dev/null +++ b/_pages/summer2020.html @@ -0,0 +1,10 @@ +--- +title: "Summer 2020" +lang: en +ref: summer2020 +permalink: /summer2020 +excerpt: "Summer 2020" +last_modified_at: 2020-05-25T09:46:01+08:00 +--- + +This page will come soon... \ No newline at end of file
[servicecomb-website] branch master updated (f9d72f2 -> e12ec15)
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 f9d72f2 release ServiceComb Java Chassis 2.0.2 new f35325c add summer2020 page and change fonts.cat.net for speeding visiting new e12ec15 resolve confict for summer 2020 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: _includes/head/custom.html | 2 +- _pages/cn/home.md | 5 - _pages/cn/summer2020.html | 10 ++ _pages/home.md | 5 - _pages/summer2020.html | 10 ++ 5 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 _pages/cn/summer2020.html create mode 100644 _pages/summer2020.html
[servicecomb-website] 02/02: resolve confict for summer 2020
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 commit e12ec15c3f02b47fd1323c1f6f10453aed516309 Author: alec.zheng AuthorDate: Tue May 26 17:44:44 2020 +0800 resolve confict for summer 2020 --- _data/navigation.yml | 6 -- _pages/cn/home.md| 5 - _pages/home.md | 5 - 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/_data/navigation.yml b/_data/navigation.yml index 3e8a4d4..28fcc55 100755 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -30,9 +30,6 @@ t: - title: "Blogs" url: /year-archive/ group: "year-archive" - - title: "Summer 2020" -url: /summer2020 -group: "summer2020" - title: "Downloads" url: /release/ group: "release" @@ -224,9 +221,6 @@ t: - title: "博文" url: /cn/year-archive/ group: "year-archive" - - title: "暑期2020" -url: /cn/summer2020 -group: "summer2020" - title: "下载" url: /cn/release/ group: "release" diff --git a/_pages/cn/home.md b/_pages/cn/home.md index 045d164..5d74a36 100755 --- a/_pages/cn/home.md +++ b/_pages/cn/home.md @@ -22,7 +22,10 @@ intro: left_ul li{width:100%} -Apache ServiceComb Java-Chassis 发布 2.0.2 + Apache ServiceComb 社区 暑假coding 2020 活动 + + +Apache ServiceComb Java-Chassis 发布 2.0.1 Apache ServiceComb Service-Center 发布 1.3.0 diff --git a/_pages/home.md b/_pages/home.md index 34d8db0..b9e7c89 100755 --- a/_pages/home.md +++ b/_pages/home.md @@ -22,7 +22,10 @@ intro: left_ul li{width:100%} -Apache ServiceComb Java-Chassis Release Version 2.0.2 +Apache ServiceComb Summer Code 2020 + + +Apache ServiceComb Java-Chassis Release Version 2.0.1 Apache ServiceComb Service-Center Release Version 1.3.0
[servicecomb-website] 01/02: Merged the change from master branch
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 556ffcca05063a77233fb7757c614a8a113c90a6 Merge: ce8a3af f9d72f2 Author: Willem Jiang AuthorDate: Tue May 26 17:46:41 2020 +0800 Merged the change from master branch _pages/cn/home.md| 2 +- _pages/home.md | 2 +- _release/cn/java_chassis_downloads.md| 3 +- _release/cn/java_chassis_releaseNotes.md | 114 --- _release/cn/release.md | 3 +- _release/java_chassis_downloads.md | 2 + _release/java_chassis_releaseNotes.md| 114 --- _release/release.md | 4 +- 8 files changed, 187 insertions(+), 57 deletions(-) diff --cc _release/cn/java_chassis_releaseNotes.md index 081b4eb,0982571..0821371 --- a/_release/cn/java_chassis_releaseNotes.md +++ b/_release/cn/java_chassis_releaseNotes.md @@@ -8,8 -8,71 +8,70 @@@ last_modified_at: 2019-04-12T00:50:43-5 --- - + Release Notes - Apache ServiceComb - Version java-chassis-2.0.2 - ++ + Bug + + + [SCB-1823] - change kie label env to environment + + [SCB-1824] - jacskon convertValue will convert all objects start for 2.10.*, java-chassis need not convert RestTemplate arguments + -[SCB-1826] - remove binary release LICENSE since 3rd parties not included ++[SCB-1826] - remove binary release LICENSE since 3rd parties not included + + [SCB-1837] - revert changes for SCB-1643, do not include huaweicloud jar + + [SCB-1857] - RequestLog need to distinguish PRODUCER or CONSUMER for InvocationFinishEvent + -[SCB-1861] - fix config kie value parsing errors ++[SCB-1861] - fix config kie value parsing errors + + [SCB-1863] - config kie bug fix : toke the revision when pull from kie + + - ++ + New Feature + + + [SCB-1810] - create a new Dispathcer to direct forward requests to HTTP server and send response + + [SCB-1816] - Print the instance endpoints in the end of the start up log + + [SCB-1828] - support @JsonView + + [SCB-1834] - add BOM for java-chassis + + - ++ + Improvement + + + [SCB-1822] - fix problems when using multiple consumer interface for one operation and using CseHttpEntity to set localcontext + + [SCB-1825] - client outlog: rename item and delete README.md + + [SCB-1830] - refactring code: Invocation carry changable data in each Invocation in a better way + + [SCB-1831] - Loadbalancer set endpoint can use Endpoint other the literal string + + [SCB-1840] - InvokerUtils inherit current context to support tracing and other features + + [SCB-1845] - add TOC for java-chassis documents to make easier to search + + [SCB-1851] - config-kie: support enable property + + [SCB-1853] - fix problems in README.md + + [SCB-1862] - ServiceComb add extensions to support cas env variables + + [SCB-1866] - dependency update: jackson-datatype-jsr310 from unmanaged to 2.10.0 + + [SCB-1867] - dependency update: netty, from 4.1.45.Final to 4.1.47.Final + + [SCB-1868] - change ISO8601DateFormat + + Release Notes - Apache ServiceComb - Version java-chassis-2.0.1 -- ++ Sub-task @@@ -26,7 -89,7 +88,7 @@@ [SCB-1809] - add document for InvokerUtils usage -- ++ Bug @@@ -39,7 -102,7 +101,7 @@@ [SCB-1799] - add back servicecomb.service.registry.registerUrlPrefix -- ++ New Feature @@@ -52,7 -115,7 +114,7 @@@ [SCB-1812] - Endpoint add new constructor to support user defined transport -- ++ Improvement @@@ -71,7 -134,7 +133,7 @@@ [SCB-1814] - binary release only include java-chassis artifacts -- ++ Task @@@ -84,10 -147,10 +146,10 @@@ [SCB-1808] - add documentaion for using TraceIdLogger -- -- ++ ++ Release Notes - Apache ServiceComb - Version java-chassis-2.0.0 -- ++ Sub-task @@@ -141,7 -204,7 +203,7 @@@ [SCB-1337] - should wrap enum to body at swagger generator pojo mode --[SCB-1338] - tiny optimize for collect primitive default value ++[SCB-1338] - tiny optimize for collect primitive default value [SCB-1342] - consumer should not use
[servicecomb-website] branch asf-site updated (ce8a3af -> 261d135)
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 ce8a3af Publish the website add 8d98012 Update release_validation_guide.md add 6b2dc41 Update becomming-a-committer.md add 1a6625f release ServiceComb Java Chassis 2.0.1 add f9d72f2 release ServiceComb Java Chassis 2.0.2 new 556ffcc Merged the change from master branch new 261d135 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/cn/home.md | 2 +- _pages/home.md | 2 +- _release/cn/java_chassis_downloads.md | 3 +- _release/cn/java_chassis_releaseNotes.md | 114 - _release/cn/release.md | 3 +- _release/java_chassis_downloads.md | 2 + _release/java_chassis_releaseNotes.md | 114 - _release/release.md| 4 +- content/cn/index.html | 2 +- content/cn/release/index.html | 3 +- .../cn/release/java-chassis-downloads/index.html | 8 +- .../release/java-chassis-release-notes/index.html | 99 ++ content/feed.xml | 2 +- content/index.html | 2 +- content/release/index.html | 3 +- content/release/java-chassis-downloads/index.html | 12 +++ .../release/java-chassis-release-notes/index.html | 99 ++ 17 files changed, 375 insertions(+), 99 deletions(-)
[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 261d1354cad1a1faff5b8e13ec7a32dbc3fd69f3 Author: Willem Jiang AuthorDate: Tue May 26 17:50:06 2020 +0800 Publish the website --- content/cn/index.html | 2 +- content/cn/release/index.html | 3 +- .../cn/release/java-chassis-downloads/index.html | 8 +- .../release/java-chassis-release-notes/index.html | 99 ++ content/feed.xml | 2 +- content/index.html | 2 +- content/release/index.html | 3 +- content/release/java-chassis-downloads/index.html | 12 +++ .../release/java-chassis-release-notes/index.html | 99 ++ 9 files changed, 188 insertions(+), 42 deletions(-) diff --git a/content/cn/index.html b/content/cn/index.html index f3540d8..c0720d3 100644 --- a/content/cn/index.html +++ b/content/cn/index.html @@ -336,7 +336,7 @@ 最新新闻 left_ul li{width:100%} - Apache ServiceComb Java-Chassis 发布 2.0.1 Apache ServiceComb Service-Center 发布 1.3.0 Apache ServiceComb Pack 发布0.5.0 Apache ServiceComb Toolkit 发布0.2.0 + Apache ServiceComb Java-Chassis 发布 2.0.2 Apache ServiceComb Service-Center 发布 1.3.0 Apache ServiceComb Pack 发布0.5.0 Apache ServiceComb Toolkit 发布0.2.0 Apache ServiceComb 社区接受新开普软件研究院的代码捐赠 Apache ServiceComb 社区meetup及新品发布 Apache ServiceComb 荣获中国开源云联盟组织的中国优秀开源项目一等奖 Apache ServiceComb 社区联合传智播客的黑马程序员、博学谷、传智汇子品牌发布微服务化教程 https://gitter [...] diff --git a/content/cn/release/index.html b/content/cn/release/index.html index 3fb6e87..0910ba6 100644 --- a/content/cn/release/index.html +++ b/content/cn/release/index.html @@ -552,7 +552,7 @@ ServiceComb Pack 0.5.0 (released on 2019-08-26) -ServiceComb Java-Chassis 2.0.1 (released on 2020-03-27) +ServiceComb Java-Chassis 2.0.2 (released on 2020-05-12) ServiceComb Saga Actuator 0.3.0 (released on 2018-12-18) @@ -578,6 +578,7 @@ ServiceComb Service-Center 1.0.0-m1 (released on 2018-03-27) + ServiceComb Java-Chassis 2.0.1 (released on 2020-03-27) ServiceComb Java-Chassis 2.0.0 (released on 2020-02-20) ServiceComb Java-Chassis 1.3.0 (released on 2019-10-31) diff --git a/content/cn/release/java-chassis-downloads/index.html b/content/cn/release/java-chassis-downloads/index.html index 6c71a1d..8625c89 100644 --- a/content/cn/release/java-chassis-downloads/index.html +++ b/content/cn/release/java-chassis-downloads/index.html @@ -548,7 +548,13 @@ - Apache ServiceComb Java-Chassis 2.0.1 (Latest) + Apache ServiceComb Java-Chassis 2.0.2 (Latest) + https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-java-chassis/2.0.2/apache-servicecomb-java-chassis-distribution-2.0.2-src.zip;>[src] https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.2/apache-servicecomb-java-chassis-distribution-2.0.2-src.zip.asc;>[asc] https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.2/apache-servicecomb-java-chassis-distribution-2.0.2-src.zip.sha512;>[sha512] + https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-java-chassis/2.0.2/apache-servicecomb-java-chassis-distribution-2.0.2-bin.zip;>[Binary] https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.2/apache-servicecomb-java-chassis-distribution-2.0.2-bin.zip.asc;>[asc] https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.2/apache-servicecomb-java-chassis-distribution-2.0.2-bin.zip.sha512;>[sha512] + Service-Center 1.3.0 or above + + + Apache ServiceComb Java-Chassis 2.0.1 https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-src.zip;>[src] https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-src.zip.asc;>[asc] https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-src.zip.sha512;>[sha512] https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-bin.zip;>[Binary] https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-bin.zip.asc;>[asc] https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-bin.zip.sha512;>[sha512] Service-Center 1.0.0 or above diff --git a/content/cn/release/java-chassis-release-notes/index.html b/content/cn/release/java-chassis-release-notes/index.html index c32f59b..31e8dbc 100644 ---
[servicecomb-java-chassis] branch master updated (e413d63 -> 71fd15c)
This is an automated email from the ASF dual-hosted git repository. liubao pushed a change to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git. from e413d63 [SCB-1931] fix consumer flag in MicroserviceMeta new 0c41408 [SCB-1930]When MicroserivceVersions.setInstances continues fail will cause OOM new 71fd15c [SCB-1930]using set for priorityproperty cache and remove unnecessary code 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: .../core/definition/MicroserviceVersionsMeta.java | 5 - .../core/definition/ServiceRegistryListener.java | 5 +- .../config/inject/ConfigObjectFactory.java | 3 +- .../config/priority/PriorityProperty.java | 14 ++- .../config/priority/PriorityPropertyManager.java | 49 - .../config/inject/TestConfigObjectFactory.java | 8 -- .../config/priority/TestPriorityProperty.java | 14 --- .../config/priority/TestPriorityPropertyBase.java | 10 -- .../priority/TestPriorityPropertyManager.java | 109 + .../inspector/internal/InspectorBootListener.java | 13 +-- .../inspector/internal/InspectorImpl.java | 3 +- .../internal/TestInspectorBootListener.java| 1 - .../inspector/internal/TestInspectorImpl.java | 6 -- 13 files changed, 145 insertions(+), 95 deletions(-) create mode 100644 foundations/foundation-config/src/test/java/org/apache/servicecomb/config/priority/TestPriorityPropertyManager.java
[servicecomb-java-chassis] 02/02: [SCB-1930]using set for priorityproperty cache and remove unnecessary code
This is an automated email from the ASF dual-hosted git repository. liubao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git commit 71fd15c87858e88532f26642d739caef77ad6d64 Author: liubao AuthorDate: Tue May 26 10:40:52 2020 +0800 [SCB-1930]using set for priorityproperty cache and remove unnecessary code --- .../core/definition/MicroserviceVersionsMeta.java | 5 - .../core/definition/ServiceRegistryListener.java | 5 +- .../config/priority/PriorityPropertyManager.java | 29 ++ .../config/inject/TestConfigObjectFactory.java | 8 -- .../config/priority/TestPriorityProperty.java | 14 --- .../config/priority/TestPriorityPropertyBase.java | 10 -- .../priority/TestPriorityPropertyManager.java | 109 + .../inspector/internal/InspectorBootListener.java | 13 +-- .../inspector/internal/InspectorImpl.java | 2 +- .../internal/TestInspectorBootListener.java| 1 - .../inspector/internal/TestInspectorImpl.java | 6 -- 11 files changed, 120 insertions(+), 82 deletions(-) diff --git a/core/src/main/java/org/apache/servicecomb/core/definition/MicroserviceVersionsMeta.java b/core/src/main/java/org/apache/servicecomb/core/definition/MicroserviceVersionsMeta.java index 307b51a..8252d2f 100644 --- a/core/src/main/java/org/apache/servicecomb/core/definition/MicroserviceVersionsMeta.java +++ b/core/src/main/java/org/apache/servicecomb/core/definition/MicroserviceVersionsMeta.java @@ -35,11 +35,6 @@ public class MicroserviceVersionsMeta { .createConfigObject(MicroserviceConfig.class, "service", microserviceName); } - public void destroy() { - scbEngine.getPriorityPropertyManager().unregisterConfigObject(microserviceConfig); -configs.values().stream() - .forEach(scbEngine.getPriorityPropertyManager()::unregisterConfigObject); - } public MicroserviceConfig getMicroserviceConfig() { return microserviceConfig; diff --git a/core/src/main/java/org/apache/servicecomb/core/definition/ServiceRegistryListener.java b/core/src/main/java/org/apache/servicecomb/core/definition/ServiceRegistryListener.java index 0931864..5077234 100644 --- a/core/src/main/java/org/apache/servicecomb/core/definition/ServiceRegistryListener.java +++ b/core/src/main/java/org/apache/servicecomb/core/definition/ServiceRegistryListener.java @@ -64,10 +64,7 @@ public class ServiceRegistryListener { @SubscriberOrder(-1000) @Subscribe public void onDestroyMicroservice(DestroyMicroserviceEvent event) { -MicroserviceVersions microserviceVersions = event.getMicroserviceVersions(); -MicroserviceVersionsMeta microserviceVersionsMeta = microserviceVersions.getVendorExtensions() -.get(CORE_MICROSERVICE_VERSIONS_META); -microserviceVersionsMeta.destroy(); + } @EnableExceptionPropagation diff --git a/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityPropertyManager.java b/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityPropertyManager.java index a7d8544..dd84f5a 100644 --- a/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityPropertyManager.java +++ b/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityPropertyManager.java @@ -23,6 +23,7 @@ import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; +import java.util.Set; import java.util.WeakHashMap; import org.apache.commons.configuration.event.ConfigurationEvent; @@ -30,15 +31,14 @@ import org.apache.commons.configuration.event.ConfigurationListener; import org.apache.servicecomb.config.inject.ConfigObjectFactory; import org.apache.servicecomb.foundation.common.concurrent.ConcurrentHashMapEx; -import com.google.common.annotations.VisibleForTesting; import com.netflix.config.ConfigurationManager; import com.netflix.config.DynamicPropertyFactory; public class PriorityPropertyManager { private ConfigurationListener configurationListener = this::configurationListener; - private Map, Boolean> priorityPropertyMap = - Collections.synchronizedMap(new WeakHashMap<>()); + private Set> priorityPropertySet = + Collections.newSetFromMap(Collections.synchronizedMap(new WeakHashMap<>())); private Map>> configObjectMap = Collections.synchronizedMap(new WeakHashMap<>()); @@ -66,7 +66,7 @@ public class PriorityPropertyManager { if (keyCache == null) { keyCache = new ConcurrentHashMapEx<>(); - updateCache(new Object(), priorityPropertyMap.keySet()); + updateCache(new Object(), priorityPropertySet); configObjectMap.forEach((k, v) -> updateCache(k, v)); } @@ -92,8 +92,8 @@ public class PriorityPropertyManager { } } - public Map, Boolean> getPriorityPropertyMap() { -return priorityPropertyMap; +
[servicecomb-java-chassis] 01/02: [SCB-1930]When MicroserivceVersions.setInstances continues fail will cause OOM
This is an automated email from the ASF dual-hosted git repository. liubao pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/servicecomb-java-chassis.git commit 0c41408c5cf1f9989cff1cdb421834c6dbef5d6f Author: liubao AuthorDate: Mon May 25 15:32:31 2020 +0800 [SCB-1930]When MicroserivceVersions.setInstances continues fail will cause OOM --- .../config/inject/ConfigObjectFactory.java | 3 +- .../config/priority/PriorityProperty.java | 14 + .../config/priority/PriorityPropertyManager.java | 34 +- .../inspector/internal/InspectorImpl.java | 3 +- 4 files changed, 33 insertions(+), 21 deletions(-) diff --git a/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/inject/ConfigObjectFactory.java b/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/inject/ConfigObjectFactory.java index 8dee778..1c73d84 100644 --- a/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/inject/ConfigObjectFactory.java +++ b/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/inject/ConfigObjectFactory.java @@ -25,7 +25,6 @@ import org.apache.servicecomb.config.priority.PriorityProperty; import org.apache.servicecomb.config.priority.PriorityPropertyManager; import org.apache.servicecomb.foundation.common.utils.JsonUtils; import org.apache.servicecomb.foundation.common.utils.LambdaMetafactoryUtils; -import org.apache.servicecomb.foundation.common.utils.bean.Setter; import org.apache.servicecomb.foundation.common.utils.bean.SetterWrapper; import com.fasterxml.jackson.databind.BeanDescription; @@ -104,7 +103,7 @@ public class ConfigObjectFactory { new SetterWrapper(LambdaMetafactoryUtils.createSetter(propertyDefinition.getSetter().getAnnotated())); PriorityProperty priorityProperty = createPriorityProperty(propertyDefinition.getField().getAnnotated()); - priorityProperty.setCallback(value -> setter.set(instance, value)); + priorityProperty.setCallback((value, target) -> setter.set(target, value), instance); priorityProperties.add(priorityProperty); } } diff --git a/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityProperty.java b/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityProperty.java index 53cc9cc..a07f8c3 100644 --- a/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityProperty.java +++ b/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityProperty.java @@ -19,7 +19,7 @@ package org.apache.servicecomb.config.priority; import java.lang.reflect.Type; import java.util.Arrays; import java.util.Objects; -import java.util.function.Consumer; +import java.util.function.BiConsumer; import java.util.function.Function; import org.slf4j.Logger; @@ -53,7 +53,7 @@ public class PriorityProperty { private Function internalValueReader; - private Consumer callback = v -> { + private BiConsumer callback = (t, u) -> { }; @SuppressWarnings("unchecked") @@ -144,6 +144,10 @@ public class PriorityProperty { } synchronized void updateFinalValue(boolean init) { +updateFinalValue(init, this); + } + + synchronized void updateFinalValue(boolean init, Object target) { T lastValue = finalValue; String effectiveKey = "default value"; @@ -171,15 +175,15 @@ public class PriorityProperty { joinedPriorityKeys, finalValue, value, effectiveKey); } finalValue = value; -callback.accept(finalValue); +callback.accept(finalValue, target); } public T getValue() { return finalValue; } - public void setCallback(Consumer callback) { + public void setCallback(BiConsumer callback, Object target) { this.callback = callback; -callback.accept(finalValue); +callback.accept(finalValue, target); } } diff --git a/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityPropertyManager.java b/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityPropertyManager.java index 2bbceb2..a7d8544 100644 --- a/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityPropertyManager.java +++ b/foundations/foundation-config/src/main/java/org/apache/servicecomb/config/priority/PriorityPropertyManager.java @@ -23,25 +23,29 @@ import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; +import java.util.WeakHashMap; import org.apache.commons.configuration.event.ConfigurationEvent; import org.apache.commons.configuration.event.ConfigurationListener; import org.apache.servicecomb.config.inject.ConfigObjectFactory; import org.apache.servicecomb.foundation.common.concurrent.ConcurrentHashMapEx; +import
[servicecomb-website] branch master updated: release ServiceComb Java Chassis 2.0.2
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 f9d72f2 release ServiceComb Java Chassis 2.0.2 f9d72f2 is described below commit f9d72f280eff9f03a9d5de900938d25a1c118a16 Author: liubao AuthorDate: Tue May 12 10:55:20 2020 +0800 release ServiceComb Java Chassis 2.0.2 --- _pages/cn/home.md| 2 +- _pages/home.md | 2 +- _release/cn/java_chassis_downloads.md| 3 +- _release/cn/java_chassis_releaseNotes.md | 63 _release/cn/release.md | 3 +- _release/java_chassis_downloads.md | 3 +- _release/java_chassis_releaseNotes.md| 63 _release/release.md | 3 +- 8 files changed, 136 insertions(+), 6 deletions(-) diff --git a/_pages/cn/home.md b/_pages/cn/home.md index 191fe60..045d164 100755 --- a/_pages/cn/home.md +++ b/_pages/cn/home.md @@ -22,7 +22,7 @@ intro: left_ul li{width:100%} -Apache ServiceComb Java-Chassis 发布 2.0.1 +Apache ServiceComb Java-Chassis 发布 2.0.2 Apache ServiceComb Service-Center 发布 1.3.0 diff --git a/_pages/home.md b/_pages/home.md index 8f88fcf..34d8db0 100755 --- a/_pages/home.md +++ b/_pages/home.md @@ -22,7 +22,7 @@ intro: left_ul li{width:100%} -Apache ServiceComb Java-Chassis Release Version 2.0.1 +Apache ServiceComb Java-Chassis Release Version 2.0.2 Apache ServiceComb Service-Center Release Version 1.3.0 diff --git a/_release/cn/java_chassis_downloads.md b/_release/cn/java_chassis_downloads.md index cae8b95..311439e 100644 --- a/_release/cn/java_chassis_downloads.md +++ b/_release/cn/java_chassis_downloads.md @@ -11,7 +11,8 @@ last_modified_at: 2019-04-12T00:50:43-55:00 | Release | 源码| 发布包 | Recommended Version of Service-Center | | -- | - | - | - | -|**Apache ServiceComb Java-Chassis 2.0.1 (Latest)**|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-src.zip) [[asc]](https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-src.zip.asc) [[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-src.zip.sha512)|[[B [...] +|**Apache ServiceComb Java-Chassis 2.0.2 (Latest)**|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-java-chassis/2.0.2/apache-servicecomb-java-chassis-distribution-2.0.2-src.zip) [[asc]](https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.2/apache-servicecomb-java-chassis-distribution-2.0.2-src.zip.asc) [[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.2/apache-servicecomb-java-chassis-distribution-2.0.2-src.zip.sha512)|[[B [...] +|Apache ServiceComb Java-Chassis 2.0.1|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-src.zip) [[asc]](https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-src.zip.asc) [[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.1/apache-servicecomb-java-chassis-distribution-2.0.1-src.zip.sha512)|[[Binary]](https [...] |Apache ServiceComb Java-Chassis 2.0.0|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-java-chassis/2.0.0/apache-servicecomb-java-chassis-distribution-2.0.0-src.zip) [[asc]](https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.0/apache-servicecomb-java-chassis-distribution-2.0.0-src.zip.asc) [[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/2.0.0/apache-servicecomb-java-chassis-distribution-2.0.0-src.zip.sha512)|[[Binary]](https [...] |Apache ServiceComb Java-Chassis 1.3.0|[[src]](https://apache.org/dyn/closer.cgi/servicecomb/servicecomb-java-chassis/1.3.0/apache-servicecomb-java-chassis-distribution-1.3.0-src.zip) [[asc]](https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/1.3.0/apache-servicecomb-java-chassis-distribution-1.3.0-src.zip.asc) [[sha512]](https://www.apache.org/dist/servicecomb/servicecomb-java-chassis/1.3.0/apache-servicecomb-java-chassis-distribution-1.3.0-src.zip.sha512)|[[Binary]](https [...] diff --git a/_release/cn/java_chassis_releaseNotes.md b/_release/cn/java_chassis_releaseNotes.md index 081b4eb..0982571 100644 --- a/_release/cn/java_chassis_releaseNotes.md +++