question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for YAML configuration files

See original GitHub issue

Some people prefer yaml for the hierarchical configuration structure we have. It would be useful I think to support it as an extra configsource https://github.com/eclipse/microprofile-config/blob/master/spec/src/main/asciidoc/configsources.asciidoc

application.yaml

and make sure we enlist that file for hot reload etc (everywhere application.properties is used really).

As for priority, we could decide it’s the .properties priority + 1 (no strong preference).

Anyone against this? CC @stuartwdouglas @kenfinnigan @dmlloyd

I don’t think it needs to be documented beyond the configuration guide.

I was wondering if it could/should be an optional extension. Not sure how tied to core it is.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:23 (16 by maintainers)

github_iconTop GitHub Comments

2reactions
dmlloydcommented, Dec 3, 2019

The PR smallrye/smallrye-config#197 has been merged. There are a couple of things blocking the SmallRye Config 1.5 release that I’ll try to work out.

1reaction
dmlloydcommented, Nov 27, 2019

I think I’ll work on getting this through today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add support for yaml config files · Issue #7031 - GitHub
In my opinion, YAML support for configuration files would make a helpful addition to Renovate. The configuration would be more comprehensible and also ......
Read more >
Chapter 11. Adding YAML configuration support
Open the src/main/resources/application.yaml configuration file. Add the nested class configuration properties to your application.yaml file as shown in the ...
Read more >
YAML Configuration files | Coding standards - Drupal
Configuration files use YAML syntax. Filename. The configuration file name is equal to the unique configuration name with .yml extension. The ...
Read more >
YAML for Configuration Files - Data Crayon
Many popular programming languages have support for managing YAML files. YAML is a superset of JSON, meaning that JSON can be easily converted ......
Read more >
YAML Tutorial: Everything You Need to Get Started in Minutes
The file starts with three dashes. These dashes indicate the start of a new YAML document. YAML supports multiple documents, and compliant ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found