System

MetaCroc logo

System #

System is a root folder representing a data application, e.g., Data Platform, Operational Data Store, etc. It holds metadata that affects the behaviour of the whole tree.

System

Overview #

This tab contains basic information about the application metadata behaviour:

AttributeDescription
NameName of the application
OwnerA default owner of elements. Selection from System Users
Generate element codeDefault settings of element code automatic generation (see Basic principles)
Generate table column codeDefault settings of table column code automatic generation (see Basic principles)
Letter case toggleA switch between upper or lowercasing of codes
Custom attributesAll attributes defined for the Folder element.
Custom attributes are inherited, i.e. the same attribute on folder level takes its value from a parent when not specified.

Technology settings #

Technology settings is defined during the system creation and it is not possible to change it later. There are two technologies defined - for system (a database) and for workflow.

Constants #

This tab contains a list of constants, i.e. references to a value. Constants can be used in lots of codes (e.g., column mappings) and this is a single place where constant value is changed.

AttributeDescription
NameFriendly name of the constant
CodeShortened name for usage in scripts
DomainDefinition of a data type
ValueValue of the constant
DescriptionDeeper explanation of the constant

More about constants usage is described here.

Lookups #

Lookups are often used code fragments that can be used in scripts.

Lookups

AttributeDescription
NameFriendly name of the constant
CodeShortened name for usage in scripts
DomainDefinition of a data type
Data TypeDefined by Domain
ScriptA piece of code that will be inserted to a place where lookup is used
DescriptionMore deeper explanation of the constant

An example of script for looking of previous working date.

Lookups

More about constants usage is described here.

Environments #

MetaCroc allows to define environments and store information about version of an element deployed to each of them. Here can users create a list of environments for the system.

AttributeDescription
NameName of the environment (e.g., PROD, TEST, etc.)
CodeShortened name
DescriptionDetailed information about the environment
Connection stringScript that allows to connect to a database
Git URLLink to Git repository
Git LoginNameGit credentials
Git Password TokenGit credentials
ProductionA flag that marks this environment a production one

Deployment Packages #

A list of packages of elements for deployment. More detailed description of Deployment Packages and theirs usage is here.

System Users #

System users are connected to the system technology. They can be used as a schema names in specific technologies. Also element permissions can be assigned to these users and used in output generation.

The tab where list of system users is managed.

AttributeDescription
UsernameRegistered name of the user
CommentOther text information about the user
DescriptionOther text information about the user

Validation #

There are presented all validations from all elements in the folder. More about validations here.

Dependencies #

Only manual dependencies are available on folder level. More about dependencies is here.

Create new System #

For creating of a new system, user has to use a “+” button in the icon bar of the elements tree:

Add a system

The button triggers a dialog where basic information about the system is entered:

Add a system - dialog

AttributeDescription
NameA name of the system
System technologyA selection from available list of data storage technologies
Workflow technologyA selection from available list of workflow technologies
System and its technologies determine (with other metadata) a template that will be used. You can create several systems with different technologies and create a set of templates dedicated for each technology separately.