Question Michael Davidovich · Sep 11, 2020

Hey there,

I posted a reply to the recent video https://community.intersystems.com/post/new-video-building-data-driven-web-apps#comment-132511
with a slew of questions.  Wondering if someone can take a look a address my questions on that post or on this new thread.

I find many InterSystems learning to be challenging to follow, but I"m not sure if it's because my work computer is so locked down that I don't have all the right tools and permissions I need to do what the tutorial asks, or if I'm not understanding the basics of Cache/IRIS, or both!

Mike

2
0 405
Question Higor Granzoto · Apr 14, 2021

We are planning to build a REST API with the Java Quarkus Framework.

  • There'll be a connection pool;
  • The DataSource instance will be automatically injected from the connection pool;
  • We will use JDBI to do SQL instructions and this will give us automatic Connection and Statement management;

This Caché instance already have COS applications running and consuming connections and licenses.

After doing this, we will migrate to IRIS.

Is there any pitfalls that we must be aware before taking this approach?

If you want to see some code the PoC can be found here.

Thanks.

1
0 389
Article Peter Steiwer · Nov 26, 2019 3m read

When designing a hierarchy in DeepSee, a child member must have only one parent member. In the case where a child corresponds to two parents, the results can become unreliable. In the case where two similar members exist, their keys must be changed so that they are unique. We will take a look at two examples to see when this happens and how to prevent it.

Example 1

There are a handful of states with a city named Boston. In my sample data, I have records from both Boston, MA and Boston, NY. My dimension is defined as:

City and State are simply strings in my case.

1
1 948
Question Utsavi Gajjar · Feb 25, 2022

Hello All,

I am looking for some ideas from people who have automated alerting in place for their Ensemble or IRIS productions.  

I want to start with basic things like, simply checking if a Production is up and running. Once this has been achived, I am looking to go deeper and implement monitoring on each interface level for things like, Queue Size, Errors and Inactivity.

Would appreciate if you can share some ideas. I have been exploring http://localhost:52773/api/monitor/metrics but don't see anything in there that tells me whether my Production(s) are running ok or not.

Thank you.

3
1 673
Question Dmitry Maslennikov · Jun 9, 2021

Found one interesting behaviour in one system with Ensemble. Some Request class has a property with type %XML.CharacterStream by design, this class is the heaviest request in the system, and with profiling journal files, it got about 40% of the file. When I counted all the sizes of such streams per one day and found that the real stored data is three times less. After deep inspecting the journal file, I found the first save of stream data, then removing previously stored data, and saving again and there were no reasons to change the content of the stream, it should be stored only once.

3
0 441
Question Dustin Knudsen · Jul 20, 2021

I'm thinking to try ChunkedWriter based on the documentation I'm reading to solve an issue but could use some clarification. Anyone that could provide a usage example of this down below?

To send a chunked request, do the following:

  1. Create a subclass of %Net.ChunkedWriterOpens in a new window, which is an abstract stream class that defines an interface for writing data in chunks. In this subclass, implement the OutputStream() method.
  2. In your instance of %Net.HttpRequestOpens in a new window, create an instance of your %Net.
1
0 406
Question Prachi Palaskar · Jul 15, 2021

Hi All,

We wanted to implement SSO(Single Sign On) flow from VSCode plugin to web application. In order to do this we need to launch new browser from VSCode (typescriptcode) and open application URL in this new browser. When trying to achieve this by using WebView  we are getting - X-frame-options issue and mentioning it is set as same origin. We have tried setting 'Content-Security-Policy' as well but not able to launch application in browser.

1
0 337
Question Drew Spoelstra · Jun 28, 2021

Hi,

I'm using a DTL to convert a custom request class to various R4 FHIR resources using the HS.FHIR.DTL.vR4.Model.Resource classes. All is well with the exception of "meta.profile": when I attempt to hardcode this to a string value, the output is missing the value. This happens for several resources, specifically .HealthcareService, .Location, and .OrganizationAffiliation. I am able to get around this by doing an Insert() in a subsequent code block in a BPL, but was curious if someone knows why this would fail in a DTL.

1
0 301
Question Lawrence Williams · May 14, 2021

We are developing some containarized cloud application level iris instances and using CPF Merge to do a lot of the initial buildout for the iris instance (i.e.  create databases, namespaces, map globals/routines, ecp setup, etc...)

I am trying to figure out how to get package mappings into a namespace config, via cpf merge if possible... ?

This is the document I am working from to develop the cpf merge file -

[Actions] - Configuration Parameter File Reference - InterSystems IRIS Data Platform 2020.4
 

1
0 414
Question Sebastian Thiele · Apr 27, 2021

Hi,

I am looking for a way to retrieve stream data from a FHIR resource. In my case the resourceType is "DocumentReference" and the the Base64 content is stored just as in the FHIR R4 specification

 "resource": {
        "id""66bd8775-68ef-4710-a3a1-03114341a61a",
        "resourceType""DocumentReference",
        "meta": {
          "profile": [
            "http://fhir.
1
0 507
Question Florian Lestienne · Apr 23, 2021

Hello,

I have a question about a problem calling a SOAP Web Service.

Indeed, to retrieve data via a Web Service, I need to make 4 calls, one to connect, one to place parameters, one to retrieve data and one to disconnect. Using the EnsLib.SOAP.OutboundAdapter class, I manage to make my first connection call but for the other calls I would need to keep my session cookie otherwise it doesn't consider me as connected. I know it's possible to do this in REST directly in the EnsLib.REST.OutboundAdapter class but I can't find a way to do it in SOAP.

1
0 358
Question Alice Gianni · Apr 13, 2021

Hello everyone! 

Have you ever worked with or undertaken a test through a technical assessment platform (Codility, Coderbyte, HackerRank, ...)? What was your experience?

Thanks in advance for sharing!

1
0 739
Question Jairton Junior · Feb 11, 2021

Consider a Natural Key with an Identity (Serial) field.

I cannot seem to acquire the generated value after persisting my entity. That is, the returned entity by Spring Data's "save" does not have the generated value.

The value is generated by the database, and I can query it after repository.save(entity).

I have done some testing and created a Github repo with it...

https://github.com/jesjobom/iris-hibernate-key-test
Am I missing something?

1
0 255
Question Jian Li · Nov 20, 2020

When I log in to the management portal page, I want to know where to verify whether the user name and password information I entered are correct, and how to handle it in the program. Is it handled through routine? Or is there a Dispatch Class to handle?

1
0 259