using VS Code to compile/test
I'm not saying that VS Code compiles/tests. What I'm saying VSCode every time when we save the file locally connects to a server, sends it to a server, and compiles it.
- Log in to post comments
using VS Code to compile/test
I'm not saying that VS Code compiles/tests. What I'm saying VSCode every time when we save the file locally connects to a server, sends it to a server, and compiles it.
Hi Simon!
Also when you refer to a HTTPS service you need to have SSL configuration in IRIS.
You can set up it manually or programmatically or just install zpm modulle:
USER>zpm "install ssl-client" that will setup a "default" SSL configuration which you could use then in the requests to HTTPS resources.
And yes, for this you would need a ZPM client installed.
Speaking about automation with Github - if you use GitHub to host the code maybe it makes sense to consider Github Actions vs TravisCI for automation.
There are numerous examples how to use Github Actions to test and deploy to cloud/kubernetes solutions built with InterSystems technology.
E.g. check this repo - which has two automation scripts: one for Kubernetes deployment and another for automatic static code control.
Every push to the master branch triggers the deployment to Kubernetes and the test of the codebase.
I think we need a webinar on this)
In VSCode you are SUPPOSED from step one to open a folder with code that you can import to a server for compilation/testing.
If you have the server but not files you can open an EMPTY folder, connect to the server, and export code - but this is sort of the first exception because you are supposed to have a repository for the code in advance.
Hi Stefan! Why would you want to import code in XML form?
IRIS and I bet Ensemble too can load it from CLS as well using $System.OBJ.%ImportDir()
So you can load CLS source files directly from the folder with no need to transform it to XML first.
And to launch the image do:
docker run --name my-iris -d --publish 9091:51773 --publish 9092:52773 intersystemsdc/iris-community:2020.4.0.524.0-zpmTechnology Bonuses for the Multi-model contest.
Pinging @Dan Bissex and @Sam Duncan to provide more information.
@Zhong Li - two articles in top 3 most read - really cool!
@Jose-Tomas Salvador - congrats for the most read!
@Yuri Marx - parabens for the most voted one Periodic of InterSystems!
@Timothy Leavitt - you got the most discussed prize with Apps.REST, congrats!
@Robert Cemper - you are the most read author of the year - respect!
And I'm in top 5 most read articles - flattered!
Thank you community for such a good year!
Hi Lee!
Could you please try this with IRIS 2020.4? I think this was fixed.
Make an OEX module from this? Great thing.
InterSystems Reports bonus is added for iris-analytics-package
ZPM bonus is added for iris-analytics-package
Great release, Aleksey! Community is getting a more and more comfortable place to contribute, read, and discuss InterSystems tech! Thank you!
Hi Henrique!
Amazing!
How to open the wizard? ) Haven't found the link either in the readme or here
In fact this class is maybe good for deployment, but not that perfect for source-control.
You have ALL your DFI in the repo in one file. So when you have changes or will want to make changes you need to deal with this container class.
You can export DFI as files (using isc.dev) and import it then with %SYSTEM.OBJ.ImportDir or ZPM.
How to export DFI using isc.dev.
First you setup the folder you export it into:
do ##class(dev.code).workdir("/irisdev/app/src")Then when you need to export changes call in the terminal:
d ##class(dev.code).export("*.DFI")
Hi Yuri!
This is a fantastic app!
And works!
But the way to set up the crawler is not that convenient and not very user-friendly.

You never know if the crawler works and if you placed the URL right.
Is it possible to add a page which will let you place the URL, start/stop crawler and display some progress if any?
Maybe I ask a lot :)
Anyway, this is a really great tool to perform IRIS NLP vs ANY site:

Amazing post! Thank you so much, Yuri! This is very pleasant!
Thanks, Nigel! Yes, my motivation to publish it was laziness) It's annoying to create a yet-another-class or method just to have something perpetually running )
Pinging @Mark Bolinsky and @Murray Oldfield
Hi Nigel! Thanks! Actually, I already crafted the module following @Anton Umnikov's advice above.
Wow. Good catch! @Carmen Logue , could we plan that for the future?
Try to rebuild the indices
Thanks, Anton!
I packed your answer in sql-res-api module.
if you zpm it, you have /sql rest which accepts SQL with POST request and returns JSON.
USER>zpm "install sql-rest-api"
ARM images with ZPM added:
intersystemsdc/iris-community-arm64:2020.4.0.524.0-zpm intersystemsdc/irishealth-community-arm64:2020.4.0.524.0-zpm
The reply is updated accordingly
Would Best Practices tag work?