Channels:

- renaming in conf json
- fix gestione classi post rename
This commit is contained in:
Samuele Locatelli
2025-11-06 18:10:47 +01:00
parent a70ed095e9
commit 8fa8732cf1
22 changed files with 277 additions and 264 deletions
+5 -5
View File
@@ -21,7 +21,7 @@ namespace Lux.API.Controllers
_redisService = redisService;
_imgService = imgServ;
_confService = confServ;
pubChannel = _config.GetValue<string>("ServerConf:PubChannel") ?? "";
chPub = _config.GetValue<string>("ServerConf:ChannelPub") ?? "";
}
#endregion Public Constructors
@@ -69,7 +69,7 @@ namespace Lux.API.Controllers
// da modificare con tipo richiesta...
QuestionDTO currArgs = new QuestionDTO(nId, EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW, DictExec);
await _redisService.PublishAsync(pubChannel, currArgs.sProcessArgs);
await _redisService.PublishAsync(chPub, currArgs.sProcessArgs);
svgContent = "DONE";
}
sw.Stop();
@@ -111,7 +111,7 @@ namespace Lux.API.Controllers
int nId = 1;
// da modificare con tipo richiesta...
QuestionDTO currArgs = new QuestionDTO(nId, EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW, DictExec);
await _redisService.PublishAsync(pubChannel, currArgs.sProcessArgs);
await _redisService.PublishAsync(chPub, currArgs.sProcessArgs);
}
/// <summary>
@@ -247,7 +247,7 @@ namespace Lux.API.Controllers
// da modificare con tipo richiesta...
QuestionDTO currArgs = new QuestionDTO(nId, EgwMultiEngineManager.Data.Constants.EXECENVIRONMENTS.WINDOW, DictExec);
await _redisService.PublishAsync(pubChannel, currArgs.sProcessArgs);
await _redisService.PublishAsync(chPub, currArgs.sProcessArgs);
svgContent = "DONE";
}
sw.Stop();
@@ -261,7 +261,7 @@ namespace Lux.API.Controllers
private static Logger Log = LogManager.GetCurrentClassLogger();
private readonly IRedisService _redisService;
private readonly string pubChannel = "";
private readonly string chPub = "";
private IConfiguration _config;
/// <summary>