The general configuration and params of the workflows is set in the config.json file. Runnerty will try to get the config.json file in the actual path.
-c param it is possible to indicate a different path.
config.json file contains the configuration for the different triggers, executors, notifiers and global values (params, paths, files, etc.) which are going to be used on the processes:
Triggers are plugins which cause the execution of a chain.
The most common case is the schedule trigger which allows us to execute a chain with a periodicity like CRON.
Another example is the file watcher trigger. This trigger let us to execute a chain based on the events defined over a directory or file. Have a look at: triggers.
Servers allow us to abstract ourselves of the endpoints implementation in a trigger development. Runnerty will set the servers indicated in the config file. It will take care about the routing and will serve one property for the triggers (
on_request). In this property it will receive the requests of the endpoint. Moreover it allows customization of the response, also the status code and the possibility to send an object.
Have a look at: triggers.
Executors are plugins which enclose functionalities. These plugins allow Runnerty to execute processes, data bases operations, use external services, etc. There is a list of the official available here.
config.json is used to define all the executors that are going to be used in the whole plan.
This is an example of the configuration of two executors (shell and mysql):
Notifiers are plugins which allows Runnerty to notificate events that happen in the chain and processes to different services and channels. This is a list of the official available plugins.
config.json file contains all the notifiers that are going to be used in the whole plan.
This is an example of the configuration of two notifiers (mail and telegram):
It is possible to define values that can be used in the chains an process (paths, files, data, …):
These values can be used in the whole plan (chains and proccess) referencing them. Runnerty has also some default values. Have a look at: Global values.
RunnertyIO Platform connection
RunnertyIO offers a platform to manage your runnerty projects, visualize your chains and processes in real time and much more.
RunnertyIO Platform and create your project:Access
Get your project's API Key:
Enter the API Key in the configuration file of your runnerty project
In the next start of your project you will be able to visualize and control your processes and chains from RunnertyIO Platform.
|disable||false||disable RunnertyIO connection|
|healthChecker||true||enables health signal communication|
|remoteControl||true||enable remote control from runnertyio platform|
|debug||false||enables the debug mode of the communication module (for development only)|
Other general configuration parameters
|planFilePath||plan.json||path to plan file|
|modulesPath||./ (config file path)||path containing the node_modules directory with the plugins|
|executorsPath||modulesPath value||path containing the node_modules directory with the executors|
|notifiersPath||modulesPath value||path containing the node_modules directory with the notifiers|
|triggersPath||modulesPath value||path containing the node_modules directory with the triggers|