Skip to content

Commit

Permalink
[UDP][NO-REF] - fix udp module deps
Browse files Browse the repository at this point in the history
  • Loading branch information
fsanaulla committed Nov 13, 2018
1 parent d9c7d16 commit fccfb84
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ lazy val udp = project
libraryDependencies ++= Dependencies.udpDep
)
.dependsOn(coreShared)
.dependsOn(unitTesting)
.dependsOn(itTesting, urlIO, urlManagement % "test->test")
.enablePlugins(AutomateHeaderPlugin)

//////////////////////////////////////////////////////
Expand Down
3 changes: 1 addition & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ object Dependencies {
// udp
val udpDep: Seq[ModuleID] =
Seq(
"com.github.fsanaulla" %% "scalatest-embedinflux" % "0.1.7",
"com.github.fsanaulla" %% "chronicler-url-http" % "0.3.3",
"com.github.fsanaulla" %% "scalatest-embedinflux" % "0.1.7",
scalaTest
) map (_ % Scope.test)
}
2 changes: 1 addition & 1 deletion project/Scalac.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ object Scalac {
"-Ywarn-unused:params", // Warn if a value parameter is unused.
"-Ywarn-unused:patvars", // Warn if a variable bound in a pattern is unused.
"-Ywarn-unused:privates", // Warn if a private member is unused.
"-Xfatal-warnings",
// "-Xfatal-warnings",
"-Ywarn-unused:implicits", // Warn if an implicit parameter is unused.
"-Ycache-plugin-class-loader:last-modified", // cache plugin classloader
"-Ycache-macro-class-loader:last-modified",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import java.io.File

import com.github.fsanaulla.chronicler.core.model.{InfluxFormatter, Point}
import com.github.fsanaulla.chronicler.testing.unit.FlatSpecWithMatchers
import com.github.fsanaulla.chronicler.urlhttp.Influx
import com.github.fsanaulla.chronicler.urlhttp.api.Database
import com.github.fsanaulla.chronicler.urlhttp.clients.UrlIOClient
import com.github.fsanaulla.chronicler.urlhttp.io.api.Database
import com.github.fsanaulla.chronicler.urlhttp.io.{InfluxIO, UrlIOClient}
import com.github.fsanaulla.core.testing.configurations.InfluxUDPConf
import com.github.fsanaulla.scalatest.EmbeddedInfluxDB
import jawn.ast.{JArray, JNum, JString}
Expand All @@ -29,7 +28,7 @@ class UdpClientSpec
val host = "localhost"
lazy val influxUdp: InfluxUDPClient = InfluxUdp(host)

lazy val influxHttp: UrlIOClient = Influx.io(host)
lazy val influxHttp: UrlIOClient = InfluxIO(host)

lazy val udp: Database = influxHttp.database("udp")

Expand Down

0 comments on commit fccfb84

Please sign in to comment.