You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/08/13 14:35:20 UTC

[GitHub] WillemJiang closed pull request #130: add 1.0.0-release-note

WillemJiang closed pull request #130: add 1.0.0-release-note
URL: https://github.com/apache/incubator-servicecomb-website/pull/130
 
 
   

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-8-13-1.0.0-release-note.md b/_posts/cn/2018-8-13-1.0.0-release-note.md
new file mode 100755
index 00000000..23b80c4c
--- /dev/null
+++ b/_posts/cn/2018-8-13-1.0.0-release-note.md
@@ -0,0 +1,137 @@
+---
+title: "[里程碑]Apache ServiceComb 1.0.0版本正式发布"
+lang: cn
+ref: release_note_1_0_0
+permalink: /cn/docs/release_note_1_0_0
+excerpt: "ServieComb版本正式步入稳定态"
+last_modified_at: 2018-06-14T10:26:28+08:00
+author: Wang Kirin
+tags: [里程碑, release, 1.0.0]
+redirect_from:
+  - /theme-setup/
+---
+
+
+​	近日,正在Apache基金会孵化项目—**微服务解决方案Apache ServiceComb**(incubating) 的1.0.0版本通过社区投票,正式发布。这次发版的项目包括  Apache ServiceComb Java-Chassis (以下简称 **Java-chassis**)以及Apache ServiceComb ServiceCenter (以下简称**ServiceCenter**)。ServiceComb从2017年12月进入Apache基金会孵化至今半年时间内,一步一个脚印,于2018年3月发布1.0.0-m1版本、2018年6月1.0.0-m2发布版本,并于2018年8月完成了1.0.0里程碑版本的发布。当前,已经有10+企业使用了ServiceComb 进行商用,社区参会10+次,举办3场Meetup。本次的1.0.0版本发布,意味着ServiceComb 版本在符合Apache软件基金会要求的前提下,正式进入了稳定态。ServiceComb进入Apache基金会孵化后的主要新增特性及提升如下:
+
+##  Java-chassis
+
+- 全新的监控指标(Metrics)模块,增加大量监控指标,支持Prometheus集成
+
+  - 更多详细内容请参考[Metrics介绍](http://docs.servicecomb.io/zh_CN/general-development/metrics.html)和[如何集成Prometheus](http://servicecomb.incubator.apache.org/cn/users/metrics-integration-with-prometheus-in-1.0.0-m1/)
+
+- 重构配置中心,支持对接携程Apollo作为配置中心,并且可以方便的扩展对接其它三方配置中心
+
+  - 更多详细内容请参考[配置中心选型与对接](http://servicecomb.incubator.apache.org/cn/docs/config_center_integration/);
+
+- POJO编程模型支持用户使用CompletableFuture异步编程
+
+  - 更新详细内容请参考[使用透明RPC方式开发服务消费者](http://docs.servicecomb.io/zh_CN/build-consumer/develop-consumer-using-rpc.html)中“reactive”部分
+
+- POJO编程模型支持用户使用Object和Generic类型作为调用参数
+
+  - 更多详细内容请参考[接口定义和数据类型](http://docs.servicecomb.io/zh_CN/build-provider/interface-constraints.html)
+
+- 升级Zipkin到Zipkin2,同时支持v1和v2版本Zipkin server
+
+  - 关于如何在ServiceComb中使用Zipkin请参考[分布式调用链追踪](http://servicecomb.incubator.apache.org/cn/docs/tracing-with-servicecomb/)
+
+- 微服务间通讯提供文件流传输能力,支持音乐、图片等多媒体场景
+
+  - 如何使用文件流传输请参考[文件上传](http://docs.servicecomb.io/zh_CN/general-development/file-upload.html)和[文件下载](http://docs.servicecomb.io/zh_CN/general-development/file-download.html)
+
+- 在服务级别QPS控制基础上,新增支持API级别QPS控制;
+
+  现在支持使用`servicecomb.flowcontrol.Consumer.qps.limit.[ServiceName].[Schema].[operation]` 配置API级别QPS控制。
+
+- 增加脚手架和start.servicecomb.io,支持用户快速构建工程,提供完整的开箱即用能力;
+
+  现在创建一个ServiceComb微服务可以通过Apache Maven Archetype方式快速构建,更多详细内容请参考[ServiceComb Java Chassis Archetypes](https://github.com/apache/incubator-servicecomb-java-chassis/blob/master/archetypes/README.md),您也可以直接访问[start.servicecomb.io](http://start.servicecomb.io/)使用ServiceComb集成SPRING INITIALIZR UI的方式创建;
+
+- 新增演示如何使用Gradle构建ServiceComb项目;
+
+  - 我们在[BMI](https://github.com/apache/incubator-servicecomb-java-chassis/tree/master/samples/bmi)项目中增加了Gradle配置;
+
+- 异步编程模型支持`AsycRestTemplate`;
+
+  - 关于如何使用请参考[使用AsynRestTemplate开发服务消费者](http://docs.servicecomb.io/zh_CN/build-consumer/using-AsyncRestTemplate.html);
+
+- 新增支持Http2协议;
+
+  - 关于如何使用请参考[使用Http2通信](http://docs.servicecomb.io/zh_CN/build-provider/protocol/http2.html)
+
+- 实现错误注入接口,允许通过拦截服务请求构造异常场景,例如可以设置发往指定微服务的请求的时延和错误及其触发概率;
+
+  - 更多详细内容请参考[故障注入](http://docs.servicecomb.io/zh_CN/build-consumer/fault-injection.html);
+
+- 新增服务Dev运行模式,开启Dev模式时,支持契约动态修改;
+
+  - 如何设置Dev运行模式请参考[本地开发和测试](http://docs.servicecomb.io/zh_CN/general-development/local-develop-test.html)中的“通过设置环境信息方便本地调试”部分;
+
+- 实现优雅停机,关闭服务时进行反注册,确保完成已接受请求并完整释放资源;
+
+- 扩展微服务公私钥认证机制,增加了黑白名单功能;
+
+  - ServiceCenter已经支持通过黑白名单控制微服务的注册发现,但是由于微服务之间最终是直连调用,因此微服务本身也需要有独立的黑白名单认证功能,如何设置请参考[公钥认证](http://docs.servicecomb.io/zh_CN/references-handlers/publickey.html)中的“配置黑白名单”部分;
+
+- 支持Cross-Origin Resource Sharing (CORS);
+
+  - 即支持跨域请求访问设置,例如现在Ajax可以直接访问微服务了,更多详细内容请参考[CORS机制](http://docs.servicecomb.io/zh_CN/general-development/CORS.html)
+
+- 扩展了Rest Endpoint的Access Log机制;
+
+  - 以前用户只能设置Access Log的Pattern,现在用户可以进一步自定义Access Log Item,更多内容请参考[Access Log配置](http://docs.servicecomb.io/zh_CN/build-provider/access-log-configuration.html)
+
+- SpringMVC编程模型现在同样支持类对象作为参数
+
+  - 用户可以使用类对象作为参数,例如:
+
+  ```java
+  @RequestMapping("/address")
+  public String address(Address address) { ... }
+  public class Address {
+  	String country;
+  	String city;
+  }
+  ```
+
+
+  将会自动转化为`/address?city={city}&country={country}`
+
+- 部署在Tomcat等Web容器中的微服务,现在支持结合context path和servlet pattern的访问路径请求服务
+
+  - 例如调用路径为`cse://service/a/b...`,部署在Tomcat等Web容器中后也支持以`cse://service/{context path}/{servlet pattern}/a/b...`为URL访问;
+
+- 缺省自动扫描main函数所在包,简化用户配置
+
+- 提供客户端ping机制,能够通过ping扩展,检测客户端缓存实例是否可用。该功能默认启用,配合实例隔离功能对检测失败的实例进行隔离
+
+- 当微服务发生服务降级,实例隔离熔断等状况时,将触发相应的Event,便于第三方集成(上报)
+
+  - 如何获取这类Event请参考[获取熔断与实例隔离告警事件](http://docs.servicecomb.io/zh_CN/general-development/AlarmEvent.html);
+
+  
+
+## ServiceCenter
+
+![1](/assets/images/Service-Center-UI-Preview.gif)
+
+- 主要新增了如下特性:
+  - PACT Broker共享契约支持
+  - 支持`AsycRestTemplate`异步编程
+  - 日志分割(Log Rotation)
+  - 支持IPv6
+  - 支持后端存储拓展
+  - 契约测试:支持使用前端对Swagger API进行测试 
+    - 详情请参考`http://servicecomb.incubator.apache.org/docs/service-center-ui/`
+  - 消费者服务自发现
+
+- 稳定性提升及bug fix
+- 优化API接口,显著提高性能
+- 优化Restful 客户端及插件加载器,提升易用性
+- 无缝集成metrics 及tracing工具,提升监控能力
+- 增加了默认的TLS加密套件,提升基于规则的服务发现的安全性
+- 服务依赖管理采用事件驱动机制 
+- 提升ETCD链接的弹性伸缩能力和自我修复能力
+- Service-Center 支持在多基础设施中部署
+- 优化前端界面UI,提供更多功能及提升易用性
\ No newline at end of file


 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services