codex auto review

This commit is contained in:
oskar 2026-01-09 18:40:59 +01:00
parent 1c9ca4cfa2
commit 195ca7d961
3 changed files with 1 additions and 13 deletions

View file

@ -4,7 +4,6 @@ import com.mosenioring.common.Events
import com.mosenioring.common.outbox.OutboxRepository
import org.slf4j.LoggerFactory
import org.springframework.amqp.rabbit.core.RabbitTemplate
import org.springframework.beans.factory.annotation.Value
import org.springframework.scheduling.annotation.Scheduled
import org.springframework.stereotype.Component
import org.springframework.transaction.annotation.Transactional
@ -12,8 +11,7 @@ import org.springframework.transaction.annotation.Transactional
@Component
class OutboxPublisher(
private val repository: OutboxRepository,
private val rabbitTemplate: RabbitTemplate,
@Value("\${app.outbox.publish-delay-ms:2000}") private val publishDelayMs: Long
private val rabbitTemplate: RabbitTemplate
) {
private val logger = LoggerFactory.getLogger(javaClass)

View file

@ -1,8 +0,0 @@
package com.mosenioring.common.web
data class PageResponse<T>(
val items: List<T>,
val page: Int,
val size: Int,
val total: Long
)

View file

@ -1,5 +1,3 @@
version: "3.9"
services:
postgres:
image: postgres:16