From 3f90dc60167571c5e0624534e9b3a60f92064900 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 6 Aug 2024 19:13:45 +0200 Subject: [PATCH 01/15] Completato ConsoleTestApp con tutto e filtrato --- EgwProxy.LiMan.ConsoleTest/App.config | 6 + .../EgwProxy.LiMan.ConsoleTest.csproj | 59 +++++ EgwProxy.LiMan.ConsoleTest/Program.cs | 76 +++++++ .../Properties/AssemblyInfo.cs | 36 +++ EgwProxy.LiMan/DataSyncro.cs | 214 ++++++++++++++++-- EgwProxy.LiMan/EgwProxy.LiMan.csproj | 1 + 6 files changed, 368 insertions(+), 24 deletions(-) create mode 100644 EgwProxy.LiMan.ConsoleTest/App.config create mode 100644 EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj create mode 100644 EgwProxy.LiMan.ConsoleTest/Program.cs create mode 100644 EgwProxy.LiMan.ConsoleTest/Properties/AssemblyInfo.cs diff --git a/EgwProxy.LiMan.ConsoleTest/App.config b/EgwProxy.LiMan.ConsoleTest/App.config new file mode 100644 index 0000000..b50c74f --- /dev/null +++ b/EgwProxy.LiMan.ConsoleTest/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj b/EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj new file mode 100644 index 0000000..bcace41 --- /dev/null +++ b/EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj @@ -0,0 +1,59 @@ + + + + + Debug + AnyCPU + {5DADD362-4B14-45AD-AB0A-B30361D7449B} + Exe + EgwProxy.LiMan.ConsoleTest + EgwProxy.LiMan.ConsoleTest + v4.6.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/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..00583c2 100644 --- a/EgwProxy.LiMan/EgwProxy.LiMan.csproj +++ b/EgwProxy.LiMan/EgwProxy.LiMan.csproj @@ -83,6 +83,7 @@ + From f6a91943b0d6dc424f16df8556558366a5fc2765 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 6 Aug 2024 19:13:56 +0200 Subject: [PATCH 02/15] Update insomnia test file --- InsomniaRest/TestCall.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 9fbd8600ab3b5f9f085fc00184097c5be73cbb93 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 6 Aug 2024 19:14:07 +0200 Subject: [PATCH 03/15] Update controller output dati filtrati --- EgwProxy.LiMan.sln | 6 ++++++ LiMan.DB/Controllers/DbController.cs | 1 + LiMan.Transfer/Resources/ChangeLog.html | 2 +- LiMan.Transfer/Resources/VersNum.txt | 2 +- LiMan.Transfer/Resources/manifest.xml | 2 +- LiMan.UI/LiMan.UI.csproj | 2 +- LiMan.UI/Resources/ChangeLog.html | 2 +- LiMan.UI/Resources/VersNum.txt | 2 +- LiMan.UI/Resources/manifest.xml | 2 +- 9 files changed, 14 insertions(+), 7 deletions(-) diff --git a/EgwProxy.LiMan.sln b/EgwProxy.LiMan.sln index afb67bc..d73e67e 100644 --- a/EgwProxy.LiMan.sln +++ b/EgwProxy.LiMan.sln @@ -5,6 +5,8 @@ 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 Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -15,6 +17,10 @@ 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 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE 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 From ba91bd9edb645982358c4bc0305b2011b56bc2ca Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 08:26:42 +0200 Subject: [PATCH 04/15] Update yaml x produrre nuget package --- .gitlab-ci.yml | 97 +++++++++++++++++++++++++++++++++-- EgwProxy.LiMan.Debug.nuspec | 24 +++++++++ EgwProxy.LiMan.Release.nuspec | 23 +++++++++ EgwProxy.LiMan.sln | 6 +++ 4 files changed, 147 insertions(+), 3 deletions(-) create mode 100644 EgwProxy.LiMan.Debug.nuspec create mode 100644 EgwProxy.LiMan.Release.nuspec diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2085af8..95c6fd8 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 @@ -91,11 +93,32 @@ 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" stages: - build - deploy + - release + +# -------------------------------- +# BUILD +# -------------------------------- UI:build: stage: build tags: @@ -125,8 +148,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 +246,58 @@ Transfer:deploy: - *hashBuild - *nexusUpload - +EgwProxy.LiMan:staging: + stage: staging + 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.Debug.nuspec b/EgwProxy.LiMan.Debug.nuspec new file mode 100644 index 0000000..78bd44c --- /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..661c716 --- /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 d73e67e..e1696f2 100644 --- a/EgwProxy.LiMan.sln +++ b/EgwProxy.LiMan.sln @@ -7,6 +7,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EgwProxy.LiMan", "EgwProxy. 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 @@ -21,6 +23,10 @@ Global {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 From fcd1f160718b2e9c3ecd44d3e9f2d1657e494637 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 08:29:41 +0200 Subject: [PATCH 05/15] Fix yaml x componenti nuspec --- .gitlab-ci.yml | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 95c6fd8..acd4fd3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,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 - | @@ -110,6 +97,32 @@ variables: 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 From 5e172e1022194c04a88c67bf09e95e25c18d5145 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 08:30:44 +0200 Subject: [PATCH 06/15] Inizio setup app winform --- TestWinFormVB/App.config | 6 + TestWinFormVB/Form1.Designer.vb | 132 ++++++++++++++++++ TestWinFormVB/Form1.resx | 120 ++++++++++++++++ TestWinFormVB/Form1.vb | 39 ++++++ .../My Project/Application.Designer.vb | 38 +++++ TestWinFormVB/My Project/Application.myapp | 11 ++ TestWinFormVB/My Project/AssemblyInfo.vb | 35 +++++ .../My Project/Resources.Designer.vb | 62 ++++++++ TestWinFormVB/My Project/Resources.resx | 117 ++++++++++++++++ TestWinFormVB/My Project/Settings.Designer.vb | 73 ++++++++++ TestWinFormVB/My Project/Settings.settings | 7 + TestWinFormVB/TestWinFormVB.vbproj | 123 ++++++++++++++++ 12 files changed, 763 insertions(+) create mode 100644 TestWinFormVB/App.config create mode 100644 TestWinFormVB/Form1.Designer.vb create mode 100644 TestWinFormVB/Form1.resx create mode 100644 TestWinFormVB/Form1.vb create mode 100644 TestWinFormVB/My Project/Application.Designer.vb create mode 100644 TestWinFormVB/My Project/Application.myapp create mode 100644 TestWinFormVB/My Project/AssemblyInfo.vb create mode 100644 TestWinFormVB/My Project/Resources.Designer.vb create mode 100644 TestWinFormVB/My Project/Resources.resx create mode 100644 TestWinFormVB/My Project/Settings.Designer.vb create mode 100644 TestWinFormVB/My Project/Settings.settings create mode 100644 TestWinFormVB/TestWinFormVB.vbproj diff --git a/TestWinFormVB/App.config b/TestWinFormVB/App.config new file mode 100644 index 0000000..61d0069 --- /dev/null +++ b/TestWinFormVB/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/TestWinFormVB/Form1.Designer.vb b/TestWinFormVB/Form1.Designer.vb new file mode 100644 index 0000000..e4d550d --- /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.0.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..d5484ef --- /dev/null +++ b/TestWinFormVB/Form1.vb @@ -0,0 +1,39 @@ +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 Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click + + End Sub + + Private Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click + + 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..e5be209 --- /dev/null +++ b/TestWinFormVB/My Project/Application.Designer.vb @@ -0,0 +1,38 @@ +'------------------------------------------------------------------------------ +' +' 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 + 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..c8f09e2 --- /dev/null +++ b/TestWinFormVB/My Project/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' 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.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(ByVal value As Global.System.Globalization.CultureInfo) + 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..12bb240 --- /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(ByVal sender As Global.System.Object, ByVal 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..83cec8c --- /dev/null +++ b/TestWinFormVB/TestWinFormVB.vbproj @@ -0,0 +1,123 @@ + + + + + Debug + AnyCPU + {CC0A7D8F-0888-45F5-B791-FCD90349CD21} + WinExe + TestWinFormVB.My.MyApplication + TestWinFormVB + TestWinFormVB + 512 + WindowsForms + v4.6.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 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Form + + + Form1.vb + Form + + + + True + Application.myapp + + + 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 From 927a89d3883a2c6b50be9416db232269676cc051 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 08:35:04 +0200 Subject: [PATCH 07/15] fix deploy stage x nuget --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index acd4fd3..3232bc1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -259,8 +259,8 @@ Transfer:deploy: - *hashBuild - *nexusUpload -EgwProxy.LiMan:staging: - stage: staging +EgwProxy.LiMan:deploy: + stage: deploy needs: ["EgwProxy.LiMan:build"] tags: - win From b409e698b71a6ac5e9ee7e5bc67ff7c57e874e10 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 08:38:20 +0200 Subject: [PATCH 08/15] Aggiunta nuget proxy x WinFormVB --- TestWinFormVB/App.config | 18 +++++++++++++- TestWinFormVB/TestWinFormVB.vbproj | 38 ++++++++++++++++++++++++++++++ TestWinFormVB/packages.config | 15 ++++++++++++ 3 files changed, 70 insertions(+), 1 deletion(-) create mode 100644 TestWinFormVB/packages.config diff --git a/TestWinFormVB/App.config b/TestWinFormVB/App.config index 61d0069..b61dd08 100644 --- a/TestWinFormVB/App.config +++ b/TestWinFormVB/App.config @@ -1,6 +1,22 @@ - + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/TestWinFormVB/TestWinFormVB.vbproj b/TestWinFormVB/TestWinFormVB.vbproj index 83cec8c..4a4fdc9 100644 --- a/TestWinFormVB/TestWinFormVB.vbproj +++ b/TestWinFormVB/TestWinFormVB.vbproj @@ -48,10 +48,47 @@ On + + ..\packages\EgwProxy.LiMan.1.0.2408-beta.708\lib\EgwProxy.LiMan.dll + + + ..\packages\Microsoft.Bcl.AsyncInterfaces.7.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll + + + ..\packages\Newtonsoft.Json.13.0.1\lib\net45\Newtonsoft.Json.dll + + + ..\packages\RestSharp.110.2.0\lib\netstandard2.0\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.7.0.0\lib\net462\System.Text.Encodings.Web.dll + + + ..\packages\System.Text.Json.7.0.2\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 + @@ -118,6 +155,7 @@ 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..39f1b71 --- /dev/null +++ b/TestWinFormVB/packages.config @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file From 4b6218ff75c785a9b4cee9433ee48c21e9a98321 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 08:54:26 +0200 Subject: [PATCH 09/15] Ancora update progetto VF (framework 4.7.2) --- TestWinFormVB/App.config | 22 ++++--- TestWinFormVB/Form1.vb | 4 +- .../My Project/Application.Designer.vb | 16 +++-- .../My Project/Resources.Designer.vb | 25 ++++---- TestWinFormVB/My Project/Settings.Designer.vb | 62 +++++++++---------- TestWinFormVB/TestWinFormVB.vbproj | 21 ++++--- TestWinFormVB/packages.config | 11 ++-- 7 files changed, 91 insertions(+), 70 deletions(-) diff --git a/TestWinFormVB/App.config b/TestWinFormVB/App.config index b61dd08..81a5883 100644 --- a/TestWinFormVB/App.config +++ b/TestWinFormVB/App.config @@ -1,22 +1,26 @@ - + - + - - + + - - + + - - + + + + + + - \ No newline at end of file + diff --git a/TestWinFormVB/Form1.vb b/TestWinFormVB/Form1.vb index d5484ef..da367df 100644 --- a/TestWinFormVB/Form1.vb +++ b/TestWinFormVB/Form1.vb @@ -1,4 +1,6 @@ -Public Class Form1 +Imports EgwProxy.LiMan + +Public Class Form1 #If DEBUG Then diff --git a/TestWinFormVB/My Project/Application.Designer.vb b/TestWinFormVB/My Project/Application.Designer.vb index e5be209..3ec410d 100644 --- a/TestWinFormVB/My Project/Application.Designer.vb +++ b/TestWinFormVB/My Project/Application.Designer.vb @@ -13,15 +13,15 @@ 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 @@ -29,10 +29,16 @@ Namespace My 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/Resources.Designer.vb b/TestWinFormVB/My Project/Resources.Designer.vb index c8f09e2..c5f34f5 100644 --- a/TestWinFormVB/My Project/Resources.Designer.vb +++ b/TestWinFormVB/My Project/Resources.Designer.vb @@ -11,9 +11,10 @@ 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 @@ -21,20 +22,20 @@ Namespace My.Resources ''' ''' 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 @@ -44,17 +45,17 @@ Namespace My.Resources 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(ByVal value As Global.System.Globalization.CultureInfo) + Set resourceCulture = value End Set End Property diff --git a/TestWinFormVB/My Project/Settings.Designer.vb b/TestWinFormVB/My Project/Settings.Designer.vb index 12bb240..9a80e6c 100644 --- a/TestWinFormVB/My Project/Settings.Designer.vb +++ b/TestWinFormVB/My Project/Settings.Designer.vb @@ -13,42 +13,42 @@ 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) - + + 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 addedHandler As Boolean - Private Shared addedHandlerLockObject As New Object + Private Shared addedHandlerLockObject As New Object - _ - Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) - If My.Application.SaveMySettingsOnExit Then - My.Settings.Save() - End If - End Sub + _ + 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 + 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 @@ -57,13 +57,13 @@ Namespace My End Namespace Namespace My - - _ + + _ Friend Module MySettingsProperty - - _ + + _ Friend ReadOnly Property Settings() As Global.TestWinFormVB.My.MySettings Get Return Global.TestWinFormVB.My.MySettings.Default diff --git a/TestWinFormVB/TestWinFormVB.vbproj b/TestWinFormVB/TestWinFormVB.vbproj index 4a4fdc9..9f82b1f 100644 --- a/TestWinFormVB/TestWinFormVB.vbproj +++ b/TestWinFormVB/TestWinFormVB.vbproj @@ -11,9 +11,10 @@ TestWinFormVB 512 WindowsForms - v4.6.2 + v4.7.2 true true + AnyCPU @@ -51,12 +52,15 @@ ..\packages\EgwProxy.LiMan.1.0.2408-beta.708\lib\EgwProxy.LiMan.dll - - ..\packages\Microsoft.Bcl.AsyncInterfaces.7.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.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.110.2.0\lib\netstandard2.0\RestSharp.dll @@ -64,9 +68,11 @@ ..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll + + ..\packages\System.Memory.4.5.5\lib\net461\System.Memory.dll @@ -77,11 +83,11 @@ ..\packages\System.Runtime.CompilerServices.Unsafe.6.0.0\lib\net461\System.Runtime.CompilerServices.Unsafe.dll - - ..\packages\System.Text.Encodings.Web.7.0.0\lib\net462\System.Text.Encodings.Web.dll + + ..\packages\System.Text.Encodings.Web.8.0.0\lib\net462\System.Text.Encodings.Web.dll - - ..\packages\System.Text.Json.7.0.2\lib\net462\System.Text.Json.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 @@ -121,6 +127,7 @@ True Application.myapp + True True diff --git a/TestWinFormVB/packages.config b/TestWinFormVB/packages.config index 39f1b71..fe990b3 100644 --- a/TestWinFormVB/packages.config +++ b/TestWinFormVB/packages.config @@ -1,15 +1,16 @@  - + - + + - - + + - + \ No newline at end of file From ff8f86c9caac9890b5bb340c4fcb252df56db7f8 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 08:54:38 +0200 Subject: [PATCH 10/15] update target framework --- EgwProxy.LiMan.ConsoleTest/App.config | 22 ++++++++++++++++--- .../EgwProxy.LiMan.ConsoleTest.csproj | 3 ++- EgwProxy.LiMan/EgwProxy.LiMan.csproj | 6 ++--- EgwProxy.LiMan/app.config | 16 +++++++++----- EgwProxy.LiMan/packages.config | 4 ++-- 5 files changed, 36 insertions(+), 15 deletions(-) diff --git a/EgwProxy.LiMan.ConsoleTest/App.config b/EgwProxy.LiMan.ConsoleTest/App.config index b50c74f..cad504d 100644 --- a/EgwProxy.LiMan.ConsoleTest/App.config +++ b/EgwProxy.LiMan.ConsoleTest/App.config @@ -1,6 +1,22 @@ - + - + - \ No newline at end of file + + + + + + + + + + + + + + + + + diff --git a/EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj b/EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj index bcace41..bb7fce1 100644 --- a/EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj +++ b/EgwProxy.LiMan.ConsoleTest/EgwProxy.LiMan.ConsoleTest.csproj @@ -8,10 +8,11 @@ Exe EgwProxy.LiMan.ConsoleTest EgwProxy.LiMan.ConsoleTest - v4.6.2 + v4.7.2 512 true true + AnyCPU diff --git a/EgwProxy.LiMan/EgwProxy.LiMan.csproj b/EgwProxy.LiMan/EgwProxy.LiMan.csproj index 00583c2..8b7ac4c 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 @@ -41,8 +41,8 @@ ..\packages\NLog.5.0.1\lib\net46\NLog.dll - - ..\packages\RestSharp.111.2.0\lib\netstandard2.0\RestSharp.dll + + ..\packages\RestSharp.110.2.0\lib\netstandard2.0\RestSharp.dll diff --git a/EgwProxy.LiMan/app.config b/EgwProxy.LiMan/app.config index 43cb8c3..38b8bea 100644 --- a/EgwProxy.LiMan/app.config +++ b/EgwProxy.LiMan/app.config @@ -1,15 +1,19 @@ - + - - + + - - + + + + + + - + diff --git a/EgwProxy.LiMan/packages.config b/EgwProxy.LiMan/packages.config index 89ed905..017f985 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 From 32c75cdd051b818c5e1d28ebc4c4f85f7de750f5 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 08:56:49 +0200 Subject: [PATCH 11/15] update vers restsharp x WinForm --- TestWinFormVB/App.config | 20 ++++++++++---------- TestWinFormVB/TestWinFormVB.vbproj | 5 +++-- TestWinFormVB/packages.config | 2 +- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/TestWinFormVB/App.config b/TestWinFormVB/App.config index 81a5883..1662e86 100644 --- a/TestWinFormVB/App.config +++ b/TestWinFormVB/App.config @@ -1,25 +1,25 @@ - + - + - - + + - - + + - - + + - - + + diff --git a/TestWinFormVB/TestWinFormVB.vbproj b/TestWinFormVB/TestWinFormVB.vbproj index 9f82b1f..672bacb 100644 --- a/TestWinFormVB/TestWinFormVB.vbproj +++ b/TestWinFormVB/TestWinFormVB.vbproj @@ -61,8 +61,8 @@ ..\packages\NLog.5.3.2\lib\net46\NLog.dll - - ..\packages\RestSharp.110.2.0\lib\netstandard2.0\RestSharp.dll + + ..\packages\RestSharp.111.2.0\lib\net471\RestSharp.dll @@ -95,6 +95,7 @@ ..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll + diff --git a/TestWinFormVB/packages.config b/TestWinFormVB/packages.config index fe990b3..c0bdee6 100644 --- a/TestWinFormVB/packages.config +++ b/TestWinFormVB/packages.config @@ -4,7 +4,7 @@ - + From 5b8c294136f5c954c6b27cfd21a9b7aa9ae1697b Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 08:56:58 +0200 Subject: [PATCH 12/15] Update nuspec generico --- EgwProxy.LiMan.Debug.nuspec | 2 +- EgwProxy.LiMan.Release.nuspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/EgwProxy.LiMan.Debug.nuspec b/EgwProxy.LiMan.Debug.nuspec index 78bd44c..5f4c4df 100644 --- a/EgwProxy.LiMan.Debug.nuspec +++ b/EgwProxy.LiMan.Debug.nuspec @@ -12,7 +12,7 @@ #copyright# EgwProxy.LiMan LiMan Rest - + diff --git a/EgwProxy.LiMan.Release.nuspec b/EgwProxy.LiMan.Release.nuspec index 661c716..8ccd8e4 100644 --- a/EgwProxy.LiMan.Release.nuspec +++ b/EgwProxy.LiMan.Release.nuspec @@ -12,7 +12,7 @@ #copyright# EgwProxy.LiMan LiMan Rest - + From ae174cb0946a24abbf56a6d40d6724067d3a00a9 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 09:03:54 +0200 Subject: [PATCH 13/15] Fix compilazione con dipendenze RestSharp 111.2 --- EgwProxy.LiMan.ConsoleTest/App.config | 16 ++++++++-------- EgwProxy.LiMan/EgwProxy.LiMan.csproj | 4 ++-- EgwProxy.LiMan/app.config | 16 ++++++++-------- EgwProxy.LiMan/packages.config | 2 +- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/EgwProxy.LiMan.ConsoleTest/App.config b/EgwProxy.LiMan.ConsoleTest/App.config index cad504d..6366e67 100644 --- a/EgwProxy.LiMan.ConsoleTest/App.config +++ b/EgwProxy.LiMan.ConsoleTest/App.config @@ -1,21 +1,21 @@ - + - + - - + + - - + + - - + + diff --git a/EgwProxy.LiMan/EgwProxy.LiMan.csproj b/EgwProxy.LiMan/EgwProxy.LiMan.csproj index 8b7ac4c..9b9b246 100644 --- a/EgwProxy.LiMan/EgwProxy.LiMan.csproj +++ b/EgwProxy.LiMan/EgwProxy.LiMan.csproj @@ -41,8 +41,8 @@ ..\packages\NLog.5.0.1\lib\net46\NLog.dll - - ..\packages\RestSharp.110.2.0\lib\netstandard2.0\RestSharp.dll + + ..\packages\RestSharp.111.2.0\lib\net471\RestSharp.dll diff --git a/EgwProxy.LiMan/app.config b/EgwProxy.LiMan/app.config index 38b8bea..82f4cf2 100644 --- a/EgwProxy.LiMan/app.config +++ b/EgwProxy.LiMan/app.config @@ -1,19 +1,19 @@ - + - - + + - - + + - - + + - + diff --git a/EgwProxy.LiMan/packages.config b/EgwProxy.LiMan/packages.config index 017f985..8817406 100644 --- a/EgwProxy.LiMan/packages.config +++ b/EgwProxy.LiMan/packages.config @@ -3,7 +3,7 @@ - + From 122fd0bf0ec364664b44400252a87af086465af1 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 09:07:45 +0200 Subject: [PATCH 14/15] Fix restore su WinForm --- TestWinFormVB/TestWinFormVB.vbproj | 3 --- TestWinFormVB/packages.config | 1 - 2 files changed, 4 deletions(-) diff --git a/TestWinFormVB/TestWinFormVB.vbproj b/TestWinFormVB/TestWinFormVB.vbproj index 672bacb..47a83fd 100644 --- a/TestWinFormVB/TestWinFormVB.vbproj +++ b/TestWinFormVB/TestWinFormVB.vbproj @@ -49,9 +49,6 @@ On - - ..\packages\EgwProxy.LiMan.1.0.2408-beta.708\lib\EgwProxy.LiMan.dll - ..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll diff --git a/TestWinFormVB/packages.config b/TestWinFormVB/packages.config index c0bdee6..518e13d 100644 --- a/TestWinFormVB/packages.config +++ b/TestWinFormVB/packages.config @@ -1,6 +1,5 @@  - From 3a391b090c7a287913907432a4e03e061d4fa6dd Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 7 Aug 2024 09:14:06 +0200 Subject: [PATCH 15/15] Completata winform x test --- TestWinFormVB/Form1.Designer.vb | 2 +- TestWinFormVB/Form1.vb | 31 ++++++++++++++++++++++++++++-- TestWinFormVB/TestWinFormVB.vbproj | 3 +++ TestWinFormVB/packages.config | 1 + 4 files changed, 34 insertions(+), 3 deletions(-) diff --git a/TestWinFormVB/Form1.Designer.vb b/TestWinFormVB/Form1.Designer.vb index e4d550d..dfdf995 100644 --- a/TestWinFormVB/Form1.Designer.vb +++ b/TestWinFormVB/Form1.Designer.vb @@ -73,7 +73,7 @@ Partial Class Form1 Me.txtMinVers.Name = "txtMinVers" Me.txtMinVers.Size = New System.Drawing.Size(133, 20) Me.txtMinVers.TabIndex = 4 - Me.txtMinVers.Text = "2.5.0.0" + Me.txtMinVers.Text = "2.5.5.0" ' 'txtCodApp ' diff --git a/TestWinFormVB/Form1.vb b/TestWinFormVB/Form1.vb index da367df..cd1afe3 100644 --- a/TestWinFormVB/Form1.vb +++ b/TestWinFormVB/Form1.vb @@ -15,6 +15,7 @@ Public Class Form1 #End If + Private commLib As DataSyncro Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click @@ -31,11 +32,37 @@ Public Class Form1 txtOut.Text = esito End Sub - Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click + 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 Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click + 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/TestWinFormVB.vbproj b/TestWinFormVB/TestWinFormVB.vbproj index 47a83fd..582ce0c 100644 --- a/TestWinFormVB/TestWinFormVB.vbproj +++ b/TestWinFormVB/TestWinFormVB.vbproj @@ -49,6 +49,9 @@ 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 diff --git a/TestWinFormVB/packages.config b/TestWinFormVB/packages.config index 518e13d..196a88a 100644 --- a/TestWinFormVB/packages.config +++ b/TestWinFormVB/packages.config @@ -1,5 +1,6 @@  +