send GridStatus and GridStatusRSS urls to viewers in opensimextras (and grinfinfo?), for viewers that may care in future. This can be set on section GridInfoService of robust.ini or standalonecommon.ini

This commit is contained in:
UbitUmarov
2020-12-18 17:18:28 +00:00
parent 874808522f
commit b4b1c4551f
4 changed files with 23 additions and 0 deletions

View File

@@ -194,6 +194,16 @@ namespace OpenSim.Services.GridService
if (!string.IsNullOrEmpty(configVal))
m_ExtraFeatures["GridNick"] = configVal;
configVal = Util.GetConfigVarFromSections<string>(
config, "GridStatus", new string[] { "GridInfo", "GridInfoService" }, string.Empty);
if (!string.IsNullOrEmpty(configVal))
m_ExtraFeatures["GridStatus"] = configVal;
configVal = Util.GetConfigVarFromSections<string>(
config, "GridStatusRSS", new string[] { "GridInfo", "GridInfoService" }, string.Empty);
if (!string.IsNullOrEmpty(configVal))
m_ExtraFeatures["GridStatusRSS"] = configVal;
m_ExtraFeatures["ExportSupported"] = gridConfig.GetString("ExportSupported", "true");
string[] sections = new string[] { "Const, Startup", "Hypergrid", "GatekeeperService" };

View File

@@ -634,6 +634,10 @@
; this is the entry point for all the regions of the world
; gatekeeper = ${Const|BaseURL}:${Const|PublicPort}/
; a http page for grid status
;GridStatus = ${Const|BaseURL}:${Const|PublicPort}/GridStatus
; a RSS page for grid status
;GridStatusRSS = ${Const|BaseURL}:${Const|PublicPort}/GridStatusRSS
[GatekeeperService]
LocalServiceModule = "OpenSim.Services.HypergridService.dll:GatekeeperService"

View File

@@ -551,6 +551,10 @@
; password help: optional: page providing password assistance for users of your grid
;password = ${Const|BaseURL}/password
; a http page for grid status
;GridStatus = ${Const|BaseURL}:${Const|PublicPort}/GridStatus
; a RSS page for grid status
;GridStatusRSS = ${Const|BaseURL}:${Const|PublicPort}/GridStatusRSS
[Messaging]
; OfflineIM

View File

@@ -252,6 +252,11 @@
; this is the entry point for all user-related HG services
; uas = ${Const|BaseURL}:${Const|PublicPort}/
// a http page for grid status
;GridStatus = ${Const|BaseURL}:${Const|PublicPort}/GridStatus
// a RSS page for grid status
;GridStatusRSS = ${Const|BaseURL}:${Const|PublicPort}/GridStatusRSS
[MapImageService]
; Set this if you want to change the default
; TilesStoragePath = "maptiles"