[GitHub] little-cui commented on a change in pull request #382: fix for services count in pagination during search

2018-07-01 Thread GitBox
little-cui commented on a change in pull request #382: fix for services count 
in pagination during search
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/382#discussion_r199368425
 
 

 ##
 File path: frontend/app/scripts/directives/tableDirective.js
 ##
 @@ -30,7 +30,8 @@ angular.module('serviceCenter')
 buttons: '=buttons',
 enableSearch: '=search',
 appList:'=appList',
-apiInfo:'=apiInfo'
+apiInfo:'=apiInfo',
 
 Review comment:
   please run the js formater


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] liubao68 commented on a change in pull request #781: [SCB-701] RequestBody(required = false) should invoke method when bod…

2018-07-01 Thread GitBox
liubao68 commented on a change in pull request #781: [SCB-701] 
RequestBody(required = false) should invoke method when bod…
URL: 
https://github.com/apache/incubator-servicecomb-java-chassis/pull/781#discussion_r199380947
 
 

 ##
 File path: 
common/common-rest/src/main/java/org/apache/servicecomb/common/rest/codec/param/BodyProcessorCreator.java
 ##
 @@ -77,7 +83,10 @@ public void setValue(RestClientRequest clientRequest, 
Object arg) throws Excepti
   try (BufferOutputStream output = new BufferOutputStream()) {
 clientRequest.putHeader(HttpHeaders.CONTENT_TYPE, 
MediaType.APPLICATION_JSON);
 RestObjectMapper.INSTANCE.writeValue(output, arg);
-clientRequest.write(output.getBuffer());
+if (arg != null) {
 
 Review comment:
   when required = true
   1. Resttempalte or RPC always send empty body to provider and provider 
throws Exception
   2. postman can send empty or null to provider, and provider throws Exception
   when required = false
   1. Resttempalte or RPC always send empty body to provider and provider get 
null
   2. postman can send empty or null to provider, and provider get null
   
   After change this is the expected value. I think is acceptable. When users 
not specify required = true, we can default to false.


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


[incubator-servicecomb-saga] branch old-saga updated: Update the service-center image version

2018-07-01 Thread ningjiang
This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch old-saga
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-saga.git


The following commit(s) were added to refs/heads/old-saga by this push:
 new c4038c2  Update the service-center image version
c4038c2 is described below

commit c4038c2879f6b9798b3d9ec9ee84168ad3d41831
Author: Willem Jiang 
AuthorDate: Mon Jul 2 11:18:11 2018 +0800

Update the service-center image version
---
 saga-demo/dependency-free-transaction-demo/docker-compose.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/saga-demo/dependency-free-transaction-demo/docker-compose.yaml 
b/saga-demo/dependency-free-transaction-demo/docker-compose.yaml
index c6282bf..9d8d12d 100755
--- a/saga-demo/dependency-free-transaction-demo/docker-compose.yaml
+++ b/saga-demo/dependency-free-transaction-demo/docker-compose.yaml
@@ -19,7 +19,7 @@ version: '2.1'
 
 services:
   service-center:
-image: "servicecomb/service-center"
+image: "servicecomb/service-center:0.4.0"
 hostname: service-center
 ports:
   - "30100:30100"



[GitHub] liangrongjie commented on issue #383: cannot open database at data/member/snap/db (cannot allocate memory)

2018-07-01 Thread GitBox
liangrongjie commented on issue #383: cannot open database at 
data/member/snap/db (cannot allocate memory)
URL: 
https://github.com/apache/incubator-servicecomb-service-center/issues/383#issuecomment-401653149
 
 
   问题已解决,谢谢;


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] liangrongjie closed issue #383: cannot open database at data/member/snap/db (cannot allocate memory)

2018-07-01 Thread GitBox
liangrongjie closed issue #383: cannot open database at data/member/snap/db 
(cannot allocate memory)
URL: https://github.com/apache/incubator-servicecomb-service-center/issues/383
 
 
   


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


[incubator-servicecomb-website] branch asf-site updated: Publish the website

2018-07-01 Thread ningjiang
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/incubator-servicecomb-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new bbaeaa7  Publish the website
bbaeaa7 is described below

commit bbaeaa738a9a8be90adf231f41d2301aca08d98a
Author: Willem Jiang 
AuthorDate: Mon Jul 2 09:25:01 2018 +0800

Publish the website
---
 .../slides/20180627/6_DDD_in_Microservics_wanglei.pdf | Bin 0 -> 1931297 bytes
 .../cn/docs/apache-servicecomb-day-slides/index.html  |   2 +-
 content/feed.xml  |   4 ++--
 content/sitemap.xml   |   4 
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/content/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf 
b/content/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf
new file mode 100755
index 000..91dea0e
Binary files /dev/null and 
b/content/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf differ
diff --git a/content/cn/docs/apache-servicecomb-day-slides/index.html 
b/content/cn/docs/apache-servicecomb-day-slides/index.html
index d9527ad..ee4a79e 100644
--- a/content/cn/docs/apache-servicecomb-day-slides/index.html
+++ b/content/cn/docs/apache-servicecomb-day-slides/index.html
@@ -423,7 +423,7 @@
 
摘要:华为消费者云服务为全球100多个国家数亿华为终端用户提供精品云服务,为了支撑业务的快速发展,需要通过微服务架构驱动价值需求更敏捷和高效的交付。利用ServiceComb对SpringMVC、透明RPC开发模式的支持,业务已有的代码可以低成本的迁移到新的微服务架构,同时利用ServiceComb对Reactive异步编程模型的支持,业务实现了全栈异步化改造,相比于传统的同步阻塞式服务调用,性能提升数倍,但是资源损耗却大幅降低…更多实践案例,尽在ServiceComb在华为消费者云的亿级用户实践分享中。
 
 《微服务的领域驱动设计》
-点击下载
+点击下载
 
 主讲人: 王磊 
微服务国内先驱,《微服务架构与实践》作者,华为微服务专家,前ThoughtWorks首席咨询师。
 
diff --git a/content/feed.xml b/content/feed.xml
index d01d6d2..4fec987 100644
--- a/content/feed.xml
+++ b/content/feed.xml
@@ -1,4 +1,4 @@
-http://www.w3.org/2005/Atom; >https://jekyllrb.com/; 
version="3.4.3">Jekyll2018-06-30T20:52:46+08:00/Apache ServiceComb (incubating)The homepage of 
ServiceComb{name=nil, 
avatar= [...]
+http://www.w3.org/2005/Atom; >https://jekyllrb.com/; 
version="3.4.3">Jekyll2018-07-02T09:24:07+08:00/Apache ServiceComb (incubating)The homepage of 
ServiceComb{name=nil, 
avatar= [...]
 a 
href=/assets/slides/20180627/1_How_Apache_works_jb.pdf点击下载/a/p
 
 pstrong主讲人:/strongJean-Baptiste Onofré Apache 
Member,Talend的Fellow, 
04年开始从事Apache软件基金会相关工作,Karaf、Camel、Carbondata等超过20个Apache项目的PMC 
member。/p
@@ -34,7 +34,7 @@
 
pstrong摘要:/strong华为消费者云服务为全球100多个国家数亿华为终端用户提供精品云服务,为了支撑业务的快速发展,需要通过微服务架构驱动价值需求更敏捷和高效的交付。利用ServiceComb对SpringMVC、透明RPC开发模式的支持,业务已有的代码可以低成本的迁移到新的微服务架构,同时利用ServiceComb对Reactive异步编程模型的支持,业务实现了全栈异步化改造,相比于传统的同步阻塞式服务调用,性能提升数倍,但是资源损耗却大幅降低…更多实践案例,尽在ServiceComb在华为消费者云的亿级用户实践分享中。/p
 
 pstrong《微服务的领域驱动设计》/strong
-a href=/assets/slides/20180627/点击下载/a/p
+a 
href=/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf点击下载/a/p
 
 pstrong主讲人:/strong 王磊 
微服务国内先驱,《微服务架构与实践》作者,华为微服务专家,前ThoughtWorks首席咨询师。/p
 
diff --git a/content/sitemap.xml b/content/sitemap.xml
index a844eb1..62eac95 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -818,6 +818,10 @@
 2018-06-30T20:52:11+08:00
 
 
+/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf
+2018-07-02T09:23:48+08:00
+
+
 
/assets/slides/20180627/7_Detailed_Introduction_of_Transaction_Consistency_Solution_from_ServiceComb-Saga.pdf
 2018-06-30T20:52:11+08:00
 



[incubator-servicecomb-website] branch master updated: add DDD slides

2018-07-01 Thread ningjiang
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/incubator-servicecomb-website.git


The following commit(s) were added to refs/heads/master by this push:
 new 997e5a5  add DDD slides
997e5a5 is described below

commit 997e5a579edd5f3bb65900e8c08f9c50ea988811
Author: Wang Kirin 
AuthorDate: Mon Jul 2 08:34:21 2018 +0800

add DDD slides

Signed-off-by: Wang Kirin 
---
 _posts/cn/2018-06-27-apache-servicecomb-day-slides.md |   2 +-
 .../slides/20180627/6_DDD_in_Microservics_wanglei.pdf | Bin 0 -> 1931297 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md 
b/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md
index d4bdd10..a358f96 100755
--- a/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md
+++ b/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md
@@ -55,7 +55,7 @@ redirect_from:
 
 
 **《微服务的领域驱动设计》**
-[点击下载](/assets/slides/20180627/)
+[点击下载](/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf)
 
 **主讲人:** 王磊 微服务国内先驱,《微服务架构与实践》作者,华为微服务专家,前ThoughtWorks首席咨询师。
 
diff --git a/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf 
b/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf
new file mode 100755
index 000..91dea0e
Binary files /dev/null and 
b/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf differ



[incubator-servicecomb-website] branch asf-site updated: add DDD slides

2018-07-01 Thread ningjiang
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/incubator-servicecomb-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new 8be7998  add DDD slides
8be7998 is described below

commit 8be7998f1ed2e886d332b575d35c7294a50734d8
Author: Wang Kirin 
AuthorDate: Mon Jul 2 08:34:21 2018 +0800

add DDD slides

Signed-off-by: Wang Kirin 
---
 _posts/cn/2018-06-27-apache-servicecomb-day-slides.md |   2 +-
 .../slides/20180627/6_DDD_in_Microservics_wanglei.pdf | Bin 0 -> 1931297 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md 
b/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md
index d4bdd10..a358f96 100755
--- a/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md
+++ b/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md
@@ -55,7 +55,7 @@ redirect_from:
 
 
 **《微服务的领域驱动设计》**
-[点击下载](/assets/slides/20180627/)
+[点击下载](/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf)
 
 **主讲人:** 王磊 微服务国内先驱,《微服务架构与实践》作者,华为微服务专家,前ThoughtWorks首席咨询师。
 
diff --git a/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf 
b/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf
new file mode 100755
index 000..91dea0e
Binary files /dev/null and 
b/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf differ



[GitHub] WillemJiang closed pull request #114: add DDD slides

2018-07-01 Thread GitBox
WillemJiang closed pull request #114: add DDD slides
URL: https://github.com/apache/incubator-servicecomb-website/pull/114
 
 
   

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/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md 
b/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md
index d4bdd102..a358f96a 100755
--- a/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md
+++ b/_posts/cn/2018-06-27-apache-servicecomb-day-slides.md
@@ -55,7 +55,7 @@ redirect_from:
 
 
 **《微服务的领域驱动设计》**
-[点击下载](/assets/slides/20180627/)
+[点击下载](/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf)
 
 **主讲人:** 王磊 微服务国内先驱,《微服务架构与实践》作者,华为微服务专家,前ThoughtWorks首席咨询师。
 
diff --git a/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf 
b/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf
new file mode 100755
index ..91dea0ee
Binary files /dev/null and 
b/assets/slides/20180627/6_DDD_in_Microservics_wanglei.pdf differ


 


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] little-cui commented on a change in pull request #382: fix for services count in pagination during search

2018-07-01 Thread GitBox
little-cui commented on a change in pull request #382: fix for services count 
in pagination during search
URL: 
https://github.com/apache/incubator-servicecomb-service-center/pull/382#discussion_r199368425
 
 

 ##
 File path: frontend/app/scripts/directives/tableDirective.js
 ##
 @@ -30,7 +30,8 @@ angular.module('serviceCenter')
 buttons: '=buttons',
 enableSearch: '=search',
 appList:'=appList',
-apiInfo:'=apiInfo'
+apiInfo:'=apiInfo',
 
 Review comment:
   please do JSON format


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] wangkirin opened a new pull request #114: add DDD slides

2018-07-01 Thread GitBox
wangkirin opened a new pull request #114: add DDD slides
URL: https://github.com/apache/incubator-servicecomb-website/pull/114
 
 
   Signed-off-by: Wang Kirin 


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