go to post Evgeny Shvarov · Mar 9, 2024 Great example, @Alberto Fuentes ! There is also JSON Trace Viewer app which looks like does the same
go to post Evgeny Shvarov · Mar 9, 2024 Hi @Flávio Lúcio Naves Júnior , thanks for raising an important question! Could you please submit an idea?
go to post Evgeny Shvarov · Mar 9, 2024 Just've tried now: docker run --rm --name iris-demo -d -p 29091:1972 -p 29092:52773 intersystemsdc/iris-community:preview c9ef4f36c293f813e968bd0b2b504f9894220184623ebc3cb415360241a5f98e $ docker exec -it iris-demo iris session iris Node: c9ef4f36c293, Instance: IRIS USER>w $zv IRIS for UNIX (Ubuntu Server LTS for ARM64 Containers) 2024.1 (Build 244U) Tue Feb 20 2024 17:07:18 EST USER>
go to post Evgeny Shvarov · Mar 9, 2024 Now answering your question :) Name="src" means the folder related to the one where module.xml is situated on the development/testing or publishing machine.
go to post Evgeny Shvarov · Mar 9, 2024 In order to protect the IP you can use "Deployed packages" mode, see the documentation. Just include Deploy="true" in a resource element, and only compiled code will be installed. <Resource Name="Sample.Demo.PKG" Deploy="true"/> Load command locally still will import package with the source code, which is quite handy for development and testing.
go to post Evgeny Shvarov · Mar 9, 2024 Hi @Stephen Canzano ! Unit tests are not included into the package when you publish it into repository. So when you install the package on a target machine only "solution" classes will be installed, not unit-tests. E.g. here is csvgen app. I you check the source code it contains "solution" classes in src folder here and unit-tests in /tests folder. module XML for csvgen has resources, that will be packaged while published in the IPM registry: <Resource Name="community.PKG"/> and the unittests, that are being used only development phase and can be imported to the system via load command: <UnitTest Name="/tests" Package="community.csvgen.UnitTests" Phase="test"/> So when you install csvgen package, e.g.: USER>zpm "install csvgen" you'll see only RESOURCES classes installed.
go to post Evgeny Shvarov · Mar 9, 2024 And you can install it with IPM as: USER>zpm "install utils-code-snippets" See more on OEX
go to post Evgeny Shvarov · Feb 25, 2024 Source control is a recommendation to track such changes. I recommend git-source-control package by @Timothy Leavitt
go to post Evgeny Shvarov · Feb 25, 2024 Also you can just do (in IRIS for Health): USER>zpm "install fhir-server -dev" And you'll have it setup in "FHIRSERVER" namespace with fhir server R4 at /fhir/r4
go to post Evgeny Shvarov · Feb 22, 2024 BTW, @Enrico Parisi , see OEX has introduced the option to download ANY IPM package listed on Open Exchange. It's right below the IPM command: Here are the release notes.
go to post Evgeny Shvarov · Feb 22, 2024 I've updated the link in the article on behalf of being a moderator
go to post Evgeny Shvarov · Feb 22, 2024 Basically it's a way to store and retrieve arbitrary XML data resources within the ObjectScript class definition
go to post Evgeny Shvarov · Feb 22, 2024 Amazing news! Thank you @Elena E and OEX team!I especially appreciate the ability to comment application reviews!
go to post Evgeny Shvarov · Feb 7, 2024 This is a fantastic discussion. Is there any service other than @Lorenzo.Scalese's that can provide host IP and port for a docker iris? e.g. to be able to use it during development?
go to post Evgeny Shvarov · Feb 7, 2024 That works, Robert, thank you! Not for docker use unfortunately
go to post Evgeny Shvarov · Feb 7, 2024 Nice! Thank you @Brett Saviano! And it works for host versions nicely! But of course if it is a docker image there could be a ports mapping. e.g. if I start iris with the following command: docker run --rm --name iris-demo -d -p 9091:1972 -p 9092:52773 intersystemsdc/irishealth-community:preview and open terminal with: docker exec -it iris-demo iris session iris then the command gives us: USER>Do ##class(%Studio.General).GetWebServerPort(,,,.url) Write url,"csp/sys/UtilHome.csp" Kill url http://172.17.0.2:52773/csp/sys/UtilHome.csp and the working one is: http://localhost:19092/csp/sys/UtilHome.csp Maybe it is not possible at all for docker. Unless we setup a special global intentionally during the docker image build.
go to post Evgeny Shvarov · Feb 6, 2024 BTW, @Sylvain Guilbaud , @Robert Cemper , @Alexander Pettitt - do you think if it is possible to have a shortcut command that will return the URL for a management portal in terminal? with a proper port and CSP app?