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.

`application.properties` or `protean.properties` support and location

See original GitHub issue

Instead of (or in addition to) META-INF/microprofile-config.properties it would be nice to support one of the 2 names (issue title).

Also, it is possible to configure the file location? META-INF means “from inside the package”, so the configuration cannot be located directly on the file system. This can be an issue if we want to mount it using a config map. Should a specific location (such as $PWD/conf/application.properties) be checked by default?

(don’t do $PWD/application.properties as a config map cannot be mounted in an existing directory (or erase the content))

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:43 (43 by maintainers)

github_iconTop GitHub Comments

1reaction
gsmetcommented, Feb 28, 2019

I think what’s @cescoffier was suggesting is that we do:

  • jar:/application.properties (or jar:/config/applications.properties)
  • $PWD/config/application.properties

So that he can mount the $PWD/config directory as a volume.

1reaction
cescoffiercommented, Feb 28, 2019

Using $PWD is not recommended as it would prohibit the usage of volume to mount the file

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common Application Properties - Spring
Name Description Default... spring.cassandra.config Location of the configuration file to use. spring.cassandra.controlconnection.timeout Timeout to use for control queries. 5s spring.cassandra.keyspace‑name Keyspace name to use.
Read more >
Spring Boot: Read Values from Application Properties
Learn to read values of properties from Spring Boot configuration file ( application. properties or application.yml) to use in the ...
Read more >
Home | Herbalife Nutrition U.S.
Welcome to Herbalife Nutrition - a global leader in meal replacement protein shakes, dietary supplements and skin care products.
Read more >
RCSB PDB: Homepage
As a member of the wwPDB, the RCSB PDB curates and annotates PDB data according to agreed upon standards. The RCSB PDB also...
Read more >
FAQs | Noodles & Company | Classic Favorites with A ...
I have a great real estate site for a Noodles & Company restaurant but I don't ... How can I apply for assistance...
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