Guillaume Rongier · Mar 16, 2022 go to post

With this image you will see the difference between Kong Enterprise and Kong Community :

alt

In short Kong EE (Enterprise Edition) bring :

  • A web portal to manage your services/routes
  • A dev portal to publish and test you API for developers
  • Some additional plugins like LDAP support, proxy caching, advanced rate limiting
  • Kong EE inherits from all Kong Community features

If you need training on Kong EE you can follow this guide :

https://community.intersystems.com/post/iam-intersystems-api-manager-zero-hero

Guillaume Rongier · Mar 24, 2022 go to post

This demo is now 100% python :

https://github.com/grongierisc/iris-python-interoperability-template/tree/master/src/python/Demo

Look at this beauty :

FileOperation.py

import grongier.pex
import datetime
import os
import iris

class FileOperation(grongier.pex.BusinessOperation):

    def OnInit(self):
        if hasattr(self,'Path'):
            os.chdir(self.Path)

    def OnMessage(self, pRequest):
        
        ts = title = author = url = text = ""

        if (pRequest.Post is not None):
            title = pRequest.Post.Title
            author = pRequest.Post.Author
            url = pRequest.Post.Url
            text = pRequest.Post.Selftext
            ts = datetime.datetime.fromtimestamp(pRequest.Post.CreatedUTC).__str__()

        line = ts+" : "+title+" : "+author+" : "+url
        filename = pRequest.Found+".txt" 

        self.PutLine(filename, line)
        self.PutLine(filename, "")
        self.PutLine(filename, text)
        self.PutLine(filename, " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *")

        return iris.cls('Ens.StringResponse')._New("hello")


    @staticmethod
    def PutLine(filename,string):
        try:
            with open(filename, "a",encoding="utf-8") as outfile:
                outfile.write(string)
        except Exception as e:
            raise e

FileOperationWithIrisAdapter (we can use native iris adapter :)):

import iris
import grongier.pex

class FileOperation(grongier.pex.BusinessOperation):

    def getAdapterType():
        """
        Name of the registred adaptor
        """
        return "EnsLib.File.OutboundAdapter"

    def OnMessage(self, pRequest):

        ts = title = author = url = text = ""

        if (pRequest.Post != ""):
            title = pRequest.Post.Title
            author = pRequest.Post.Author
            url = pRequest.Post.Url
            text = pRequest.Post.Selftext
            ts = iris.cls("%Library.PosixTime").LogicalToOdbc(iris.cls("%Library.PosixTime").UnixTimeToLogical(pRequest.Post.CreatedUTC))

        line = ts+" : "+title+" : "+author+" : "+url
        filename = pRequest.Found+".txt" 
        
        self.Adapter.PutLine(filename, line)
        self.Adapter.PutLine(filename, "")
        self.Adapter.PutLine(filename, text)
        self.Adapter.PutLine(filename, " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *")

        return 1

Guillaume Rongier · Apr 6, 2022 go to post

Since the launch of IRIS, ENSDEMO namespace is gone.

Now to have demo or anything else you have to go with ZPM : https://community.intersystems.com/post/install-zpm-one-line (the package manager).

Check the list here :

https://openexchange.intersystems.com/

If you still want EnsDemo check those githubs :

Guillaume Rongier · May 5, 2022 go to post

Great initiative,

I will try to apply this to most of my repository.

BTW, there is an easy way to enable BuildKit without editing the config file of docker :

Unix :

DOCKER_BUILDKIT=1 docker-compose build

Windows :

set "DOCKER_BUILDKIT=1" & docker-compose build
Guillaume Rongier · May 16, 2022 go to post

Hi, BTW, starting with IRIS 2021.1+ you can enable the interoperability metrics with those command lines :

// Enable Intero metrics for SAM
zw ##class(Ens.Util.Statistics).EnableSAMForNamespace()
zw ##class(Ens.Util.Statistics).EnableSAMIncludeHostLabel()
Guillaume Rongier · Jun 9, 2022 go to post

Hi Paul,

You can log with SuperUser/SYS.

The last version of main should fix your issue.

I still have to fix, CDA to FHIR but others are working.

Guillaume Rongier · Jul 11, 2022 go to post

@Dmitry Maslennikov

I join you in all these considerations:

  •  No lastest tag or 2021.1 sub-tag
    •  Corollary: Deleting versions without warning
  •  ARM64 images have separate names
  •  Health check behavior a bit weird
  •  Weak documentation of flags

For all these reasons I use the community versions for building my demos (thanks @Evgeny Shvarov).

However, for the problem of disappearing versions what we did with some customers is to copy the images in a private repository, it is not the most elegant solution but it works.

Guillaume Rongier · Jul 27, 2022 go to post

You are right there still is some issue in the IRIS DB-API, they will be fix in future release.

Guillaume Rongier · Jul 28, 2022 go to post

I love this project.

What I love the most is that is a full fix experience with an acceptor server and an initiator client (iris).

Some screenshot of a quote + an order :

The order : image

The quote before the order : image

The result of the quote : image

The order with the quote id : image

The result of the order : image

Result of a market request : image

Guillaume Rongier · Aug 19, 2022 go to post

Great article, in fact, with Fine Tuning, we can use pre-built and famous models like BERT (text classification by google) and adapt them to our need.

Moreover, in this case, we are not in theory but in a practical case of classification of more or less positive comments.

Thanks for this contribution!

Guillaume Rongier · Aug 19, 2022 go to post

What I like with this demo is the auto-completion of FHIR resources thanks to the "fhir.resources" library in python.

Is it also possible to do validation with this library?

Guillaume Rongier · Sep 16, 2022 go to post

Great initiative !

I love this approach, building plug-ins for third-party software to facilitate integration with IRIS.

You have done it too for node red ?

Next one, i vote for make.com