Yuri Marx · Sep 13, 2018 go to post

I agree. I did not find option to remove this article from this channel. Can you remove @Evgeny? Thanks.

Yuri Marx · Jan 3, 2019 go to post

Did not work:

Error: Não foi possível encontrar o procedimento especificado.
\\?\C:\projetos\curso-react-native\tasks-backend\node_modules\iris.node
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Server.app.listen (C:\projetos\curso-react-native\tasks-backend\index.js:7:19)
    at Object.onceWrapper (events.js:273:13)
    at Server.emit (events.js:182:13)
    at emitListeningNT (net.js:1324:10)

Yuri Marx · Jan 4, 2019 go to post

internal/modules/cjs/loader.js:718
  return process.dlopen(module, path.toNamespacedPath(filename));
                 ^

Error: Não foi possível encontrar o procedimento especificado.
\\?\c:\teste\node_modules\iris.node
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (c:\teste\iristest.js:1:74)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)

Yuri Marx · Jan 4, 2019 go to post

Same error. My error was in the var iris = require('iris'); line.

Yuri Marx · Jan 4, 2019 go to post

Your procedures worked fine on Linux. On windows persists the errors. I will use a VM with Linux. Thanks, your support was great Ward.

Yuri Marx · Jun 11, 2020 go to post

I liked isc. 

idc: intersystems developer community, may be a good option too. But a I prefer isc.

Yuri Marx · Jun 12, 2020 go to post

I will develop an inbound and outbound adapter to Kafka events. I will use Java, and iris 2020.1 that has new features to create adapters using new pex framework. But did not find samples, only some documentation. I will publish this adapter in the open exchange.

Yuri Marx · Jun 14, 2020 go to post

You need to enable https to your REST API. Follow these steps:

Use a proxy server to do that. Have a look at this git : https://github.com/grongierisc/Https-Proxy-IRIS-Docker or this one : https://github.com/lscalese/isc-webgateway-letsencrypt (thanks @Guillaume Rongier)

Steps (thanks @Eduard Lebedyuk)

1. Install public web server (Windows, Linux).

2. Connect it to InterSystems IRIS.

3. Enable HTTPS there. Easiest way is Let's Encrypt.

Yuri Marx · Jun 19, 2020 go to post

I'm using the bpmn notation only to represent IRIS options to the development.

Ensemble not supports bpmn, only bpel, but it is possible use a java bpmn engine to run bpmn process from iris, or the api services from this bpmn engine. There are many options to open source engines like activiti, camunda, flowable. Would be a good option to a new open exchange app!

Yuri Marx · Jun 22, 2020 go to post

Set above instructions in your server cache web service, not in the client.

Yuri Marx · Jun 29, 2020 go to post

Not worked. I my string property has maxlen defined but parameters not contains the element MAXLEN

Yuri Marx · Jun 29, 2020 go to post

Class dbml.DictToDBML
{

ClassMethod WriteDBML(schema As %String = "") As %Status
{
    Set stmt = ##class(%SQL.Statement).%New()
    Set status = stmt.%PrepareClassQuery("%Dictionary.CompiledClass","Summary")
    If $$$ISERR(status) {
        Do $System.Status.DisplayError(status)
        Quit
    }

    Set rset = stmt.%Execute()
    While (rset.%Next()) {
        If rset.%Get("Persistent") = 1 {
            Set table = rset.%Get("Name")
            Set tableSchema = $Piece(table, ".", 1)
            Set tableName = $Piece(table, ".", 2)

            If tableSchema = schema {

                Set cdef = ##class(%Dictionary.CompiledClass).%OpenId(table)
                Write "Table ", tableName, " {",!
                    Write " ID integer [primary key] ",!
                    // get list of properties
                    Set count = cdef.Properties.Count()

                    For i = 1:1:count {
                        Set paramCount = cdef.Properties.GetAt(i).Parameters.Count()

                        //I checked Name property and it has MAXLEN
                        If (cdef.Properties.GetAt(i).Name = "Name") {

                            Write "MaxLen: ",cdef.Properties.GetAt(i).Parameters.GetAt("%MAXLEN"),!

                        }

                        Write cdef.Properties.GetAt(i).Name, " ", cdef.Properties.GetAt(i).Type, "", cdef.Properties.GetAt(i).Parameters.Count(),!
                    }
                    Write "}",!
                }

            }
        }

        Return $$$OK
}

}

Yuri Marx · Jul 10, 2020 go to post

RSS is XML, and XML is a document, ideal to a DocDB, no? Or DocDB works fine only with JSON?

Yuri Marx · Jul 20, 2020 go to post

The organization was fantastic. The contest staff is great. The contest is responsible to increase IRIS adoption to new developers and increasing open apps and samples about intersystems tech. It is a valuable instrument!