Skip to the content.

Operate the framework

Manage Metadata Configuration

The configuration stored in the configuration repository is managed via the bin/iesi-metadata.sh (or bin/iesi-metadata.cmd on Windows) command.

The following options are available for the command:

Option Description
-clean clean all tables in the metadata repository
-create create all metadata tables in the metadata repository
-drop drop all metadata tables in the metadata repository
-exit define if an explicit exit is required
-files filename(s) to load from the input folder into the metadata repository
-help displays the help message
-load load metadata file from the input folder into the metadata repository
-type define the type of metadata repository

Tip

Loading configuration

All configuration items of the framework are structured using the json format. The different templates help to generate the correct structure easily. In this way, an item can be loaded into the configuration repository through the metadata/in/new folder.

File expression options

Encrypt Credentials

All credentials need to be encrypted via the bin/iesi-encrypt.sh (or iesi-encrypt.cmd on Windows) command.

Execute Script

The automation scripts can be executed via the bin/iesi-launch.sh (or iesi-launch.cmd on Windows) command. The appropriate metadata repositories as defined in the framework’s settings will be used to retrieve the configuration and store the execution results.

The following options are available for the command:

Option Description
-env define the environment name where the execution needs to take place
-exit define if an explicit exit is required
-file define the file to execute
-help displays the help message
-impersonation define impersonation name to use
-paramlist define a list of parameters to use
-script define the script name to execute
-version define the version of the script to execute
-labels define the labels that are attached to the script execution run

Basic Execution

The most basic method to execute a script is to use the script and environment option: execute a script on a given environment. The environment where an execution takes place is always required.

bin/iesi-launch.sh -script <arg> -env <arg>

Adding User-Defined Parameters

It is possible to add one or more user-defined parameters from the commandline when starting the script execution. The paramlist option allows to specify parameters and values directly on the commandline

-paramlist var1=value1,var2=value2

Defining if an explicit exit is required

It is possible to define explicitely if a process needs to exit. This is useful when running a server or automated type approach launching several launches one after the other.

-exit [VALUE]

Example

-exit false

External triggering

We are continuously working to improve execution triggering and execution management. New features in the future will include rest server triggering, internal dependency broker, internal scheduler, user interface, etc.