Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Support loading mappings from PostgreSQL via the
pg-native
library. A major problem was that the proxy works watching files for changes (SQLite or JSON files). With PostgreSQL this is not possible, so I resorted to polling at regular intervals (configurable via the new--pollingInterval
command line option) and PostgreSQL asynchronous notifications. See the new functionwatchPostgres
and new section of the README for more details.As a side effect, running the proxy requires nodejs v14 now. I have also included a package-lock.json file and version specifiers for
axios
,axios-retry
,chai
andmocha
.This feature is meant to work in conjunction with galaxyproject/galaxy#18481.