Question Heloisa Paiva · Jul 29, 2024

Does anyone know what this task does exactly? And what problems would I have if I didn't use an SSL certificate?

I got the error: "SSL/TLS error in SSL_connect(), SSL_ERROR_SSL: protocol error, error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed"

Has anyone encountered this problem before?

4
0 214
Article Robert Cemper · Jul 30, 2024 2m read

If one of your packages on OEX receives a review you get notified by OEX only of YOUR own package.   
The rating reflects the experience of the reviewer with the status found at the time of review.   
It is kind of a snapshot and might have changed meanwhile.   
Reviews by other members of the community are marked by * in the last column.

I also placed a bunch of Pull Requests on GitHub when I found a problem I could fix.    
Some were accepted and merged, and some were just ignored.     
So if you made a major change and expect a changed review just let me know.

0
0 126
Question Alin Soare · Jul 30, 2024

Hi there,

My purpose is to encrypt a communication using JWT tokens.  I am developing on IRIS and my purpose is to generate a JWT token that will run on an older version of Cache (so I have to use functions that are compatible with the older version, Cache).

I wrote this code in IRIS:

s username = "user-test123"

s payload = {"id": "test-id-123", "username": "test-username"}

s alg = "HS256"

This code works and the output is so:

%OAuth2.JWKS.AddOct  generated a key in the 3rd argument, "jwks".

0
0 320
Question Adam Raszkiewicz · Jul 26, 2024

I was watching this video about IRIS and GitHub and all is clear to me how it works and how code from each branch is getting deployed to each IRIS environment but the process to deploy is manual. My question is how can I, if possible, to utilize gti-source-control from GitLab CICD pipeline to deploy code automaticaly after PR approval instead going to the Git UI?

Thanks

2
0 614
Question Anya Mittal · Jul 19, 2024

Hi all,

I have some .vm (Velocity Templating Language) files that I'd like to be able to load into IRIS with the $System.OBJ.Load(filename) command, but it seems that only accepts XML files.

I've tried adding import/export logic in my custom studio document that will wrap the velocity content inside an XML document and vice versa, I've changed the existing Velocity files to have the extension .xml and be wrapped in XML, and I've included a .dtd file for them to reference. However, this doesn't seem to work.

4
0 237
Article Anastasia Dyubaylo · Jul 19, 2024 3m read

Among the numerous authors present on the InterSystems Developer Community, there are unsung heroes who leave a lasting impact through their dedication and contributions. One such member is @Ben Spead, whose experiences and milestones have greatly shaped our Developer Community. He has consistently championed the communities, starting with Zen Community in 2008 to being an early participant in the Developer Community's beta phase in 2015.

🤩 Let's take a closer look at Ben's journey with InterSystems technology and our Developer Community...


14
1 440
Question Kari Vatjus-Anttila · Apr 6, 2022

Hello,

Recently I have been tinkering with VSCode and ObjectScript extension to connect to my dockerized IRIS instance. I have configured the instance to use Apache as a Web Gateway as per instructions and it has been working well. Currently I'm using a self-signed certificate for the SSL part of the connection. The browser nags about insecure certs when connecting to Management Portal but that's expected.

11
0 1496
Question Dmitry Maslennikov · Jul 29, 2024

Started some work using WorkMgr, but then I noticed, that it stuck and does not get any responses from workers anymore

And I found that messages log contains logs about dead processes, why WorkMgr daemon did not restart died processes?

How to restart them without restarting IRIS

