Skip to content

Commit

Permalink
add elasticsearch7 module (fix #1918) (#2004)
Browse files Browse the repository at this point in the history
* elasticsearch7 module

* Consistent method naming
  • Loading branch information
clairemcginty committed Jun 26, 2019
1 parent bcb8010 commit 9a53002
Show file tree
Hide file tree
Showing 7 changed files with 779 additions and 0 deletions.
18 changes: 18 additions & 0 deletions build.sbt
Expand Up @@ -38,6 +38,7 @@ val commonsMath3Version = "3.6.1"
val elasticsearch2Version = "2.4.6"
val elasticsearch5Version = "5.6.16"
val elasticsearch6Version = "6.8.1"
val elasticsearch7Version = "7.2.0"
val featranVersion = "0.3.0"
val gcsConnectorVersion = "hadoop2-1.9.16"
val gcsVersion = "1.8.0"
Expand Down Expand Up @@ -314,6 +315,7 @@ lazy val root: Project = Project("scio", file("."))
scioElasticsearch2,
scioElasticsearch5,
scioElasticsearch6,
scioElasticsearch7,
scioExtra,
scioJdbc,
scioParquet,
Expand Down Expand Up @@ -576,6 +578,22 @@ lazy val scioElasticsearch6: Project = Project(
scioTest % "test"
)

lazy val scioElasticsearch7: Project = Project(
"scio-elasticsearch7",
file("scio-elasticsearch/es7")
).settings(
commonSettings,
description := "Scio add-on for writing to Elasticsearch",
libraryDependencies ++= Seq(
"joda-time" % "joda-time" % jodaTimeVersion,
"org.elasticsearch.client" % "elasticsearch-rest-high-level-client" % elasticsearch7Version
)
)
.dependsOn(
scioCore,
scioTest % "test"
)

lazy val scioExtra: Project = Project(
"scio-extra",
file("scio-extra")
Expand Down

0 comments on commit 9a53002

Please sign in to comment.