Java API for the Medcom Audit Service
Include it in your Spring Boot project and Spring will do its magic to create a bean of type dk.kvalitetsit.audit.client.AuditClient. Use it in your application to create audit events.
Main branch maintains a NATS JetStream compatible version while branch v1 maintains a NATS Streaming compatible version.
Below configuration properties can/must be set.
Environment variable | Description | Required |
---|---|---|
audit.nats.url | Nats url to connect to | Yes, if audit.nats.disabled is not set to true. |
audit.nats.subject | Nats subject to publish to | Yes, if audit.nats.disabled is not set to true. |
audit.nats.disabled | Disable NATS audit integration. Must be true or false. If set to true integration to nats is disabled and audit is debug logged through logging framework. | No |
To create a new release run mvn release:prepare
. This will create a new tag in Git. CI/CD pipeline will then do its magic to push a new version to GitHub Maven repository.