go to post Evgeny Shvarov · Feb 14, 2023 You can use InterSystems Package Manager(IPM) to list all the members of production and distribute it to another machine (e.g. your client) via the IPM registry, or using zpmhub. E.g. you can install several EnsDemo productions as one package: USER>zpm "install irishealth-ensdemo" Or recently I published an example of a very simple CSV data transformation production that you can install as one line: USER>zpm "install esh-i14y-csv" And here is how all the modules of production depicted in a module.xml.
go to post Evgeny Shvarov · Jan 16, 2023 Hi @Julian Matthews ! I'd suggest using IPM modules for deployment where you suggest what is included in the module. Here is an example of module with simple Interoperability production.
go to post Evgeny Shvarov · Nov 5, 2022 Hi @Dmitrii Baranov! Check this basic iris-dev template on the Open Exchange. As you can see it installs git in Dockerfile changing user to root and back to iris-owner: ## install git ## USER root ##RUN apt update && apt-get -y install git ##USER ${ISC_PACKAGE_MGRUSER} if uncommented it installs git via user root. I hope this is what you wanted.
go to post Evgeny Shvarov · Oct 15, 2022 There were a good article on the topic a few years ago by @Olga Phomina
go to post Evgeny Shvarov · Oct 6, 2022 This works: print(iris.cls('ClassName')._GetParameter("ParameterName")
go to post Evgeny Shvarov · Sep 19, 2022 There is a SpeedMiner company that still produces such a product I guess. Calling @Lee Mei Chuan.
go to post Evgeny Shvarov · Sep 12, 2022 @Oliver Wilms , @Dmitry Maslennikov sent you a PR with the fix for the deployment.
go to post Evgeny Shvarov · Sep 2, 2022 Or you can just change the files in VSCode using Find and Replace with some wise regular expression
go to post Evgeny Shvarov · Aug 26, 2022 We delete "old" images from the registry. I'd advise using official container images from containers.intersystems.com. The actual set of available images can be easily got with this powerful extension to Docker Desktop, which shows you the up-to-date list and has a nice UI to copy image names.
go to post Evgeny Shvarov · Jul 30, 2022 Hi Scott! If you don't have docker you can install apps with ZPM Package Manager. There is a good amount (about 240) of apps on Open Exchange that are installable with ZPM.
go to post Evgeny Shvarov · Jul 21, 2022 Great! for that you need ZPM installed, or take any community docker-image with ZPM onboard, e.g. the latest image via: FROM intersystemsdc/iris-community and run the command usual iris terminal: USER>zpm "install git-source-control" Also calling @Timothy Leavitt as an author of git-source-control
go to post Evgeny Shvarov · May 7, 2022 Hi Rochdi! curl is a software that can make http calls from a command line. Are you sure you need curl? Or maybe you need to make http calls from IRIS or Ensemble? There are plenty of examples. E.g. here is a one line to make an http GET request and download and install ZPM: s r=##class(%Net.HttpRequest).%New(),r.Server="pm.community.intersystems.com",r.SSLConfiguration="ISC.FeatureTracker.SSL.Config" d r.Get("/packages/zpm/latest/installer"),$system.OBJ.LoadStream(r.HttpResponse.Data,"c") It is an example of http request
go to post Evgeny Shvarov · Apr 12, 2022 I suppose your code is in some repository, e.g. GitHub, GitLab or Bitbucket. So you can just do the class rename code-refactoring procedure in all the classes of the package and in all the places the methods of package class can be called: rename code test.a->work.a. and move all the files from folder test.a to work.a.
go to post Evgeny Shvarov · Mar 17, 2022 Thanks @Robert Cemper! Great feedback! Calling @Bob Kuszewski
go to post Evgeny Shvarov · Jan 21, 2022 But I agree - maybe we shouldn't deploy IRIS with a "prebuilt demo namespace" - a new namespace and database should go with the configuration setting. Tagging @Benjamin De Boe and @Andreas Dieckow
go to post Evgeny Shvarov · Jan 21, 2022 Hi @Werner Noske! It looks like you are trying to work on your project in the built-in USER namespace and database. Don't. USER namespace is for testing/demo purposes. You are welcome to start a new clear database from scratch. For example, you can follow this template that starts with a new clear namespace and database IRISAPP.
go to post Evgeny Shvarov · Nov 11, 2021 Same reply as @Dmitry Maslennikov but with links on Open Exchange. there are at least four: VSCode SQL Extension, DataGrip, Dbeaver, SQL Monitor
go to post Evgeny Shvarov · Oct 29, 2021 Hi Alicia! If you want to run some code on schedule (e.g. SQL query) I recommend looking at Task Manager. Also, there is a handy utility to set up a regular task in IRIS using cron expression programmatically with one line.
go to post Evgeny Shvarov · Oct 13, 2021 Hope this could help: w ##class(%ZEN.Auxiliary.jsonProvider).%WriteJSONStreamFromObject(.stream,j) 1 SAMPLES>w stream.Read() { "_class":"Jiri.RegisteredObject", "p1":"test", "p2":"json" } Stolen from @Kyle Baxter answer here.