This project provides starter POMs and shared libraries for Health APIs Spring Boot microservices.
- api-starter - Parent POM for service APIs
- service-starter - Parent POM for service implementations
- service-auto-config - Service configuration utilities
- sentinel - Integration test harness
- Java Development Kit 12
- Maven 3.6
- Recommended IntelliJ or Eclipse with the following plugins
- git-secrets
- Formats Java, XML, and JSON files (See the Style Guide)
- Enforces unit test code coverage
- Performs Checkstyle analysis using Google rules
- Performs SpotBugs analysis with Find Security Bugs extensions
- Enforces Git branch naming conventions to support Jira integration
The above build steps can be skipped for use with IDE launch support by disabling the
standard profile, e.g. mvn -P'!standard' package
git-secrets must be installed and configured to scan for AWS entries and the patterns in .git-secrets-patterns. Exclusions are managed in .gitallowed. git-secrets should be enabled with the following commands:
git secrets --register-aws
git secrets --add-provider -- cat .git-secrets-patterns
If using Homebrew, use
brew install --HEAD git-secrets
as decribed by this post to avoid issues committing multiple files.