Skip to content

Conversation

@gmagnu
Copy link
Contributor

@gmagnu gmagnu commented Jan 4, 2026

Add support for versioning of dictionaries. The setup for that is as follows:

  • Use gord folders
  • We have thedict.gord.link instead thedict.gord. thedict.gord.link is a versioned link file that points to the actual gord file.
  • The actual gord files are at the top level of the gord folder.

The changes in this PR are:

  1. Changes to the files that implement GorDictionary, to support versioned link files.
  2. Changes to write and forkwrite (and related classes), to better support writing link files. That cover versioned GOR dictionaries and more (other gord folders, generic forkwrite and more).

…upport-versioning-of-dictionaries

# Conflicts:
#	gortools/src/main/scala/gorsat/Analysis/ForkWrite.scala
#	gortools/src/main/scala/gorsat/InputSources/Exec.scala
#	model/src/main/java/org/gorpipe/gor/driver/linkfile/LinkFile.java
#	model/src/main/java/org/gorpipe/gor/driver/linkfile/LinkFileMeta.java
#	model/src/test/java/org/gorpipe/gor/driver/linkfile/LinkFileTest.java
String[] parts = credLine.split("\t");
if (parts.length != 5) {
throw new IllegalArgumentException("Invalid credential line format. Expected format: <mdr url>\\t<keycloakUrl></>\\t<clientId>\\t<clientSecret>");
log.error("Invalid credential line format. Expected format: <mdr url>\\t<keycloakUrl></>\\t<clientId>\\t<clientSecret>");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this not an error any more?

Copy link
Contributor

@gumson gumson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gmagnu gmagnu merged commit 5e657f4 into main Jan 8, 2026
11 checks passed
@gmagnu gmagnu deleted the ENGKNOW-2781-gor-support-versioning-of-dictionaries branch January 8, 2026 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants