chore: remove deprecated horses, clubs, officials, and persons services
- Deleted obsolete modules related to horses, clubs, officials, and persons services, including their configurations, build files, and database provisioning scripts. - Cleaned up associated references in the project structure (e.g., `settings.gradle.kts`). - Removed unused database tables and Spring beans related to these domains. Signed-off-by: Stefan Mogeritsch <stefan.mo.co@gmail.com>
This commit is contained in:
@@ -14,14 +14,8 @@ dependencies {
|
||||
implementation(projects.core.coreDomain)
|
||||
implementation(projects.core.coreUtils)
|
||||
implementation(projects.backend.infrastructure.znsImporter)
|
||||
implementation(projects.backend.services.clubs.clubsDomain)
|
||||
implementation(projects.backend.services.clubs.clubsInfrastructure)
|
||||
implementation(projects.backend.services.persons.personsDomain)
|
||||
implementation(projects.backend.services.persons.personsInfrastructure)
|
||||
implementation(projects.backend.services.horses.horsesDomain)
|
||||
implementation(projects.backend.services.horses.horsesInfrastructure)
|
||||
implementation(projects.backend.services.officials.officialsDomain)
|
||||
implementation(projects.backend.services.officials.officialsInfrastructure)
|
||||
implementation(projects.backend.services.masterdata.masterdataDomain)
|
||||
implementation(projects.backend.services.masterdata.masterdataInfrastructure)
|
||||
|
||||
implementation(libs.spring.boot.starter.web)
|
||||
implementation(libs.spring.boot.starter.validation)
|
||||
|
||||
+1
-4
@@ -8,10 +8,7 @@ import org.springframework.context.annotation.ComponentScan
|
||||
@ComponentScan(
|
||||
basePackages = [
|
||||
"at.mocode.zns.import.service",
|
||||
"at.mocode.clubs.infrastructure",
|
||||
"at.mocode.persons.infrastructure",
|
||||
"at.mocode.horses.infrastructure",
|
||||
"at.mocode.officials.infrastructure"
|
||||
"at.mocode.masterdata.infrastructure"
|
||||
]
|
||||
)
|
||||
class ZnsImportServiceApplication
|
||||
|
||||
+2
-2
@@ -19,7 +19,7 @@ class ZnsImportController(
|
||||
|
||||
/**
|
||||
* POST /api/v1/import/zns
|
||||
* Nimmt eine .zip oder .dat Datei entgegen und startet den asynchronen Import.
|
||||
* nimmt eine .zip oder .dat Datei entgegen und startet den asynchronen Import.
|
||||
* Rückgabe: 202 Accepted mit JobId.
|
||||
*/
|
||||
@PostMapping(consumes = ["multipart/form-data"])
|
||||
@@ -31,7 +31,7 @@ class ZnsImportController(
|
||||
|
||||
/**
|
||||
* GET /api/v1/import/zns/{jobId}/status
|
||||
* Gibt den aktuellen Fortschritt und Statusmeldungen zurück.
|
||||
* gibt den aktuellen Fortschritt und Statusmeldungen zurück.
|
||||
*/
|
||||
@GetMapping("/{jobId}/status")
|
||||
fun holeStatus(@PathVariable jobId: String): ResponseEntity<ImportJob> {
|
||||
|
||||
+2
-8
@@ -1,13 +1,7 @@
|
||||
package at.mocode.zns.import.service.config
|
||||
|
||||
import at.mocode.clubs.domain.repository.VereinRepository
|
||||
import at.mocode.clubs.infrastructure.persistence.ExposedVereinRepository
|
||||
import at.mocode.horses.domain.repository.HorseRepository
|
||||
import at.mocode.horses.infrastructure.persistence.HorseRepositoryImpl
|
||||
import at.mocode.officials.domain.repository.FunktionaerRepository
|
||||
import at.mocode.officials.infrastructure.persistence.ExposedFunktionaerRepository
|
||||
import at.mocode.persons.domain.repository.ReiterRepository
|
||||
import at.mocode.persons.infrastructure.persistence.ExposedReiterRepository
|
||||
import at.mocode.masterdata.domain.repository.*
|
||||
import at.mocode.masterdata.infrastructure.persistence.*
|
||||
import org.springframework.context.annotation.Bean
|
||||
import org.springframework.context.annotation.Configuration
|
||||
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package at.mocode.zns.import.service.config
|
||||
|
||||
import at.mocode.clubs.infrastructure.persistence.VereinTable
|
||||
import at.mocode.horses.infrastructure.persistence.HorseTable
|
||||
import at.mocode.officials.infrastructure.persistence.FunktionaerTable
|
||||
import at.mocode.persons.infrastructure.persistence.ReiterTable
|
||||
import at.mocode.masterdata.infrastructure.persistence.FunktionaerTable
|
||||
import at.mocode.masterdata.infrastructure.persistence.HorseTable
|
||||
import at.mocode.masterdata.infrastructure.persistence.ReiterTable
|
||||
import at.mocode.masterdata.infrastructure.persistence.VereinTable
|
||||
import jakarta.annotation.PostConstruct
|
||||
import org.jetbrains.exposed.v1.jdbc.Database
|
||||
import org.jetbrains.exposed.v1.jdbc.transactions.transaction
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
package at.mocode.zns.import.service.job
|
||||
|
||||
import at.mocode.clubs.domain.repository.VereinRepository
|
||||
import at.mocode.horses.domain.repository.HorseRepository
|
||||
import at.mocode.officials.domain.repository.FunktionaerRepository
|
||||
import at.mocode.persons.domain.repository.ReiterRepository
|
||||
import at.mocode.masterdata.domain.repository.VereinRepository
|
||||
import at.mocode.masterdata.domain.repository.HorseRepository
|
||||
import at.mocode.masterdata.domain.repository.FunktionaerRepository
|
||||
import at.mocode.masterdata.domain.repository.ReiterRepository
|
||||
import at.mocode.zns.importer.ZnsImportService
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
|
||||
Reference in New Issue
Block a user