go to post Eduard Lebedyuk · Sep 30, 2020 Usually I do this: set sc = ..method() /// finalization quit:$$$ISERR(sc) sc
go to post Eduard Lebedyuk · Sep 29, 2020 I always use %Status and try to wrap calls in this macro: #define qoe(%expr) $$$QuitOnError(%expr) For example: $$$qoe(..computeDigest(canonicalized))
go to post Eduard Lebedyuk · Sep 28, 2020 You can use PythonGateway to call Python code from InterSystems IRIS directly. Example: set sc = ##class(isc.py.Main).SimpleString("x='HELLO'", "x", , .x) write x >HELLO
go to post Eduard Lebedyuk · Sep 28, 2020 You can start with set %gw = createJavaGateway() Where createJavaGateway is ClassMethod createJavaGateway() { quit:$d(%gw) %gw /// init connection } And remove disconnect part. This way %gw variable would stay alive betwee the calls.
go to post Eduard Lebedyuk · Sep 28, 2020 Is the response actually compressed? I thought automatic decompression is happening a few layers down on the stack.
go to post Eduard Lebedyuk · Sep 28, 2020 Use session id to track data between calls. In general I would suggest moving to REST stateless architecture.
go to post Eduard Lebedyuk · Sep 28, 2020 Try serving files from <IRIS>\mgr\Temp\ directory. By default InterSystems IRIS runs under system account which does not have access to your user account folders.
go to post Eduard Lebedyuk · Sep 5, 2020 How are you planning to determine to which service the message should go?
go to post Eduard Lebedyuk · Sep 3, 2020 Here's how you can add your ObjectScript snippents to VSCode.
go to post Eduard Lebedyuk · Sep 3, 2020 They are usually Stored in: C:\Users\<USER>\Documents\Intersystems\CodeSnippets.txt If they are not there open Studio -Instruments - Parameters - Environment - Code Fragments The file path would be there:
go to post Eduard Lebedyuk · Sep 1, 2020 If the user does not have W access on routines db he will not be able to edit it. Also the whole DB might be marked as RO.
go to post Eduard Lebedyuk · Aug 31, 2020 Sure: Set sc=##class(%REST.API).GetWebRESTApplication(namespace,webApplication,.swagger)