Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a utility main class in common to dump the config as JSON #3492

Closed
jonpspri opened this issue Mar 26, 2018 · 0 comments
Closed

Add a utility main class in common to dump the config as JSON #3492

jonpspri opened this issue Mar 26, 2018 · 0 comments

Comments

@jonpspri
Copy link
Contributor

Create a utility main class in the 'common' library to be available in controller and invoker JARs. The class should be in Java (to minimize dependencies) and when invoked dump the current configuration in a consumable JSON format.

If the class was invoked with no overrides, the JSON produced should resemble as closely as feasible the contents of the application.conf resource(s) at compile time. The purpose of this JSON is to unify configuration across various ansible and kubernetes deployment configuration.

When the utility main class becomes available, update the ansible 'group_vars/all' and 'roles/invoker/tasks/deploy.yml' files to use it rather than (re-)setting defaults.

See PR #3412 for additonal details and discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants