Evgeny Shvarov · May 10, 2021 go to post

Hi Sam! Thank you for the helpful application and article!

Can the cube also measure the duration of the queries? E.g. to find queries that perform worse?

Evgeny Shvarov · May 4, 2021 go to post

Hi Utsavi!

There is no video on this (we probably should record one), but there is an article that describes how you can set up your own private registry for your company and publish packages on it. It's really easy cause the ZPM registry could be deployed as a ZPM package as well.

Also with ZPM proxy feature you can build a chain of registries, or use public packages in your private registry when you need that. Learn more here.

There is also a discord channel regarding ZPM, where you can chat with other developers who implemented private ZPM registries in their companies already. 

Hope this helps.

Evgeny Shvarov · Apr 26, 2021 go to post

Congrats to all the participants! This was an amazing contest! 

And It's a real pity this time that we have only 3 winning positions. The community has won a lot more!

Evgeny Shvarov · Apr 21, 2021 go to post

And we updated the images with ZPM 0.2.14 too:

intersystemsdc/iris-community:2021.1.0.205.0-zpm

intersystemsdc/iris-community:2020.4.0.547.0-zpm

intersystemsdc/irishealth-community:2021.1.0.205.0-zpm

intersystemsdc/irishealth-community:2020.4.0.547.0-zpm

And to launch IRIS do:

docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-community:2021.1.0.205.0-zpm

docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/iris-community:2020.4.0.547.0-zpm

docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/irishealth-community:2021.1.0.205.0-zpm

docker run --rm --name my-iris -d --publish 9091:1972 --publish 9092:52773 intersystemsdc/irishealth-community:2020.4.0.547.0-zpm

And for terminal do:

docker exec -it my-iris iris session IRIS

and to start the control panel:

http://localhost:9092/csp/sys/UtilHome.csp

To stop and destroy container do:

docker stop my-iris
Evgeny Shvarov · Apr 21, 2021 go to post

ZPM works in IRIS only, but you can search around on DC, and OEX - there were attempts to provide alternative support of ZPM in Cache.

Evgeny Shvarov · Apr 19, 2021 go to post

Hi John!

Not exactly. For some reason, we don't mention here that we allow editing and improvements during the voting week too. @Anastasia Dyubaylo, don't you know why?
 ALL the previous contests had this option and all the contestants used it this week for improvements, bug-fixing, and advertising.

@Anastasia Dyubaylo, could you please add that everyone is able to improve applications during the voting week too?

Evgeny Shvarov · Apr 19, 2021 go to post

Robert, what's is the idea to publish ZPM module "ssh-for-iris-container"? 

I Installed it and it does nothing:

zpm:IRISAPP>install ssh-for-iris-container

[ssh-for-iris-container]        Reload START
[ssh-for-iris-container]        Reload SUCCESS
[ssh-for-iris-container]        Module object refreshed.
[ssh-for-iris-container]        Validate START
[ssh-for-iris-container]        Validate SUCCESS
[ssh-for-iris-container]        Compile START
[ssh-for-iris-container]        Compile SUCCESS
[ssh-for-iris-container]        Activate START
[ssh-for-iris-container]        Configure START
[ssh-for-iris-container]        Configure SUCCESS
[ssh-for-iris-container]        Activate SUCCESS

zpm:IRISAPP>list

ssh-for-iris-container 0.0.1 
zpm:IRISAPP>q

IRISAPP>

I mean I'm having this:

Evgeny Shvarov · Apr 18, 2021 go to post

Why do you need to restart IRIS in a working docker container? If you need to change something in a container the typical approach is to rebuild the container's image and deploy it again. 

It looks like you are trying to reinvent some approach working with remote servers to containers.

Why not using the best practice for containers and leverage it's power?

What is the idea where you need SSH access and IRIS restarts with containers on a constant basis?

Evgeny Shvarov · Apr 18, 2021 go to post

Hi Robert!

What are the possible reasons to add SSH access to the deployed Docker container?

For Docker Desktop cases the access could be reached with:

docker exec

or

docker-compose exec
Evgeny Shvarov · Apr 15, 2021 go to post

This will necessary demand the package name refactoring - Api as a first package is probably too much. dc. or skalese. much better. More here

Evgeny Shvarov · Apr 15, 2021 go to post

We'll think about it - it's very different from module deployment.  This is for Application deployment more, but this could be a part of ZPM.

Evgeny Shvarov · Apr 15, 2021 go to post

And it looks like that if I want to create a database I need to have two entries:

SYS.Databases and

Databases.

Here is the minimal config to create IRISAPP namespace with one database IRISAPP in /irisapp folder.

{
    "Defaults":{
        "DBDIR" : "${MGRDIR}",
        "DBDATA" : "${DBDIR}irisapp/"
    },
    "SYS.Databases":{
        "${DBDATA}" : {}
    },
    "Databases":{
        "IRISAPP" : {
            "Directory" : "${DBDATA}"
        }
    },
    "Namespaces":{
        "IRISAPP": {
            "Globals":"IRISAPP"
        }
    }
    }

Works.

I use it in the following way to set up a docker container before loading the ZPM dev module into it.

Evgeny Shvarov · Apr 15, 2021 go to post

Wow. So now we can setup the environment using JSON and do more things than we can with %Installer, right?

Like users, roles, mappings, etc. Great feature!