From 51af9890d8150e21d3208546493d5a8d5257b4aa Mon Sep 17 00:00:00 2001 From: David Baker Effendi Date: Mon, 7 Mar 2022 09:57:50 +0200 Subject: [PATCH] Fixed running Plume from binary --- .gitignore | 1 + build.sbt | 3 ++- src/main/scala/com/github/plume/oss/Plume.scala | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 690bb72f..1922511d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ /bin/ *.bin *.gzip +*.xml # Ignore Gradle GUI config gradle-app.setting diff --git a/build.sbt b/build.sbt index 4b687ac0..6c24fc16 100644 --- a/build.sbt +++ b/build.sbt @@ -5,7 +5,7 @@ inThisBuild( organization := "com.github.plume-oss", version := "1.0.17", scalaVersion := "2.13.7", - crossScalaVersions := Seq("2.13.7", "3.1.0"), + crossScalaVersions := Seq("2.13.7", "3.1.1"), resolvers ++= Seq( Resolver.mavenLocal, Resolver.mavenCentral, @@ -56,6 +56,7 @@ libraryDependencies ++= Seq( "org.scalaj" % "scalaj-http_2.13" % scalajHttpVersion, "org.lz4" % "lz4-java" % lz4Version, "org.slf4j" % "slf4j-api" % slf4jVersion, + "org.slf4j" % "slf4j-simple" % slf4jVersion % Runtime, "org.scala-lang" % "scala-reflect" % scalaVersion.value, "ch.qos.logback" % "logback-classic" % logbackVersion % Test, "org.scalatest" %% "scalatest" % scalatestVersion % Test diff --git a/src/main/scala/com/github/plume/oss/Plume.scala b/src/main/scala/com/github/plume/oss/Plume.scala index 6c48f1ea..2c0c8e8d 100644 --- a/src/main/scala/com/github/plume/oss/Plume.scala +++ b/src/main/scala/com/github/plume/oss/Plume.scala @@ -85,7 +85,8 @@ object Plume extends App { username = conf.params.getOrElse("username", "tigergraph"), password = conf.params.getOrElse("password", "tigergraph"), timeout = conf.params.getOrElse("timeout", "3000").toInt, - txMax = conf.params.getOrElse("txMax", "25").toInt + txMax = conf.params.getOrElse("txMax", "25").toInt, + scheme = conf.params.getOrElse("scheme", "http") ) case _ if conf.database == "Neptune" => new NeptuneDriver(