-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
38 lines (31 loc) · 1.76 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
scalaVersion := "2.13.1"
name := "sync-async-sync-processing"
organization := "com.rmpader.gitprojects"
version := "1.0"
description :="""
Project to demonstrate bridging synchronous requests from HTTP, down to SQS and then back to a different instance
then back to the original instance and then response.
Uses Akka Cluster Sharding on Kubernetes Clusters.
HTTP ⇄ Instance A ─┐
↑ SQS
Instance B <─┘
"""
libraryDependencies += "com.lightbend.akka.management" %% "akka-management-cluster-bootstrap" % "1.0.5"
libraryDependencies += "com.lightbend.akka.management" %% "akka-management" % "1.0.5"
libraryDependencies += "com.typesafe.akka" %% "akka-http" % "10.1.11"
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json" % "10.1.11"
libraryDependencies += "com.typesafe.akka" %% "akka-serialization-jackson" % "2.6.3"
libraryDependencies += "com.typesafe.akka" %% "akka-actor-typed" % "2.6.3"
libraryDependencies += "com.typesafe.akka" %% "akka-discovery" % "2.6.3"
libraryDependencies += "com.typesafe.akka" %% "akka-cluster-sharding-typed" % "2.6.3"
libraryDependencies += "com.typesafe.akka" %% "akka-stream" % "2.6.3"
libraryDependencies += "com.typesafe.akka" %% "akka-persistence-typed" % "2.6.3"
libraryDependencies += "com.typesafe.akka" %% "akka-persistence-query" % "2.6.3"
libraryDependencies += "org.postgresql" % "postgresql" % "42.2.5"
libraryDependencies += "ch.qos.logback" % "logback-classic" % "1.2.3"
libraryDependencies += "com.typesafe" % "config" % "1.4.0"
libraryDependencies += "com.github.dnvriend" %% "akka-persistence-jdbc" % "3.5.2"
enablePlugins(AshScriptPlugin)
enablePlugins(JavaServerAppPackaging)
dockerBaseImage := "openjdk:8-alpine"
dockerExposedPorts := Seq(8558, 8080, 2552)