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

control-service: fix vdk-server startup issues #908

Merged
merged 5 commits into from
Jul 26, 2022

Conversation

mrMoZ1
Copy link
Contributor

@mrMoZ1 mrMoZ1 commented Jul 21, 2022

what: Added default values for env variable that was causing the control-service to crash on startup, because even though the authentication/authorization is disabled the variables are used in a bean (constructor) initialization and it crashes on spring boot initialization (before it enters our code). The env variable is found in some of our application.properties files, but it varies between prod, testing etc (not all have default values) and there are comments that say setting it is mandatory.

why: the vdk-server's vdk server --install command was failing.

testing: Tested locally with pip install -e option of a locally editable vdk-server plugin. Server was failing to start without the variable. After the change - server starts up normally.

Signed-off-by: Momchil Zhivkov [email protected]

@mrMoZ1 mrMoZ1 closed this Jul 22, 2022
@mrMoZ1 mrMoZ1 force-pushed the person/mzhivkov/add-default-env branch from 0d3ba22 to 1469b93 Compare July 22, 2022 13:38
@mrMoZ1 mrMoZ1 reopened this Jul 22, 2022
@mrMoZ1 mrMoZ1 enabled auto-merge (squash) July 26, 2022 10:44
@mrMoZ1 mrMoZ1 merged commit 35fd0e4 into main Jul 26, 2022
@mrMoZ1 mrMoZ1 deleted the person/mzhivkov/add-default-env branch July 26, 2022 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants