Domain (domain)
Description
A data structure element that defines the boundaries between data within a deployed system «Incoplax».
Domains are a hierarchical domain tree where each child domain inherits the name of its parent domain.
The system logic uses domains and objects belonging to them when implementing functionality and defining access for individual users. Any object accessible externally through the API belongs to some domain. Including any user of the system belongs to one particular domain and can only operate on data within the domain. All data within a domain is closed by default. An entity that belongs to one domain cannot belong to another domain. With few exceptions on the vertical hierarchy, domains, their users, processes, and objects do not have access to each other’s data.
Domains are involved in the distribution of quantitative licenses across the tree. Each domain reserves part of the licenses transferred to it from the parent domain for its own use, and can transfer the rest to child domains.
Limitations
-
The collection is available in any domain.
-
Licensed by a quantitative parameter: a license for domains and a license for the soluschen type is consumed at the same time.
Fields
{
"id": uuid,
"name": str,
"solution": str,
"dbdefaultconn": int,
"dbhost": str,
"dbport": int,
"dblogin": str,
"dbpwd": str,
"lic": object,
"opts": {
"title": str,
"comment": str,
"dbuser": 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 name of the parent domain (under special conditions except for first-level domains). Subject to FQDN rules, but has a ban on upper case letters. The following characters are allowed: [a-z0-9_-.] |
Field: |
Domain Type (Solicitation). |
Field: |
Composition of quantitative licenses issued to the child domain from among the free licenses of the current domain. |
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 header |
Field: |
Arbitrary comment |
Field: |
The level of rights given to the domain to create temporary accounts to access its own databases. Possible values: |
Enable/disable domain |
|
Script execution limit: pause between script components, in milliseconds. |
|
Field: |
Script execution limit: maximum number of components executable in the script handler. |
Script execution limit: Maximum duration of script execution within the domain, in seconds. |
|
(Not used) Script Execution Limit: Maximum number of scripts that can be simultaneously executed in the domain on a single site. |
|
(Not used) Scripting restriction: whether global variables are allowed to be used within the domain. |
|
Field: |
Allows you to extend the compound with arbitrary keys and values |
Field: |
Object creation time |
Field: |
Time of last modification of the object |