07/29/24-15:10:59:589 (856) 2 [Generic.Event] Process terminated abnormally (pid 949, jobid 0x0002001d)
07/29/24-15:10:59:603 (856) 0 [Generic.Event] cleaned dead job, pid: 949, jobid 0x0002001d
07/29/24-15:10:59:603 (856) 2 [Generic.Event] Process terminated abnormally (pid 951, jobid 0x0001001f)
07/29/24-15:10:59:603 (856) 0 [Generic.Event] cleaned dead job, pid: 951, jobid 0x0001001f
07/29/24-15:10:59:603 (856) 2 [Generic.Event] Process terminated abnormally (pid 952, jobid 0x00010020)
07/29/24-15:10:59:604 (856) 0 [Generic.Event] cleaned dead job, pid: 952, jobid 0x00010020
07/29/24-15:10:59:604 (856) 2 [Generic.Event] Process terminated abnormally (pid 953, jobid 0x00010021)
07/29/24-15:10:59:604 (856) 0 [Generic.Event] cleaned dead job, pid: 953, jobid 0x00010021
07/29/24-15:10:59:604 (856) 2 [Generic.Event] Process terminated abnormally (pid 954, jobid 0x00010022)
07/29/24-15:10:59:604 (856) 0 [Generic.Event] cleaned dead job, pid: 954, jobid 0x00010022
07/29/24-15:10:59:604 (856) 2 [Generic.Event] Process terminated abnormally (pid 955, jobid 0x00010023)
07/29/24-15:10:59:604 (856) 0 [Generic.Event] cleaned dead job, pid: 955, jobid 0x00010023
07/29/24-15:10:59:604 (856) 2 [Generic.Event] Process terminated abnormally (pid 956, jobid 0x00010024)
07/29/24-15:10:59:604 (856) 0 [Generic.Event] cleaned dead job, pid: 956, jobid 0x00010024
07/29/24-15:10:59:604 (856) 2 [Generic.Event] Process terminated abnormally (pid 957, jobid 0x00010025)
07/29/24-15:10:59:604 (856) 0 [Generic.Event] cleaned dead job, pid: 957, jobid 0x00010025
07/29/24-15:10:59:604 (856) 2 [Generic.Event] Process terminated abnormally (pid 958, jobid 0x00010026)
07/29/24-15:10:59:604 (856) 0 [Generic.Event] cleaned dead job, pid: 958, jobid 0x00010026
07/29/24-15:10:59:604 (856) 2 [Generic.Event] Process terminated abnormally (pid 959, jobid 0x00010027)
07/29/24-15:10:59:604 (856) 0 [Generic.Event] cleaned dead job, pid: 959, jobid 0x00010027
07/29/24-15:10:59:604 (856) 2 [Generic.Event] Process terminated abnormally (pid 960, jobid 0x00010028)
07/29/24-15:10:59:604 (856) 0 [Generic.Event] cleaned dead job, pid: 960, jobid 0x00010028
0
0 182
Article Theo Stolker · Feb 16, 2024 5m read

Since my initial question on ordering json properties a few things have happened.

Let me recap the issue at hand:

  • In the FHIR specification, properties are listed in a certain order, for example, see https://www.hl7.org/fhir/patient.html#resource
  • When you serialize resources to XML, the resulting document elements are ordered as defined in the specification.
  • On the other hand, json objects returned from the IRIS for Health FHIR Repository will for example normally have the "id" as the last property, given that new properties are appended.
1
1 490
Article Dmitry Maslennikov · Dec 3, 2021 1m read

Not so while ago GitHub introduced, ability to very quickly run VSCode in the browser for any repository hosted there. Press the . key on any repository or pull request, or swap .com with .dev in the URL, to go directly to a VS Code environment in your browser.

github dev

This VSCode is a light version of the Desktop version but works entirely in Browser. And due to this, it has a limitation for extensions which was allowed to work this way. And let me introduce the new version 1.2.1 of VSCode-ObjectScript extension which now supports running in Browser mode.

6
3 1380
Question Krishnaveni Kapu · Jul 25, 2024

I receive response from Business Operation(HTTP GET) as below :

<response>
<message_code>202</message_code>
<message_string>Success/message_string>
</response>

I am not able to read the "message_code" as response.message_code ?
is it because of underscore ?
Is there a way to read it ?

4
0 245
Question Kari Vatjus-Anttila · Oct 31, 2016

Hi,

I'm new with writing Caché Objectscript so I need some assistance. I have XML which contains information like this:

<?xml version="1.0" encoding="UTF-8"?>
<session>
   <sessionId>124364</sessionId>
   <cabinet>demo</cabinet>
   <eventType>IN</eventType>
   <eventTime>20161006160154</eventTime>
   <login>test</login>
   <loginFirstName>test</loginFirstName>
   <loginLastName>test</loginLastName>
</session>

