Configuration wizard

One of the possible options for configuring our services is to use our configuration wizard. It make basic configuration easier.

Configuration wizard will run automatically when configuration file was not found. Also is additional possibility to run configuration wizard by run application with the following parameter:

1
$  --edit-config 

Configuration wizard sample questions

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
√ Input name for service. ... RestApi
√ Input RAS Server IP. ... 172.16.17.31
√ Input RAS Server ports (comma separation). ... 54332
√ Input database server IP. ... 172.16.17.31
√ Input database name. ... gsdapi
√ Input user name. ... gsdwebservice
√ Choose password type: » Plain password
√ Input user password. ... *
√ Choose listeners type » Http, Https
√ Input port for HttpListener listener. ... 123
√ Input port for HttpsListener listener. ... 8334
√ Input server key for HttpsListener. ... E:\node\net-api\cert\key.pem
√ Input server certificate for HttpsListener. ... E:\node\net-api\cert\cert.pem
√ Do you want to run a statistic analyse? » YES

Ports configuration

When needed is input multiple ports, it is possible by enter ports with comma.

Example
1
? Input dfRas ports (comma separation). » 5443,5222,4313

Password types

This field give the ability to input password in two ways.
First one Plain password accepts plain password string from which it is created MD5 hash.
By selection Md5 hash you must input MD5 hash created from password string.

1
2
3
? Choose password type: » - Use arrow-keys. Return to submit.
>   Plain password
    Md5 hash

Listeners type

This field give ability to chose to data transporting protocols. Using space key you can enable/disable chosen protocol.

1
2
3
4
? Choose listeners type »
(*)   Http
( )   Http2
( )   Https

After chose protocols, there are appears questions to fill.

Http

1
√ Input port for HttpListener listener. ... 123

Https/Http2

1
2
3
√ Input port for HttpsListener listener. ... 8334
√ Input server key for HttpsListener. ... E:\node\net-api\cert\key.pem
√ Input server certificate for HttpsListener. ... E:\node\net-api\cert\cert.pem

More information about needed fields can be found in configuration guide.