forked from jboner/lagom-service-locator-consul
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
769 additions
and
352 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,44 @@ | ||
import sbt.Keys.version | ||
|
||
organization := "com.lightbend.lagom" | ||
|
||
name := "lagom-service-locator-consul" | ||
|
||
version := "1.0.1-SNAPSHOT" | ||
val lagomVersion = "1.3.5" | ||
|
||
val typesafeConfig = "com.typesafe" % "config" % "1.3.1" | ||
val lagomJavadslClient = "com.lightbend.lagom" %% "lagom-javadsl-client" % lagomVersion | ||
val lagomScaladslClient = "com.lightbend.lagom" %% "lagom-scaladsl-client" % lagomVersion | ||
val consulApi = "com.ecwid.consul" % "consul-api" % "1.1.10" | ||
val scalatest = "org.scalatest" %% "scalatest" % "3.0.1" % Test | ||
|
||
scalaVersion := "2.11.8" | ||
lazy val `lagom-service-locator-consul` = (project in file(".")) | ||
.aggregate( | ||
`lagom-service-locator-javadsl-consul`, | ||
`lagom-service-locator-scaladsl-consul` | ||
) | ||
|
||
libraryDependencies ++= Seq( | ||
"com.lightbend.lagom" %% "lagom-javadsl-api" % "1.2.0", | ||
"com.ecwid.consul" % "consul-api" % "1.1.10", | ||
"org.scalatest" %% "scalatest" % "2.2.4" % Test | ||
def common = Seq( | ||
scalaVersion := "2.11.11", | ||
version := "1.4.0-SNAPSHOT" | ||
) | ||
|
||
lazy val `lagom-service-locator-javadsl-consul` = (project in file("lagom-service-locator-javadsl-consul")) | ||
.settings(common) | ||
.settings( | ||
libraryDependencies ++= Seq( | ||
lagomJavadslClient, | ||
consulApi, | ||
scalatest | ||
) | ||
) | ||
|
||
lazy val `lagom-service-locator-scaladsl-consul` = (project in file("lagom-service-locator-scaladsl-consul")) | ||
.settings(common) | ||
.settings( | ||
libraryDependencies ++= Seq( | ||
lagomScaladslClient, | ||
consulApi, | ||
scalatest | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
...lagom/discovery/consul/ConsulConfig.scala → ...vadsl/discovery/consul/ConsulConfig.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 18 additions & 33 deletions
51
...scovery/consul/ConsulServiceLocator.scala → ...scovery/consul/ConsulServiceLocator.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 5 additions & 8 deletions
13
...y/consul/ConsulServiceLocatorModule.scala → ...y/consul/ConsulServiceLocatorModule.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.