I have a class representing this object as follows:

 Class Testing.Messages.Session (
5
0 1589
Question Ali Chaib · Nov 2, 2023

Hello Intersystems Community,

I'm currently facing an issue with message purging in my Healthcare environment, and I'm seeking your valuable insights and guidance to resolve it.

I've configured a purge task to delete messages older than 30 days, and when I run this task immediately, it doesn't delete anything,

I changed the 'Run task as this user:...', I thought it could be an access issue.. But nothing happened, I even changed the priority, same thing.. 

4
0 584
Question john.smith4237 · Jul 25, 2024

Hi Guys,

I'm getting  ERROR #6237: Unexpected tag in XML input: imageclickbutton  when running Build All for all existing classes, imageclickbutton  is one of custom  components we use in our application and I can actually compile imageclickbutton.cls class with no issues and also I can compile the class containing the imageclickbutton  tag with not issues but I get the errors when running the Build All not sure why?

2
0 190
Article Laurel James (GJS) · Jul 25, 2024 4m read

An effective source control solution allows organizations to manage complex codebases, facilitate seamless collaboration within development teams, and streamline deployment processes.

Sonic Healthcare, a leading provider of pathology, radiology, general practice, and corporate medical services, has significantly enhanced visibility and control over its complex environment by implementing Deltanji source control. The tight integration Deltanji provides with InterSystems IRIS and IRIS for Health has been central in achieving these improvements.

0
0 300
Question Jason Jones · Jul 15, 2024

I am trying to log certain program data in my ObjectScript REST class, to track down a bug I have. I am comparing two values at runtime, and one result does one thing, and another a different thing. Since this is a REST API class, I have no way of seeing in real time what the value is to debug. I cannot simply run the method in debug in Studio as it will not run properly being a REST class method, nor have the correct incoming header data to correctly replicate what is happening in the API at runtime when being hit by client apps.

6
2 292
Article John Murray · Jul 24, 2024 2m read

I encountered this quirk when investigating an unrelated issue affecting how Studio projects are handled in VS Code.

When you add the top level of the webapp to a %Studio.Project this inserts a %Studio.ProjectItem with a .DIR suffix. For example, if Studio or VS Code is connected to the USER namespace and you add the /csp/user webapp to a project the new ProjectItem name is "csp/user.DIR".

When you export this project to XML from the project's context menu in Studio, or by calling the %Studio.Project.

2
0 244
Question Anna Golitsyna · Jul 24, 2024

As I was trying to create a routine search query via RoutineList, I discovered that documentation both for Cache and Iris offers only ABC* and ABC? syntax for including routine names and, unlike %RO, does not offer name ranges. Is that indeed so?

After some system files reading, I discovered that you can EXCLUDE certain routines with ', by using the 'ABC or 'ABC* syntax. That is not documented but it should be. Any other non-documented RoutineList syntax capabilities? 

Example:

list="ABC*,'ABCD*,XYZ"
;Iterate through routine list
rs=##class(%ResultSet).%New("%Routine:RoutineList")
x=rs.

1
0 181
Question Javier Lorenzo Mesa · Jul 24, 2024

Hi,

I'm making a request to an API that works perfectly with Postman, you can see it here:

The URL is https://testcds.esriguide.org/v2/session/3189981 where the last part is the ID's session I want to get back.

When I try to make the same request in IRIS I always get a "Bad request" error.
I'm creating the request which all the information needed (or at least that I know):

Method TornaRequestGET() As %Net.HttpRequest

{
Set request = ##class(%Net.HttpRequest).%New()
Set request.SSLConfiguration = "iGUIDE"
Do request.SetHeader("Authentication",..#AuthenticationAPIKEY)
Do request

2
0 234
Question reginald davis · Jul 24, 2024

Is there documentation that shows the mapping between the management portal components and object script package.class.methods? 
I am searching on-line documentation but have not been successful.
For example, in the management portal  SystemOperation > TaskManager > TaskSchedule  can map to the method:  class(Monitors.Tasks).ListSuspendedTasks().


What would be a similar mapping for SystemOperation > TaskManager > TaskHistory?
I initially thought it would be something similar to class(Monitors.Tasks).ListTaskHistory().
Best Regards,

1
0 150