Stream: community

Topic: Setting dataverse.files.hide-schema-dot-org-download-urls


view this post on Zulip Vera Clemens (Apr 24 2025 at 14:31):

I just tried activating dataverse.files.hide-schema-dot-org-download-urls via environment variable (DATAVERSE_FILES_HIDE_SCHEMA_DOT_ORG_DOWNLOAD_URLS=true) but it doesn't seem to have worked.

Only setting via asadmin create-jvm-options '-Ddataverse.files.hide-schema-dot-org-download-urls=true' did work.

Can that setting not be enabled via env variable?

I saw in the docs that not all config options are enabled for “MicroProfile Config” (here). (I would also be interested in understanding why that's the case :big_smile:)

view this post on Zulip Philip Durbin 🚀 (Apr 28 2025 at 14:36):

Hi! I just edited the description of this issue to add that JVM option:

Migrate leftover hardcoded JVM options to be MPCONFIG enabled #9999

view this post on Zulip Philip Durbin 🚀 (Apr 28 2025 at 14:36):

@Vera Clemens if you want, you could create a dedicated issue for it, or even a pull request. :big_smile:

view this post on Zulip Philip Durbin 🚀 (Apr 28 2025 at 14:37):

In short, this is one of the JVM options that hasn't been converted to MPConfig yet.

view this post on Zulip Vera Clemens (Apr 28 2025 at 15:07):

Ok, thank you! :) I don't know where I would need to start for a PR, is there a similar code change I could look at?

view this post on Zulip Philip Durbin 🚀 (Apr 28 2025 at 15:11):

Hmm, maybe this one: https://github.com/IQSS/dataverse/pull/8830

view this post on Zulip Philip Durbin 🚀 (Apr 28 2025 at 15:50):

This one even has some tests: https://github.com/IQSS/dataverse/pull/8826

view this post on Zulip Vera Clemens (May 12 2025 at 12:47):

Thanks! :) I just opened two PRs to migrate this setting, and the personOrOrg settings to MPConfig: https://github.com/IQSS/dataverse/pull/11482 and https://github.com/IQSS/dataverse/pull/11485


Last updated: Nov 01 2025 at 14:11 UTC