Audit Service
Introduction
A corporate decision was made to to stop enforcing licenses in production environments, and to use an audit approach instead: collect, control and act on the counters of running items.
The first items to be counted are Microservices,Entities and APIs
The audit information will be available locally and (in the future) in the cloud in a centralized audit view.
The Audit Service will provide an audit view of OpenLegacy components per Production environment. This will allow users to control and act on the operational data
Functional Description
The service will provide the audit content (report) of the Microservices in the environment The content includes:
Customer Identification
Date & Time of the audit snapshot
Counters of Entities (by SDKs) & APIs grouped by Microservices
The Audit Service will discover the Microservices either by explicit URL list or by Service Discovery
Service Discovery OOB is Eureka/K8s
URLs list + port by configuration
Every MS will expose it's own content
Counters (as described above) exposed in a standard way
The service (collection of data) can be triggered On Initiation or By Demand (UX)
Users will see the latest snapshots : MS counters and will be able to invoke the service on demand and to download reports (all data)
The audit content can be downloaded (as a zip file) containing the content in CSV or JSON formats
The service can be accessed w/o authentication
Technical Description
The Audit service is a stand alone tool, and is not a part of the Development Platform or Management Console. It will be packaged as a jar, and will be available as a Docker image in DockerHub. Users will be able to deploy and run the service in various environments where audit is required.
Note that the following properties have been added as defaults to the application.yml file to support the Audit Service:
health
olprojectinfo
metric