Nouvelle publication

查找

Article
· Juin 29, 2024 8m de lecture

使用 IRIS 后端创建简单的 React Web 应用程序 - 解决 CORS 问题

通过 REST API 将前端 React 应用程序与 IRIS 数据库等后端服务集成,是构建健壮网络应用程序的强大方法。但是,开发人员经常遇到的一个障碍是跨源资源共享(CORS)问题,由于网络浏览器强制执行的安全限制,该问题可能会阻止前端访问后端的资源。在本文中,我们将探讨在将 React Web 应用程序与 IRIS 后端服务集成时如何解决 CORS 问题。

创建Schema

我们首先定义一个名为 Patients 的简单Schema:

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Juin 28, 2024

[Video] What Is HealthShare Health Connect

Hi Community,

Watch the new video on InterSystems Developers YouTube:

⏯ What Is HealthShare Health Connect

HealthShare Health Connect helps you rapidly build a healthcare network using a service-oriented architecture. See how this scalable health service bus supports healthcare settings — from small clinics and hospitals to nationwide systems.

Enjoy watching this video, and expect more! 👍

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Juin 28, 2024

Keyboard Mapping in iris session when using Windows ssh.exe

There's a distinct difference between the control sequences issued by Windows ssh.exe (OpenSSH_for_Windows_9.5p1, LibreSSL 3.8.2) vs. the RHEL 9 ssh (OpenSSH_8.7p1, OpenSSL 3.0.7 1 Nov 2022) when establishing a session to a Linux host.

Windows ssh issues the following for the Home/End keys:

^[OH - Home
^[OF - End

Linux ssh issues these:

^[[1~ - Home
^[[4~ - End

iris session does the "right thing" when the initial ssh client is Linux (i.e. Home moves to the beginning of the line, End to the end), but not Windows; pressing either Home or End sends whatever has been typed so far to be interpreted as a command. This of course usually results in a syntax error. I'll also note that if iris session is run under tmux in a Windows ssh session, Home/End work normally.

I've looked for ways to modify keyboard mapping for ssh.exe but haven't found any; options for mapping in the Linux shell (i.e. .inputrc) don't have any effect, nor do any values I've set for $TERM in the environment. Are there any options for keyboard interpretation in iris session?

I'm sure this all goes away with the new WebSocket terminal but that's not yet widely available ... until then, ssh.exe is the only option that seems to integrate cleanly into VS Code's terminal functionality.

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Juin 28, 2024

Upgrading from 2022.1.4 to 2024.1 HealthShare Health Connect Behavior

Has anyone noticed weird behavior when upgrading to HealthShare Health Connect 2024.1

Wednesday I upgraded our TEST environment from IRIS for UNIX (Red Hat Enterprise Linux 8 for x86-64) 2022.1.4 (Build 812_0_22913U) [HealthConnect:3.5.0-1.m1] [HealthConnect:3.5.0-1.m1] to IRIS for UNIX (Red Hat Enterprise Linux 8 for x86-64) 2024.1 (Build 267_2U) [HealthConnect:3.5.0-1.m1].

Some of our Business Processes have been throwing...

ERROR <Ens>ErrBPTerminated: Terminating BP EnterpriseDirDBWorkDayAppointmentBPL # due to error: ERROR #5002: ObjectScript error: <LIST>%SerializeObject+7 ^Ens.BusinessProcessBPL.1
> ERROR #5002: ObjectScript error: <LIST>%SerializeObject+7 ^Ens.BusinessProcessBPL.1

I have had to Stop them from running, save and recompile the code. When I do I see a message about "Removing Orphaned Tables". Once I restart the Business Process, it is back to normal.

Shouldn't the upgrade go ahead and run $System.OBJ.CompileAll() or am I missing a step?

2 Comments
Discussion (2)3
Connectez-vous ou inscrivez-vous pour continuer