-
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.
* feat(services): add damaged `DistributedCacheService` (Scala 2.13 powered) * fix(fmt): use newlines & clean * feat(sbt): try Akka DD & try Akka Cluster * fix(app): move finalization log message * fix(resource): use wide columns * feat(core): add servives & add app errors & fix repositories (+ types) * feat(doc): add docs for an additional module
- Loading branch information
1 parent
336111d
commit 85d87c3
Showing
28 changed files
with
911 additions
and
133 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,48 @@ | ||
version = "3.7.15" | ||
runner.dialect = scala3 | ||
align.preset = more | ||
|
||
style = defaultWithAlign | ||
|
||
assumeStandardLibraryStripMargin = false | ||
align.stripMargin = true | ||
|
||
style = defaultWithAlign | ||
docstrings.style = Asterisk | ||
docstrings.oneline = unfold | ||
|
||
align = more | ||
align.stripMargin = true | ||
align.arrowEnumeratorGenerator = true | ||
align.multiline = true | ||
align.inInterpolation = true | ||
align.openParenCallSite = false | ||
align.openParenDefnSite = false | ||
# align.tokens = [{code = "->"}, {code = "<-"}, {code = "=>", owner = "Case"}] | ||
align.tokens = [ | ||
{code = "->"}, | ||
{code = "<-"}, | ||
{code = "=>", owner = "Case"}, | ||
{code = ")"}, | ||
{code = "="}, | ||
{code = "%"}, | ||
{code = "%%"}, | ||
{code = ":", owners = [{regex = "Term\\.Param", parents = [ "Ctor\\.Primary" ]}]} | ||
] | ||
|
||
continuationIndent.callSite = 2 | ||
continuationIndent.defnSite = 2 | ||
|
||
danglingParentheses.preset = true | ||
# verticalMultiline.atDefnSite = true | ||
# newlines.implicitParamListModifierForce = [before] | ||
|
||
verticalMultiline.arityThreshold = 1 | ||
|
||
newlines.inInterpolation = oneline | ||
newlines.source = keep | ||
newlines.topLevelStatements = [before, after] | ||
|
||
indentOperator.preset = spray | ||
|
||
maxColumn = 120 | ||
|
||
project.excludeFilters = [".*\\.sbt"] | ||
|
||
rewrite.rules = [RedundantParens, SortModifiers, AsciiSortImports] | ||
spaces.inImportCurlyBraces = false | ||
# newlines.topLevelStatements = [before] | ||
|
||
spaces.inImportCurlyBraces = false |
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,32 +1,32 @@ | ||
import sbt._ | ||
|
||
object Dependencies { | ||
lazy val akkaVersion = "2.7.0" | ||
lazy val akkaHttpVersion = "10.4.0" | ||
lazy val akkaVersion = "2.10.0" | ||
lazy val scalaTestVersion = "3.2.15" | ||
lazy val scalaLogVersion = "1.2.11" | ||
lazy val scalaLogVersion = "1.4.6" | ||
lazy val dockerVersion = "8.9.0" | ||
lazy val catsEffectVersion = "3.3.11" | ||
lazy val circeVersion = "0.14.5" | ||
lazy val pureconfigVersion = "0.17.1" | ||
lazy val http4sVersion = "0.23.29" | ||
lazy val log4catsVersion = "2.7.0" | ||
|
||
lazy val akkaActor = "com.typesafe.akka" %% "akka-actor-typed" % akkaVersion | ||
lazy val akkaStream = "com.typesafe.akka" %% "akka-stream" % akkaVersion | ||
lazy val akkaCluster = "com.typesafe.akka" %% "akka-cluster" % akkaVersion | ||
lazy val scalaLogging = "ch.qos.logback" % "logback-classic" % scalaLogVersion | ||
lazy val log4cats = "org.typelevel" %% "log4cats-core" % log4catsVersion | ||
lazy val docker = "com.spotify" % "docker-client" % dockerVersion | ||
lazy val catsEffect = "org.typelevel" %% "cats-effect" % catsEffectVersion | ||
lazy val circeCore = "io.circe" %% "circe-core" % circeVersion | ||
lazy val circeGeneric = "io.circe" %% "circe-generic" % circeVersion | ||
lazy val circeParser = "io.circe" %% "circe-parser" % circeVersion | ||
lazy val pureconfig = "com.github.pureconfig" %% "pureconfig" % pureconfigVersion | ||
lazy val http4sEmberClient = "org.http4s" %% "http4s-ember-client" % http4sVersion | ||
lazy val http4sEmberServer = "org.http4s" %% "http4s-ember-server" % http4sVersion | ||
lazy val http4sCirce = "org.http4s" %% "http4s-circe" % http4sVersion | ||
lazy val http4sDSL = "org.http4s" %% "http4s-dsl" % http4sVersion | ||
lazy val akkaTest = "com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test | ||
lazy val scalaTest = "org.scalatest" %% "scalatest" % scalaTestVersion % Test | ||
lazy val akkaActor = "com.typesafe.akka" %% "akka-actor-typed" % akkaVersion | ||
lazy val akkaStream = "com.typesafe.akka" %% "akka-stream-typed" % akkaVersion | ||
lazy val akkaCluster = "com.typesafe.akka" %% "akka-cluster-typed" % akkaVersion | ||
lazy val akkaDistributedData = "com.typesafe.akka" %% "akka-distributed-data" % akkaVersion | ||
lazy val scalaLogging = "ch.qos.logback" % "logback-classic" % scalaLogVersion | ||
lazy val log4cats = "org.typelevel" %% "log4cats-core" % log4catsVersion | ||
lazy val docker = "com.spotify" % "docker-client" % dockerVersion | ||
lazy val catsEffect = "org.typelevel" %% "cats-effect" % catsEffectVersion | ||
lazy val circeCore = "io.circe" %% "circe-core" % circeVersion | ||
lazy val circeGeneric = "io.circe" %% "circe-generic" % circeVersion | ||
lazy val circeParser = "io.circe" %% "circe-parser" % circeVersion | ||
lazy val pureconfig = "com.github.pureconfig" %% "pureconfig" % pureconfigVersion | ||
lazy val http4sEmberClient = "org.http4s" %% "http4s-ember-client" % http4sVersion | ||
lazy val http4sEmberServer = "org.http4s" %% "http4s-ember-server" % http4sVersion | ||
lazy val http4sCirce = "org.http4s" %% "http4s-circe" % http4sVersion | ||
lazy val http4sDSL = "org.http4s" %% "http4s-dsl" % http4sVersion | ||
lazy val akkaTest = "com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test | ||
lazy val scalaTest = "org.scalatest" %% "scalatest" % scalaTestVersion % Test | ||
} |
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
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
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
Oops, something went wrong.