Nouvelle publication

Rechercher

InterSystems officiel
· Mai 8, 2024

InterSystems IRIS & IRIS for Health 2024.2 Developer preview update

An updated developer preview of InterSystems IRIS 2024.2 and InterSystems IRIS for Health 2024.2 has been posted to the WRC developer preview site.  This release contains a few noteworthy changes:

  • Containers – we skipped containers for the previous preview, but we’re including them this time.  In a future preview, we’re planning to switch these to use the Ubuntu 24.04 base image.
  • Ubuntu 24.04 support – this preview includes support for the brand-new Ubuntu 24.04 operating system.  We will be dropping support for Ubuntu 20.04 in a later preview.
  • Windows Installer upgrades – this preview includes changes to the Windows installer.  The only thing you should notice is that it runs faster, but if you find any problems, do please let us know.
  • Studio is now installed separately – starting with IRIS 2024.2, Studio no longer comes with the IRIS kit on Windows.  By now, most customers have switched to using Visual Studio Code.  If you want to still use Studio, it is available to download separately from the WRC.

Initial documentation can be found at these links below.

Availability and Package Information

This release comes with classic installation packages for all supported platforms.  For a complete list, refer to the Supported Platforms document.

Installation packages and preview keys are available from the WRC's preview download site or through the evaluation services website (tick the "Show Preview Software" box).

Container images  are available from the InterSystems Container Registry. Containers are tagged as latest-preview.

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Article
· Mai 8, 2024 4m de lecture

Implemented Ideas: Wizard to generate ObjectScript from an OpenAPI

The OpenAPI Specification (OAS) defines a standard, language-agnostic interface to HTTP APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. While for SOAP based APIs there is a special wizard in InterSystems IRIS that cuts down orchestrations development time, not all APIs used in integrations are SOAP. That's why @Jaime Lerga suggested to add a wizard similar to the SOAP wizard to generate a REST client from OpenAPI specification. Implementation of this idea cuts down the development time of the REST API orchestrations with InterSystems IRIS. This idea is one of most popular ideas on the InterSystems ideas. This article, the third in the "Implemented Ideas" series, focuses on the OpenAPI Suite solution developed by @Lorenzo Scalese.
 

In short, OpenAPI-Suite is a set of tools (packages and libraries), to generate ObjectScript code from an OpenAPI specification version 3.0. These tools allow to:  

  • Generate server-side class.  
  • Generate HTTP client classes.
  • Generate client production (business services, business operation, business process, Ens.Request, Ens.Response) classes.
  • A web interface to generate and download the code or generate and compile directly on the server.
  • Convert specification from version 1.x, 2.x to version 3.0.

The scheme above provides the list of all packages developed in OpenAPI-Suite, and used libraries and web-services. Detailed description of each package and library, as well as other important details about solution are available in the series of articles written by the author of the implementation: OpenAPI Suite - Part 1 , OpenAPI Suite - Part 2

Special thanks to @Lorenzo Scalese for answering the questions about the implementation of this. Below is a short compilation based on his answers and articles dedicated to the OpenAPI-Suite application.

Scalese highlighted several reasons why he was intrigued by the implementation of this idea:

  • He often found himself repeating the same tasks when designing REST APIs, both on the server and client sides. It was both time-consuming and inefficient.
  • He noticed a gap in the field of API development - a lack of suitable tools for generating ObjectScript code from OpenAPI version 3 specifications.
  • It is an extremely stimulating and professionally enriching technical challenge to design a code generator to address this issue.

During the implementation, the developer was impressed mostly by the ease with which he was able to generate ObjectScript classes. The use of the %Dictionary API proved to be an extremely valuable resource, greatly simplifying the process. Additionally, he was struck by the variety of expressions the OAS 3 specification allowed to achieve the same result. Managing this variability and ensuring coverage of all possible cases was one of the main challenges Scalese encountered.

The OpenAPI-Suite developer would like to make significant improvements to the user interface of the solution. Currently, it is rather basic and lacks customization options. Many features are only available in terminal mode, so he plans to add more advanced customization functionalities. Additionally, @Lorenzo Scalese is motivated to develop a full-fledged front-end application to enhance the user experience. Sometimes he also wonders whether creating a Swagger plugin for ObjectScript might not have been a better option, allowing direct generation of code accessible via https://editor.swagger.io/. This could enable more seamless integration into existing developer workflows.

