Skip to content

Commit

Permalink
feat: multi-tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Oct 13, 2023
1 parent 9475ab4 commit 088bbbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/test/java/io/kestra/plugin/elasticsearch/BulkTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void run() throws Exception {
output.write(("{ \"field1\" : \"value4\" }\n").getBytes(StandardCharsets.UTF_8));
}

URI uri = storageInterface.put(URI.create("/" + IdUtils.create() + ".ion"), new FileInputStream(tempFile));
URI uri = storageInterface.put(null, URI.create("/" + IdUtils.create() + ".ion"), new FileInputStream(tempFile));

Bulk put = Bulk.builder()
.connection(ElasticsearchConnection.builder().hosts(hosts).build())
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/io/kestra/plugin/elasticsearch/LoadTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void run() throws Exception {
"name", "john"
));
}
URI uri = storageInterface.put(URI.create("/" + IdUtils.create() + ".ion"), new FileInputStream(tempFile));
URI uri = storageInterface.put(null, URI.create("/" + IdUtils.create() + ".ion"), new FileInputStream(tempFile));

Load put = Load.builder()
.connection(ElasticsearchConnection.builder().hosts(hosts).build())
Expand Down

0 comments on commit 088bbbf

Please sign in to comment.