Skip to content

huaweicse/servicecomb-practices

 
 

Repository files navigation

ServiceComb practices

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。

houserush

该项目演示了如何使用ServiceComb搭建一个"抢房"应用。

Releases

No releases published

Packages

No packages published

Languages

  • TSQL 95.4%
  • Java 4.3%
  • JavaScript 0.1%
  • HTML 0.1%
  • Shell 0.1%
  • CSS 0.0%