From 2cbe6b774c8ffb10129f994d51f4237586331b7e Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Tue, 2 Aug 2022 17:06:13 +0200 Subject: 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. --- ogcp/cfg/ogcp.json | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'ogcp/cfg') diff --git a/ogcp/cfg/ogcp.json b/ogcp/cfg/ogcp.json index 0cdbb6d..a7ed91e 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": [ { @@ -18,5 +15,19 @@ "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" + } ] } -- cgit v1.2.3-18-g5258