rose
Requirements
- Java 8+
- Maven 3.6.0+
Features
Tech stack | Version | Latest Version | Notes |
---|---|---|---|
Spring Boot | 2.7.18 | ||
Spring Cloud | 2021.0.9 | ||
Spring Cloud Alibaba | 2021.0.6.2 | ||
Spring Authorization | 0.4.5 | ||
Spring Boot Admin | 2.7.16 | ||
MyBatis Plus | 3.5.12 | ||
SpringDoc OpenAPI | 1.8.0 | ||
Nacos | 2.5.1 |
Instructions
Build
Build
mvn clean package
Test
mvn clean verify
Site
Upload sites to gitHub pages:
mvn clean site site:stage scm-publish:publish-scm
Release
Update Release version:
mvn versions:set -DprocessAllModules=true -DgenerateBackupPoms=false -DnewVersion=0.0.1
Publish to Central:
mvn -DskipTests -Prelease deploy
Sonar
mvn verify -Pcoverage javadoc:javadoc
mvn sonar:sonar -Dsonar.token=$SONAR_TOKEN
Integrations
spring-boot-microservice-best-practices: https://github.com/abhisheksr01/spring-boot-microservice-best-practices
- Testing
- Unit Test
- Cucumber End-to-End Test
- Mutation Testing: Pitest
- Local Testing
- Development Accelerators
- Lombok
- WireMock
- TestContainer
- Analysis and Quality Checks
- Checkstyle
- Jacoco
- Hadolint
- API Documentation
- SpringDoc
- Yapi
- DevSecOps
- Dependency Vulnerability Check - owasp
- Docker Image Vulnerability Check- Trivy
- Infrastructure as Code static analysis - Snyk
- Penetration Test - Pentest
- CICD
- CircleCI
- Concourse
- Jenkins
- Platforms
- Kubernetes
- Versioning
- Cocogitto
- Branch
- GitFlow
- GitHub Flow
- GitLab Flow
- [ ] 使用 Redis + Lua 基于令牌桶实现限流
- [ ] 通过分布式事务 Seata 保证告警、整改和任务的状态一致性
- [ ] 使用 Spring Security OAuth2 实现用户认证和授权
- [ ] 使用限流 + 队列保证回调接口(供三方系统使用的)的可靠性,使用 Redis + MySQL 实现去重
- [ ] 使用 AOP + Redis 防止重复提交
- [ ] 使用 SkyWalking + Prometheus + Grafana 监控服务
- [ ] 使用 Sentinel + OpenFeign 实现熔断、降级、限流
Preference
- https://github.com/microsphere-projects
- https://gitee.com/battcn/wemirr-platform
- https://gitee.com/zhijiantianya/ruoyi-vue-pro
- https://gitee.com/zhijiantianya/yudao-cloud
- https://github.com/cenbow/dante-engine
- https://gitee.com/log4j/pig
- https://gitee.com/open-enjoy/enjoy-iot
- https://github.com/mojohaus/versions/tree/master/.github
- https://github.com/seedstack/shed