Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-form
Commits
374926fb
Commit
374926fb
authored
2 years ago
by
nivetha
Browse files
Options
Download
Plain Diff
Merge branch 'master' of
https://git.idc.tarento.com/smf/smf-form
parents
e7949180
83aa858b
master
bulk-download
cvs_download
delete-form
emailContentUpdate
inspection-flow-changes
institute-district
lat-long
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/tarento/formservice/repository/ElasticSearchRepository.java
+1
-4
...rento/formservice/repository/ElasticSearchRepository.java
with
1 addition
and
4 deletions
+1
-4
src/main/java/com/tarento/formservice/repository/ElasticSearchRepository.java
+
1
−
4
View file @
374926fb
...
...
@@ -85,11 +85,8 @@ public class ElasticSearchRepository {
return
httpClientBuilder
.
setDefaultCredentialsProvider
(
credentialsProvider
);
}
};
// return new RestHighLevelClient(
// RestClient.builder(new HttpHost(appConfig.getElasticHost(), appConfig.getElasticPort())));
return
new
RestHighLevelClient
(
RestClient
.
builder
(
new
HttpHost
(
appConfig
.
getElasticHost
(),
appConfig
.
getElasticPort
(),
"https"
))
.
setHttpClientConfigCallback
(
httpClientConfigCallback
));
RestClient
.
builder
(
new
HttpHost
(
appConfig
.
getElasticHost
(),
appConfig
.
getElasticPort
())));
}
private
RestHighLevelClient
connectToElasticSearch2
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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
Menu
Explore
Projects
Groups
Topics
Snippets