Skip to content

Conversation

seakayone
Copy link
Contributor

@seakayone seakayone commented Sep 24, 2025

  • **refactor(dsp-api): Align RestService method signature and simplify Handlers
  • Merge order query params and move default values into endpoint spec
  • Move SearchApiRoutes and SearchRestService to own files
  • align SearchRestService methods and inline handlers in SearchApiRoutes
  • Move ManagementEndpoints to own file and cleanup
  • Introduce ManagementRestService
  • add flaky test aspect to "/maintenance/needs-top-left-correction should" test
  • Replace pekko http with zio http server
  • **Align RestService method signature and simplify Handlers (pt.3)
  • remove Public and SecuredHandlers, HandlerMapper and tapir interpreter for pekko
  • start server in main and Spec bootstrap

seakayone and others added 30 commits September 23, 2025 09:15
@seakayone seakayone marked this pull request as ready for review October 9, 2025 12:36
Copy link
Contributor

@BalduinLandolt BalduinLandolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

): Task[Response[Either[String, A]]] =
addAuthIfNeeded(user, request).flatMap { req =>
req
// .copy(options = req.options.copy(readTimeout = 5.seconds.asScala))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose this can be removed?

Copy link
Contributor Author

@seakayone seakayone Oct 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes -> d67b1f6

Comment on lines 54 to 56
def json(): ULayer[Unit] = Runtime.removeDefaultLoggers >>> jsonLogger >+> Slf4jBridge.initialize

val text: ULayer[Unit] = Runtime.removeDefaultLoggers >>> textLogger >+> Slf4jBridge.initialize
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm assuming json() can be deleted too, right? I think the only way a logger is ever picked, is through fromEnv().

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes -> be78c6f

@seakayone seakayone merged commit 63bc41a into main Oct 13, 2025
17 of 19 checks passed
@seakayone seakayone deleted the refactor/replace-pekko-http-with-zio-http-2 branch October 13, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants