puffproject / test-runner

Backend microservice managing user code uploads and running test cases
MIT License
0 stars 0 forks source link

Feature/externalize config #23

Closed benjaminkostiuk closed 3 years ago

benjaminkostiuk commented 3 years ago

Overview

Similar to https://github.com/puffproject/course-management/pull/17.

Adds spring cloud config client to the test-runner microservice to support externalizing configuration. This will come in handy once we deploy to the cloud and need to manage configuration easily.

Uses the config server microservice: https://github.com/puffproject/config-server With the test-runner configuration values in https://github.com/puffproject/cloud-configuration

This change is a

Description

Motivation/Links

This supports the DevOps principle of externalizing configuration in applications. With this we can securly pull configuration from the config server when deploying to the cloud. It also allows refreshing of the configuration on-the-fly instead of having to redeploy.

How was this tested?

Automated tests pass. Also manually tested connection between microservice & config server works. Automated intergration tests to follow.

Todos