Process states of the product layer installation process (product_layer)
Description
A virtual entity to manage the rollout and update of the product layer in the domain.
Not stored in the database. It is built each time it is accessed based on the value of the domain.settings.product_layer field, set automatically based on the results of product layer installation.
Provides access to information about the outcome 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 probably contains an installation attempt rejected by the service.
To initiate a new installation (or reinstallation), you must create an entity with the fields `prefix` and `mode`. After pre-checking the conditions, the sequence of state changes will be as follows: `async` → `queued` → `inprogress` → (`installed` | `failure` | `error`).
An entity represents the fact of a state change by the installation process. Does not have a classical identifier, and are distinguished by state (`state`), type (`kind`), and ordinal number (`order`) by increasing time elapsed since the moment of state change.
Manual installation of the product layer is not excluded. In this case the result will not be reflected within the collection framework `product_layer`.
Fields
{
"prefix": str,
"mode": str,
"file": str,
"site": str,
"status": str,
"dt": str,
"trace": str,
"md5": str,
"kind": str,
"order": int
}