Otavio Rodolfo Piske created CAMEL-20123:
--------------------------------------------
Summary: camel-test-infra: externalize container information
Key: CAMEL-20123
URL: https://issues.apache.org/jira/browse/CAMEL-20123
Project: Camel
Issue Type: Task
Components: camel-test-infra
Affects Versions: 4.3.0
Reporter: Otavio Rodolfo Piske
Fix For: 4.x
Currently, our test-infra code refers to containers in code. For instance:
{code:java}
public static final String DEFAULT_ELASTIC_SEARCH_CONTAINER =
"docker.elastic.co/elasticsearch/elasticsearch:8.11.1";
...
ElasticsearchContainer elasticsearchContainer = new
ElasticsearchContainer(DEFAULT_ELASTIC_SEARCH_CONTAINER)
{code}
The challenge with this approach is that we have to verify file by file if
there is an upgrade to the containers.
Ideally, we should keep this information in a properties file named
`containers.properties`. This could allow us to automate checking if there is
an updated version of those containers and reduce the maintenance effort.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)