Skip to content
Snippets Groups Projects
Commit c24eacdc authored by OZGCloud's avatar OZGCloud
Browse files

OZG-7346: Try out java17 and builder

parent 1b80c89b
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@
pipeline {
agent {
node {
label 'ozgcloud-jenkins-build-agent-jdk21'
label 'ozgcloud-jenkins-build-agent'
}
}
......
......@@ -39,7 +39,7 @@ import co.elastic.clients.transport.rest_client.RestClientTransport;
public class ElasticsearchTestClient {
private static final String IMAGE_NAME = "docker.elastic.co/elasticsearch/elasticsearch:8.16.1";
private static final String IMAGE_NAME = "docker.elastic.co/elasticsearch/elasticsearch:8.11.3";
private static final String USER = "elastic";
private static final String PASSWORD = "s3cret";
private static final int PORT = 9200;
......@@ -57,7 +57,7 @@ public class ElasticsearchTestClient {
}
private static RestClient buildRestClient() {
var host = new HttpHost("host.docker.internal", ELASTICSEARCH_CONTAINER.getMappedPort(PORT), SCHEME);
var host = new HttpHost("localhost", ELASTICSEARCH_CONTAINER.getMappedPort(PORT), SCHEME);
var credentialsProvider = buildCredentialsProvider();
var builder = RestClient.builder(host);
......
......@@ -30,7 +30,7 @@
<parent>
<groupId>de.ozgcloud.common</groupId>
<artifactId>ozgcloud-common-parent</artifactId>
<version>4.6.0</version>
<version>4.7.0</version>
</parent>
<groupId>de.ozgcloud</groupId>
......@@ -48,6 +48,10 @@
</modules>
<properties>
<java.version>17</java.version>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>
<operator-sdk.version>5.4.1</operator-sdk.version>
<!-- tools -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment