Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
operator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OZG-Cloud
devops
operator
Commits
10610bb1
Commit
10610bb1
authored
4 months ago
by
OZGCloud
Browse files
Options
Downloads
Patches
Plain Diff
OZG-7346: Try newer version of Elasticsearch
parent
9a455d75
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ozgcloud-elasticsearch-operator/src/test/java/de/ozgcloud/operator/common/elasticsearch/ElasticsearchTestClient.java
+2
-2
2 additions, 2 deletions
...perator/common/elasticsearch/ElasticsearchTestClient.java
with
2 additions
and
2 deletions
ozgcloud-elasticsearch-operator/src/test/java/de/ozgcloud/operator/common/elasticsearch/ElasticsearchTestClient.java
+
2
−
2
View file @
10610bb1
...
...
@@ -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.1
1.3
"
;
private
static
final
String
IMAGE_NAME
=
"docker.elastic.co/elasticsearch/elasticsearch:8.1
6.1
"
;
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
(
ELASTICSEARCH_CONTAINER
.
getHttpHostAddress
()
,
ELASTICSEARCH_CONTAINER
.
getMappedPort
(
PORT
),
SCHEME
);
var
host
=
new
HttpHost
(
"localhost"
,
ELASTICSEARCH_CONTAINER
.
getMappedPort
(
PORT
),
SCHEME
);
var
credentialsProvider
=
buildCredentialsProvider
();
var
builder
=
RestClient
.
builder
(
host
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment