This commit is contained in:
Samuele E. Locatelli
2017-09-14 15:38:53 +02:00
parent 8490808428
commit 71e4a04e6a
11 changed files with 164 additions and 1080 deletions
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -1,13 +1,13 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26730.10
VisualStudioVersion = 15.0.26730.12
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScheMe", "ScheMe-AFA\ScheMe.csproj", "{CA8C6074-8561-47E1-86C7-E941AAFB2CDC}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScheMe-AFA", "ScheMe-AFA\ScheMe-AFA.csproj", "{CA8C6074-8561-47E1-86C7-E941AAFB2CDC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScheMe_Data", "ScheMe_Data\ScheMe_Data.csproj", "{234E6827-B79C-435D-92E3-E81A3825D120}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamWare", "..\..\Steamware\SteamWareLib\SteamWare.csproj", "{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SteamWare", "..\Steamware\SteamWareLib\SteamWare.csproj", "{2872DCFE-8B46-43B2-BAA0-842A816A2DD5}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
+94 -18
View File
@@ -164,6 +164,7 @@
<xs:element name="whenEqual" type="whenEqual" />
<xs:element name="whenNotContains" type="whenNotContains" />
<xs:element name="whenNotEqual" type="whenNotEqual" />
<xs:element name="whenRepeated" type="whenRepeated" />
</xs:choice>
</xs:complexType>
<xs:simpleType name="NLogLevel">
@@ -1135,18 +1136,19 @@
<xs:element name="discardAll" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="fileNameKind" minOccurs="0" maxOccurs="1" type="NLog.Targets.FilePathKind" />
<xs:element name="forceMutexConcurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="maxLogFilenames" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="writeFooterOnArchivingOnly" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="fileName" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="archiveDateFormat" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="archiveOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="createDirs" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="enableFileDelete" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="fileAttributes" minOccurs="0" maxOccurs="1" type="NLog.Targets.Win32FileAttributes" />
<xs:element name="deleteOldFileOnStartup" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="replaceFileContentsOnEachWrite" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="enableFileDelete" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="concurrentWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="keepFileOpen" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="maxLogFilenames" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="networkWrites" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="openFileCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="openFileCacheTimeout" minOccurs="0" maxOccurs="1" type="xs:integer" />
@@ -1154,7 +1156,6 @@
<xs:element name="bufferSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="autoFlush" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="concurrentWriteAttemptDelay" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="concurrentWriteAttempts" minOccurs="0" maxOccurs="1" type="xs:integer" />
</xs:choice>
<xs:attribute name="name" type="xs:string">
<xs:annotation>
@@ -1246,6 +1247,11 @@
<xs:documentation>Value indicationg whether file creation calls should be synchronized by a system global mutex.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLogFilenames" type="xs:integer">
<xs:annotation>
<xs:documentation>Maximum number of log filenames that should be stored as existing.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="writeFooterOnArchivingOnly" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether the footer should be written only when the file is archived.</xs:documentation>
@@ -1271,11 +1277,6 @@
<xs:documentation>Indicates whether to create directories if they do not exist.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="enableFileDelete" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to enable log file(s) to be deleted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="fileAttributes" type="NLog.Targets.Win32FileAttributes">
<xs:annotation>
<xs:documentation>File attributes (Windows only).</xs:documentation>
@@ -1291,6 +1292,16 @@
<xs:documentation>Indicates whether to replace file contents on each write instead of appending log message at the end.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="enableFileDelete" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to enable log file(s) to be deleted.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concurrentWriteAttempts" type="xs:integer">
<xs:annotation>
<xs:documentation>Number of times the write is appended on the file before NLog discards the log message.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concurrentWrites" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether concurrent writes to the log file by multiple processes on the same host.</xs:documentation>
@@ -1301,11 +1312,6 @@
<xs:documentation>Indicates whether to keep log file open instead of opening and closing it on each logging event.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLogFilenames" type="xs:integer">
<xs:annotation>
<xs:documentation>Maximum number of log filenames that should be stored as existing.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="networkWrites" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether concurrent writes to the log file by multiple processes on different network hosts.</xs:documentation>
@@ -1341,11 +1347,6 @@
<xs:documentation>Delay in milliseconds to wait before attempting to write to the file again.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="concurrentWriteAttempts" type="xs:integer">
<xs:annotation>
<xs:documentation>Number of times the write is appended on the file before NLog discards the log message.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
@@ -2517,8 +2518,10 @@
<xs:element name="encoding" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="escapeDataNLogLegacy" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="escapeDataRfc3986" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="header" minOccurs="0" maxOccurs="unbounded" type="NLog.Targets.MethodCallParameter" />
<xs:element name="methodName" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="namespace" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="preAuthenticate" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="protocol" minOccurs="0" maxOccurs="1" type="NLog.Targets.WebServiceProtocol" />
<xs:element name="url" minOccurs="0" maxOccurs="1" type="xs:anyURI" />
<xs:element name="xmlRoot" minOccurs="0" maxOccurs="1" type="xs:string" />
@@ -2564,6 +2567,11 @@
<xs:documentation>Web service namespace. Only used with Soap.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="preAuthenticate" type="xs:boolean">
<xs:annotation>
<xs:documentation>Indicates whether to pre-authenticate the HttpWebRequest (Requires 'Authorization' in parameters)</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="protocol" type="NLog.Targets.WebServiceProtocol">
<xs:annotation>
<xs:documentation>Protocol to be used when calling web service.</xs:documentation>
@@ -2996,6 +3004,74 @@
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="whenRepeated">
<xs:complexContent>
<xs:extension base="Filter">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="action" minOccurs="0" maxOccurs="1" type="FilterResult" />
<xs:element name="layout" minOccurs="0" maxOccurs="1" type="Layout" />
<xs:element name="defaultFilterCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="filterCountMessageAppendFormat" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="filterCountPropertyName" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="maxFilterCacheSize" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="maxLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="optimizeBufferDefaultLength" minOccurs="0" maxOccurs="1" type="xs:integer" />
<xs:element name="optimizeBufferReuse" minOccurs="0" maxOccurs="1" type="xs:boolean" />
<xs:element name="timeoutSeconds" minOccurs="0" maxOccurs="1" type="xs:integer" />
</xs:choice>
<xs:attribute name="action" type="FilterResult">
<xs:annotation>
<xs:documentation>Action to be taken when filter matches.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="layout" type="SimpleLayoutAttribute">
<xs:annotation>
<xs:documentation>Layout to be used to filter log messages.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="defaultFilterCacheSize" type="xs:integer">
<xs:annotation>
<xs:documentation>Default number of unique filter values to expect, will automatically increase if needed</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="filterCountMessageAppendFormat" type="xs:string">
<xs:annotation>
<xs:documentation>Append FilterCount to the when an event is no longer filtered</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="filterCountPropertyName" type="xs:string">
<xs:annotation>
<xs:documentation>Insert FilterCount value into when an event is no longer filtered</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxFilterCacheSize" type="xs:integer">
<xs:annotation>
<xs:documentation>Max number of unique filter values to expect simultaneously</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="maxLength" type="xs:integer">
<xs:annotation>
<xs:documentation>Max length of filter values, will truncate if above limit</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferDefaultLength" type="xs:integer">
<xs:annotation>
<xs:documentation>Default buffer size for the internal buffers</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="optimizeBufferReuse" type="xs:boolean">
<xs:annotation>
<xs:documentation>Reuse internal buffers, and doesn't have to constantly allocate new buffers</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="timeoutSeconds" type="xs:integer">
<xs:annotation>
<xs:documentation>How long before a filter expires, and logging is accepted again</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AccurateLocal">
<xs:complexContent>
<xs:extension base="TimeSource">
+1 -1
View File
@@ -682,7 +682,7 @@
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Steamware\SteamWareLib\SteamWare.csproj">
<ProjectReference Include="..\..\Steamware\SteamWareLib\SteamWare.csproj">
<Project>{2872dcfe-8b46-43b2-baa0-842a816a2dd5}</Project>
<Name>SteamWare</Name>
</ProjectReference>
Binary file not shown.
Binary file not shown.
+13 -9
View File
@@ -1,12 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
</startup>
<configSections>
</configSections>
<connectionStrings>
<!--VERSIONE AFA-->
<!--<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-AFA_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>-->
<!--VERSIONE SP-->
<add name="ScheMe_Data.Properties.Settings.ScheMeConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-PIC;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
<add name="ScheMe_Data.Properties.Settings.ScheMe_filesConnectionString" connectionString="Data Source=SQL-STEAM\SQL2012;Initial Catalog=ScheMe-PIC_files;Persist Security Info=True;User ID=sa;Password=keyhammer" providerName="System.Data.SqlClient"/>
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
</startup>
</configuration>
Binary file not shown.
+51
View File
@@ -4109,6 +4109,11 @@
forza lo svuotamento delle tabelle indicate come in cache...
</summary>
</member>
<member name="M:SteamWare.memLayer.redHash(System.String)">
<summary>
Nome della variabile HASH da utilizzare (dato CodModulo / Server / DB impiegato da funzionalita' DbConfig) + keyName richiesto...
</summary>
</member>
<member name="F:SteamWare.memLayer.lazyConnection">
<summary>
Connessione lazy a redis...
@@ -4183,6 +4188,13 @@
<param name="key"></param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.redHashPresentSz(System.String)">
<summary>
Verifica se ci siano valori nella hash indicata (string)
</summary>
<param name="key"></param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.redGetHash(System.String)">
<summary>
Recupera tutti i valori dalla hash
@@ -4190,6 +4202,21 @@
<param name="hashKey"></param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.redGetHashDict(System.String)">
<summary>
Recupera tutti i valori dalla hash in formato Dictionary
</summary>
<param name="hashKey"></param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.redGetHashField(System.String,System.String)">
<summary>
Recupera UN SINGOLO VALORE dalla hash per un dato field
</summary>
<param name="hashKey"></param>
<param name="hashField"></param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.redSaveHash(System.String,System.Collections.Generic.KeyValuePair{System.String,System.String}[])">
<summary>
Salvataggio di una hash di valori
@@ -4198,6 +4225,14 @@
<param name="hashFields">valori</param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.redSaveHashDict(System.String,System.Collections.Generic.Dictionary{System.String,System.String})">
<summary>
Salvataggio di una hash di valori in formato Dictionary
</summary>
<param name="hashKey">chiave</param>
<param name="hashFields">valori</param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.redSaveHash(System.String,System.Collections.Generic.KeyValuePair{System.String,System.String}[],System.Double)">
<summary>
Salvataggio di una hash di valori
@@ -4207,6 +4242,15 @@
<param name="expireSeconds">scadenza preimpostata hash (secondi) | defaoult = -1 (non scade)</param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.redSaveHashDict(System.String,System.Collections.Generic.Dictionary{System.String,System.String},System.Double)">
<summary>
Salvataggio di una hash di valori in formato Dictionary
</summary>
<param name="hashKey">chiave</param>
<param name="hashFields">valori</param>
<param name="expireSeconds">scadenza preimpostata hash (secondi) | defaoult = -1 (non scade)</param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.redDelKey(System.String)">
<summary>
Elimina una key (hash, string)
@@ -4221,6 +4265,13 @@
<param name="keyPattern">** = tutti</param>
<returns></returns>
</member>
<member name="M:SteamWare.memLayer.redCountKey(System.String)">
<summary>
Conta num oggetti cache redis che rispondono a pattern
</summary>
<param name="keyPattern">** = tutti</param>
<returns></returns>
</member>
<member name="P:SteamWare.memLayer.numRecRedis">
<summary>
Restituisce numero record in Redis DB
Binary file not shown.
+2 -2
View File
@@ -18,8 +18,8 @@
<package id="MSBuild.Microsoft.VisualStudio.Web.targets" version="14.0.0.3" targetFramework="net462" />
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net462" />
<package id="NLog" version="4.4.12" targetFramework="net462" />
<package id="NLog.Config" version="4.4.11" targetFramework="net462" />
<package id="NLog.Schema" version="4.4.11" targetFramework="net462" />
<package id="NLog.Config" version="4.4.12" targetFramework="net462" />
<package id="NLog.Schema" version="4.4.12" targetFramework="net462" />
<package id="StackExchange.Redis" version="1.2.6" targetFramework="net462" />
<package id="StackExchange.Redis.StrongName" version="1.2.6" targetFramework="net462" />
<package id="WebGrease" version="1.6.0" targetFramework="net45" />