Skip to content

Commit

Permalink
#975 Remove metrics module
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed May 23, 2019
1 parent 53a94d1 commit a74a5ba
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 567 deletions.
26 changes: 2 additions & 24 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,6 @@ lazy val thehiveBackend = (project in file("thehive-backend"))
play.sbt.routes.RoutesKeys.routesImport -= "controllers.Assets.Asset"
)

lazy val thehiveMetrics = (project in file("thehive-metrics"))
.enablePlugins(PlayScala)
.dependsOn(thehiveBackend)
.settings(projectSettings)
.settings(
publish := {},
libraryDependencies ++= Seq(
Library.Play.cache,
Library.Play.ws,
Library.scalaGuice,
Library.elastic4play,
Library.reflections,
"io.dropwizard.metrics" % "metrics-core" % "3.1.2",
"io.dropwizard.metrics" % "metrics-json" % "3.1.2",
"io.dropwizard.metrics" % "metrics-jvm" % "3.1.2",
"io.dropwizard.metrics" % "metrics-logback" % "3.1.2",
"io.dropwizard.metrics" % "metrics-graphite" % "3.1.2",
"io.dropwizard.metrics" % "metrics-ganglia" % "3.1.2",
"info.ganglia.gmetric4j" % "gmetric4j" % "1.0.10"
)
)

lazy val thehiveMisp = (project in file("thehive-misp"))
.enablePlugins(PlayScala)
.dependsOn(thehiveBackend)
Expand Down Expand Up @@ -77,8 +55,8 @@ lazy val thehiveCortex = (project in file("thehive-cortex"))
lazy val thehive = (project in file("."))
.enablePlugins(PlayScala/*, PlayAkkaHttp2Support*/)
.enablePlugins(Bintray)
.dependsOn(thehiveBackend, thehiveMetrics, thehiveMisp, thehiveCortex)
.aggregate(thehiveBackend, thehiveMetrics, thehiveMisp, thehiveCortex)
.dependsOn(thehiveBackend, thehiveMisp, thehiveCortex)
.aggregate(thehiveBackend, thehiveMisp, thehiveCortex)
.settings(projectSettings)
.settings(
aggregate in Debian := false,
Expand Down
1 change: 0 additions & 1 deletion thehive-metrics/.gitignore

This file was deleted.

164 changes: 0 additions & 164 deletions thehive-metrics/app/connectors/metrics/Influxdb.scala

This file was deleted.

31 changes: 0 additions & 31 deletions thehive-metrics/app/connectors/metrics/MetricsCtrl.scala

This file was deleted.

73 changes: 0 additions & 73 deletions thehive-metrics/app/connectors/metrics/MetricsFilter.scala

This file was deleted.

Loading

0 comments on commit a74a5ba

Please sign in to comment.