go to post Eduard Lebedyuk · Jan 26, 2023 Audit event has a namespace property, filter by that. Same for timestamp, audit event timestamp and production class compilation timestamp are probably close to each other.
go to post Eduard Lebedyuk · Jan 26, 2023 Enable %Ensemble/%Production/ModifyConfiguration in System Audit Events: After that you should see these events:
go to post Eduard Lebedyuk · Jan 26, 2023 Audit table contains all production item changes you can query it once every X minutes/hours to get new changes.
go to post Eduard Lebedyuk · Jan 26, 2023 %objlasterror is %Status which is a binary format. You can store it in a property of a %Status type and use ODBC mode for SQL queries, or use $system.Status.DisplayError(sc) to get/store the display value.
go to post Eduard Lebedyuk · Jan 25, 2023 Try to export the project with one deployed class. Open exported xml and check if the class is there and deployed.
go to post Eduard Lebedyuk · Jan 25, 2023 No, should be the same. Do you see (deployed) classes in Studio/VSCode?
go to post Eduard Lebedyuk · Jan 25, 2023 Use args... to supply a variable number of parameters: ClassMethod DoCleverStuf(args...) As %Status [ CodeMode = objectgenerator ] { do %code.WriteLine(" For i=1:1:args {") do %code.WriteLine(" Write args(i)") do %code.WriteLine(" }") do %code.WriteLine(" Set tSC = $$$OK") ... } can I generate a whole method at compile time? You can use projections to do that. Here's an example.
go to post Eduard Lebedyuk · Jan 23, 2023 Only the pyramid characters count, having (or not having) white spaces at the end is not important. Test cases do have them, but if you shorten the solution and it outputs the pyramid without white spaces after the hashtag that's great too.
go to post Eduard Lebedyuk · Jan 20, 2023 I get a syntax error when I do: Are you doing this in console/terminal? Macros are not available there. To check if you got an error in a terminal execute: if sc=1 {w "OK"} else {w $system.Status.DisplayError(sc)}
go to post Eduard Lebedyuk · Jan 20, 2023 Assuming you have a sync mirror established, adding new db to mirror is as simple as: Create DB on Primary. Run SYS.Mirror:AddDatabase. It returns %Status, check that it's ok with $$$ISOK(sc). It should be equal to 1. Dismount database on Primary (using SYS.Database:DismountDatabase) OR Freeze IRIS (Backup.General:ExternalFreeze). Copy IRIS.DAT to Backup. Mount database on Primary (using SYS.Database:MountDatabase) OR Thaw IRIS (Backup.General:ExternalThaw). Mount database on Backup. Activate database on Backup (SYS.Mirror:ActivateMirroredDatabase). Catchup database on Backup (SYS.Mirror:CatchupDB). Please note that some methods accept db name, most accept db directory, and others db sfn. Please keep that in mind.
go to post Eduard Lebedyuk · Jan 19, 2023 Eduard, Is the rate at which one BS can process known or is it variable based on data unit to be processed? It is variable based on data unit to be processed. Data unit (file) size varies between 1Kb and 100Mb. Similarly is the rate of arrival known or possible to detect? IRIS BS pulls messages, so as soon as BS job is done with the message, next message is pulled from the external queue (AWS SQS). Is the design to have all the processing of a data unit in the BS rather than pass to a BP/BO? Yes, it's a stateless app, so I need to process message and report success/error immediately since container can be reprovisioned at any time.
go to post Eduard Lebedyuk · Jan 19, 2023 CPU utilization would likely depend on the number of workers, wouldn't it? It sure does. Question is how to scale workers to optimize queue consumption
go to post Eduard Lebedyuk · Jan 19, 2023 Go to the SMP -> System Administration -> Configuration -> National Language Settings -> Locale Definitions and compare selected locales.
go to post Eduard Lebedyuk · Jan 18, 2023 Try: ##class(%Studio.Project).InstallFromFile( "/display=none /displaylog=0 /displayerror=0")
go to post Eduard Lebedyuk · Jan 17, 2023 The simpliest solution would be to call RestartWebServer as a final step of your deployment pipeline.
go to post Eduard Lebedyuk · Jan 13, 2023 Yes, like that. Is it the same OS? You can also try running: openssl s_client -connect <URL or IP>:<port>
go to post Eduard Lebedyuk · Jan 13, 2023 Would it work with Enabled cipherlist (TLSv1.2 and below): ALL Can you set Maximum Protocol Version to TLSv1.3?