Lightest nats behaviors, less code

This commit is contained in:
mr
2026-02-18 14:34:30 +01:00
parent 1b3b33163f
commit aed1a26d9d
10 changed files with 210 additions and 325 deletions

View File

@@ -34,7 +34,8 @@ func (o *StatusController) Status() {
var address map[string]string
json.Unmarshal(o.Ctx.Input.CopyBody(10000), &address)
api := tools.API{}
state, services, err := api.CheckRemoteAPIs([]tools.DataType{tools.BOOKING, tools.WORKFLOW, tools.WORKSPACE,
state, services, err := api.CheckRemoteAPIs([]tools.DataType{
tools.BOOKING, tools.WORKFLOW, tools.WORKSPACE,
tools.COLLABORATIVE_AREA, tools.DATA_RESOURCE}) // check if the services are alive
errSTR := ""
if err != nil {