Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 2.01 KB

README.md

File metadata and controls

48 lines (40 loc) · 2.01 KB

health-apis-parent

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

Building

Maven

  • 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

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
!!  Mac users

If using Homebrew, use brew install --HEAD git-secrets as decribed by this post to avoid issues committing multiple files.