{"id":26032129,"url":"https://github.com/apache/servicecomb-samples","last_synced_at":"2025-10-26T15:03:34.510Z","repository":{"id":36148615,"uuid":"171872748","full_name":"apache/servicecomb-samples","owner":"apache","description":"Apache servicecomb","archived":false,"fork":false,"pushed_at":"2024-05-14T11:11:53.000Z","size":1563,"stargazers_count":504,"open_issues_count":26,"forks_count":150,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-03-28T07:07:33.765Z","etag":null,"topics":["servicecomb"],"latest_commit_sha":null,"homepage":"https://servicecomb.apache.org/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-02-21T13:02:49.000Z","updated_at":"2025-02-07T08:55:29.000Z","dependencies_parsed_at":"2024-01-19T08:58:36.690Z","dependency_job_id":null,"html_url":"https://github.com/apache/servicecomb-samples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fservicecomb-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fservicecomb-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fservicecomb-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fservicecomb-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/servicecomb-samples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246983681,"owners_count":20864297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["servicecomb"],"created_at":"2025-03-06T21:09:19.616Z","updated_at":"2025-10-26T15:03:34.435Z","avatar_url":"https://github.com/apache.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ServiceComb samples\n\nThis project is samples for java-chassis 3.x.x. You can switch to other branches to see different samples.\n\n## basic\nA sample shows a provider, a consumer and a gateway using java chassis. \n\n## porter_lightweight\nA sample shows an application with basic login, download file, delete file functions. Read this [document](https://servicecomb.apache.org/references/java-chassis/zh_CN/featured-topics/application-porter.html) for details.\n\n## porter_springboot\nA sample shows an application with basic login, download file, delete file functions. Read this [document](https://servicecomb.apache.org/references/java-chassis/zh_CN/featured-topics/application-porter.html) for details.\n\n## java-chassis-samples\nFeatured samples for java-chassis modules. Each module contains 10 minutes guides.\n\n## java-chassis-integration-tests\njava-chassis integration tests。 \n\n## Precondition\n\nBefore running the samples，install [service center](https://github.com/apache/servicecomb-service-center) and [kie](https://github.com/apache/servicecomb-kie). Or download [Lightweight Cloud Service Engine](https://support.huaweicloud.com/devg-cse/cse_devg_0036.html) which integrates both service center and kie for ease of use.\n\n# 使用ServiceComb开发微服务的示例项目\n\n这个项目使用java-chassis 2.0.x版本。可以切换分支，查看其他版本的例子。\n\n## basic\n该项目展示了Java Chassis开发的一个provider， 一个consumer和一个网关服务。 \n\n## porter_lightweight\n该项目演示了一个包括网关、文件下载、认证鉴权等功能的简单应用系统，同时演示了ServiceComb推荐的先写接口声明，再写业务代码的软件工程实践。可以阅读[文章](https://servicecomb.apache.org/references/java-chassis/zh_CN/featured-topics/application-porter.html)了解项目的细节。这个例子的运行环境采用vert.x作为HTTP服务器，即 REST\nover Vert.x transport。\n\n## porter_springboot\n该项目演示了一个包括网关、文件下载、认证鉴权等功能的简单应用系统，同时演示了ServiceComb推荐的先写接口声明，再写业务代码的软件工程实践。可以阅读[文章](https://servicecomb.apache.org/references/java-chassis/zh_CN/featured-topics/application-porter.html)了解项目的细节。这个例子的运行环境采用Spring Boot及其Embeded Tomcat，即\nREST over Servlet。\n\n## java-chassis-samples\njava-chassis 各个模块功能的例子。每个子项目包含了10分钟可以学习完成的简单示例。\n\n## java-chassis-integration-tests\njava-chassis 的集成测试用例。 \n\n## 前提条件\n\n运行这些例子之前，需要先安装[注册中心](https://github.com/apache/servicecomb-service-center) 和[配置中心](https://github.com/apache/servicecomb-kie) 。华为云提供一个出色的[本地轻量化微服务引擎](https://support.huaweicloud.com/devg-cse/cse_devg_0036.html) ,可以直接下载安装使用。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fservicecomb-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fservicecomb-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fservicecomb-samples/lists"}