diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2085af8..3232bc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,8 @@ variables: + VERS_MAIN: '1.0' NEXUS_PATH: 'LiMan' APP_NAME: 'LiMan.UI' + NUGET_PATH: 'C:\Tools\nuget.exe' # helper x fix pacchetti nuget da repo locale nexus.steamware.net .nuget-fix: &nuget-fix @@ -37,19 +39,6 @@ variables: #cd "$env:APP_NAME\bin\publish\net6.0" -# # helper creazione hash files x EXE -# .hashBuildExe: &hashBuildExe -# - | -# $Target = "$env:APP_NAME\Releases\" + $CI_COMMIT_BRANCH + "\" + $env:APP_NAME + ".zip" -# $MD5 = Get-FileHash $Target -Algorithm MD5 -# $SHA1 = Get-FileHash $Target -Algorithm SHA1 -# New-Item $Target".md5" -# New-Item $Target".sha1" -# $MD5.Hash | Set-Content -Path $Target".md5" -# $SHA1.Hash | Set-Content -Path $Target".sha1" - -# echo "Created HASH files for $Target" - # helper creazione hash files x IIS .hashBuild: &hashBuild - | @@ -91,11 +80,58 @@ variables: # mCurl -v -u $env:NEXUS_USER:$env:NEXUS_PASSWD --upload-file bin/release/$env:APP_NAME.zip $env:NEXUS_SERVER/utility/$env:NEXUS_PATH/$version/$env:APP_NAME-$version.zip # image: mcr.microsoft.com/dotnet/sdk:6.0 + +# helper x fix version number +.version-fix: &version-fix + - | + $env:NEW_REL = $env:VERS_MAIN+"."+(get-date -format yyMM)+"."+(get-date -format ddHH) + $env:NUM_REL = $env:VERS_MAIN+"."+(get-date -format yyMM)+"."+(get-date -format dHH) + $env:NUM_DEB = $env:VERS_MAIN+"."+(get-date -format yyMM)+"-beta."+(get-date -format dHH) + $env:NEW_COPYRIGHT = "EgalWare @ 2021-" + (get-date -format yyyy) + #$contenuto = Get-Content -path 'VersGen\VersGen.cs' -Raw + #$newContenuto = $contenuto -replace '0.0.0.0', $env:NEW_REL + #$newContenuto = $newContenuto -replace 'EgalWare © 2021', $env:NEW_COPYRIGHT + #$newContenuto | Set-Content -Path 'VersGen\VersGen.cs' + # display versioni generate + $resoconto = "Effettuato fix file VersGen | release v: " + $env:NUM_REL + " | debug v: " + $env:NUM_DEB; + Write-Output $resoconto; + echo "Replace completati" + +# helper x fix nuspec file +.nuspec-fix: &nuspec-fix + - | + echo "Modifica dati file nuspec Release" + $currRelease = $env:NUM_REL + $currDebug = $env:NUM_DEB + $find = "(.|\n)*?"; + $fileNameRel = "$env:APP_NAME.Release.nuspec"; + $replRel = "" + $currRelease + ""; + $nuspDataRel = Get-Content $fileNameRel; + $nuspDataRelUpd = $nuspDataRel -replace $find, $replRel; + $nuspDataRelUpd = $nuspDataRelUpd -replace "#copyright#", $replCopy; + $nuspDataRelUpd = $nuspDataRelUpd -replace "#releaseNotes#", "Build $adesso"; + Set-Content -Path $fileNameRel -Value $nuspDataRelUpd; + echo "Modifica dati file nuspec Debug" + $fileNameDeb = "$env:APP_NAME.Debug.nuspec"; + $replDeb = "" + $currDebug + ""; + $nuspDataDeb = Get-Content $fileNameDeb; + $nuspDataDebUpd = $nuspDataDeb -replace $find, $replDeb; + $nuspDataDebUpd = $nuspDataDebUpd -replace "#copyright#", $replCopy; + $nuspDataDebUpd = $nuspDataDebUpd -replace "#releaseNotes#", "Build $adesso"; + Set-Content -Path $fileNameDeb -Value $nuspDataDebUpd; + echo "replace completati" + + stages: - build - deploy + - release + +# -------------------------------- +# BUILD +# -------------------------------- UI:build: stage: build tags: @@ -125,8 +161,25 @@ Transfer:build: - dotnet restore LiMan.sln script: - dotnet build LiMan.Transfer/LiMan.Transfer.csproj - - + +EgwProxy.LiMan:build: + stage: build + tags: + - win + variables: + APP_NAME: EgwProxy.LiMan + SOL_NAME: EgwProxy.LiMan + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:APP_NAME.sln" -verbosity quiet' + script: + - echo $CI_COMMIT_BRANCH + - dotnet build $env:APP_NAME/$env:APP_NAME.csproj + + +# -------------------------------- +# DEPLOY +# -------------------------------- UI:IIS01:deploy: stage: deploy tags: @@ -206,7 +259,58 @@ Transfer:deploy: - *hashBuild - *nexusUpload - +EgwProxy.LiMan:deploy: + stage: deploy + needs: ["EgwProxy.LiMan:build"] + tags: + - win + variables: + CONFIG: Debug + APP_NAME: EgwProxy.LiMan + SOL_NAME: EgwProxy.LiMan + only: + refs: + - develop + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:SOL_NAME.sln" -verbosity quiet' + - *version-fix + - *nuspec-fix + script: +# - '& "$env:MSBUILD_PATH" "$env:APP_NAME\$env:APP_NAME.csproj" -target:Build /p:Configuration=$env:CONFIG /p:Platform="Any CPU" /p:OutputPath=bin/$env:CONFIG /verbosity:minimal /m' + - dotnet build "$env:APP_NAME\$env:APP_NAME.csproj" + - '& Remove-Item *.nupkg' + - '& $env:NUGET_PATH pack "$env:APP_NAME.Debug.nuspec"' + - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted' + - '& "$env:NUGET_PATH" push *$env:NUM_DEB.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' + +# -------------------------------- +# RELEASE +# -------------------------------- +EgwProxy.LiMan:release: + stage: release + needs: ["EgwProxy.LiMan:build"] + tags: + - win + variables: + CONFIG: Release + APP_NAME: EgwProxy.LiMan + SOL_NAME: EgwProxy.LiMan + only: + refs: + - SDK + before_script: + - *nuget-fix + - '& "$env:NUGET_PATH" restore "$env:SOL_NAME.sln" -verbosity quiet' + - *version-fix + - *nuspec-fix + script: + - dotnet build "$env:APP_NAME\$env:APP_NAME.csproj" + - '& Remove-Item *.nupkg' + - '& $env:NUGET_PATH pack "$env:APP_NAME.Release.nuspec"' + - '& "$env:NUGET_PATH" setapikey $NUGET_API_KEY -source http://nexus.steamware.net/repository/nuget-hosted' + - '& "$env:NUGET_PATH" push *$env:NUM_REL.nupkg -Source http://nexus.steamware.net/repository/nuget-hosted' + # UI:installer: # stage: installer # tags: diff --git a/EgwProxy.LiMan.ConsoleTest/App.config b/EgwProxy.LiMan.ConsoleTest/App.config new file mode 100644 index 0000000..6366e67 --- /dev/null +++ b/EgwProxy.LiMan.ConsoleTest/App.config @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj b/EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj new file mode 100644 index 0000000..bb7fce1 --- /dev/null +++ b/EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj @@ -0,0 +1,60 @@ + + + + + Debug + AnyCPU + {5DADD362-4B14-45AD-AB0A-B30361D7449B} + Exe + EgwProxy.LiMan.ConsoleTest + EgwProxy.LiMan.ConsoleTest + v4.7.2 + 512 + true + true + + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + {1b8191a0-dd4e-4320-878b-246a9b61c368} + EgwProxy.LiMan + + + + \ No newline at end of file diff --git a/EgwProxy.LiMan.ConsoleTest/Program.cs b/EgwProxy.LiMan.ConsoleTest/Program.cs new file mode 100644 index 0000000..1a751d0 --- /dev/null +++ b/EgwProxy.LiMan.ConsoleTest/Program.cs @@ -0,0 +1,76 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace EgwProxy.LiMan.ConsoleTest +{ + internal class Program + { + static void Main(string[] args) + { + string separator = "-----------------"; + string codApp = "EgtBeamWall"; + string answ = ""; +#if DEBUG + string srvUrl = "localhost:5003"; +#else + string srvUrl = "liman.egalware.com/ELM.API"; +#endif + Console.WriteLine(separator); + Console.WriteLine("EgwProxy.LiMan | Console test app"); + Console.WriteLine(separator); + Console.WriteLine("premere un tasto per continuare..."); + Console.ReadLine(); + // per prima cosa instanzio (cablato) la classe di comnicazione + var commLib = new DataSyncro(srvUrl); + + // test ping + Console.WriteLine("Premere ENT per check ping"); + answ = Console.ReadLine(); + bool servOk = commLib.CheckRemote(); + string esito = servOk ? "OK" : "KO"; + Console.WriteLine($"Esito controllo server: {esito}"); + + // chiamo e mostro elenco + var listAll = commLib.ReleaseGetAll(codApp); + + // mostro elenco + Console.WriteLine(separator); + Console.WriteLine("Elenco versioni completo:"); + Console.WriteLine(separator); + Console.WriteLine(""); + foreach (var item in listAll) + { + Console.WriteLine($"{item.CodApp} | {item.VersNum} | {item.VersText} | {item.ReleaseDate:yyyy-MM-dd}"); + } + Console.WriteLine(separator); + Console.WriteLine("premere un tasto per continuare..."); + Console.WriteLine(""); + Console.ReadLine(); + + Console.WriteLine(separator); + Console.WriteLine("Elenco versioni filtrato:"); + Console.WriteLine(separator); + Console.WriteLine(""); + Console.WriteLine("Inserire versione minima richiesta (default: 0.0.0.0)"); + answ = Console.ReadLine(); + answ = string.IsNullOrEmpty(answ) ? "0.0.0.0" : answ; + + while (!string.IsNullOrEmpty(answ)) + { + var listFilt = commLib.ReleaseGetFilt(codApp, answ); + foreach (var item in listFilt) + { + Console.WriteLine($"{item.CodApp} | {item.VersNum} | {item.VersText} | {item.ReleaseDate:yyyy-MM-dd}"); + } + Console.WriteLine(separator); + Console.WriteLine(""); + + Console.WriteLine("Inserire versione minima richiesta (se vuoto esce)"); + answ = Console.ReadLine(); + } + } + } +} diff --git a/EgwProxy.LiMan.ConsoleTest/Properties/AssemblyInfo.cs b/EgwProxy.LiMan.ConsoleTest/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..46e3efc --- /dev/null +++ b/EgwProxy.LiMan.ConsoleTest/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("EgwProxy.LiMan.ConsoleTest")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("EgwProxy.LiMan.ConsoleTest")] +[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("5dadd362-4b14-45ad-ab0a-b30361d7449b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/EgwProxy.LiMan.Debug.nuspec b/EgwProxy.LiMan.Debug.nuspec new file mode 100644 index 0000000..5f4c4df --- /dev/null +++ b/EgwProxy.LiMan.Debug.nuspec @@ -0,0 +1,24 @@ + + + + EgwProxy.LiMan + #version# + EgwProxy.LiMan + Samuele E. Locatelli, EgalWare + false + MIT + Libreria per comunicazione REST con server LiMan - beta/unstable + #releaseNotes# + #copyright# + EgwProxy.LiMan LiMan Rest + + + + + + + + + + + \ No newline at end of file diff --git a/EgwProxy.LiMan.Release.nuspec b/EgwProxy.LiMan.Release.nuspec new file mode 100644 index 0000000..8ccd8e4 --- /dev/null +++ b/EgwProxy.LiMan.Release.nuspec @@ -0,0 +1,23 @@ + + + + EgwProxy.LiMan + #version# + EgwProxy.LiMan + Samuele E. Locatelli, EgalWare + false + MIT + Libreria per comunicazione REST con server LiMan + #releaseNotes# + #copyright# + EgwProxy.LiMan LiMan Rest + + + + + + + + + + \ No newline at end of file diff --git a/EgwProxy.LiMan.sln b/EgwProxy.LiMan.sln index afb67bc..e1696f2 100644 --- a/EgwProxy.LiMan.sln +++ b/EgwProxy.LiMan.sln @@ -5,6 +5,10 @@ VisualStudioVersion = 17.9.34902.65 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.LiMan", "EgwProxy.LiMan\EgwProxy.LiMan.csproj", "{1B8191A0-DD4E-4320-878B-246A9B61C368}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.LiMan.ConsoleTest", "EgwProxy.LiMan.ConsoleTest\EgwProxy.LiMan.ConsoleTest.csproj", "{5DADD362-4B14-45AD-AB0A-B30361D7449B}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "TestWinFormVB", "TestWinFormVB\TestWinFormVB.vbproj", "{CC0A7D8F-0888-45F5-B791-FCD90349CD21}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +19,14 @@ Global {1B8191A0-DD4E-4320-878B-246A9B61C368}.Debug|Any CPU.Build.0 = Debug|Any CPU {1B8191A0-DD4E-4320-878B-246A9B61C368}.Release|Any CPU.ActiveCfg = Release|Any CPU {1B8191A0-DD4E-4320-878B-246A9B61C368}.Release|Any CPU.Build.0 = Release|Any CPU + {5DADD362-4B14-45AD-AB0A-B30361D7449B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5DADD362-4B14-45AD-AB0A-B30361D7449B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5DADD362-4B14-45AD-AB0A-B30361D7449B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5DADD362-4B14-45AD-AB0A-B30361D7449B}.Release|Any CPU.Build.0 = Release|Any CPU + {CC0A7D8F-0888-45F5-B791-FCD90349CD21}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CC0A7D8F-0888-45F5-B791-FCD90349CD21}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CC0A7D8F-0888-45F5-B791-FCD90349CD21}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CC0A7D8F-0888-45F5-B791-FCD90349CD21}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/EgwProxy.LiMan/DataSyncro.cs b/EgwProxy.LiMan/DataSyncro.cs index 14c7a5f..7652e9b 100644 --- a/EgwProxy.LiMan/DataSyncro.cs +++ b/EgwProxy.LiMan/DataSyncro.cs @@ -7,7 +7,9 @@ using System; using System.Collections.Generic; using System.Linq; using System.Net; +using System.Net.NetworkInformation; using System.Text; +using System.Threading; using System.Threading.Tasks; using System.Web; @@ -15,6 +17,8 @@ namespace EgwProxy.LiMan { public class DataSyncro { + #region Public Constructors + /// /// Inizializza la libreria di comunicazione con il token assegnato /// @@ -26,27 +30,10 @@ namespace EgwProxy.LiMan rcOptions = new RestClientOptions { BaseUrl = new Uri(apiUrl), Timeout = TimeSpan.FromMilliseconds(callTimeout) }; Log.Info($"DataSyncro initialized | api: {apiUrl} | timeout: {callTimeout}"); } - /// - /// Istanza logger - /// - private static Logger Log = LogManager.GetCurrentClassLogger(); - /// - /// URL dell'API x chiamate gestione licenze - /// - private string apiUrl = $""; + #endregion Public Constructors - private int callTimeout = 10000; - - /// - /// Opzioni standard di chiamata - /// - private RestClientOptions rcOptions = new RestClientOptions(); - - /// - /// Indirizzo server (URL con eventuale porta) - /// - private string servAddr = $""; + #region Public Methods /// /// Elenco Release applicazione @@ -71,30 +58,209 @@ namespace EgwProxy.LiMan } return answ; } + /// + /// Effettua chiamata test sul server (ping), se fallisse riprova fino a maxTry volte + /// + /// num tentativi in caso di KO + /// tempo di attesa medio tra tentativi in ms + /// + public bool CheckRemote(int maxTry = 5, int waitTime = 200) + { + bool res = false; + int numTry = 0; + IPAddress address = IPAddress.Loopback; + string srvIp = servAddr; + if (servAddr.Contains(":")) + { + srvIp = servAddr.Substring(0, servAddr.IndexOf(":")); + } + while (!res && numTry < maxTry) + { + res = pingAddress(srvIp, callTimeout) == IPStatus.Success; + numTry++; + if (!res) + { + Thread.Sleep(waitTime); + } + } + return res; + } + /// + /// Test ping x indirizzo indicato + /// + /// Indirizzo da pingare + /// + public static IPStatus pingAddress(string tgtAddr) + { + IPStatus answ = IPStatus.Unknown; + IPAddress address; + PingReply reply; + using (Ping pingSender = new Ping()) + { + address = IPAddress.Loopback; + int pingMsTimeout = 500; + IPAddress.TryParse(tgtAddr, out address); + try + { + // se != null --> uso tgtAddr... + if (address != null) + { + reply = pingSender.Send(address, pingMsTimeout); + } + else + { + reply = pingSender.Send(tgtAddr, pingMsTimeout); + } + } + catch + { + reply = pingSender.Send(IPAddress.Loopback, pingMsTimeout); + } + answ = reply.Status; + } + return answ; + } + + /// + /// Test ping x indirizzo indicato + /// + /// Indirizzo da pingare + /// Timeout chiamata in ms + /// + public static IPStatus pingAddress(string tgtAddr, int timeout) + { + IPStatus answ = IPStatus.Unknown; + IPAddress address; + PingReply reply; + using (Ping pingSender = new Ping()) + { + address = IPAddress.Loopback; + int pingMsTimeout = timeout; + IPAddress.TryParse(tgtAddr, out address); + try + { + // se != null --> uso tgtAddr... + if (address != null && address != IPAddress.Loopback) + { + reply = pingSender.Send(address, pingMsTimeout); + } + else + { + reply = pingSender.Send(tgtAddr, pingMsTimeout); + } + answ = reply.Status; + } + catch (Exception exc) + { + answ = IPStatus.Unknown; + Log.Error($"Errore in ping:{Environment.NewLine}{exc}"); + } + } + return answ; + } /// /// Versione Async Elenco Release applicazione /// /// CodApp richiesta /// - public async Task> ReleaseGetAllAsync(int MatID) + public async Task> ReleaseGetAllAsync(string CodApp) { List answ = new List(); using (RestClient client = new RestClient(rcOptions)) { - string CodAppEnc = HttpUtility.UrlEncode(RestToken); - var request = new RestRequest($"Inventory/{CodAppEnc}?MatCloudId={MatID}", Method.Get); + string CodAppEnc = HttpUtility.UrlEncode(CodApp); + var request = new RestRequest($"Release/{CodAppEnc}", Method.Get); var response = await client.GetAsync(request); // controllo risposta if (response.StatusCode == HttpStatusCode.OK) { // contenuto serializzato string rawData = $"{response.Content}"; - answ = JsonConvert.DeserializeObject>(rawData); + answ = JsonConvert.DeserializeObject>(rawData); } } return await Task.FromResult(answ); } + + /// + /// Elenco Release applicazione + /// + /// CodApp richiesta + /// Versione minima richiesta + /// + public List ReleaseGetFilt(string CodApp, string VersMin) + { + List answ = new List(); + using (RestClient client = new RestClient(rcOptions)) + { + string CodAppEnc = HttpUtility.UrlEncode(CodApp); + var request = new RestRequest($"Release/filt/{CodAppEnc}?VersMin={VersMin}", Method.Get); + var response = client.Get(request); + // controllo risposta + if (response.StatusCode == HttpStatusCode.OK) + { + // contenuto serializzato + string rawData = $"{response.Content}"; + answ = JsonConvert.DeserializeObject>(rawData); + } + } + return answ; + } + + /// + /// Versione Async Elenco Release applicazione + /// + /// CodApp richiesta + /// Versione minima richiesta + /// + public async Task> ReleaseGetFiltAsync(string CodApp, string VersMin) + { + List answ = new List(); + + using (RestClient client = new RestClient(rcOptions)) + { + string CodAppEnc = HttpUtility.UrlEncode(CodApp); + var request = new RestRequest($"Release/filt/{CodAppEnc}?VersMin={VersMin}", Method.Get); + var response = await client.GetAsync(request); + // controllo risposta + if (response.StatusCode == HttpStatusCode.OK) + { + // contenuto serializzato + string rawData = $"{response.Content}"; + answ = JsonConvert.DeserializeObject>(rawData); + } + } + return await Task.FromResult(answ); + } + + #endregion Public Methods + + #region Private Fields + + /// + /// Istanza logger + /// + private static Logger Log = LogManager.GetCurrentClassLogger(); + + /// + /// URL dell'API x chiamate gestione licenze + /// + private string apiUrl = $""; + + private int callTimeout = 10000; + + /// + /// Opzioni standard di chiamata + /// + private RestClientOptions rcOptions = new RestClientOptions(); + + /// + /// Indirizzo server (URL con eventuale porta) + /// + private string servAddr = $""; + + #endregion Private Fields } -} +} \ No newline at end of file diff --git a/EgwProxy.LiMan/EgwProxy.LiMan.csproj b/EgwProxy.LiMan/EgwProxy.LiMan.csproj index 6fb0b10..9b9b246 100644 --- a/EgwProxy.LiMan/EgwProxy.LiMan.csproj +++ b/EgwProxy.LiMan/EgwProxy.LiMan.csproj @@ -9,7 +9,7 @@ Properties EgwProxy.LiMan EgwProxy.LiMan - v4.6.2 + v4.7.2 512 true @@ -42,7 +42,7 @@ ..\packages\NLog.5.0.1\lib\net46\NLog.dll - ..\packages\RestSharp.111.2.0\lib\netstandard2.0\RestSharp.dll + ..\packages\RestSharp.111.2.0\lib\net471\RestSharp.dll @@ -83,6 +83,7 @@ + diff --git a/EgwProxy.LiMan/app.config b/EgwProxy.LiMan/app.config index 43cb8c3..82f4cf2 100644 --- a/EgwProxy.LiMan/app.config +++ b/EgwProxy.LiMan/app.config @@ -10,6 +10,10 @@ + + + + - + diff --git a/EgwProxy.LiMan/packages.config b/EgwProxy.LiMan/packages.config index 89ed905..8817406 100644 --- a/EgwProxy.LiMan/packages.config +++ b/EgwProxy.LiMan/packages.config @@ -3,7 +3,7 @@ - + @@ -11,5 +11,5 @@ - + \ No newline at end of file diff --git a/InsomniaRest/TestCall.json b/InsomniaRest/TestCall.json index 5624009..fd08ca0 100644 --- a/InsomniaRest/TestCall.json +++ b/InsomniaRest/TestCall.json @@ -1 +1 @@ -{"_type":"export","__export_format":4,"__export_date":"2024-07-18T15:11:58.185Z","__export_source":"insomnia.desktop.app:v2023.5.8","resources":[{"_id":"req_76eaf9e0c7b94e1597f8ce0404094dfc","parentId":"fld_5077c9deffee497084770311892c4a1b","modified":1650637798103,"created":1650637196552,"url":"{{ _.BASE_URL }}/api/health","name":"Status app","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1627351578942.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_5077c9deffee497084770311892c4a1b","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1650637782424,"created":1650637057533,"name":"Health","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636368176387,"_type":"request_group"},{"_id":"wrk_3a09551ac721482a8d6d6c3f49779247","parentId":null,"modified":1634829468996,"created":1634829468996,"name":"LicMan.Api","description":"","scope":"collection","_type":"workspace"},{"_id":"req_94c94c42242a4b86bb683ddb6e725c1b","parentId":"fld_c1433425ebce4a75b3ba11ed9f08f8b7","modified":1636368193729,"created":1634829469020,"url":"{{ _.BASE_URL }}/api/installazioni/steamware","name":"Installazioni SteamWare","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1627351578955,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_c1433425ebce4a75b3ba11ed9f08f8b7","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1636368188402,"created":1636368176337,"name":"Installazioni","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636368176337,"_type":"request_group"},{"_id":"req_2899c4fabc9f48c6a30bce59954c3cfa","parentId":"fld_c1433425ebce4a75b3ba11ed9f08f8b7","modified":1636368196015,"created":1634829560846,"url":"{{ _.BASE_URL }}/api/installazioni/ets","name":"Installazioni ETS","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1627351578905,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b14c304cb28c4e5f9f007cb25a622ae1","parentId":"fld_482ee06fd04a455f9bdfd63e6d42beae","modified":1636368237149,"created":1634829469026,"url":"{{ _.BASE_URL }}/api/applicazione/steamware?CodApp=GPW","name":"Applicazione SteamWare/GPW","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626751501333,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_482ee06fd04a455f9bdfd63e6d42beae","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1636368234020,"created":1636368225320,"name":"Applicazioni","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636368171824.5,"_type":"request_group"},{"_id":"req_4d5c0d20ba14481786b8371405435e21","parentId":"fld_482ee06fd04a455f9bdfd63e6d42beae","modified":1636368246723,"created":1634829655164,"url":"{{ _.BASE_URL }}/api/applicazione/steamware?CodApp=MAPO","name":"Applicazione SteamWare/MAPO","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626751501283,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c9a692486b514617aaf8d2c1f892be6f","parentId":"fld_3d57099a4b81439b8c5e92b150bfa539","modified":1719225183801,"created":1634829684473,"url":"{{ _.BASE_URL }}/api/licenza/SteamWare?CodApp=GPW&Chiave=wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcMG3jbQhCb64JLs/Cuo1MaZ","name":"Licenza SteamWare/GPW","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626301443116.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_3d57099a4b81439b8c5e92b150bfa539","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1636368167312,"created":1636368167312,"name":"Licenze","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636368167312,"_type":"request_group"},{"_id":"req_2e02d48eda2c4b47bbec77e9eff1fd49","parentId":"fld_3d57099a4b81439b8c5e92b150bfa539","modified":1652711723314,"created":1652711697046,"url":"{{ _.BASE_URL }}/api/licenza/CheckScadenze","name":"Verifica Scadenze","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626263938271.375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4780b4e213544c3c90db5ed6d65fc3b1","parentId":"fld_3d57099a4b81439b8c5e92b150bfa539","modified":1650963414014,"created":1650963105672,"url":"{{ _.BASE_URL }}/api/licenza/steamware?CodApp=MAPO&Chiave=ybP3AuaGUYGhsrQmQjLW9IxtCFUAaB+ysjKXS1My3XJ9JsPsUQhl7WjitYFJ8pa/","name":"Licenza SteamWare/MAPO","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626226433426.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d1be41b38bef478aadb079f4314da4f3","parentId":"fld_f402c65d1a884ee9bcc50d26f72634f3","modified":1719235806578,"created":1719235574305,"url":"{{ _.BASE_URL }}/api/attivazioni?chiave=wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcMG3jbQhCb64JLs/Cuo1MaZ","name":"GetCurrent","description":"","method":"GET","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ed76bfea595e4917be2ce6797185529e"}],"authentication":{},"metaSortKey":-1636368676649,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_f402c65d1a884ee9bcc50d26f72634f3","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1636368159634,"created":1636368159634,"name":"Attivazioni","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636368159634,"_type":"request_group"},{"_id":"req_17c90dc4dbce45638ba74ac8c3e49403","parentId":"fld_f402c65d1a884ee9bcc50d26f72634f3","modified":1640104623780,"created":1636371347886,"url":"{{ _.BASE_URL }}/api/attivazioni","name":"TryAdd","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"masterKey\": \"wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcMGFsaExT+LBZLs/Cuo1MaZ\",\n \"paramDict\": {\n \"67cd028c209e240708c91b633db592b9\": \"9Y7rfqRTKB4xVVxk\",\n \"50458f523270eb9d2979cf3e3057abe2\": \"Et7kL0ed8WY=\",\n \"53ef5b634acf2de971572a90f2e351e9\": \"AZf4YaYHYZDcuUsh\"\n }\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ed76bfea595e4917be2ce6797185529e"}],"authentication":{},"metaSortKey":-1636368676549,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_be8323c2647e471c8d3ae1824a939865","parentId":"fld_f402c65d1a884ee9bcc50d26f72634f3","modified":1678790254091,"created":1678785720723,"url":"{{ _.BASE_URL }}/api/attivazioni/removeKey","name":"RemoveKey","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"masterKey\": \"wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcPj4vGZJmXj3ZLs/Cuo1MaZ\",\n \"paramDict\": {\n \"3b826f43eec9e603a892fa49020b9a9b\": \"19F4F894-F1AE-491F-AF74-1EE257260834\"\n }\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ed76bfea595e4917be2ce6797185529e"}],"authentication":{},"metaSortKey":-1636368676530.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7d066009687247ef89f198fafcf30cb5","parentId":"fld_f402c65d1a884ee9bcc50d26f72634f3","modified":1636371488666,"created":1636368676499,"url":"{{ _.BASE_URL }}/api/attivazioni","name":"Delete SubLic","description":"","method":"DELETE","body":{"mimeType":"application/json","text":"{\n \"masterKey\": \"wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcMGFsaExT+LBZLs/Cuo1MaZ\",\n \"paramDict\": {\n \"67cd028c209e240708c91b633db592b9\": \"9Y7rfqRTKB4xVVxk\",\n \"50458f523270eb9d2979cf3e3057abe2\": \"Et7kL0ed8WY=\",\n \"53ef5b634acf2de971572a90f2e351e9\": \"AZf4YaYHYZDcuUsh\"\n }\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_af7596fa3a174c6f9e4fec738fa7fb07"}],"authentication":{},"metaSortKey":-1636368676499,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_bc76628fb2214b0f87ac41f876c0b7ae","parentId":"fld_23d6ab2fed7c4c4e9845ac5a04dbf811","modified":1644389168848,"created":1643962591421,"url":"{{ _.BASE_URL }}/api/filesave/list/12","name":"list","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"codApp\": \"MAPO-IOB-WIN-NEXT\",\n \"codImp\": \"\",\n \"codInst\": \"SteamWare\",\n \"contactEmail\": \"samuele@steamware.net\",\n \"contactName\": \"Samuele\",\n \"contactPhone\": \"035-460560\",\n \"idxSubLic\": 0,\n \"masterKey\": \"a3BRQz/1B34uvvcDoE/D38ssH/c/KSsjpn39wZsxOVsck9rGnBkF3xfUnj3edYIl\",\n \"reqBody\": \"Insomnia (file upload)\",\n\t\"tipo\": 2\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ed76bfea595e4917be2ce6797185529e"},{"id":"pair_1725d037122840abb3c3fccbafbc4275","name":"","value":"","description":""}],"authentication":{},"metaSortKey":-1636368676561.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_23d6ab2fed7c4c4e9845ac5a04dbf811","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1643962542199,"created":1640021680129,"name":"Files","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1626151423686,"_type":"request_group"},{"_id":"req_681a6a5336664d6e9120026f50667183","parentId":"fld_23d6ab2fed7c4c4e9845ac5a04dbf811","modified":1644388785640,"created":1644388125523,"url":"{{ _.BASE_URL }}/api/filesave/T000000012/4lohp04u.b4i/LogFiles.zip","name":"download","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_1725d037122840abb3c3fccbafbc4275","name":"","value":"","description":""}],"authentication":{},"metaSortKey":-1636368676555.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_0d09cffd954d47f385279e990386b0d8","parentId":"fld_23d6ab2fed7c4c4e9845ac5a04dbf811","modified":1643986763390,"created":1640168946681,"url":"{{ _.BASE_URL }}/api/filesave/single","name":"FileSaveSingle","description":"","method":"POST","body":{"mimeType":"multipart/form-data","params":[{"id":"pair_eb8cb2a89c3a4a90af9ec163cc00b654","name":"TicketId","value":"10","description":"","type":"text","multiline":false},{"id":"pair_ee247b7b1abe4a2eb835a43a8fbd871a","name":"file","value":"","description":"","type":"file","fileName":"C:\\Users\\samuele.steamw\\Downloads\\SCAMBIO DATI MES _ v2021.pdf"}]},"parameters":[],"headers":[{"name":"Content-Type","value":"multipart/form-data","id":"pair_ed76bfea595e4917be2ce6797185529e"},{"id":"pair_1725d037122840abb3c3fccbafbc4275","name":"","value":"","description":""}],"authentication":{},"metaSortKey":-1636368676511.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_2ab30a505449413a9b412d25fea43c32","parentId":"fld_23d6ab2fed7c4c4e9845ac5a04dbf811","modified":1643986766826,"created":1640021703467,"url":"{{ _.BASE_URL }}/api/filesave","name":"FileSaveMulti","description":"","method":"POST","body":{"mimeType":"multipart/form-data","params":[{"id":"pair_eb8cb2a89c3a4a90af9ec163cc00b654","name":"TicketId","value":"11","description":"","type":"text","multiline":false},{"id":"pair_ee247b7b1abe4a2eb835a43a8fbd871a","name":"files","value":"","description":"","type":"file","fileName":"C:\\Users\\samuele.steamw\\Downloads\\SCAMBIO DATI MES _ v2021.pdf"},{"id":"pair_bac89d30d9a448c18713efbc243697e8","name":"files","value":"","description":"","type":"file","fileName":"C:\\Users\\samuele.steamw\\Downloads\\Ewon_teleservice_T2MFree+_PRO_IT.pdf"}]},"parameters":[],"headers":[{"name":"Content-Type","value":"multipart/form-data","id":"pair_ed76bfea595e4917be2ce6797185529e"},{"id":"pair_1725d037122840abb3c3fccbafbc4275","name":"","value":"","description":""}],"authentication":{},"metaSortKey":-1636368676461.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5c84e0cacc794daf8ee86af985a40f83","parentId":"fld_c43de7cc200f4af7821a220d46323898","modified":1643962587103,"created":1640082304061,"url":"{{ _.BASE_URL }}/api/ticket/sendReq","name":"sendReq","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"codApp\": \"MAPO-IOB-WIN-NEXT\",\n \"codImp\": \"\",\n \"codInst\": \"SteamWare\",\n \"contactEmail\": \"samuele@steamware.net\",\n \"contactName\": \"Samuele\",\n \"contactPhone\": \"035-460560\",\n \"idxSubLic\": 0,\n \"masterKey\": \"a3BRQz/1B34uvvcDoE/D38ssH/c/KSsjpn39wZsxOVsck9rGnBkF3xfUnj3edYIl\",\n \"reqBody\": \"Insomnia (file upload)\",\n\t\"tipo\": 2\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ed76bfea595e4917be2ce6797185529e"},{"id":"pair_1725d037122840abb3c3fccbafbc4275","name":"","value":"","description":""}],"authentication":{},"metaSortKey":-1626151423736,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_c43de7cc200f4af7821a220d46323898","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1721313505659,"created":1637220066948,"name":"Ticket","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1626151423679.75,"_type":"request_group"},{"_id":"req_b0f61658a8f14ab7bd24c21d9c2e0f8f","parentId":"fld_c43de7cc200f4af7821a220d46323898","modified":1637220362640,"created":1637220082741,"url":"{{ _.BASE_URL }}/api/ticket/SteamWare?CodApp=GPW&Chiave=wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcMGFsaExT%2BLBZLs%2FCuo1MaZ","name":"Ticket SteamWare/GPW","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626151423686,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e8868f080ba1430eb8d4cf9541ab89c1","parentId":"fld_c43de7cc200f4af7821a220d46323898","modified":1643899705502,"created":1643899685335,"url":"{{ _.BASE_URL }}/api/ticket/SteamWare?CodApp=MAPO-IOB-WIN-NEXT&Chiave=a3BRQz/1B34uvvcDoE/D38ssH/c/KSsjpn39wZsxOVsck9rGnBkF3xfUnj3edYIl","name":"Ticket SteamWare/MAPO-IOB-WIN","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1625551346076.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ac9419176b87422387de3e0e8efdaa0e","parentId":"fld_df18577611e84208b55d8920daded17d","modified":1721315470573,"created":1721315445993,"url":"{{ _.BASE_URL }}/api/dbsync/anagkeyval/steamware?CodApp=MAPO","name":"Std MAPO - AnagKeyVal","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1721313520479,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_df18577611e84208b55d8920daded17d","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1721313503248,"created":1721313496423,"name":"DbSync","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1626151423673.5,"_type":"request_group"},{"_id":"req_6ec4c17700e14016823ecf418c492557","parentId":"fld_df18577611e84208b55d8920daded17d","modified":1721315454779,"created":1721313515685,"url":"{{ _.BASE_URL }}/api/dbsync/conf/steamware?CodApp=MAPO","name":"Std MAPO - Config","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1721313520379,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b00194cf5d4049409af0ead5a4ce5eef","parentId":"fld_df18577611e84208b55d8920daded17d","modified":1721315487910,"created":1721315463457,"url":"{{ _.BASE_URL }}/api/dbsync/vocabolario/steamware?CodApp=MAPO","name":"Std MAPO - Vocabolario","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1719542732250.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_2657f17ecf8c4490a11d21e7f4f1a77a","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1651571591838,"created":1634829468999,"name":"Base Environment","data":{},"dataPropertyOrder":{},"color":null,"isPrivate":false,"metaSortKey":1634552379782,"_type":"environment"},{"_id":"jar_f8077d7b5f8342d597a63cc01ce049e1","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1634829469014,"created":1634829469014,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_263d564c1fcd4e1f9e48fee3edc41fbb","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1634829469048,"created":1634829469017,"fileName":"LicMan.Api","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"env_8eaa28856e844ec8939391448724bccb","parentId":"env_2657f17ecf8c4490a11d21e7f4f1a77a","modified":1719224811499,"created":1634829469002,"name":"DEV","data":{"BASE_URL":"https://localhost:5003"},"dataPropertyOrder":{"&":["BASE_URL"]},"color":null,"isPrivate":false,"metaSortKey":1634552420009,"_type":"environment"},{"_id":"env_75f794443c404d1abbf9193e3a9b46b9","parentId":"env_2657f17ecf8c4490a11d21e7f4f1a77a","modified":1637220300521,"created":1634829469007,"name":"IIS01","data":{"BASE_URL":"https://iis01.egalware.com/ELM.API"},"dataPropertyOrder":{"&":["BASE_URL"]},"color":null,"isPrivate":false,"metaSortKey":1634552444561,"_type":"environment"},{"_id":"env_081ef8a80a154c6e81a160dc9df50590","parentId":"env_2657f17ecf8c4490a11d21e7f4f1a77a","modified":1643965878926,"created":1634829469009,"name":"IIS02","data":{"BASE_URL":"https://iis02.egalware.com/ELM.API"},"dataPropertyOrder":{"&":["BASE_URL"]},"color":null,"isPrivate":false,"metaSortKey":1634552456998,"_type":"environment"},{"_id":"env_bd838edc3ce34c71a60425bd8312db37","parentId":"env_2657f17ecf8c4490a11d21e7f4f1a77a","modified":1651571593269,"created":1643965894623,"name":"liman.egalware.com","data":{"BASE_URL":"https://liman.egalware.com/ELM.API"},"dataPropertyOrder":{"&":["BASE_URL"]},"color":null,"isPrivate":false,"metaSortKey":1641093809517.25,"_type":"environment"},{"_id":"env_ec507cb8d8384aab9e95112edb357d79","parentId":"env_2657f17ecf8c4490a11d21e7f4f1a77a","modified":1650635491485,"created":1650635388818,"name":"UbuCoreLiman","data":{"BASE_URL":"http://10.74.82.211"},"dataPropertyOrder":{"&":["BASE_URL"]},"color":null,"isPrivate":false,"metaSortKey":1642184034937.125,"_type":"environment"}]} \ No newline at end of file +{"_type":"export","__export_format":4,"__export_date":"2024-08-06T16:34:17.970Z","__export_source":"insomnia.desktop.app:v2023.5.8","resources":[{"_id":"req_76eaf9e0c7b94e1597f8ce0404094dfc","parentId":"fld_5077c9deffee497084770311892c4a1b","modified":1650637798103,"created":1650637196552,"url":"{{ _.BASE_URL }}/api/health","name":"Status app","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1627351578942.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_5077c9deffee497084770311892c4a1b","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1650637782424,"created":1650637057533,"name":"Health","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636368176387,"_type":"request_group"},{"_id":"wrk_3a09551ac721482a8d6d6c3f49779247","parentId":null,"modified":1634829468996,"created":1634829468996,"name":"LicMan.Api","description":"","scope":"collection","_type":"workspace"},{"_id":"req_94c94c42242a4b86bb683ddb6e725c1b","parentId":"fld_c1433425ebce4a75b3ba11ed9f08f8b7","modified":1636368193729,"created":1634829469020,"url":"{{ _.BASE_URL }}/api/installazioni/steamware","name":"Installazioni SteamWare","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1627351578955,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_c1433425ebce4a75b3ba11ed9f08f8b7","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1636368188402,"created":1636368176337,"name":"Installazioni","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636368176337,"_type":"request_group"},{"_id":"req_2899c4fabc9f48c6a30bce59954c3cfa","parentId":"fld_c1433425ebce4a75b3ba11ed9f08f8b7","modified":1636368196015,"created":1634829560846,"url":"{{ _.BASE_URL }}/api/installazioni/ets","name":"Installazioni ETS","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1627351578905,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b14c304cb28c4e5f9f007cb25a622ae1","parentId":"fld_482ee06fd04a455f9bdfd63e6d42beae","modified":1636368237149,"created":1634829469026,"url":"{{ _.BASE_URL }}/api/applicazione/steamware?CodApp=GPW","name":"Applicazione SteamWare/GPW","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626751501333,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_482ee06fd04a455f9bdfd63e6d42beae","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1636368234020,"created":1636368225320,"name":"Applicazioni","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636368171824.5,"_type":"request_group"},{"_id":"req_4d5c0d20ba14481786b8371405435e21","parentId":"fld_482ee06fd04a455f9bdfd63e6d42beae","modified":1636368246723,"created":1634829655164,"url":"{{ _.BASE_URL }}/api/applicazione/steamware?CodApp=MAPO","name":"Applicazione SteamWare/MAPO","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626751501283,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_c9a692486b514617aaf8d2c1f892be6f","parentId":"fld_3d57099a4b81439b8c5e92b150bfa539","modified":1719225183801,"created":1634829684473,"url":"{{ _.BASE_URL }}/api/licenza/SteamWare?CodApp=GPW&Chiave=wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcMG3jbQhCb64JLs/Cuo1MaZ","name":"Licenza SteamWare/GPW","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626301443116.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_3d57099a4b81439b8c5e92b150bfa539","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1636368167312,"created":1636368167312,"name":"Licenze","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636368167312,"_type":"request_group"},{"_id":"req_2e02d48eda2c4b47bbec77e9eff1fd49","parentId":"fld_3d57099a4b81439b8c5e92b150bfa539","modified":1652711723314,"created":1652711697046,"url":"{{ _.BASE_URL }}/api/licenza/CheckScadenze","name":"Verifica Scadenze","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626263938271.375,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_4780b4e213544c3c90db5ed6d65fc3b1","parentId":"fld_3d57099a4b81439b8c5e92b150bfa539","modified":1650963414014,"created":1650963105672,"url":"{{ _.BASE_URL }}/api/licenza/steamware?CodApp=MAPO&Chiave=ybP3AuaGUYGhsrQmQjLW9IxtCFUAaB+ysjKXS1My3XJ9JsPsUQhl7WjitYFJ8pa/","name":"Licenza SteamWare/MAPO","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626226433426.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_d1be41b38bef478aadb079f4314da4f3","parentId":"fld_f402c65d1a884ee9bcc50d26f72634f3","modified":1719235806578,"created":1719235574305,"url":"{{ _.BASE_URL }}/api/attivazioni?chiave=wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcMG3jbQhCb64JLs/Cuo1MaZ","name":"GetCurrent","description":"","method":"GET","body":{"mimeType":"application/json","text":""},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ed76bfea595e4917be2ce6797185529e"}],"authentication":{},"metaSortKey":-1636368676649,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_f402c65d1a884ee9bcc50d26f72634f3","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1636368159634,"created":1636368159634,"name":"Attivazioni","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1636368159634,"_type":"request_group"},{"_id":"req_17c90dc4dbce45638ba74ac8c3e49403","parentId":"fld_f402c65d1a884ee9bcc50d26f72634f3","modified":1640104623780,"created":1636371347886,"url":"{{ _.BASE_URL }}/api/attivazioni","name":"TryAdd","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"masterKey\": \"wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcMGFsaExT+LBZLs/Cuo1MaZ\",\n \"paramDict\": {\n \"67cd028c209e240708c91b633db592b9\": \"9Y7rfqRTKB4xVVxk\",\n \"50458f523270eb9d2979cf3e3057abe2\": \"Et7kL0ed8WY=\",\n \"53ef5b634acf2de971572a90f2e351e9\": \"AZf4YaYHYZDcuUsh\"\n }\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ed76bfea595e4917be2ce6797185529e"}],"authentication":{},"metaSortKey":-1636368676549,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_be8323c2647e471c8d3ae1824a939865","parentId":"fld_f402c65d1a884ee9bcc50d26f72634f3","modified":1678790254091,"created":1678785720723,"url":"{{ _.BASE_URL }}/api/attivazioni/removeKey","name":"RemoveKey","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"masterKey\": \"wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcPj4vGZJmXj3ZLs/Cuo1MaZ\",\n \"paramDict\": {\n \"3b826f43eec9e603a892fa49020b9a9b\": \"19F4F894-F1AE-491F-AF74-1EE257260834\"\n }\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ed76bfea595e4917be2ce6797185529e"}],"authentication":{},"metaSortKey":-1636368676530.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_7d066009687247ef89f198fafcf30cb5","parentId":"fld_f402c65d1a884ee9bcc50d26f72634f3","modified":1636371488666,"created":1636368676499,"url":"{{ _.BASE_URL }}/api/attivazioni","name":"Delete SubLic","description":"","method":"DELETE","body":{"mimeType":"application/json","text":"{\n \"masterKey\": \"wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcMGFsaExT+LBZLs/Cuo1MaZ\",\n \"paramDict\": {\n \"67cd028c209e240708c91b633db592b9\": \"9Y7rfqRTKB4xVVxk\",\n \"50458f523270eb9d2979cf3e3057abe2\": \"Et7kL0ed8WY=\",\n \"53ef5b634acf2de971572a90f2e351e9\": \"AZf4YaYHYZDcuUsh\"\n }\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_af7596fa3a174c6f9e4fec738fa7fb07"}],"authentication":{},"metaSortKey":-1636368676499,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_bc76628fb2214b0f87ac41f876c0b7ae","parentId":"fld_23d6ab2fed7c4c4e9845ac5a04dbf811","modified":1644389168848,"created":1643962591421,"url":"{{ _.BASE_URL }}/api/filesave/list/12","name":"list","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"codApp\": \"MAPO-IOB-WIN-NEXT\",\n \"codImp\": \"\",\n \"codInst\": \"SteamWare\",\n \"contactEmail\": \"samuele@steamware.net\",\n \"contactName\": \"Samuele\",\n \"contactPhone\": \"035-460560\",\n \"idxSubLic\": 0,\n \"masterKey\": \"a3BRQz/1B34uvvcDoE/D38ssH/c/KSsjpn39wZsxOVsck9rGnBkF3xfUnj3edYIl\",\n \"reqBody\": \"Insomnia (file upload)\",\n\t\"tipo\": 2\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ed76bfea595e4917be2ce6797185529e"},{"id":"pair_1725d037122840abb3c3fccbafbc4275","name":"","value":"","description":""}],"authentication":{},"metaSortKey":-1636368676561.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_23d6ab2fed7c4c4e9845ac5a04dbf811","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1643962542199,"created":1640021680129,"name":"Files","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1626151423686,"_type":"request_group"},{"_id":"req_681a6a5336664d6e9120026f50667183","parentId":"fld_23d6ab2fed7c4c4e9845ac5a04dbf811","modified":1644388785640,"created":1644388125523,"url":"{{ _.BASE_URL }}/api/filesave/T000000012/4lohp04u.b4i/LogFiles.zip","name":"download","description":"","method":"GET","body":{},"parameters":[],"headers":[{"id":"pair_1725d037122840abb3c3fccbafbc4275","name":"","value":"","description":""}],"authentication":{},"metaSortKey":-1636368676555.25,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_0d09cffd954d47f385279e990386b0d8","parentId":"fld_23d6ab2fed7c4c4e9845ac5a04dbf811","modified":1643986763390,"created":1640168946681,"url":"{{ _.BASE_URL }}/api/filesave/single","name":"FileSaveSingle","description":"","method":"POST","body":{"mimeType":"multipart/form-data","params":[{"id":"pair_eb8cb2a89c3a4a90af9ec163cc00b654","name":"TicketId","value":"10","description":"","type":"text","multiline":false},{"id":"pair_ee247b7b1abe4a2eb835a43a8fbd871a","name":"file","value":"","description":"","type":"file","fileName":"C:\\Users\\samuele.steamw\\Downloads\\SCAMBIO DATI MES _ v2021.pdf"}]},"parameters":[],"headers":[{"name":"Content-Type","value":"multipart/form-data","id":"pair_ed76bfea595e4917be2ce6797185529e"},{"id":"pair_1725d037122840abb3c3fccbafbc4275","name":"","value":"","description":""}],"authentication":{},"metaSortKey":-1636368676511.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_2ab30a505449413a9b412d25fea43c32","parentId":"fld_23d6ab2fed7c4c4e9845ac5a04dbf811","modified":1643986766826,"created":1640021703467,"url":"{{ _.BASE_URL }}/api/filesave","name":"FileSaveMulti","description":"","method":"POST","body":{"mimeType":"multipart/form-data","params":[{"id":"pair_eb8cb2a89c3a4a90af9ec163cc00b654","name":"TicketId","value":"11","description":"","type":"text","multiline":false},{"id":"pair_ee247b7b1abe4a2eb835a43a8fbd871a","name":"files","value":"","description":"","type":"file","fileName":"C:\\Users\\samuele.steamw\\Downloads\\SCAMBIO DATI MES _ v2021.pdf"},{"id":"pair_bac89d30d9a448c18713efbc243697e8","name":"files","value":"","description":"","type":"file","fileName":"C:\\Users\\samuele.steamw\\Downloads\\Ewon_teleservice_T2MFree+_PRO_IT.pdf"}]},"parameters":[],"headers":[{"name":"Content-Type","value":"multipart/form-data","id":"pair_ed76bfea595e4917be2ce6797185529e"},{"id":"pair_1725d037122840abb3c3fccbafbc4275","name":"","value":"","description":""}],"authentication":{},"metaSortKey":-1636368676461.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_5c84e0cacc794daf8ee86af985a40f83","parentId":"fld_c43de7cc200f4af7821a220d46323898","modified":1643962587103,"created":1640082304061,"url":"{{ _.BASE_URL }}/api/ticket/sendReq","name":"sendReq","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n \"codApp\": \"MAPO-IOB-WIN-NEXT\",\n \"codImp\": \"\",\n \"codInst\": \"SteamWare\",\n \"contactEmail\": \"samuele@steamware.net\",\n \"contactName\": \"Samuele\",\n \"contactPhone\": \"035-460560\",\n \"idxSubLic\": 0,\n \"masterKey\": \"a3BRQz/1B34uvvcDoE/D38ssH/c/KSsjpn39wZsxOVsck9rGnBkF3xfUnj3edYIl\",\n \"reqBody\": \"Insomnia (file upload)\",\n\t\"tipo\": 2\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ed76bfea595e4917be2ce6797185529e"},{"id":"pair_1725d037122840abb3c3fccbafbc4275","name":"","value":"","description":""}],"authentication":{},"metaSortKey":-1626151423736,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_c43de7cc200f4af7821a220d46323898","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1722956221120,"created":1637220066948,"name":"Ticket","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1626151423684.4375,"_type":"request_group"},{"_id":"req_b0f61658a8f14ab7bd24c21d9c2e0f8f","parentId":"fld_c43de7cc200f4af7821a220d46323898","modified":1637220362640,"created":1637220082741,"url":"{{ _.BASE_URL }}/api/ticket/SteamWare?CodApp=GPW&Chiave=wAjUzZ4ZS10tEWul58J9lbPLhgdmC1W8BCru3vFJrcMGFsaExT%2BLBZLs%2FCuo1MaZ","name":"Ticket SteamWare/GPW","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1626151423686,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_e8868f080ba1430eb8d4cf9541ab89c1","parentId":"fld_c43de7cc200f4af7821a220d46323898","modified":1643899705502,"created":1643899685335,"url":"{{ _.BASE_URL }}/api/ticket/SteamWare?CodApp=MAPO-IOB-WIN-NEXT&Chiave=a3BRQz/1B34uvvcDoE/D38ssH/c/KSsjpn39wZsxOVsck9rGnBkF3xfUnj3edYIl","name":"Ticket SteamWare/MAPO-IOB-WIN","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1625551346076.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_ac9419176b87422387de3e0e8efdaa0e","parentId":"fld_df18577611e84208b55d8920daded17d","modified":1721315470573,"created":1721315445993,"url":"{{ _.BASE_URL }}/api/dbsync/anagkeyval/steamware?CodApp=MAPO","name":"Std MAPO - AnagKeyVal","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1721313520479,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_df18577611e84208b55d8920daded17d","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1722956211204,"created":1721313496423,"name":"DbSync","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1626151423682.875,"_type":"request_group"},{"_id":"req_6ec4c17700e14016823ecf418c492557","parentId":"fld_df18577611e84208b55d8920daded17d","modified":1721315454779,"created":1721313515685,"url":"{{ _.BASE_URL }}/api/dbsync/conf/steamware?CodApp=MAPO","name":"Std MAPO - Config","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1721313520379,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_b00194cf5d4049409af0ead5a4ce5eef","parentId":"fld_df18577611e84208b55d8920daded17d","modified":1721315487910,"created":1721315463457,"url":"{{ _.BASE_URL }}/api/dbsync/vocabolario/steamware?CodApp=MAPO","name":"Std MAPO - Vocabolario","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1719542732250.5,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_9256ef17dafe41b6a731a7ee66b4118d","parentId":"fld_ae961b8d701246eb8a7554f2226804ed","modified":1722956401340,"created":1722956245758,"url":"{{ _.BASE_URL }}/api/Release/EgtBeamWall","name":"GetAllReleases - EgtBW","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1722956258981,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"fld_ae961b8d701246eb8a7554f2226804ed","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1722956219215,"created":1722956206328,"name":"ReleasesVers","description":"","environment":{},"environmentPropertyOrder":null,"metaSortKey":-1626151423681.3125,"_type":"request_group"},{"_id":"req_83435a2bc3bb4cfdb55320c6dca501b5","parentId":"fld_ae961b8d701246eb8a7554f2226804ed","modified":1722961903196,"created":1722961845497,"url":"{{ _.BASE_URL }}/api/Release/filt/EgtBeamWall?VersMin=2.5.5.0","name":"GetFiltVers - EgtBeamWall","description":"","method":"GET","body":{},"parameters":[],"headers":[],"authentication":{},"metaSortKey":-1722134889730,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_2657f17ecf8c4490a11d21e7f4f1a77a","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1651571591838,"created":1634829468999,"name":"Base Environment","data":{},"dataPropertyOrder":{},"color":null,"isPrivate":false,"metaSortKey":1634552379782,"_type":"environment"},{"_id":"jar_f8077d7b5f8342d597a63cc01ce049e1","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1634829469014,"created":1634829469014,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_263d564c1fcd4e1f9e48fee3edc41fbb","parentId":"wrk_3a09551ac721482a8d6d6c3f49779247","modified":1634829469048,"created":1634829469017,"fileName":"LicMan.Api","contents":"","contentType":"yaml","_type":"api_spec"},{"_id":"env_8eaa28856e844ec8939391448724bccb","parentId":"env_2657f17ecf8c4490a11d21e7f4f1a77a","modified":1719224811499,"created":1634829469002,"name":"DEV","data":{"BASE_URL":"https://localhost:5003"},"dataPropertyOrder":{"&":["BASE_URL"]},"color":null,"isPrivate":false,"metaSortKey":1634552420009,"_type":"environment"},{"_id":"env_75f794443c404d1abbf9193e3a9b46b9","parentId":"env_2657f17ecf8c4490a11d21e7f4f1a77a","modified":1637220300521,"created":1634829469007,"name":"IIS01","data":{"BASE_URL":"https://iis01.egalware.com/ELM.API"},"dataPropertyOrder":{"&":["BASE_URL"]},"color":null,"isPrivate":false,"metaSortKey":1634552444561,"_type":"environment"},{"_id":"env_081ef8a80a154c6e81a160dc9df50590","parentId":"env_2657f17ecf8c4490a11d21e7f4f1a77a","modified":1643965878926,"created":1634829469009,"name":"IIS02","data":{"BASE_URL":"https://iis02.egalware.com/ELM.API"},"dataPropertyOrder":{"&":["BASE_URL"]},"color":null,"isPrivate":false,"metaSortKey":1634552456998,"_type":"environment"},{"_id":"env_bd838edc3ce34c71a60425bd8312db37","parentId":"env_2657f17ecf8c4490a11d21e7f4f1a77a","modified":1651571593269,"created":1643965894623,"name":"liman.egalware.com","data":{"BASE_URL":"https://liman.egalware.com/ELM.API"},"dataPropertyOrder":{"&":["BASE_URL"]},"color":null,"isPrivate":false,"metaSortKey":1641093809517.25,"_type":"environment"},{"_id":"env_ec507cb8d8384aab9e95112edb357d79","parentId":"env_2657f17ecf8c4490a11d21e7f4f1a77a","modified":1650635491485,"created":1650635388818,"name":"UbuCoreLiman","data":{"BASE_URL":"http://10.74.82.211"},"dataPropertyOrder":{"&":["BASE_URL"]},"color":null,"isPrivate":false,"metaSortKey":1642184034937.125,"_type":"environment"}]} \ No newline at end of file diff --git a/LiMan.DB/Controllers/DbController.cs b/LiMan.DB/Controllers/DbController.cs index 3db5b03..e0abda5 100644 --- a/LiMan.DB/Controllers/DbController.cs +++ b/LiMan.DB/Controllers/DbController.cs @@ -1188,6 +1188,7 @@ namespace LiMan.DB.Controllers } return dbResult; } + /// /// Elenco release (completo) dato un applicativo applicativi /// diff --git a/LiMan.Transfer/Resources/ChangeLog.html b/LiMan.Transfer/Resources/ChangeLog.html index 01415cd..43a97c2 100644 --- a/LiMan.Transfer/Resources/ChangeLog.html +++ b/LiMan.Transfer/Resources/ChangeLog.html @@ -1,6 +1,6 @@ License Manager -

