Apache servicecomb

Clone this repo:
  1. b575f38 [#92]Add readme for porter_lightweight web root configuration(#93) by hujinming · 5 months ago master
  2. 3b79bb7 # updage samples configruation(#89) by zyl · 5 months ago
  3. 649eda2 upgrate to latests version and add readme info (#87) by lbc97 · 8 months ago
  4. a77f15b #83 add servicecomb-demo (#84) by zyl · 12 months ago
  5. 9c3d6e8 # update servicecomb version to 2.5.0 (#79) by zyl · 12 months ago

ServiceComb samples

This project is samples for java-chassis 2.0.x. You can switch to other branches to see different samples.

basic

A sample shows a provider, a consumer and a gateway using java chassis.

porter_lightweight

A sample shows an application with basic login, download file, delete file functions. Read this document for details.

porter_springboot

A sample shows an application with basic login, download file, delete file functions. Read this document for details.

java-chassis-samples

Featured samples for java-chassis modules. Each module contains 10 minutes guides.

Precondition

Before running the samples,install service center and kie. Or download Lightweight Cloud Service Engine which integrates both serivce center and kie for ease of use.

使用ServiceComb开发微服务的示例项目

这个项目使用java-chassis 2.0.x版本。可以切换分支,查看其他版本的例子。

basic

该项目展示了Java Chassis开发的一个provider, 一个consumer和一个网关服务。

porter_lightweight

该项目演示了一个包括网关、文件下载、认证鉴权等功能的简单应用系统,同时演示了ServiceComb推荐的先写接口声明,再写业务代码的软件工程实践。可以阅读文章了解项目的细节。这个例子的运行环境采用vert.x作为HTTP服务器,即 REST over Vert.x transport。

porter_springboot

该项目演示了一个包括网关、文件下载、认证鉴权等功能的简单应用系统,同时演示了ServiceComb推荐的先写接口声明,再写业务代码的软件工程实践。可以阅读文章了解项目的细节。这个例子的运行环境采用Spring Boot及其Embeded Tomcat,即 REST over Servlet。

java-chassis-samples

java-chassis 各个模块功能的例子。每个子项目包含了10分钟可以学习完成的简单示例。

前提条件

运行这些例子之前,需要先安装注册中心配置中心 。华为云提供一个出色的本地轻量化微服务引擎 ,可以直接下载安装使用。