One of the topics I'd like to propose is using zpm with 3rd party private package registries like GitHub or AWS. I tried to set this up a few times with no success.
- Log in to post comments
One of the topics I'd like to propose is using zpm with 3rd party private package registries like GitHub or AWS. I tried to set this up a few times with no success.
Hi Norman did you try to set "maximum connections" parameter in gateway settings? https://docs.intersystems.com/iris20261/csp/docbook/DocBook.UI.Page.cls?KEY=GCGI_oper_config#GCGI_config_parms_cspgateway
There is also "no activity timeout" setting https://docs.intersystems.com/iris20261/csp/docbook/DocBook.UI.Page.cls…
Congratulations @Derek Robinson! See you soon at the Ready :)
This network layer is controlled by your operating system, not by Ensemble. I presume you're using Windows so you sholud look at changing this setting to 1 https://learn.microsoft.com/en-us/troubleshoot/windows-server/networkin…
I'm looking forward to see all my friends from this community!
Hi Evgeny,
In my opinion, the best approach is to divide API endpoints into multiple subclasses using Forward functionality. See for example an implementation of %Api.InteropEditors class in %SYS namespace, it showcases how OpenApi can be implemented with Forward functionality
Yes you absolutely don't want to hard code those in the code. You have two options:
1) have a login form which will ask for those and save them in either local variables (will have to enter login password after each page refresh) or local storage (not secure because password is available in plain text). You can try some silly endpoint like _ping to check if it returns 200 or 403 to check if credentials are valid.
2) use web sessions and store session information in cookies. Here you can use usual iris login page to authenticate, but it's not rest best practices because use of session is discouraged
Or 3) set up and implement jwt authentication as described in documentation https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.Page.cls…
I'd say from my experience, best for security and production use is 3, most people implement 2, and 1 is only good for prototyping/experiments because it's not secure
That's an ambitious plan for sure! I also recommend the demos&drinks event, you can learn a lot of stuff you don't even have an idea you wanted to know about before you see it :) . See you there!
1) Download and install docker
2) Run this code in terminal
docker run --rm --name iris-demo -d -p 9090:52773 -e IRIS_USERNAME=demo -e IRIS_PASSWORD=demo intersystemsdc/irishealth-community:latest
3) Open browser at http://localhost:9090/csp/sys/UtilHome.csp and use VSCode to connect to the same host/port
Regarding SQL Server setup, you'll have to ask on SQL Server forum
I'm with Tim on this one, it's OK to create something like https://sergeinator.com for fun and giggles or use is as a prototyping tool instead of MS Paint, but I would not let this code anywhere near production.
Great article Tim! I think another area where AI can help a lot and which is usually overlooked in IRIS development is an automated testing
Looks like the error is on a back-end, the Java code you are calling is not configured properly. Try running it from the terminal.
There is an unattended restore routine https://docs.intersystems.com/iris20243/csp/docbook/DocBook.UI.Page.cls…
Which means that Colin guessed the code right and no, trace is not computed when tracing is off :)
Great stuff James, can't wait to see it in production!
Hi Stephen, this is a valid approach however you will lose information about problematic calls such as json can't be parsed or API key in headers is wrong. I prefer to actually save the http call in full as http generic message and then call a process or operation with transformation to the proper message format, as Alex demonstrated in his third example. You can still call operation manually if you want, passing the parsed message.
Yes you can use $system.Encryption.TOTPValidate() function https://docs.intersystems.com/iris20243/csp/documatic/%25CSP.Documatic…
See also https://community.intersystems.com/post/systemencryptiontotp-synchroniz…
Is there a list of changes? Release notes document looks very empty
https://docs.intersystems.com/iris20251/csp/docbook/DocBook.UI.Page.cls…
Congratulations to all winners, it was difficult to vote this time, so many great applications and samples!
Hi @Alex Woodhead there is no "preview" container on the https://containers.intersystems.com site any more, only "latest-preview" - was this released? If so which build?
Thanks!
=Sergei
Hi @Evgeny Shvarov
You need to use port 52773 with localhost in Docker. It's relative to the container not to your host.
.png)
I just tried this with intersystemsdc/irishealth-community:latest image above, works fine.
Looks like a typo, this one works: https://iris-fhirfy.demo.community.intersystems.com/csp/fhirfy/index.ht…
Ciao Henry, this URL doesn't open for me can you double check?
Yes but you can have one top-level 'manually created' one and have individual ones based on separate OpenAPI files
Well you gave me two so I should have one spare wish :)
Make iris:latest-cd just iris:latest, this way we can just skip the "latest" bit altogether and just use iris without any tag at all.
Hi Bob,
That's good news and I like new names much more than old ones. I hope old tags for old releases will still be available?
A couple of entries from my container tagging wishlist (one can dream, you know)
- provide :latest tag for all containers, but especially for community ones, which will just pull the latest working release without having to rebuild dockerfiles every year when license expires
- provide 2023.1.x tag which will follow the latest minor version
Hi Ben,
I believe here is about hmf gateway of TrakCare
You can also just use incoming XML as a steam and extract data you need using parser into a custom defined ensemble message, if you only need parts of the incoming data
Hi Phillip,
In TrakCare, interoperability is controlled by TrakCare Health Messaging Framework (HMF). Each Interface has to go through HMF Gateway, which is an IRIS Production, and then all those are getting routed through HMF Router which is a separate IRIS production. Please have a look at HMF documentation for more details. A lot of this code is auto-generated so you need to understand what needs to be configured in TrakCare and what needs to be configured in Production.
Well first of all there is a first-class support for FHIR data in IRIS for Health and I would definitely recommend to use it instead of rolling out your own class-based solution. See documentation here https://docs.intersystems.com/irisforhealth20221/csp/docbook/Doc.View.c…
If you want to work with projections, given that even basic data fields in FHIR are quite complex https://www.hl7.org/fhir/datatypes.html#primitive you'll need to define separate embedded classes for each data type; it doesn't have to be a separate class for each field.