go to post Oliver Wilms · Jan 12, 2024 Characters like \ and CR LF must be escaped. In BPL I assign myVariable = request.RawContent Conversion to JSON was successful with this: Set data={} Set data.value=myVariable Set x=data.%ToJSON()
go to post Oliver Wilms · Nov 28, 2023 I think you need more quotes for "proper" JSON ineaConComasAlFinal: iris_cpu_pct{id='AUXWD'}": 0,iris_cpu_pct{id='CSPSRV'}": 0, proper JSON is { "iris_cpu_pct{id='AUXWD'}": 0,"iris_cpu_pct{id='CSPSRV'}": 0,... }
go to post Oliver Wilms · Nov 28, 2023 set lineaConComasAlFinal = $REPLACE(lineaConDobleComillaDosPuntosEnMedio, $CHAR(10),",")
go to post Oliver Wilms · Nov 27, 2023 You can run a SQL Query like this: SELECT * FROM ENS_UTIL.LOG WHERE Type = 'Trace' AND Text=...
go to post Oliver Wilms · Nov 19, 2023 Hello, Helmut. I also tried to integrate IRS with Kafka. My problem is our cluster requires SCRAM-512 authentication. Apparently IRIS only offers SASL plain without tls encryption. I just entered an enhacement idea here: https://ideas.intersystems.com/ideas/DPI-I-484
go to post Oliver Wilms · Nov 19, 2023 Date, time, process / job id, log level, event type, log message. Log level 0 is normal, 2 is warning, 3 is critical
go to post Oliver Wilms · Nov 12, 2023 It appears the servers have different hostnames (a and b), but the certificate has only the server a. You need a second SSL certificate for server b or get a certificate that includes both server names.
go to post Oliver Wilms · Jun 30, 2023 Thank you, Evgeny, for pointing out how to update user(s) by using CPF Merge. I still like to have an option to configure a group of users in a single file and import this group of users with their passwords into several different IRIS instances which may use different CFP Merge files already. If there is a change to my users, I just update the XML file which gets imported using %ZSTART routine whenever any IRIS instance starts.
go to post Oliver Wilms · Apr 22, 2023 I uploaded YouTube video about audit-consolidator: https://www.youtube.com/watch?v=KYen4hEZR9c
go to post Oliver Wilms · Apr 22, 2023 I do not see any bonus for audit-consolidator. I wrote 3 articles. I created online demo. I am trying to upload my video.
go to post Oliver Wilms · Apr 22, 2023 I like that ZPM Package Manager automatically imports what is defined in requirements.txt for Python.
go to post Oliver Wilms · Apr 21, 2023 Hello, I have written two articles and I will write one more. I also deployed online demo for audit-consolidator. Thank you
go to post Oliver Wilms · Apr 21, 2023 I fixed the error running audit-consolidator in AWS by adjusting directory permissions. irisowner did not have write permissions on /home/irisowner/irisdev directory until I ran "chmod 777 ."
go to post Oliver Wilms · Apr 18, 2023 I decided to just send the filename and then the compute pod can Read the file on a shared volume.
go to post Oliver Wilms · Apr 14, 2023 My dynamic object contains three properties, like this: Set dynObject1.Filename = "myzipfile.gz" Set dynObject1.SiteId = "123" But how can I say dynObject1.Stream = request.Stream which contains large binary stream?
go to post Oliver Wilms · Mar 23, 2023 The object is passed to the SQL Outbound operation. It is a Ens.StreamContainer and Ens.Request which are automatically persisted, meaning saved into the table.
go to post Oliver Wilms · Mar 23, 2023 I understand your original question was why the data was saved twice. I would try to comment out the %Save() and see if you get new data one time.
go to post Oliver Wilms · Mar 23, 2023 pInput As Patient.PatientDBReq is automatically persisted. You do not need to explicitly call %Save()
go to post Oliver Wilms · Mar 21, 2023 The error from Prepare will write to messages.log with this change: Class otw.dynq { ClassMethod prepareQ() As %Status { Set result=##class(%ResultSet).%New("%DynamicQuery:SQL") Set sc=result.Prepare("SELECT %ID, Name, Salary FROM Sample.Employee WHERE Salary > ?") If $$$ISERR(sc) { // here I want to capture the error details in trace , log , that I can see in production web page Try { Set x = $System.Status.GetOneStatusText(sc) Do ##class(%SYS.System).WriteToConsoleLog("otw.dynq prepareQ: "_x) } Catch exception { Do BACK^%ETN // Log error in error log } } Quit sc } }