Product layer installation process states (product_layer)
Description
Virtual entity for managing deployment and update of the product layer in a domain.
Not stored in the DB. Built on every request from the domain.settings.product_layer field value, set automatically based on product layer installation results.
Provides access to information about the results of the last product layer installation operation. If the state is not final, the collection also contains previous states. If the state is final, the collection may contain an installation attempt rejected by the service.
To initiate a new installation (or reinstallation), create an entity with the `prefix` and `mode` fields. After preliminary condition checks, the state sequence is: `async` → `queued` → `inprogress` → (`installed` | `failure` | `error`).
The entity represents a state change by the installation process. It has no classic identifier and is distinguished by state (`state`), type (`kind`), and sequence number (`order`) in increasing time since the state change.
Manual product layer installation is not excluded. In that case the result is not reflected in the `product_layer` collection.
Fields
{
"prefix": str,
"mode": str,
"file": str,
"site": str,
"status": str,
"dt": str,
"trace": str,
"md5": str,
"kind": str,
"order": int
}