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

[FEATURE] read Gradle properties from DHF project #280

Open
crism opened this issue Sep 28, 2021 · 0 comments
Open

[FEATURE] read Gradle properties from DHF project #280

crism opened this issue Sep 28, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@crism
Copy link

crism commented Sep 28, 2021

Is your feature request related to a problem? Please describe.
Given a fully-configured DHF project, it would make sense for HCCE to read the settings from the already-tested configuration, as Hub Central does.

What is the user-facing scenario that prompted this gap in functionality?
Any DHF project with non-default settings, such as non-digest authentication or use of SSL, means that HCCE will not run without explicit settings in application.properties. It was not clear that this is the case, and a lot of time was wasted trying to get HCCE to run in such a setting.

Describe the solution you'd like
When initializing the hubProject, HCCE should look for existing properties files based on the -DdhfDir and -DdhfEnv switches, with defaults (current directory and local). It should consume those properties files, applying overrides from application.properties.

Describe alternatives you've considered
The alternative (and current workaround) is to redundantly specify all of those properties explicitly in application.properties. This runs the risk of divergence.

@crism crism added the enhancement New feature or request label Sep 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant