Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public class ElasticsearchTestConfig {
*/
@Bean(initMethod = "start", destroyMethod = "stop")
public ElasticsearchContainer elasticsearchContainer(
@Value("${elasticsearch.docker.elasticVersion:8.17.4}") String version
@Value("${elasticsearch.docker.elastic-version}") String version
) {
Comment on lines 33 to 35
ElasticsearchContainer container = new ElasticsearchContainer(
DockerImageName.parse(ELASTICSEARCH_IMAGE + version)
Expand Down
7 changes: 4 additions & 3 deletions src/test/resources/application-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ logging:
management:
endpoint:
health:
enabled: false
access: none
endpoints:
enabled-by-default: false
access:
default: none
Comment on lines 6 to +12

springdoc:
api-docs:
Expand All @@ -24,7 +25,7 @@ elasticsearch:
expression: 0 0 2 * * ? # every day at 2 AM in Australia/Hobart time

docker:
elastic-version: 8.17.4 # Use the same version as in Elastic Cloud
elastic-version: 8.19.10 # Use the same version as in Elastic Cloud

remote:
base-url: "https://localhost:8080"
Expand Down
Loading