diff --git a/Jenkinsfile b/Jenkinsfile
index 9da69a0..639ee08 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -11,7 +11,7 @@ pipeline {
steps {
/* calcolo numero versione... diverso x branch MASTER/DEVELOP */
script {
- withEnv(['NEXT_BUILD_NUMBER=700']) {
+ withEnv(['NEXT_BUILD_NUMBER=701']) {
// env.versionNumber = VersionNumber(versionNumberString : '3.5.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true)
env.versionNumber = VersionNumber(versionNumberString : '3.5.${BUILD_DATE_FORMATTED, "yyMM"}.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
env.versionNumberBeta = VersionNumber(versionNumberString : '3.5.${BUILD_DATE_FORMATTED, "yyMM"}-beta.${BUILDS_ALL_TIME}', projectStartDate : '2006-01-01', skipFailedBuilds: true, overrideBuildsAllTime: '${NEXT_BUILD_NUMBER}')
diff --git a/SteamWareLib/memLayer.cs b/SteamWareLib/memLayer.cs
index a512103..ed81abc 100644
--- a/SteamWareLib/memLayer.cs
+++ b/SteamWareLib/memLayer.cs
@@ -5,6 +5,7 @@ using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
+using System.Text;
using System.Web;
namespace SteamWare
@@ -1307,6 +1308,30 @@ namespace SteamWare
#region gestione valori in RedisCache
+ ///
+ /// Restituisce un pò di info sul server redis connesso
+ ///
+ ///
+ public string getRedisInfoData()
+ {
+ string answ = "";
+ StringBuilder sb = new StringBuilder();
+ try
+ {
+ sb.AppendLine($"Configuration: {connRedis.Configuration}");
+ sb.AppendLine($"Connected: {connRedis.IsConnected}");
+ sb.AppendLine($"ClientName: {connRedis.ClientName}");
+ sb.AppendLine($"Total Ops: {connRedis.OperationCount}");
+ sb.AppendLine($"Status: {connRedis.GetStatus()}");
+ answ = sb.ToString();
+ }
+ catch
+ { }
+ return answ;
+ }
+ ///
+ /// Oggetto currentDb locale
+ ///
private IDatabase _currDB { get; set; }
///
/// Oggetto DB REDIS corrente
@@ -1457,7 +1482,6 @@ namespace SteamWare
}
return answ;
}
-
///
/// Restituisce una chiave salvata in RedisCache
///
diff --git a/TestBench/MainFOrm.cs b/TestBench/MainFOrm.cs
index e1836f7..85c4cba 100644
--- a/TestBench/MainFOrm.cs
+++ b/TestBench/MainFOrm.cs
@@ -69,7 +69,7 @@ namespace TestBench
string answ = "";
try
{
- answ = memLayer.ML.getRSV("MoonPro:SQL2016DEV:MoonPro:CurrentParameters:SIMUL_01");
+ answ = memLayer.ML.getRedisInfoData();
}
catch
{ }