The OpenAPI-Suite solution aroused great interest from InterSystems Developer Community members. It was installed 135 times using IPM, has 4 reviews from developers and has 5 stars rating. @Theo Stolker says in his review that OpenAPI-suite is the best possible option when the developer's goal is to generate client code for an API published as OpenAPI specification.


Please share your feedback about the highlighted solution and idea in the comments.

Don’t forget to post your ideas, vote and comment on existing ideas, implement Community Opportunity ideas!

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Résumé
· Mai 8, 2024

InterSystems Community Q&A Monthly Newsletter #36

Top new questions
Can you answer these questions?
#InterSystems IRIS
Connection from Oracle DG4ODBC to Cache or IRIS
By Ashwan Malenuk
SQL Cached Queries understanding
By Ashok Kumar
Pentaho Data Integration with IRIS ?
By Sylvain Guilbaud
initial user account
By Philip Briere
IIS webserver much slower than PWS
By Marcel den Ouden
Question about IAM
By Scott Roth
IRIS Dashboard/Deepsee Queries
By Virat Sharma
How to create a database with its associated resource using merge command ?
By Sylvain Guilbaud
docker run iris ,the container log always show Starting InterSystems IRIS instance IRIS... and can not open web page
By bold t
IRIS on AWS EC2 and Hugepages
By Cristiano Silva
terminal attached to the JOB
By Davi Massaru Teixeira Muta
OpenAPI property mismatch in Spec First approach IRIS documentation
By Ashok Kumar
Error when trying to set up an SSL/TLS configuration
By David Greer
Problems with healthshare
By Claudia Cortes Villa
Emergency Access on a Lockeddown Iris Kit
By Luis Alcaraz
Modifying Visual Studio Code code assist results
By Maarten Van den Vreken
What's the most recent non-preview Community Edition Container?
By Rob Tweed
Failed to allocate TCP Buffer for zlib compress.
By Shiraz Shakil
WRC direct access
By Philip Briere
Initiating a Method After a Timeout During Message Delivery
By Pietro Di Leo
scripting out Integrty check and the result output
By Feng Wang
Dynamically Generating SQL queries Based on Incremental Column values
By Parameshwaran Muthaiyan
Complete novice question
By James Rutledge
Need to decompress string compressed with zlib. Can I manually add the "customized wrapper" intersystems requires for $System.Util.Decompress()
By Daniel Raderstrong
How to debug with VSCode
By Basil Eldhose
#InterSystems IRIS for Health
#HealthShare
#Caché
#Ensemble
#VSCode
#Other
#36Monthly Q&A fromInterSystems Developers
Question
· Mai 8, 2024

IIS webserver much slower than PWS

We are experimenting with IIS, as the PWS will be gone in newer versions.

The code which is executed, takes 15ms to run. If we execute it through PWS (REST), there is some overhead and the total execution time is 40ms, which is acceptable. However, if we go through IIS, it takes 150ms or sometimes even more.

Both PWS and IIS are running on the same server as IRIS in this case. No optimisations have been done on IIS.

Any suggestions on where to look/what to optimize on IIS?

4 Comments
Discussion (4)3
Connectez-vous ou inscrivez-vous pour continuer
Article
· Mai 8, 2024 1m de lecture

Configuraciones que deben copiarse al migrar el servidor

Preguntas Frecuentes de InterSystems

Si necesita migrar su servidor por algún motivo, se puede reducir el trabajo de configuración del nuevo entorno. Bastará copiar la información de configuración del entorno previo al nuevo entorno. 

Se puede migrar la siguiente información de configuración.

  • iris.cpf
  • configuración del SQL gateway 
  • configuración del web gateway *Nota 1
  • rutinas de usuario, etc... almacenadas en la base de datos IRISSYS *Nota 2
  • configuración de seguridad 
  • configuración de tareas

Nota 1: Si se ha establecido una contraseña, sólo es necesario restablecerla manualmente.
Nota 2: Las configuraciones preferidas, como ^%ZSTART, rutinas ^ZMIRROR, etc., se pueden migrar físicamente, pero se debe copiar la información del registro de Windows.

Copiar información de registro y migrarla a otro sistema no suele ser un método recomendado.

Server Migration Guide

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer