Skip to content

Commit

Permalink
Merge branch 'release/6.1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadain committed May 6, 2024
2 parents acf7993 + b88e56f commit e9de3bf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 6.1.0

- Updates max content length configuration for Akka Http 10.5,
allowing for HUC-8 requests

## 6.0.0

- Upgrades the GeoTrellis library to `3.7.0`, the latest at this time
Expand Down
8 changes: 4 additions & 4 deletions api/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ akka.http {
idle-timeout = ${?MMW_GEOPROCESSING_TIMEOUT}
request-timeout = 120 s
request-timeout = ${?MMW_GEOPROCESSING_TIMEOUT}
}
parsing {
max-content-length = 50m
max-content-length = ${?MMW_GEOPROCESSING_MAXLEN}
parsing {
max-content-length = 50m
max-content-length = ${?MMW_GEOPROCESSING_MAXLEN}
}
}
}
2 changes: 1 addition & 1 deletion api/src/main/scala/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ trait Utils {
val host = config.getString("geoprocessing.hostname")
val port = config.getString("geoprocessing.port")
val timeout = config.getString("akka.http.server.request-timeout")
val maxlen = config.getString("akka.http.parsing.max-content-length")
val maxlen = config.getString("akka.http.server.parsing.max-content-length")

println("Initializing mmw-geoprocessing with these variables:")
println(s"MMW_GEOPROCESSING_HOST $host")
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ licenses := Seq(

scalaVersion := Version.scala
ThisBuild / scalaVersion := Version.scala
ThisBuild / version := "6.0.0"
ThisBuild / version := "6.1.0"

lazy val root = Project("mmw-geoprocessing", file("."))
.aggregate(
Expand Down

0 comments on commit e9de3bf

Please sign in to comment.