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
6 changes: 3 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ lazy val persistence = project.in(file("persistence"))
client % "compile->compile;test->test;it->it"
)

lazy val rest = project.in(file("rest"))
lazy val java = project.in(file("java"))
.configs(IntegrationTest)
.settings(Defaults.itSettings)
.dependsOn(
Expand All @@ -81,10 +81,10 @@ lazy val testKit = project.in(file("testkit"))
)
.enablePlugins(BuildInfoPlugin)
.dependsOn(
rest % "compile->compile;test->test;it->it"
java % "compile->compile;test->test;it->it"
)

lazy val root = project.in(file("."))
.configs(IntegrationTest)
.settings(Defaults.itSettings, Publish.noPublishSettings)
.aggregate(sql, client, persistence, rest, testKit)
.aggregate(sql, client, persistence, java, testKit)
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,7 @@ trait UpdateApi { _: RefreshApi =>
)
def updateAsync(index: String, indexType: String, id: String, source: String, upsert: Boolean)(
implicit ec: ExecutionContext
): Future[Boolean] = {
this.updateAsync(index, id, source, upsert)
}
): Future[Boolean] = this.updateAsync(index, id, source, upsert)

def updateAsync(index: String, id: String, source: String, upsert: Boolean)(implicit
ec: ExecutionContext
Expand Down
4 changes: 2 additions & 2 deletions rest/build.sbt → java/build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
organization := "app.softnetwork.elastic"

name := "elastic-rest-client"
name := "elastic-java-client"

val jacksonExclusions = Seq(
ExclusionRule(organization = "com.fasterxml.jackson.core"),
Expand All @@ -12,7 +12,7 @@ val jacksonExclusions = Seq(

val rest = Seq(
"org.elasticsearch" % "elasticsearch" % Versions.elasticSearch exclude ("org.apache.logging.log4j", "log4j-api"),
"org.elasticsearch.client" % "elasticsearch-rest-high-level-client" % Versions.elasticSearch exclude ("org.elasticsearch", "elasticsearch"),
"co.elastic.clients" % "elasticsearch-java" % Versions.elasticSearch exclude ("org.elasticsearch", "elasticsearch"),
"org.elasticsearch.client" % "elasticsearch-rest-client" % Versions.elasticSearch
).map(_.excludeAll(jacksonExclusions: _*))

Expand Down
Loading