Encontrar

質問
· 2024年1月18日

VSCode Deleting or Renaming Files

In VSCode using the InterSystems extensions, I now have an almost working environment where routines can be created or modified on disk and these are pushed to the developer's IRIS instance.

One issue I'm finding whilst testing is that if I rename or delete a routine from disk, the change isn't pushed to IRIS and I can't work out how to make this happen.

This means that a developer can have renamed or deleted a file on disk, but can still call functions within the renamed/deleted routine within the IRIS instance and not experience any NOROUTINE errors. The developer might well spot the mistake, but that relies on developer brilliance. I'd much prefer to reflect the rename/deletion within IRIS. Otherwise, the first time a developer will see any NOROUTINE errors is after a new build is made from the contents of the repo.

I'm wondering if there is a setting I can change to make VSCode send renames/deletions via the atelier APIs.

ディスカッション (0)3
続けるにはログインするか新規登録を行ってください
質問
· 2024年1月17日

How to export a project via Visual Studio Code?

Hi everyone, 

Does anyone know how to export projects via VSC? 

I opened the project through the "InterSystems Tools" plugin (command is "Edit Code in Project") and I can correctly work on it.

However, when I try using the "ObjectScript" plugin to export the project (right click on the project -> "Export Project Contents")

This message appears and it is not possible to export the project:

I've tried also to open a new window, then a folder and finally the project, but nothing changes. 

This is an example of my workspace: 


Anyone knows how to do it? 

Thank you! 

3 Comments
ディスカッション (3)3
続けるにはログインするか新規登録を行ってください
質問
· 2024年1月16日

VSCode "Go To Definition" Does Nothing

When using VS Code to develop with Object Script, the Server Credentials prompt for connecting to the IRIS instance is happy accept a blank for UnknownUser. See screen shot:

From here VS Code happily connects to the IRIS instance using unauthenticated access. But the standard VS Code "Go To Definition" appears to do nothing. Whilst looking through the documentation I found that in the Language Server extension, there is a setting to output verbose trace details. With verbose output switched on, trying the "go to definition" of some code, the output shows this:

"[Warn  - 12:16:39 PM] Cannot make required REST request because the configured server connection has a username but no password."

Has anyone encountered this before? There is a bit of inconsistency between the Server Manager extension being happy to communicate with IRIS using unauthenticated access, but then the Language Server extension struggles. I'm happy to just instruct all users to have a username and password, but I'm wondering if there is a fix or something I can configure to make unauthenticated access.

5 Comments
ディスカッション (5)3
続けるにはログインするか新規登録を行ってください
記事
· 2024年1月15日 2m read

视频合集 | InterSystems IRIS医疗版互联互通套件产品用例

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2024年1月5日

Problème de connexion SFTP

Bonjour,

Je fais face à un problème depuis plusieurs mois, j'ai plusieurs flux qui fonctionnent en SFTP avec la classe d'iris EnsLib.FTP.PassthroughService

Le problème est que de temps en temps, j'ai un message d'erreur qui dit : 

"Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée" 

J'ai eu le cas pour un serveur chez nous et nous avons solutionné le problème en rallongeant le paramètre intervalle entre appels à 60 secondes,

Cependant j'ai la même erreur pour un serveur extérieur avec exactement la même configuration que le premier flux, j'ai contacté leur service infrastructure qui m'ont dit qu'il manquait bien un connexion SFTP à l'heure de l'erreur mais ils n'ont aucune information et rien dans leur logs. 

Concrètement cela n'empêche pas le flux de fonctionner car au prochain appel, tout refonctionne, cependant le noeud reste en rouge jusqu'à ce qu'il y ait un nouveau "ConfigItem" et cela nous envoie donc un mail d'alerte et surtout nous passe notre production en erreur sur notre outil de supervision qui est relié à l'api monitor d'Iris

D'ailleurs je ne comprend pas à quoi correspond ce fameux ConfigItem qui arrive assez aléatoirement comme ici par exemple.

Est-ce que d'autres personnes possèdent des flux SFTP en continu ? Avez-vous déjà eu ce problème ?

Merci par avance 

7 Comments
ディスカッション (7)2
続けるにはログインするか新規登録を行ってください