Difference between revisions of "I2Rest Config"
(Created page with "= i2Rest Configuration Object = i2Rest configuration is a JSON object which contains all settings required to start and run instance of i2Rest Server. {| style="width: 100%;...") |
(→i2Rest Configuration Object) |
||
Line 79: | Line 79: | ||
|style="padding: 5px"|<nowiki>[</nowiki>[[pcml object]]<nowiki>]</nowiki> | |style="padding: 5px"|<nowiki>[</nowiki>[[pcml object]]<nowiki>]</nowiki> | ||
|style="padding: 5px"|'''Array of pcml objects''' | |style="padding: 5px"|'''Array of pcml objects''' | ||
− | Use this array to define the list of [[ | + | Use this array to define the list of [[i2Rest_API#run_program_API|run_program apis]] that will be loaded at i2Rest server startup |
|style="padding: 5px"| | |style="padding: 5px"| | ||
|-style="vertical-align:top;" | |-style="vertical-align:top;" |
Revision as of 15:49, 8 April 2020
i2Rest Configuration Object
i2Rest configuration is a JSON object which contains all settings required to start and run instance of i2Rest Server.
Field | Type | Description | Default value |
gates | gates object | REQUIRED. Gates object
Use this object to define main, manager and session gates characteristics |
|
session_systems | [session_system object] | REQUIRED. Array of session_system objects
Use this array to define systems where client requests will be processed |
|
session_startup_timeout | integer | Session startup timeout
Defines amount of time (in seconds) to wait until session is started. If submitted session job will not connect session gate during specified time, client will receive error message. Zero value means no timeout |
0 |
curdir | string | Current directory
If present, i2Rest server will change to this directory as the first step of its startup |
Not set |
debug | integer | Debug level
Minimal level of message severity which will be logged at console or syslog.
|
4 |
syslog | string | URL of syslog server
If present, i2Rest will send logging message to this syslogd server
|
Not set, i2Rest will send log messages to stdout |
anonymous_user | string | Anonymous user name
All anonymous sessions will be submitted with this value substituted instead of ${user} in submit command |
*CURRENT |
anonymous_min | integer | Initial number of anonymous sessions
i2Rest server will automatically start this number of anonymous sessions on startup |
0 |
anonymous_max | integer | Maximum number of anonymous sessions
Maximum number of anonymous sessions which can be submitted. On each request to anonymous session, i2Rest will prestart new anonymous session if needed. In case of maximum number of anonymous sessions submitted, and there is no available anonymous session exists, i2Rest will answer "Server busy" to client request. |
No limit |
pcmls | [pcml object] | Array of pcml objects
Use this array to define the list of run_program apis that will be loaded at i2Rest server startup |
|
OAuth2 | OAuth2 object | Oauth2 settings object
Used to define parameters of OAuth2 protocol |