diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-08-02 17:06:13 +0200 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-08-03 09:33:01 +0200 |
commit | b6bbd8f322b155e1969a6f356f1e4c8e8ca7fee2 (patch) | |
tree | 1f4c5a6a94d494e5af4e5b5a47b47042c9e91342 /ogcp/cfg | |
parent | c4aa1f2f54d312581a70ad97e09198154f3840b3 (diff) |
Retreive scopes from several ogServers
Update the configuration file format to support several ogServers and
retrieve scopes from those ogServers.
The old config file format is still supported.
Diffstat (limited to 'ogcp/cfg')
-rw-r--r-- | ogcp/cfg/ogcp.json | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/ogcp/cfg/ogcp.json b/ogcp/cfg/ogcp.json index 0cdbb6d..6693333 100644 --- a/ogcp/cfg/ogcp.json +++ b/ogcp/cfg/ogcp.json @@ -1,7 +1,4 @@ { - "IP": "127.0.0.1", - "PORT": 8888, - "API_TOKEN": "c3fe7bb0395747ec42a25df027585871", "LANG": "en", "USERS": [ { @@ -17,6 +14,19 @@ "SCOPES": [ "Unidad Organizativa (Default)" ] + ], + "SERVERS": [ + { + "NAME": "Server 1", + "IP": "127.0.0.1", + "PORT": 8888, + "API_TOKEN": "a0e9ab768cbe93dab5b1998e952bcdb7" + }, + { + "NAME": "Server 2", + "IP": "127.0.0.1", + "PORT": 18888, + "API_TOKEN": "e4c8gh913dph32nxm6q2768c427jrsj1" } ] } |