mirror of
https://github.com/gotson/komga.git
synced 2025-12-17 22:13:47 +01:00
refactor: replace HttpTrace by HttpExchange
This commit is contained in:
parent
9c0905ef91
commit
0112fcda1e
2 changed files with 14 additions and 14 deletions
|
|
@ -0,0 +1,14 @@
|
|||
package org.gotson.komga.infrastructure.httpexchange
|
||||
|
||||
import org.springframework.boot.actuate.web.exchanges.InMemoryHttpExchangeRepository
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
|
||||
@Configuration
|
||||
class HttpExchangeConfiguration {
|
||||
|
||||
private val httpExchangeRepository = InMemoryHttpExchangeRepository()
|
||||
|
||||
@Bean
|
||||
fun httpExchangeRepository() = httpExchangeRepository
|
||||
}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
package org.gotson.komga.infrastructure.httptrace
|
||||
|
||||
import org.springframework.boot.actuate.trace.http.InMemoryHttpTraceRepository
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
|
||||
@Configuration
|
||||
class HttpTraceConfiguration {
|
||||
|
||||
private val httpTraceRepository = InMemoryHttpTraceRepository()
|
||||
|
||||
@Bean
|
||||
fun httpTraceRepository() = httpTraceRepository
|
||||
}
|
||||
Loading…
Reference in a new issue