Stream: containers

Topic: toml configuration


view this post on Zulip Oliver Bertuch (Jul 12 2024 at 23:50):

Here's something I have been hacking on: https://github.com/gdcc/jdbc-conffile-driver
This hacky workaround allows us to use a TOML file to configure Dataverse from a single file (at least all JVM options that use MicroProfile Config already), even distributing changes to the file into the running application.

view this post on Zulip Oliver Bertuch (Jul 12 2024 at 23:53):

I will create an issue and a PR to add this to the container base image as an optional feature. I expect this to be very useful for container usage. (For example: automatic updates of JVM options for a config file mounted from a K8s ConfigMap...)

view this post on Zulip Oliver Bertuch (Oct 01 2024 at 05:26):

To quote https://github.com/payara/Payara/issues/6822#issuecomment-2384116325 : TOML config source targeted for release in 6.2024.11!

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 01 2024 at 11:12):

Fantastic! :tada:

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 01 2024 at 15:11):

Thanks for creating this issue: Feature Request: Enabling configuration of Dataverse using simple files (TOML) #10684

view this post on Zulip Philip Durbin ๐Ÿš€ (Nov 01 2024 at 15:11):

I added "TOML" to the title. I hope you don't mind.

view this post on Zulip Philip Durbin ๐Ÿš€ (Dec 19 2024 at 19:16):

I just left a comment at https://github.com/IQSS/dataverse/issues/10684#issuecomment-2555593540

view this post on Zulip Philip Durbin ๐Ÿš€ (Dec 19 2024 at 19:16):

Mostly I wanted to communicate that the version of Payara we need has been released.

view this post on Zulip Philip Durbin ๐Ÿš€ (Dec 19 2024 at 19:17):

But then I wrote a bit more and realized I'm confused if we still need https://github.com/gdcc/jdbc-conffile-driver or not.

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 10 2025 at 15:21):

Nice chatting with @Oliver Bertuch and @Jan Range about this today.

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 14 2025 at 14:49):

Is KSON supported? https://ochagavia.nl/blog/configuration-files-are-user-interfaces/

view this post on Zulip Oliver Bertuch (Oct 28 2025 at 08:03):

Nope. Also, KSON sounds like https://xkcd.com/927 to me.

view this post on Zulip Oliver Bertuch (Oct 28 2025 at 08:06):

Never heard of it before, not sure why it's necessary.

view this post on Zulip Oliver Bertuch (Oct 28 2025 at 08:09):

I get that some people hate YAML when the tree of nodes gets deep. It can get tricky to get the indents right. But why not go for some other format then (like TOML)? And there's https://json5.org/ which has been around for a long time now... So if you hate YAML and JSON (which is perfectly understandable for a lot of reasons), there's already plenty of alternatives, which brings me back to https://xkcd.com/927

view this post on Zulip Oliver Bertuch (Oct 28 2025 at 08:10):

They literally invented KSON in 2025. :shrug:

view this post on Zulip Philip Durbin ๐Ÿš€ (Oct 28 2025 at 11:53):

I'm sure TOML will be fine. Way better than editing domain.xml!


Last updated: Oct 30 2025 at 05:14 UTC