tree: 55837501bb229b16a78eff8d4ee343c87d5d8b97 [path history] [tgz]
  1. authentication/
  2. dependency_management/
  3. houserush/
  4. porter_lightweight/
  5. .gitignore
  6. LICENSE
  7. NOTICE
  8. README.md
README.md

ServiceComb samples

authentication

A sample shows how to integrate with spring security. This project provides handler authorization and method authorization.

porter_lightweight

A sample shows an application with basic login, download file, delete file functions.

dependency_management

A sample shows how to use dependency management to create spring 4, spring 5, spring boot 1 or spring boot 2 application.

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

authentication

该项目演示了基于spring security框架实现认证鉴权。项目演示了如何通过配置的方式定义每个接口的权限,也演示了如何通过@PreAuthorize的方式实现权限控制。

porter_lightweight

该项目演示了一个包括网关、文件下载、认证鉴权等功能的简单应用系统,同时演示了ServiceComb推荐的先写接口声明,再写业务代码的软件工程实践。

dependency_management

该项目演示了ServiceComb如何依赖spring4, spring 5, spring boot1 和 spring boot 2。