https://github.com/Netflix/atlas
Revision 49a4717321d913ab066a6c738eb05143a2dbc60f authored by Daniel Muino on 17 April 2019, 02:37:05 UTC, committed by brharrington on 17 April 2019, 02:37:05 UTC
Sum of the values within a specified window. The sum will only be emitted
if there are at least a minimum number of actual values (not `NaN`) within
the window. Otherwise `NaN` will be emitted for that time period.
1 parent 0fb0a09
Raw File
Tip revision: 49a4717321d913ab066a6c738eb05143a2dbc60f authored by Daniel Muino on 17 April 2019, 02:37:05 UTC
Add rolling-sum stateful operator (#1025)
Tip revision: 49a4717
build.sbt

scalafmtVersion in ThisBuild := "1.5.1"

lazy val root = project.in(file("."))
  .configure(BuildSettings.profile)
  .aggregate(
    `atlas-akka`,
    `atlas-chart`,
    `atlas-config`,
    `atlas-core`,
    `atlas-eval`,
    `atlas-jmh`,
    `atlas-json`,
    `atlas-lwcapi`,
    `atlas-module-akka`,
    `atlas-module-cloudwatch`,
    `atlas-module-eval`,
    `atlas-module-lwcapi`,
    `atlas-module-webapi`,
    `atlas-poller`,
    `atlas-poller-cloudwatch`,
    `atlas-standalone`,
    `atlas-webapi`,
    `atlas-wiki`)
  .settings(skip in publish := true)

lazy val `atlas-akka` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-json`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.akkaActor,
    Dependencies.akkaSlf4j,
    Dependencies.akkaStream,
    Dependencies.iepService,
    Dependencies.jsr250,
    Dependencies.spectatorIpc,
    Dependencies.akkaHttp,
    Dependencies.typesafeConfig,
    Dependencies.akkaHttpTestkit % "test",
    Dependencies.akkaStreamTestkit % "test",
    Dependencies.akkaTestkit % "test"
  ))

lazy val `atlas-chart` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-core`, `atlas-json`)

lazy val `atlas-config` = project
  .configure(BuildSettings.profile)

lazy val `atlas-core` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-config`, `atlas-json` % "test")
  .settings(libraryDependencies ++= Seq(
    Dependencies.caffeine,
    Dependencies.roaringBitmap,
    Dependencies.equalsVerifier % "test",
    Dependencies.jol % "test"
  ))

lazy val `atlas-eval` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-akka`, `atlas-chart`, `atlas-core`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.akkaHttpTestkit % "test",
    Dependencies.akkaStreamTestkit % "test",
    Dependencies.akkaTestkit % "test",
    Dependencies.equalsVerifier % "test"
  ))

lazy val `atlas-jmh` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-chart`, `atlas-core`, `atlas-eval`, `atlas-json`)
  .enablePlugins(pl.project13.scala.sbt.SbtJmh)

lazy val `atlas-json` = project
  .configure(BuildSettings.profile)
  .settings(libraryDependencies ++= Seq(
    Dependencies.jacksonCore,
    Dependencies.jacksonJava8,
    Dependencies.jacksonJoda,
    Dependencies.jacksonJsr310,
    Dependencies.jacksonMapper,
    Dependencies.jacksonScala,
    Dependencies.jacksonSmile,
    Dependencies.jodaConvert
  ))

lazy val `atlas-lwcapi` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-akka`, `atlas-core`, `atlas-eval`, `atlas-json`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.iepNflxEnv,
    Dependencies.frigga,
    Dependencies.akkaTestkit % "test",
    Dependencies.akkaHttpTestkit % "test",
    Dependencies.akkaStreamTestkit % "test"
  ))

lazy val `atlas-module-akka` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-akka`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.guiceCore,
    Dependencies.guiceMulti,
    Dependencies.iepGuice
  ))

lazy val `atlas-module-cloudwatch` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-module-akka`, `atlas-poller-cloudwatch`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.guiceCore,
    Dependencies.guiceMulti,
    Dependencies.iepGuice,
    Dependencies.iepModuleAws
  ))

lazy val `atlas-module-eval` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-eval`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.guiceCore
  ))

lazy val `atlas-module-lwcapi` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-module-akka`, `atlas-lwcapi`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.guiceCore,
    Dependencies.iepGuice
  ))

lazy val `atlas-module-webapi` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-webapi`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.guiceCore,
    Dependencies.iepGuice
  ))

lazy val `atlas-poller` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-akka`, `atlas-core`, `atlas-webapi` % "test")
  .settings(libraryDependencies ++= Seq(
    Dependencies.akkaHttpCore,
    Dependencies.akkaTestkit % "test",
    Dependencies.akkaHttpTestkit % "test",
    Dependencies.akkaStreamTestkit % "test"
  ))

lazy val `atlas-poller-cloudwatch` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-core`, `atlas-poller`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.awsCloudWatch,
    Dependencies.frigga,
    Dependencies.iepService
  ))

lazy val `atlas-standalone` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-module-akka`, `atlas-module-lwcapi`, `atlas-module-webapi`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.iepGuice,
    Dependencies.iepModuleAtlas,
    Dependencies.guiceCore,
    Dependencies.guiceMulti,
    Dependencies.log4jApi,
    Dependencies.log4jCore,
    Dependencies.log4jSlf4j,
    Dependencies.spectatorLog4j
  ))

lazy val `atlas-webapi` = project
  .configure(BuildSettings.profile)
  .dependsOn(
    `atlas-akka`,
    `atlas-chart`,
    `atlas-core`,
    `atlas-eval`,
    `atlas-json`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.akkaTestkit % "test",
    Dependencies.akkaHttpTestkit % "test",
    Dependencies.akkaStreamTestkit % "test"
  ))

lazy val `atlas-wiki` = project
  .configure(BuildSettings.profile)
  .dependsOn(`atlas-core`, `atlas-eval`)
  .settings(libraryDependencies ++= Seq(
    Dependencies.scalaCompiler % scalaVersion.value
  ))
back to top