Skip to content

Commit

Permalink
Replace akkahttpcirce with pekkohttpcirce (#2678)
Browse files Browse the repository at this point in the history
  • Loading branch information
StepanBrychta committed Jul 17, 2024
1 parent 01ff954 commit e589956
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import org.apache.pekko.actor.ActorSystem
import org.apache.pekko.http.scaladsl.Http
import org.apache.pekko.http.scaladsl.server.Directives._
import org.apache.pekko.http.scaladsl.server.Route
import de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport._
import com.github.pjfanning.pekkohttpcirce.ErrorAccumulatingCirceSupport._
import grizzled.slf4j.Logging
import weco.json.JsonUtil._
import weco.storage_service.bag_tracker.services.{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.apache.pekko.http.scaladsl.model.Uri.Path
import org.apache.pekko.http.scaladsl.model._
import org.apache.pekko.http.scaladsl.unmarshalling.{Unmarshal, Unmarshaller}
import org.apache.pekko.stream.{Materializer, StreamTcpException}
import de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport._
import com.github.pjfanning.pekkohttpcirce.ErrorAccumulatingCirceSupport._
import grizzled.slf4j.Logging
import weco.json.JsonUtil._
import weco.storage_service.bag_tracker.models.BagVersionList
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package weco.storage_service.bag_tracker.services
import org.apache.pekko.http.scaladsl.model.StatusCodes
import org.apache.pekko.http.scaladsl.server.Directives.complete
import org.apache.pekko.http.scaladsl.server.Route
import de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport._
import com.github.pjfanning.pekkohttpcirce.ErrorAccumulatingCirceSupport._
import grizzled.slf4j.Logging
import weco.json.JsonUtil._
import weco.storage_service.bag_tracker.storage.StorageManifestDao
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package weco.storage_service.bag_tracker.services
import org.apache.pekko.http.scaladsl.model.StatusCodes
import org.apache.pekko.http.scaladsl.server.Directives.complete
import org.apache.pekko.http.scaladsl.server.Route
import de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport._
import com.github.pjfanning.pekkohttpcirce.ErrorAccumulatingCirceSupport._
import grizzled.slf4j.Logging
import weco.json.JsonUtil._
import weco.storage_service.bag_tracker.storage.StorageManifestDao
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package weco.storage_service.bag_tracker.services
import org.apache.pekko.http.scaladsl.model.StatusCodes
import org.apache.pekko.http.scaladsl.server.Directives.complete
import org.apache.pekko.http.scaladsl.server.Route
import de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport._
import com.github.pjfanning.pekkohttpcirce.ErrorAccumulatingCirceSupport._
import grizzled.slf4j.Logging
import weco.json.JsonUtil._
import weco.storage_service.bag_tracker.models.{BagVersionEntry, BagVersionList}
Expand Down
2 changes: 1 addition & 1 deletion indexer/bag_indexer/src/main/resources/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ es.username=${?es_username}
es.password=${?es_password}
es.protocol=${?es_protocol}
es.bags.index-name=${?es_bags_index_name}
akka {
pekko {
http.server.request-timeout=60s
# The maximum serialised size of a bag is ~200000000
# At time of writing this digitised/b19974760 (Chemist & Druggist)
Expand Down
4 changes: 2 additions & 2 deletions indexer/bag_indexer/src/test/resources/logback-test.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
<logger name="com.amazonaws" level="WARN"/>
<logger name="software.amazon.awssdk" level="WARN"/>

<!-- This class logs the merged Akka config at INFO level -->
<logger name="pekko.actor.ActorSystemImpl" level="WARN"/>
<!-- This class logs the merged Pekko config at INFO level -->
<logger name="org.apache.pekko.actor.ActorSystemImpl" level="WARN"/>
</configuration>
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import java.util.UUID

import org.apache.pekko.http.scaladsl.model._
import org.apache.pekko.http.scaladsl.unmarshalling.Unmarshal
import de.heikoseeberger.akkahttpcirce.FailFastCirceSupport._
import com.github.pjfanning.pekkohttpcirce.FailFastCirceSupport._
import io.circe.Json
import io.circe.optics.JsonPath.root
import io.circe.parser._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import org.apache.pekko.http.scaladsl.Http
import org.apache.pekko.http.scaladsl.model._
import org.apache.pekko.http.scaladsl.server.Directives.{get, _}
import org.apache.pekko.http.scaladsl.server.Route
import de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport._
import com.github.pjfanning.pekkohttpcirce.ErrorAccumulatingCirceSupport._
import grizzled.slf4j.Logging
import weco.json.JsonUtil._
import weco.storage_service.ingests.models.{Ingest, IngestID, IngestUpdate}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import org.apache.pekko.http.scaladsl.model.Uri.Path
import org.apache.pekko.http.scaladsl.model._
import org.apache.pekko.http.scaladsl.unmarshalling.Unmarshal
import org.apache.pekko.stream.Materializer
import de.heikoseeberger.akkahttpcirce.ErrorAccumulatingCirceSupport._
import com.github.pjfanning.pekkohttpcirce.ErrorAccumulatingCirceSupport._
import grizzled.slf4j.Logging
import weco.json.JsonUtil._
import weco.storage_service.ingests.models.{Ingest, IngestID, IngestUpdate}
Expand Down

0 comments on commit e589956

Please sign in to comment.