irissqlcli has a docker version of the tool (even two versions, including for web), is it acceptable?
And demo docker-compose-example.yml, which can be used to test it locally with IRIS
- Log in to post comments
irissqlcli has a docker version of the tool (even two versions, including for web), is it acceptable?
And demo docker-compose-example.yml, which can be used to test it locally with IRIS
And thanks to open source and @Guillaume Rongier, it's now possible to connect to IRIS in a secure way with SSL
requires testing, but, you can find examples here
I can't recommend IRIS SQLTools for VSCode, as it's too far away from xDBC realizations, and works just over REST, and there is no way for a good improvement. This tool can be quite enough for some simple queries, or as some simple demonstration, with a small amount of data.
Access only by web, looks a bit odd, but possible. In my example of irissqlcli-web, I've just used external tool ttyd, which I'm sure can be easily tied with any webserver in use. ttyd is deamon process, supposed to be launched on the server, it opens some port, which can be used in webserver to as a proxy endpoint.
In the example below, I've just copied and pasted many lines there and executed them. And done, including changing the output format, rollback transaction
.png)
As for verifying results before coming, this sounds wonderful. I don't have anything yet, in way of automation. But I don't see that it's not possible to implement. If you have any examples of how it has probably already been implemented somewhere, let me know, so, do not reinvent the wheel.
And all the features requests are welcome in the GitHub repo
And as for deeper integration SQL and IRIS, I'm sure it is worth looking at dbt project. I'm part of the implementation IRIS support, there.
And I would recommend using pyenv, which may help to install and use multiple versions of Python, and select needed version
I have not tested it with 3.11, so, not sure how it will work there. You can install multiple versions of Python with pyenv for instance.
Yes, this tool connects remotely to any IRIS instance
Tip, you can go to pypi, https://pypi.org/project/irissqlcli/, and there you may find the list of supported versions
Supported versions 3.7 -3.10
%Service_Terminal in Docker images already has OS Auth enabled by default
Well, if you require some parts of API to be anonymously available, and another part requires authorization. Then the easiest way is to implement two these APIs separately, and configure Web Applications this way, where one of them will have anonymous access, and another would require password. And it will work, and you will not need to do anything else.
But if have everything in on API, you can look at my demo project. Based on Realworld application, offereded realizations in many different languages and frameworks.
have a look at the window functions in the documentation
I would recommend using .editorconfig, it's supported by VSCode. And it's very useful in this thing, when would like to have a control on indention settings in the entire project.
Hi, the way you trying to install is correct. But could you check the version of Python installed there, it requires version from 3.7 to 3.10
And another thing were boring me, is that during the build with Dockerfile, there is no way to run normal IRIS but very minimal, as fast as possible, but fully functional, and suggested that as an idea. During the build, there are no need in ECP, TaskManager and Ensemble, even many having many Write Daemons, and also PWS (where it's left). Do not waste time, starting useless processes.
There are many why's, and this is one of them for sure.
Another few things I found quite interesting
Yeah, this may happen if Recurse flag is not checked for REST application. IRIS hides this flag for REST, but it is still in use, so, you would need to switch to CSP/ZEN, mark Recurse, and return back to REST
.png)
iris.cpf file in the root of IRIS installation, contains these lines
DefaultPort=1972 WebServerPort=52773
Good to know, that now it's available for both platforms by the same name
$ docker manifest inspect containers.intersystems.com/intersystems/iris-community:2022.3.0.606.0
{
"schemaVersion": 2,
"mediaType": "application/vnd.docker.distribution.manifest.list.v2+json",
"manifests": [
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 1584,
"digest": "sha256:a9ad0e317042db836f3fb620200a0a269543a03714da475232b1a47ce8ce7839",
"platform": {
"architecture": "amd64",
"os": "linux"
}
},
{
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"size": 1584,
"digest": "sha256:80ffdd649c7ad9bc7d94a97538a88b0f11e15961a2ef9ea12715dba5ba2631a6",
"platform": {
"architecture": "arm64",
"os": "linux",
"variant": "v8"
}
}
]
}2022.2 may have this issue
If you use version 2022.2 it may not work, try with 2022.3 or 2022.1
And there is actually one version that is available on both platforms by the same name, it is 2022.2.0.368.0. Community and Enterprise editions
The difference in the user owner of the IRIS process, System Management portal is a web process and runing under system user of IRIS irisusr, and your terminal process is under your user.
What is the actual problem with it?
All export import for the code should work the same no matter of OS.
There are no ARM versions, since they said, that no more dedicated arm64 image names. And supposed to be the same name for both platforms. But, looks like something went wrong, and now no arm at all
And I'm just got my M2, and now with no updated preview builds.
well, in this case you may use method __setitem__ directly
do ws."__setitem__"("A1", "blah")Could you explain a bit more, about what do you you want to achieve?
set ws("A1") = "blah"is just multilevel variable
if you have object in ws, with field A1, than
set ws.A1 = "blah"
or
set $property(ws, "A1") = "blah"
What do you mean? Why do you want to disable it and rename?
While WinSQL does not offer direct support for InterSystems products, out of the box, and as far as I know, no plugins exist. I would recommend switching to something with better support, e.g. Datagrip or DBeaver.
Or if it's required using WinSQL, you may write a plugin for it or order it (I can help with it), which will offer better support.