Evgeny Shvarov · Oct 1, 2024 go to post

Hi @John Murray !

Yes, it just works, thanks to @Timothy Leavitt and his team.

The only thing you need is to make sure that your dev module is described via IPM, and install and setup git-source-control.

Here is an example template for interoperability production that demonstrates the feature. 

And here is the only setup line that is needed after git-source-control is installed via IPM:
 

 zpm "install git-source-control"
    do ##class(%Studio.SourceControl.Interface).SourceControlClassSet("SourceControl.Git.Extension")
Evgeny Shvarov · Oct 1, 2024 go to post

@Brett Saviano , maybe I'm mixing something up, but I'm just trying to provide you feedback, that developers that follow the client-side paradigm (actually the majority of existing developers to my knowledge) should still have any option to edit BPL/DTL and DFI and today the way is via server-side UI tools, and of course, they would expect changes reflected in their client git setup, which git-source-control wonderfully does.

Evgeny Shvarov · Oct 1, 2024 go to post

Thanks, @John Murray !

I made it work by manually filing the server in a docker container.

The IPM browser works nicely! 

And it beautifully displays what is installed in the namespace.

But I wasn't able to install any app, e.g. tried with Webterminal:

Evgeny Shvarov · Oct 1, 2024 go to post

1. Yes, but it can add some automation, as for docker-way port can be a random everytime, so this mean manual setup every build. Which is easy to setup, but every time.

2. Yes, UI Integration. And, if we are talking about client-side editing it is possible to edit those files manually (they are just XML files) of course. But ideally, the developer could call a UI in IRIS to edit the file from within a file, and the changes be saved into this file after editing in the IRIS UI app.

3. What exactly is "incorrect"? ) git-source-control perfectly works as a tool to deliver changes made in IRIS developer UI tools into client-side files. Well, you can say that it is server-side editing, and I agree, as every IRIS-driven developer UI tool is on the IRIS side, meaning server-side in this case. But still, it works perfectly and doesn't demand developers to change their client-side approach to a server-side in this case.

Evgeny Shvarov · Sep 26, 2024 go to post

So: for everyone who tries it via IPM - works ONLY if installed in %SYS.

Otherwise it installs itself but doesn't work silently.

Evgeny Shvarov · Sep 26, 2024 go to post

installed as IPM module into USER - doesn't work.

Installed after that into %SYS - works. Any ideas?

Evgeny Shvarov · Sep 26, 2024 go to post

I use VSCode client-side coding with IRIS every day. Caveats:

1. it'd be great to ease connection to a dockerised IRIS - especially if docker-compose file is not in the root. Anyway the settings.json is a mandatory component, though it can be just the same all the time.

2. Saving changes for UI elements to changed local files for some components of Interoperability and IRIS BI is not complete. For example, editing pivots in the analyzer, term lists, lookup files, etc.

3. git-source control becomes a must-have for client side editing - especially for UI elements. Maybe we could consider some functionality a mandatory part of ObjectScript extension?

Evgeny Shvarov · Sep 25, 2024 go to post

The article is VERY modest. Do you want to share anything else more than how to install the app?

Evgeny Shvarov · Sep 23, 2024 go to post

Hi @Andrii Mishchenko !

Made it running, but see the following:

Also registered a user.

Saw Register menu as well, registered there and still cannot sign in. 

Any hint on how to proceed?

Evgeny Shvarov · Sep 22, 2024 go to post

Curious, if there is an official support of profile validation in IRIS for Health 2024?

Evgeny Shvarov · Sep 13, 2024 go to post

As discussed on the contest kick-off we introduced two new technical bonuses: FHIR applications and VSCode plugins! Good luck in the competition!

Evgeny Shvarov · Sep 13, 2024 go to post

Hi Jason! I asked DC-AI and he provided an answer

You can do this: 

  • do $SYSTEM.OBJ.Export("*.cls", "/path/to/export/directory/", "ck")
    
Evgeny Shvarov · Sep 11, 2024 go to post

Hi Jason!

If you are on VSCode you can leverage the InterSystems plugin and export classes.

For CSP files - if something works for you as a CSP web application, you don't have CSP files but rather CSP classes; you can simply export them via VSCode as well.

Evgeny Shvarov · Aug 29, 2024 go to post

Is it embedded python or iris python native? (I always mess with them). If the first, try the following for the system:

; enabling callin for Embedded Python

do ##class(Security.Services).Get("%Service_CallIn",.prop)

set prop("Enabled")=1

set prop("AutheEnabled")=48

do ##class(Security.Services).Modify("%Service_CallIn",.prop)
Evgeny Shvarov · Aug 29, 2024 go to post

Very convenient! 

Also if you want to read any CSV, create a class out of it and load the data give it a try to others two options:

1. csvgen - an objectscript module that lets you read, create class, and load data from an arbitrary CSV in one command.

2. csvgen-python - same as csvgen but written in embedded python.

Evgeny Shvarov · Aug 29, 2024 go to post

Thanks for the great feedback, @Sean Connelly ! Currently, DC AI is focused on DC knowledge only, which is limited, of course. Great idea about expanding the DC AI knowledge base with ObjectScript basics - we'll consider that in future releases.

Evgeny Shvarov · Aug 3, 2024 go to post

Shellscript auto start didn't work for me. So this line:

- ./init.sh:/docker-entrypoint-initdb.d/init.sh

didn't start the script, this is on Mac.

All the rest works great!

Evgeny Shvarov · Aug 3, 2024 go to post

Great app, @José Pereira ! Do you guys want to add an option to ask about available schemas as well?

So if I don't know what are the schemas in IRIS I'm not able to query it with natural language. So I first went to IRIS SQL manager to check which schemas were available :)

Other than that - amazing example of leveraging LLM with IRIS!