Merge branch 'release/UpdateRedisSentinel02'

This commit is contained in:
Samuele Locatelli
2024-03-18 15:34:54 +01:00
5 changed files with 47 additions and 18 deletions
+16 -5
View File
@@ -3,7 +3,7 @@
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB".
@@ -14,9 +14,15 @@
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
<appSettings>
<add key="RedisConn" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="RedisConnAdmin" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG, allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="urlRedirRich" value="https://office.egalware.com/GPW/ADMIN/richiesteDip" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="urlRedirMal" value="https://office.egalware.com/GPW/ADMIN/malattia" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</appSettings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
@@ -27,5 +33,10 @@
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
</system.web>
<sessionState>
<providers>
<add name="MySessionStateStore" connectionString="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes(connectionString)" xdt:Locator="Match(name)" />
</providers>
</sessionState>
</system.web>
</configuration>
+3 -2
View File
@@ -36,6 +36,7 @@
<!--Impostazione gestione serializzazione variabili in sessione (es per Redis)-->
<add key="serializeSession" value="true" />
<add key="RedisConn" value="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false" />
<add key="RedisConnAdmin" value="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, allowAdmin=true" />
<!--Conf generale-->
<add key="appName" value="GPW" />
<add key="titleApp" value="GPW" />
@@ -51,8 +52,8 @@
<add key="adminContinuatoEmail" value="samuele@steamware.net" />
<add key="adminOreLavEmail" value="samuele@steamware.net" />
<add key="adminRichDip" value="samuele.locatelli@egalware.com,mara.baroni@egalware.com" />
<add key="urlRedirRich" value="https://iis03.egalware.com/GPW/ADMIN/richiesteDip" />
<add key="urlRedirMal" value="https://iis03.egalware.com/GPW/ADMIN/malattia" />
<add key="urlRedirRich" value="https://iis01.egalware.com/GPW/ADMIN/richiesteDip" />
<add key="urlRedirMal" value="https://iis01.egalware.com/GPW/ADMIN/malattia" />
<add key="gg2Chk" value="60" />
<add key="gg2ChkCont" value="30" />
<add key="gg2ChkOreCaricate" value="30" />
+14 -5
View File
@@ -3,7 +3,7 @@
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB".
@@ -14,9 +14,13 @@
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
<appSettings>
<add key="RedisConn" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="RedisConnAdmin" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG, allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</appSettings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
@@ -27,5 +31,10 @@
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
</system.web>
<sessionState>
<providers>
<add name="MySessionStateStore" connectionString="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes(connectionString)" xdt:Locator="Match(name)" />
</providers>
</sessionState>
</system.web>
</configuration>
-1
View File
@@ -27,7 +27,6 @@
</pages>
<customErrors mode="Off" />
<globalization culture="it-IT" enableClientBasedCulture="true" uiCulture="it" />
<sessionState>
<providers>
<add name="MySessionStateStore" type="Microsoft.Web.Redis.RedisSessionStateProvider" connectionString="localhost:26379, serviceName=devel, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false" applicationName="GPW_WRKLG" />
+14 -5
View File
@@ -3,7 +3,7 @@
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!--
<!--
In the example below, the "SetAttributes" transform will change the value of
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
finds an attribute "name" that has a value of "MyDB".
@@ -14,9 +14,13 @@
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
-->
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
<appSettings>
<add key="RedisConn" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
<add key="RedisConnAdmin" value="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG, allowAdmin=true" xdt:Transform="SetAttributes" xdt:Locator="Match(key)" />
</appSettings>
<system.web>
<compilation xdt:Transform="RemoveAttributes(debug)" />
<!--
In the example below, the "Replace" transform will replace the entire
<customErrors> section of your web.config file.
Note that because there is only one customErrors section under the
@@ -27,5 +31,10 @@
<error statusCode="500" redirect="InternalError.htm"/>
</customErrors>
-->
</system.web>
<sessionState>
<providers>
<add name="MySessionStateStore" connectionString="localhost:26379, serviceName=prod, DefaultDatabase=1, connectTimeout=5000, syncTimeout=5000, asyncTimeout=5000, abortConnect=false, ssl=false, password=BtN9Py1wtLfLRvmzWnOPJ7RytDM+CLiVsJ/16zduNTlV8IOPGNrtzJSXPUnImA5PqmUMhKaUqo9NdHIG" xdt:Transform="SetAttributes(connectionString)" xdt:Locator="Match(name)" />
</providers>
</sessionState>
</system.web>
</configuration>