go to post Eduard Lebedyuk · Nov 10, 2018 Thanks!I see it still uses $zf(-1) in latest instead of $zf(-100). I thought $zf(-1) is unavailable now.
go to post Eduard Lebedyuk · Nov 10, 2018 You need so specify your base URL as URL property and pass the parameters in a method: set sc = ..Adapter.Get(.httpResponse, "key,key2", "value", "value2") It would send the following request: GET /baseURL?key=value&key2=value2 HTTP/1.1
go to post Eduard Lebedyuk · Nov 10, 2018 Is there an easier way to get value from OS call then Input redirection?
go to post Eduard Lebedyuk · Nov 10, 2018 Windows also has Ver command: USER>$Ver Microsoft Windows [Version 10.0.17134.345]
go to post Eduard Lebedyuk · Nov 9, 2018 If it's a REST/CSP so you can just write the response to the current device add at the beginning of your method: set %response.ContentType = "html" do ##class(%CSP.Utils).DisplayAllObjects() return $$$OK It would output all headers as Cache sees them. Have you tried: write %request.GetCgiEnv($zcvt("HTTP_MyCustomHeader", "U"))
go to post Eduard Lebedyuk · Nov 9, 2018 Note that you should build bitmap indices only for properties that have less than ~6400 distinct values. Also building indices may take time. Don't forget to recompile embedded SQL and purge dynamic SQL queries.
go to post Eduard Lebedyuk · Nov 1, 2018 Use ValidateStream method of Ens.Util.XML.Validator class. It does exactly what you need.
go to post Eduard Lebedyuk · Oct 25, 2018 As I'm the author of RESTForms, I'd recommend that. The advantage is that it offers not only JSON<->object transformation, but a complete CRUD REST API for your data.Calling @Stefan Cronje
go to post Eduard Lebedyuk · Oct 25, 2018 All approaches you are considering can work. if you're storing everything in one database, I'd recommend RLS.Much more important question is do you need storing everything separately or in the same place.Advantages of separated databases/servers:Easy to scaleWould work faster on a lot of casesEasy to delete/rebuild a chunkEasier securityAdvantages of unified database/server:Cross-chunk queries are easier (For example: This venue is sold out on the dates you need. We recommend the following nearby venues)Simple Backup/HA strategies
go to post Eduard Lebedyuk · Oct 25, 2018 Check RESTForms project - it aims to do exactly that.Community article: part 1, part 2.
go to post Eduard Lebedyuk · Oct 22, 2018 You can just pass the stream directly, no need to read from it: set parObj = {}.%FromJSON(%request.Content)
go to post Eduard Lebedyuk · Oct 19, 2018 Some XSLT engines can process arbitrary javascript as code.
go to post Eduard Lebedyuk · Oct 18, 2018 Achieving FIFO with Ensemble is an interesting task.Do you control queue population?If so you can send the message only if the queue is empty and process is idle.For example create a proxy process that sends only one message at a time.
go to post Eduard Lebedyuk · Oct 16, 2018 There are far more efficient ways to do that.Move tables you want shared into a separate Namespace with separate Code/Data databases.Map your data and code into original namespace.Verify that it all works as expected. So far it should work as before.Create a mirroring configuration.Add 2 created databases to the mirror configuration.Add second server as a DR mirror.Move databases to a DR mirror and mount them there.(Optional) Create a namespace with 2 mirrored databases.Add desired mappings on a second system.Docs.
go to post Eduard Lebedyuk · Oct 16, 2018 Check your BO message map. There's no entry for Test.SubscriberX class there.
go to post Eduard Lebedyuk · Oct 16, 2018 Why is it going to intersystems-community on F5?To check for updates.