Skip to content

feat(ENGKNOW-2903): gor services able to read production mdr from staging#77

Merged
gmagnu merged 7 commits into
mainfrom
ENGKNOW-2903-gor-gor-services-able-to-read-production-mdr-from-staging
Nov 20, 2025
Merged

feat(ENGKNOW-2903): gor services able to read production mdr from staging#77
gmagnu merged 7 commits into
mainfrom
ENGKNOW-2903-gor-gor-services-able-to-read-production-mdr-from-staging

Conversation

@gmagnu
Copy link
Copy Markdown
Contributor

@gmagnu gmagnu commented Nov 17, 2025

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 17, 2025

Junit Tests - Summary

4 333 tests  +2   4 166 ✅ ±0   11m 13s ⏱️ -53s
  456 suites  - 2     167 💤 +2 
  456 files    - 2       0 ❌ ±0 

Results for commit b175970. ± Comparison against base commit 04e5c76.

This pull request removes 2 and adds 4 tests. Note that renamed tests count towards both.
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ testReadDocument
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ testReadDocumentWithNor
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ tesServerUrl
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ testReadDocumentServer
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ testReadDocumentStd
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ testStdUrl
This pull request removes 2 skipped tests and adds 4 skipped tests. Note that renamed tests count towards both.
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ testReadDocument
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ testReadDocumentWithNor
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ tesServerUrl
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ testReadDocumentServer
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ testReadDocumentStd
org.gorpipe.gor.driver.providers.mdr.UTestMDR ‑ testStdUrl

♻️ This comment has been updated with latest results.

private static final Cache<MdrDocumentCacheKey, MdrUrlsResultItem> documentCache =
CacheBuilder.newBuilder().concurrencyLevel(4).expireAfterAccess(config.mdrCacheDuration(), TimeUnit.MINUTES).build();

static {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not a big fan of this. Would rather explicitly load these resources.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

You mean the static loading of the config?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It might be used by the static helper functions, so I would like to do the load in static initializer.

Copy link
Copy Markdown
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.

From a SOLID perspective this needs work, but other than that it looks good so I approve.

@gmagnu gmagnu changed the title Engknow 2903 gor gor services able to read production mdr from staging feat(ENGKNOW-2903): gor services able to read production mdr from staging Nov 19, 2025
@gmagnu gmagnu merged commit e8190cd into main Nov 20, 2025
11 checks passed
@gmagnu gmagnu deleted the ENGKNOW-2903-gor-gor-services-able-to-read-production-mdr-from-staging branch November 20, 2025 00:55
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.

2 participants