What's Changed
Client SDK
- SDK client exposes `Cancel()` instance of a running operation, e.g. a deployment started can now be cancelled
- SDK client `DryRun` now supports options to explicitly set Retries field as the number of retries
Backend (API Server, Operator)
- audit log added to capture all EventGrid event messages from Azure for auditing purposes. JSON is formatted and logged to LOG_FILE_PATH setting
- Audit of all event hook messages to the db
- Setting modm.operation.id tag on the parent Azure deployment AND each nested template prior to submitting to Azure, correlating the operationId
- Adding ParentID to model.InvokedOperation to support path of retries for stages of a parent deployment
Bug fixes
- EventHookMessage for deployments correctly setting StageId
- EventHookMessage.Type field properly getting set for Stage events; example "stageCompleted", etc.
- Fixing operation.Operation.Complete() not persisting state as completed, causing a retry to be triggered
**Full Changelog**: https://github.com/microsoft/commercial-marketplace-offer-deploy/compare/v1.2.0...v1.3.0