Question Kari Vatjus-Anttila · Jan 25 Proxying requests via a SSH SOCKS5 Proxy Hello, How can I send a request via a SOCKS5 proxy in IRIS, using, for example, EnsLib.REST.Operation? Background I need to access APIs inside my corporate network, to which I don't have direct access from my home office. I've set up a SOCKS5 proxy via SSH on my host machine like this: ssh -D 9999 server.corporate.com I can then make requests with curl to the APIs I need: #API #Docker #ObjectScript #InterSystems IRIS #InterSystems IRIS for Health 0 2 0 245
Question Kari Vatjus-Anttila · Dec 21, 2023 Container: FHIR Configuration Utility returning 404 error after upgrading IRIS Hello, I've been running IRIS in a container for a while with the durable %SYS feature. Previously, I was running IRIS 2022.x version and decided to upgrade to 2023.1. During image build, I create some namespaces and install a FHIR repo into one of them using the following script: #Containerization #InterSystems IRIS 0 2 0 219
Article Kari Vatjus-Anttila · Oct 20, 2023 11m read Securing Individual REST API Endpoints I was attempting to find a solution to grant clients anonymous access to certain API endpoints while securing others within my REST API. However, when defining a Web Application, you can only secure the entire application and not specific parts of it. #Access control #REST API #InterSystems IRIS 2 7 1 651
Article Kari Vatjus-Anttila · Sep 14, 2023 4m read Leveraging Doxygen to Create Static Documentation for ObjectScript Classes Effective documentation is a cornerstone of software development, aiding in code comprehension, maintenance, and collaboration. By harnessing the power of Doxygen and the ObjectScript filter I've created, you can generate rich static documentation from your source code. This approach does not require a running IRIS instance and thus is a good choice in situations when access to IRIS is not possible. Static documentation may be provided to end-users as-is, together with the source code. #InterSystems IRIS Open Exchange app 4 7 1 537
Question Kari Vatjus-Anttila · Feb 23, 2023 Securely storing credentials for external systems used in a production Hello, I need a way to securely store credentials in IRIS that are used to access third-party APIs. These credentials include different clientId/secret pairs that I don't want to expose. While I know that it's possible to define Production Credentials in Ens.Config.Credentials, I understand that they are stored in plain text. #Security #InterSystems IRIS 1 5 0 523
Question Kari Vatjus-Anttila · Jan 28, 2023 Test Coverage: Coverage report not generating when running unit tests with ZPM Hello, I read a great article by @Timothy Leavitt here, where he wrote about unit testing and test coverage with ZPM. I am facing a slight problem and was wondering if someone has some insight into the matter. #Continuous Integration #Testing #InterSystems IRIS 0 3 1 289
Question Kari Vatjus-Anttila · May 2, 2022 Setting a correlation id for a transaction in Ensemble Hello, I tried to search the forums but couldn’t find an answer for my need. #Ensemble #InterSystems IRIS 0 1 0 294
Question Kari Vatjus-Anttila · Apr 6, 2022 VSCode & ObjectScript extension: Trusting self-signed certificates Hello, Recently I have been tinkering with VSCode and ObjectScript extension to connect to my dockerized IRIS instance. I have configured the instance to use Apache as a Web Gateway as per instructions and it has been working well. Currently I'm using a self-signed certificate for the SSL part of the connection. The browser nags about insecure certs when connecting to Management Portal but that's expected. However when I try to connect to the instance with VSCode it simply fails with the following error message #SSL #VSCode 0 11 0 873
Question Kari Vatjus-Anttila · Feb 25, 2022 Separating Code, and Data databases in Installer Manifest using a containerized IRIS and durable %SYS feature Hello, The title says it all. I’m building an IRIS image with docker-compose using a separate Dockerfile. Pretty straightforward procedure: I import a Installer script inside the container containing a Installer Manifest I defined. Within the manifest, I create a namespace with code and data databases in separate locations. My intention is to keep the code database inside the container, so whenever I build the container, the imported code is replaced. The data, however, should be persistent. #Containerization #Docker #InterSystems IRIS for Health 1 6 0 364
Question Kari Vatjus-Anttila · Jan 19, 2022 Error while updating FHIR CapabilityStatement Resource via FHIR Console Setup Hello, I have been tinkering with FHIR recently and tried to update the FHIR servers Capability Statement after I made some changes. I updated an OAuth2.Issuer Service Registry entrys URL and needed to update the metadata which the FHIR server sends to the client so they can get the updated URL for the authorization server we use. However, when I run the Console Setup tool with #FHIR #OAuth2 #Caché 0 2 0 413
Question Kari Vatjus-Anttila · Jan 4, 2022 Property placeholders for Production configurations Hello, #Containerization #Continuous Delivery #InterSystems IRIS for Health 0 2 0 235
Question Kari Vatjus-Anttila · Oct 31, 2016 Importing XML to a Caché Object Hi, I'm new with writing Caché Objectscript so I need some assistance. I have XML which contains information like this: <?xml version="1.0" encoding="UTF-8"?> <session> <sessionId>124364</sessionId> <cabinet>demo</cabinet> <eventType>IN</eventType> <eventTime>20161006160154</eventTime> <login>test</login> <loginFirstName>test</loginFirstName> <loginLastName>test</loginLastName> </session> I have a class representing this object as follows: #Beginner #XML #Caché 0 5 0 1.4K