Versione: 1.1.2408.0618

+

Versione: 1.1.2408.0619


Note di rilascio:
    diff --git a/LiMan.Transfer/Resources/VersNum.txt b/LiMan.Transfer/Resources/VersNum.txt index 92ab870..eb254ab 100644 --- a/LiMan.Transfer/Resources/VersNum.txt +++ b/LiMan.Transfer/Resources/VersNum.txt @@ -1 +1 @@ -1.1.2408.0618 +1.1.2408.0619 diff --git a/LiMan.Transfer/Resources/manifest.xml b/LiMan.Transfer/Resources/manifest.xml index 01ba4a7..b92add4 100644 --- a/LiMan.Transfer/Resources/manifest.xml +++ b/LiMan.Transfer/Resources/manifest.xml @@ -1,6 +1,6 @@ - 1.1.2408.0618 + 1.1.2408.0619 https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/LiMan.Transfer.zip https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/ChangeLog.html false diff --git a/LiMan.UI/LiMan.UI.csproj b/LiMan.UI/LiMan.UI.csproj index 231a728..c6f1fcc 100644 --- a/LiMan.UI/LiMan.UI.csproj +++ b/LiMan.UI/LiMan.UI.csproj @@ -2,7 +2,7 @@ net6.0 - 1.1.2408.0618 + 1.1.2408.0619 LiMan.UI LiMan.UI diff --git a/LiMan.UI/Resources/ChangeLog.html b/LiMan.UI/Resources/ChangeLog.html index bdb3a54..aa9d9cf 100644 --- a/LiMan.UI/Resources/ChangeLog.html +++ b/LiMan.UI/Resources/ChangeLog.html @@ -1,6 +1,6 @@ License Manager -

    Versione: 1.1.2408.0618

    +

    Versione: 1.1.2408.0619


    Note di rilascio:
    • diff --git a/LiMan.UI/Resources/VersNum.txt b/LiMan.UI/Resources/VersNum.txt index 92ab870..eb254ab 100644 --- a/LiMan.UI/Resources/VersNum.txt +++ b/LiMan.UI/Resources/VersNum.txt @@ -1 +1 @@ -1.1.2408.0618 +1.1.2408.0619 diff --git a/LiMan.UI/Resources/manifest.xml b/LiMan.UI/Resources/manifest.xml index 3f622a7..641835d 100644 --- a/LiMan.UI/Resources/manifest.xml +++ b/LiMan.UI/Resources/manifest.xml @@ -1,6 +1,6 @@ - 1.1.2408.0618 + 1.1.2408.0619 https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/LiMan.UI.zip https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/ChangeLog.html false diff --git a/TestWinFormVB/App.config b/TestWinFormVB/App.config new file mode 100644 index 0000000..1662e86 --- /dev/null +++ b/TestWinFormVB/App.config @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/TestWinFormVB/Form1.Designer.vb b/TestWinFormVB/Form1.Designer.vb new file mode 100644 index 0000000..dfdf995 --- /dev/null +++ b/TestWinFormVB/Form1.Designer.vb @@ -0,0 +1,132 @@ + _ +Partial Class Form1 + Inherits System.Windows.Forms.Form + + 'Form overrides dispose to clean up the component list. + _ + Protected Overrides Sub Dispose(ByVal disposing As Boolean) + Try + If disposing AndAlso components IsNot Nothing Then + components.Dispose() + End If + Finally + MyBase.Dispose(disposing) + End Try + End Sub + + 'Required by the Windows Form Designer + Private components As System.ComponentModel.IContainer + + 'NOTE: The following procedure is required by the Windows Form Designer + 'It can be modified using the Windows Form Designer. + 'Do not modify it using the code editor. + _ + Private Sub InitializeComponent() + Me.Button1 = New System.Windows.Forms.Button() + Me.txtOut = New System.Windows.Forms.TextBox() + Me.Button2 = New System.Windows.Forms.Button() + Me.Button3 = New System.Windows.Forms.Button() + Me.txtMinVers = New System.Windows.Forms.TextBox() + Me.txtCodApp = New System.Windows.Forms.TextBox() + Me.Label1 = New System.Windows.Forms.Label() + Me.Label2 = New System.Windows.Forms.Label() + Me.SuspendLayout() + ' + 'Button1 + ' + Me.Button1.Location = New System.Drawing.Point(12, 12) + Me.Button1.Name = "Button1" + Me.Button1.Size = New System.Drawing.Size(133, 23) + Me.Button1.TabIndex = 0 + Me.Button1.Text = "Server Test" + Me.Button1.UseVisualStyleBackColor = True + ' + 'txtOut + ' + Me.txtOut.Location = New System.Drawing.Point(181, 58) + Me.txtOut.Multiline = True + Me.txtOut.Name = "txtOut" + Me.txtOut.Size = New System.Drawing.Size(607, 380) + Me.txtOut.TabIndex = 1 + ' + 'Button2 + ' + Me.Button2.Location = New System.Drawing.Point(12, 56) + Me.Button2.Name = "Button2" + Me.Button2.Size = New System.Drawing.Size(133, 23) + Me.Button2.TabIndex = 2 + Me.Button2.Text = "Get All Releases" + Me.Button2.UseVisualStyleBackColor = True + ' + 'Button3 + ' + Me.Button3.Location = New System.Drawing.Point(12, 95) + Me.Button3.Name = "Button3" + Me.Button3.Size = New System.Drawing.Size(133, 23) + Me.Button3.TabIndex = 3 + Me.Button3.Text = "Get Vers From" + Me.Button3.UseVisualStyleBackColor = True + ' + 'txtMinVers + ' + Me.txtMinVers.Location = New System.Drawing.Point(449, 14) + Me.txtMinVers.Name = "txtMinVers" + Me.txtMinVers.Size = New System.Drawing.Size(133, 20) + Me.txtMinVers.TabIndex = 4 + Me.txtMinVers.Text = "2.5.5.0" + ' + 'txtCodApp + ' + Me.txtCodApp.Location = New System.Drawing.Point(226, 12) + Me.txtCodApp.Name = "txtCodApp" + Me.txtCodApp.Size = New System.Drawing.Size(133, 20) + Me.txtCodApp.TabIndex = 5 + Me.txtCodApp.Text = "EgtBeamWall" + ' + 'Label1 + ' + Me.Label1.AutoSize = True + Me.Label1.Location = New System.Drawing.Point(178, 17) + Me.Label1.Name = "Label1" + Me.Label1.Size = New System.Drawing.Size(45, 13) + Me.Label1.TabIndex = 6 + Me.Label1.Text = "CodApp" + ' + 'Label2 + ' + Me.Label2.AutoSize = True + Me.Label2.Location = New System.Drawing.Point(398, 17) + Me.Label2.Name = "Label2" + Me.Label2.Size = New System.Drawing.Size(51, 13) + Me.Label2.TabIndex = 7 + Me.Label2.Text = "Min Vers:" + ' + 'Form1 + ' + Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!) + Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font + Me.ClientSize = New System.Drawing.Size(800, 450) + Me.Controls.Add(Me.Label2) + Me.Controls.Add(Me.Label1) + Me.Controls.Add(Me.txtCodApp) + Me.Controls.Add(Me.txtMinVers) + Me.Controls.Add(Me.Button3) + Me.Controls.Add(Me.Button2) + Me.Controls.Add(Me.txtOut) + Me.Controls.Add(Me.Button1) + Me.Name = "Form1" + Me.Text = "Form1" + Me.ResumeLayout(False) + Me.PerformLayout() + + End Sub + + Friend WithEvents Button1 As Button + Friend WithEvents txtOut As TextBox + Friend WithEvents Button2 As Button + Friend WithEvents Button3 As Button + Friend WithEvents txtMinVers As TextBox + Friend WithEvents txtCodApp As TextBox + Friend WithEvents Label1 As Label + Friend WithEvents Label2 As Label +End Class diff --git a/TestWinFormVB/Form1.resx b/TestWinFormVB/Form1.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TestWinFormVB/Form1.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TestWinFormVB/Form1.vb b/TestWinFormVB/Form1.vb new file mode 100644 index 0000000..cd1afe3 --- /dev/null +++ b/TestWinFormVB/Form1.vb @@ -0,0 +1,68 @@ +Imports EgwProxy.LiMan + +Public Class Form1 + + +#If DEBUG Then + + ' Indirizzo server (DEBUG) + Private servAddr As String = "localhost:5003" + +#Else + + ' Indirizzo server (DEBUG) + Private servAddr As String = "liman.egalware.com/ELM.API" + +#End If + + + Private commLib As DataSyncro + + Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click + ' esegue test comunicazione server (ping, alive) + commLib = New DataSyncro(servAddr) + Dim servOk As Boolean + servOk = commLib.CheckRemote() + Dim esito As String = "" + If (servOk) Then + esito = "Test Ping: OK" + Else + esito = "Test Ping: KO" + End If + txtOut.Text = esito + End Sub + + Private Async Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click + ' recupera e mostra dati elenco materiali + commLib = New DataSyncro(servAddr) + + Dim result As String = "" + + Dim matList = Await commLib.ReleaseGetAllAsync(txtCodApp.Text) + If matList IsNot Nothing Then + + For Each item In matList + result += $"{item.CodApp} | {item.VersNum} | {item.VersText} | {item.ReleaseDate:yyyy-MM-dd}{Environment.NewLine}" + Next + End If + + txtOut.Text = result + End Sub + + Private Async Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click + ' recupera e mostra dati elenco materiali + commLib = New DataSyncro(servAddr) + + Dim result As String = "" + + Dim matList = Await commLib.ReleaseGetFiltAsync(txtCodApp.Text, txtMinVers.Text) + If matList IsNot Nothing Then + + For Each item In matList + result += $"{item.CodApp} | {item.VersNum} | {item.VersText} | {item.ReleaseDate:yyyy-MM-dd}{Environment.NewLine}" + Next + End If + + txtOut.Text = result + End Sub +End Class diff --git a/TestWinFormVB/My Project/Application.Designer.vb b/TestWinFormVB/My Project/Application.Designer.vb new file mode 100644 index 0000000..3ec410d --- /dev/null +++ b/TestWinFormVB/My Project/Application.Designer.vb @@ -0,0 +1,44 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + 'NOTE: This file is auto-generated; do not modify it directly. To make changes, + ' or if you encounter build errors in this file, go to the Project Designer + ' (go to Project Properties or double-click the My Project node in + ' Solution Explorer), and make changes on the Application tab. + ' + Partial Friend Class MyApplication + + _ + Public Sub New() + MyBase.New(Global.Microsoft.VisualBasic.ApplicationServices.AuthenticationMode.Windows) + Me.IsSingleInstance = false + Me.EnableVisualStyles = true + Me.SaveMySettingsOnExit = true + Me.ShutDownStyle = Global.Microsoft.VisualBasic.ApplicationServices.ShutdownMode.AfterMainFormCloses + End Sub + + _ + Protected Overrides Sub OnCreateMainForm() + Me.MainForm = Global.TestWinFormVB.Form1 + End Sub + + _ + Protected Overrides Function OnInitialize(ByVal commandLineArgs As System.Collections.ObjectModel.ReadOnlyCollection(Of String)) As Boolean + Me.MinimumSplashScreenDisplayTime = 0 + Return MyBase.OnInitialize(commandLineArgs) + End Function + End Class +End Namespace diff --git a/TestWinFormVB/My Project/Application.myapp b/TestWinFormVB/My Project/Application.myapp new file mode 100644 index 0000000..1243847 --- /dev/null +++ b/TestWinFormVB/My Project/Application.myapp @@ -0,0 +1,11 @@ + + + true + Form1 + false + 0 + true + 0 + 0 + true + diff --git a/TestWinFormVB/My Project/AssemblyInfo.vb b/TestWinFormVB/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..249a96e --- /dev/null +++ b/TestWinFormVB/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/TestWinFormVB/My Project/Resources.Designer.vb b/TestWinFormVB/My Project/Resources.Designer.vb new file mode 100644 index 0000000..c5f34f5 --- /dev/null +++ b/TestWinFormVB/My Project/Resources.Designer.vb @@ -0,0 +1,63 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + +Imports System + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("TestWinFormVB.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/TestWinFormVB/My Project/Resources.resx b/TestWinFormVB/My Project/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/TestWinFormVB/My Project/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/TestWinFormVB/My Project/Settings.Designer.vb b/TestWinFormVB/My Project/Settings.Designer.vb new file mode 100644 index 0000000..9a80e6c --- /dev/null +++ b/TestWinFormVB/My Project/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:4.0.30319.42000 +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.TestWinFormVB.My.MySettings + Get + Return Global.TestWinFormVB.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/TestWinFormVB/My Project/Settings.settings b/TestWinFormVB/My Project/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/TestWinFormVB/My Project/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/TestWinFormVB/TestWinFormVB.vbproj b/TestWinFormVB/TestWinFormVB.vbproj new file mode 100644 index 0000000..582ce0c --- /dev/null +++ b/TestWinFormVB/TestWinFormVB.vbproj @@ -0,0 +1,169 @@ + + + + + Debug + AnyCPU + {CC0A7D8F-0888-45F5-B791-FCD90349CD21} + WinExe + TestWinFormVB.My.MyApplication + TestWinFormVB + TestWinFormVB + 512 + WindowsForms + v4.7.2 + true + true + + + + AnyCPU + true + full + true + true + bin\Debug\ + TestWinFormVB.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + AnyCPU + pdbonly + false + true + true + bin\Release\ + TestWinFormVB.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + On + + + Binary + + + Off + + + On + + + + ..\packages\EgwProxy.LiMan.1.0.2408-beta.709\lib\EgwProxy.LiMan.dll + + + ..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll + + + ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll + + + ..\packages\NLog.5.3.2\lib\net46\NLog.dll + + + ..\packages\RestSharp.111.2.0\lib\net471\RestSharp.dll + + + + ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll + + + + + + + + ..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll + + + + ..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll + + + ..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll + + + ..\packages\System.Text.Encodings.Web.8.0.0\lib\net462\System.Text.Encodings.Web.dll + + + ..\packages\System.Text.Json.8.0.3\lib\net462\System.Text.Json.dll + + + ..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll + + + ..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll + + + + + + + + + + + + + + + + + + + + + + + + + Form + + + Form1.vb + Form + + + + True + Application.myapp + True + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + Form1.vb + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + \ No newline at end of file diff --git a/TestWinFormVB/packages.config b/TestWinFormVB/packages.config new file mode 100644 index 0000000..196a88a --- /dev/null +++ b/TestWinFormVB/packages.config @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file