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?
go to post Evgeny Shvarov · Feb 6, 2024 Yes, @Enrico Parisi ! I also have questions to the "full objectscript rules" list. And I hope @Daniel Tamajon and @Dmitry Maslennikov can follow up. Anyway, if you and other developers have any ideas what else could be added to a short "community list" it'd be rather helpful for the whole community.
go to post Evgeny Shvarov · Feb 5, 2024 Yes, I confirm that! Thank you! BTW, the image in the top of the article is not visible:
go to post Evgeny Shvarov · Feb 5, 2024 Yes. But docker-compose provides the mapping of PWS server (9092 in my case), so the web apps based on it should be reached out via 9092 in the host system. Even more - the FHIR SQL Builder setup application is running on 9092 port, but the settings should be on 52773.
go to post Evgeny Shvarov · Feb 4, 2024 Hi @Enrico Parisi ! Where do you see these rules? I agree, they are quite strange, but some customers of ObjectScript quality use them. Anyway, the rule set we use for the community is here - there are only 12 rules currently.