Domain (domain)
Description
A data structure element that defines the boundaries between data within the deployed «Incoplax» system.
Domains form a hierarchical domain tree where each child domain inherits the name of its parent domain.
The system’s operating logic uses domains and the objects belonging to them when implementing functionality and determining access for individual users. Any object accessible from outside through the API belongs to some domain. In particular, any system user belongs to one specific domain and can operate only on data within the domain. All data within a domain is closed by default. An entity belonging to one domain cannot belong to another domain. With rare exceptions in the vertical hierarchy, domains, their users, processes, and objects do not have access to each other’s data.
Domains participate in the distribution of quantitative licenses across the tree. Each domain reserves part of the licenses received from its parent domain for its own use and can pass the rest to child domains.
Limitations
-
The collection is available in any domain.
-
Licensed by a quantitative parameter: a license is consumed for domains.
Fields
{
"id": uuid,
"name": str,
"dbdefaultconn": int,
"dbhost": str,
"dbport": int,
"dblogin": str,
"dbpwd": str,
"lic": object,
"opts": {
"title": str,
"comment": str,
"isblocked": bool,
"script_pause_between_components": int,
"script_limit_component_count": int,
"script_limit_site_count": int,
"script_duration_sec": int,
"script_allow_global_variables": bool
},
"ext": {
"ct": date,
"lwt": date
}
}
| Specification | Description |
|---|---|
Field: |
Identifier. Can be specified at creation, otherwise generated by the system. |
Field: |
Domain name. Must match the parent domain name (under special conditions, except first-level domains). Follows FQDN rules but prohibits uppercase letters. Allowed characters: [a-z0-9_-.] |
Field: |
Composition of quantitative licenses issued to the child domain from the current domain’s free licenses. |
Field: |
Service field. Not used. |
Field: |
Service field. Not used. |
Field: |
Service field. Not used. |
Field: |
Service field. Not used. |
Field: |
Service field. Not used. |
Field: |
|
Field: |
Arbitrary title |
Field: |
Arbitrary comment |
Domain enable/disable |
|
Script execution limit: pause between script components, in milliseconds. |
|
Field: |
Script execution limit: maximum number of components executed in a script handler. |
Script execution limit: maximum script execution duration within the domain, in seconds. |
|
(Not used) Script execution limit: maximum number of simultaneously executing scripts in the domain on one site. |
|
(Not used) Script execution limit: whether global variables may be used within the domain. |
|
Field: |
Allows extending the compound with arbitrary keys and values |
Field: |
Object creation time |
Field: |
Time of last modification of the object |
Field: |
Domain is blocked because it does not fit the license (not persisted; removed when the license is increased or the administrator clears |