go to post Dmitry Maslennikov · Feb 1, 2022 You have to look at grade documentation. And it will be something like this. it says, to look at libs folder for jar files, usually it only uses some remote repositories like maven central repositories { flatDir { dirs 'libs' } }
go to post Dmitry Maslennikov · Jan 31, 2022 btw, if you would need to call other method which is also Python Class User.Test { ClassMethod SomeMethod() As %String { quit "test objectscript" } ClassMethod SomePythonMethod() As %String [ Language = python ] { return "test python" } ClassMethod PTest() [ Language = python ] { import iris print(iris.cls(__name__).SomeMethod()) print(Test.SomePythonMethod()) } } In this case this method appears can be accessible through the python class named as the current class (without package), in my case it's Test
go to post Dmitry Maslennikov · Jan 30, 2022 I found only this way when it's working. __name__ will have current classname Class User.Test { ClassMethod SomeMethod() As %String { quit "test" } ClassMethod PTest() [ Language = python ] { import iris print(iris.cls(__name__).SomeMethod()) } }
go to post Dmitry Maslennikov · Jan 28, 2022 This version is just outdated, InterSystems deletes old version, when they publish something newer. Use docker-ls tool, this will help to find all available versions
go to post Dmitry Maslennikov · Jan 27, 2022 Do not use %ZEN, it’s deprecated. There is Native JSON support, and %JSON.Adaptor, use this instead. Any output with write command will produce this error.
go to post Dmitry Maslennikov · Jan 24, 2022 %ToJSON has three ways. One of the is to output through String, as you did with Write command. In your case you can simply use Do command instead, and it will just output to the current device directly, without collecting it to a limited variable. Or you can do through the stream, passed as a first parameter
go to post Dmitry Maslennikov · Jan 22, 2022 I don't use Windows, but can say how it supposed to be VSCode supports PowerShell terminal or cmd.exe, in case if you use wsl2, it can bee configured to open it as well. But, there is a way, to open the terminal just in cmd.exe or from PowerShell, first you have to figure it out how to get it from there. iris.exe should have options, to run it inside the current terminal, I don't know if Windows version already has irissession, you could try it.
go to post Dmitry Maslennikov · Jan 18, 2022 ndjson, is just when a bunch of ordinary JSON separated by a newline in one file So, if you would read that stream with ReeadLine(), and parse each line separately, it should work.
go to post Dmitry Maslennikov · Jan 17, 2022 Mount such folder as a network disk, and you can use it. Just be aware, that you have to mount it under the right user, which runs IRIS.
go to post Dmitry Maslennikov · Jan 17, 2022 Ahh, looks like it's just only WSL2 issue. Fortunately, I don't need to use it, and have no way to try it. But looks like there is a solution with PowerShell script here
go to post Dmitry Maslennikov · Jan 17, 2022 Portal should be available by URLhttp://localhost:52773/csp/sys/UtilHome.csp
go to post Dmitry Maslennikov · Jan 17, 2022 if you managed to access ManagementPortal, what exactly are you trying to achieve? 0.0.0.0:1972->1972 means that any it mapped to any IP on your host.
go to post Dmitry Maslennikov · Jan 12, 2022 Yeah, working with Environment variables is quite tricky, it may not be in a place where you would expect it. I would not recommend it for %Installer, you should focus on Variables feature there, and pass variable to setup method when you call it.
go to post Dmitry Maslennikov · Jan 11, 2022 Hmm, why do you need to do it with .bash_profile? Why not just set it as a shell, instead of bash And about passwords, the best and only right way in your case is to enable OS-Authentication. In this case users will go inside without a password prompt.
go to post Dmitry Maslennikov · Jan 10, 2022 Just install a newer version over that old one, and everything will be ok. In some cases, it is possible that some changes in code would be needed. And you may look at the documentation for some information about the release
go to post Dmitry Maslennikov · Jan 4, 2022 Most of the CI/CD processes are now based on Container's way. And do it without Docker makes this process much more complex. And It's not quite clear what do you want to achieve. And in any way, this task is quite complex, and very much depends on what kind of application you have, how you build it right now, in some cases major OS, and even when some other languages and technologies are used for application. You may contact me directly, I can help with this, I have experience and knowledge on this.
go to post Dmitry Maslennikov · Jan 3, 2022 docker exec -it iris iris session iris Node: fa3f20fc42dc, Instance: IRIS USER>w $zv IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2021.2 (Build 617U) Thu Dec 9 2021 15:00:18 UTC USER>:c USER>:h 1: :h USER>:a USER>:sql SQL Command Line Shell ---------------------------------------------------- The command prefix is currently set to: <<nothing>>. Enter <command>, 'q' to quit, '?' for help. [SQL]USER>> << entering multiline statement mode, 'GO' to execute >> 1>>q [SQL]USER>>q USER>:t SQL Command Line Shell ---------------------------------------------------- The command prefix is currently set to: <<nothing>>. Enter <command>, 'q' to quit, '?' for help. dialect = MSSQL [SQL]USER>> even :t for TSQL dialect