-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace/suppress packages on matchbox-server #320
Comments
Hi! So you are trying to update a package installed on Matchbox with a new NPM content, but the same version (e.g. for a dev/ci-build version)? To accomplish that, you could:
We could probably improve Matchbox to support updating the package if it already exists in the Then, you need to reload the IG in the engine. The way to do it depends on your Matchbox version, and your configuration (especially the I recently wrote a bit of documentation about the handling of packages in Matchbox (e.g. the difference between installing a package in the server, vs loading a package in the engine): https://ahdis.github.io/matchbox/packages/ |
Thank you for your reply, We tried to supress a package using the DELETE request, but the response changes depending on how the POST request to install it went :
Here are few screenshots that may help to describe the second situation 1/ Loading a package without a dependencie failled : 2/ But the package exists now on the server : 3/ We tried to delete the package using DELETE request, answer is 204 : 4/ But the package persists on the server : 5/ We tried to delete the package via web page : 6/ But the package persists on the server : |
Thanks for the screenshots, I'll need to debug that. |
I could not reproduce this issue. I tried installing an IG through the $install-npm-package operation, with an unknown dependency. I could see that the IG was installed, despite the 404 error in response. Can you share more details about your instance of Matchbox? Can I access the package you're trying to install? |
We manage to install/uninstall different packages but the package that is not correctly installing requires dependencies that are only built on a private repository. Therefore, we believe that dependencies referencing unpublished IGs may be the source of the issue. Can Matchbox-server access a private registry to install dependencies of dependencies ? Unfortunatly, we are not able to share resources yet due to sensitive information. |
can you access the registry through http calls or file based access? if yes, then it should be possible. you should also be able to provide proxy settings. you would need to install trough the API the dependent packages first. I don't think you can out of the box specify another package server, but that could be for sure added. |
Hello,
The APHP (Assistance Publique Hôpitaux de Paris) data teams are using matchbox project through its engine part to develop a tool that can perform a validation and transformation step on top of the FHIR Mapping Langage file as a Visual Studio Code extension.
One of the remaining challenges for us is to completely manage the packages installed on the matchbox-server using API requests.
Our problem is to replace or suppress a package loaded on the matchbox-server using the API request without the need of changing the package version or completely kill and recreate the server as the server seems to keep a package and its version in memory.
Is it something you already know, working on or maybe developed a solution for?
Thank you
The text was updated successfully, but these errors were encountered: