There will be two ways to initiate a POMBA Audit
- Manually calling the REST API
- Automatically by ensuring an end of transaction event is sent as part of SO flows (future)
Manual Audits
A manual audit can be triggered by calling the POMBA REST API with the following parameters as JSON in the body of a POST request.
- serviceInstanceList
- Model-version-id
- Model-invariant-id
- Service-instance-id
If the request is well-formed and valid, a response of 200 (OK) will be returned and the audit will return in the background
The Swagger definition of this API is coming soon
Automatic Audits
The ultimate goal is to have SO send an end of transaction event once is has completed it workflow. POMBA would listen for these events, and trigger an audit as appropriate. This event and the work to listen for it is not confirmed in Casablanca.