Commit 8bd84c8d authored by Andreas Muttscheller's avatar Andreas Muttscheller

Remove unnecessary dependencies + minor refactor

parent d8c3925b
......@@ -14,17 +14,14 @@ libraryDependencies ++= Seq(
"com.typesafe.scala-logging" %% "scala-logging" % "3.9.2",
"com.typesafe" % "config" % "1.3.3",
"ch.qos.logback" % "logback-classic" % "1.2.3",
// Http client
"com.softwaremill.sttp" %% "core" % "1.5.8",
// xml and json
"org.scala-lang.modules" %% "scala-xml" % "1.1.1",
"org.json4s" %% "json4s-native" % "3.6.3",
// Kafka
"org.apache.kafka" % "kafka-clients" % "2.1.0",
// AWS
"com.amazonaws" % "aws-java-sdk-dynamodb" % "1.11.488",
"com.amazonaws" % "aws-java-sdk-sns" % "1.11.488",
......@@ -40,7 +37,3 @@ libraryDependencies ++= Seq(
"com.sksamuel.elastic4s" %% "elastic4s-http" % "6.3.8",
"com.sksamuel.elastic4s" %% "elastic4s-aws" % "6.3.8",
)
libraryDependencies += {
sys.props += "packaging.type" -> "jar"
"org.apache.kafka" %% "kafka-streams-scala" % "2.1.0" withSources()
}
......@@ -7,7 +7,6 @@ import com.amazonaws.services.dynamodbv2.document.{DynamoDB, Item}
import com.amazonaws.services.lambda.AWSLambdaClientBuilder
import com.amazonaws.services.lambda.model.{InvocationType, InvokeRequest}
import com.amazonaws.services.lambda.runtime.Context
import com.sksamuel.elastic4s.{IndexAndTypes, IndexesAndTypes}
import com.sksamuel.elastic4s.http.ElasticDsl.createIndex
import com.typesafe.scalalogging.Logger
import de.codecentric.amuttsch.bahndelayinfo.aws
......
......@@ -151,6 +151,8 @@ case object AddStation extends SlackCommand with StationFinder {
""" Add the station to the available delay information list. Must exactly be the name
| returned from `searchStation`. Otherwise, suggestions are shown.
|
| May take up to 2 minutes to be active!
|
| Example:
| addStation Frankfurt(Main)Hbf"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment