Skip to content

Commit

Permalink
Merge branch 'release/3.4.0-RC1'
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Jun 5, 2019
2 parents d8f0290 + 3fd230f commit 8d554a7
Show file tree
Hide file tree
Showing 139 changed files with 4,399 additions and 3,785 deletions.
26 changes: 26 additions & 0 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version = "2.0.0-RC7"
align = more # For pretty alignment.
assumeStandardLibraryStripMargin = true
style = defaultWithAlign
maxColumn = 150

align.openParenCallSite = false
align.openParenDefnSite = false
newlines.alwaysBeforeTopLevelStatements = true
rewrite.rules = [
# ExpandImportSelectors
RedundantBraces
RedundantParens
SortModifiers
PreferCurlyFors
SortImports
]

includeCurlyBraceInSelectChains = true
includeNoParensInSelectChains = true

rewriteTokens {
"=>" : "⇒"
"<-" : "←"
"->": "→"
}
30 changes: 0 additions & 30 deletions .scalariform.conf

This file was deleted.

103 changes: 87 additions & 16 deletions CHANGELOG.md

Large diffs are not rendered by default.

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
4 changes: 2 additions & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ object Dependencies {
val guice = "com.typesafe.play" %% "play-guice" % version
}

val scalaGuice = "net.codingwell" %% "scala-guice" % "4.2.1"
val scalaGuice = "net.codingwell" %% "scala-guice" % "4.2.3"

val reflections = "org.reflections" % "reflections" % "0.9.11"
val zip4j = "net.lingala.zip4j" % "zip4j" % "1.3.2"
val elastic4play = "org.thehive-project" %% "elastic4play" % "1.10.0"
val elastic4play = "org.thehive-project" %% "elastic4play" % "1.11.3"
val akkaCluster = "com.typesafe.akka" %% "akka-cluster" % "2.5.19"
val akkaClusterTools = "com.typesafe.akka" %% "akka-cluster-tools" % "2.5.19"
}
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.1.6
sbt.version=1.2.8
6 changes: 2 additions & 4 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Comment to get more information during initialization
logLevel := Level.Info

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.6.21")

addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.6.22")
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.1")

addSbtPlugin("org.scalariform" % "sbt-scalariform" % "1.8.2")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.0.0")
Loading

0 comments on commit 8d554a7

Please sign in to comment.