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.

Expose the application configuration with information about the source

See original GitHub issue

I am a member of an organization which actively uses dropwizard to develop its services. I have to say it is a really nice framework, carefuly thought out, a pleasure to use. I have recently started out with a task an I found a feature in dropwizard which IMHO is missing. I would like to be able to print out the configuration which was used to start the application along with what is the source of the configuration parameter. I’d like to see something like this in the startup log of the application:

Starting application ${APPLICATION_NAME}
Configuration parameters passed to the application:
    server.applicationConnectors.[0].type = "http"           default
    server.applicationConnectors.[0].port = "9100"          json/yaml
    server.adminConnectors.[0].type = "http"                   default
    server.adminConnectors.[0].port = 9101                    jvm param
.
.
.

I would be more than glad implementing this, but I’d need first of all your acceptance on the whole idea. Of course some pointers/directions are more than welcome.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:18 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
patroxcommented, Apr 4, 2016

@ryankennedy I like your proposal with Google Docs and some POC code, so I created a very short document, describing some hows, whens, whats which describe some of ideas from this issue with some proposals how to address them.

Everyone with the link to the document should be able to comment - and I’m open for any feedback.

https://docs.google.com/document/d/1lxZ8oVLKl8Bas2pobN-PT-3ZHMkMaBAqsPDEdWS6BeI/edit?usp=sharing

0reactions
github-actions[bot]commented, Aug 19, 2019

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 14 days

Read more comments on GitHub >

github_iconTop Results From Across the Web

Secure app configuration and dependencies - Microsoft Azure ...
Review application security for IaaS and PaaS. Make sure your configuration is secure. Also check the dependencies, frameworks, ...
Read more >
24. Externalized Configuration - Spring
Spring Boot lets you externalize your configuration so that you can work with the same application code in different environments. You can use...
Read more >
Configuring Your Application - Quarkus
In this guide, we will learn how to configure a Quarkus application. ... For more information about how to install the Quarkus CLI...
Read more >
Configuration and Config Vars - Heroku Dev Center
Config vars are exposed to your app's code as environment variables. For example, in Node.js you can access your app's DATABASE_URL config var ......
Read more >
Safely open apps on your Mac - Apple Support
View the app security settings on your Mac ... and notarized may expose your computer and personal information to malware that can harm...
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