authorjapps / authorjapps/zerocode

Use environnent var to override properties files

Open
#359 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1k
Forks
453
Avg merge
7d 2h
Merged PRs (30d)
5

Description

We want to run our acceptance tests on our ci.
On the ci to avoid issue between multiple builds we use random port.
Using fixed properties we can not connect acceptance tests with our application (because of port configuration).

It can be fine to be able to override properties by environements var. Using env var we can allow dynamic port.

AC1:
As an automation-engineer or developer
I want to start my automated tests in a CI environment.
So I use the docker-composer to start the development environment with kafka and API on random ports to avoid conflicts with multiple parallel build
And I want to configure the zerocode acceptance test with the docker's random ports to link my acceptance tests with the development environment.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.