Question Daniel Bertozzi · Mar 27 Returning a 401 using %REST.Impl Hello I am trying to convert some old rest classes using the OpenApi spec (e.g. %REST.Impl) Say I want to return a 401 in my impl.cls for api and I can define the status code as follows, e.g. #REST API #InterSystems IRIS 0 3 0 141
Question Daniel Bertozzi · Aug 10, 2022 Applying a production to namespace in docker image Hi all I'm testing migrating our existing installers (without ZPM) using the docker dev template as a basis with a commercial image and licence key. So far everything builds as I expect, but the one issue I have is the production doesn't apply itself automatically. In my iris.script I have custom installer that uses this manifest below but it does not observe the last three steps #Docker #InterSystems IRIS 0 2 0 346
Question Daniel Bertozzi · Apr 13, 2022 Moving API data into external SQL instance without audits/persistence Recently our team have been getting requests to pickup a large amount of data from API nightly (e.g. using ODATA to loop through pages) and placing that into MS SQL databases. My question is, what is considered the best practice to get data from API and route to external SQL database WITHOUT persisting any messages/traces etc? #API #SQL #InterSystems IRIS 1 5 0 439
Question Daniel Bertozzi · May 14, 2021 Luhn Mod N in Cache? Hi all I'm trying to recreate this method below in Cache/IRIS. https://en.wikipedia.org/wiki/Luhn_mod_N_algorithm ISO-7812-1 (LUHN-10) I've been following the javascript example. It seems simple in theory but i'm struggling with which cache methods to pick. $LENGTH, $System.SQL.FLOOR() - seem ok $EXTRACT - I think for .charAt (though may need to correct base) $FIND - for .indexOf Any suggestion which would be the best ones for the job? #ObjectScript #Caché #InterSystems IRIS for Health 0 5 0 235
Question Daniel Bertozzi · Mar 9, 2021 Converting images using IRIS and image magick Hi all I've been looking into how to convert some images with IRIS and saw some recommendations on the forums around using image magick. However I can't seem to get this working using ZF100 and on windows server and I'm wondering if I'm missing something really obvious as I've not used IRIS to call third party applications before. If I run via a Windows CLI on the server, it works fine, e.g: magick "D:\1221701739_20190716134351965_1_0.jpg" -resize 640x480 "D:\1221701739_20190716134351965_1_TEST.jpg #Microsoft Windows Server #InterSystems IRIS 0 8 1 379