docs: Migrationsplan für Projekt-Restrukturierung hinzugefügt

- Detaillierter Plan zur Migration von alter zu neuer Modulstruktur
- Umfasst Überführung von shared-kernel zu core-Modulen
- Definiert Migration von Fachdomänen zu bounded contexts:
  * master-data → masterdata-Module
  * member-management → members-Module
  * horse-registry → horses-Module
  * event-management → events-Module
- Beschreibt Verlagerung von api-gateway zu infrastructure/gateway
- Strukturiert nach Domain-driven Design Prinzipien
- Berücksichtigt Clean Architecture Layering (domain, application, infrastructure, api)
This commit is contained in:
stefan
2025-07-25 13:14:44 +02:00
parent 65a0084f91
commit 4c382e64a5
11 changed files with 35 additions and 55 deletions
@@ -88,7 +88,7 @@ class AltersklasseController(
val sparteFilter = sparteFilterParam?.let {
try {
SparteE.valueOf(it.uppercase())
} catch (e: Exception) {
} catch (_: Exception) {
return@get call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<List<AltersklasseDto>>("Invalid sparte parameter: $it")
@@ -224,7 +224,7 @@ class AltersklasseController(
val sparte = try {
SparteE.valueOf(sparteParam.uppercase())
} catch (e: Exception) {
} catch (_: Exception) {
return@get call.respond(HttpStatusCode.BadRequest, ApiResponse.error<List<AltersklasseDto>>("Invalid sport type: $sparteParam"))
}
@@ -264,7 +264,7 @@ class AltersklasseController(
val sparteFilter = createDto.sparteFilter?.let {
try {
SparteE.valueOf(it.uppercase())
} catch (e: Exception) {
} catch (_: Exception) {
return@post call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<AltersklasseDto>("Invalid sparte filter: $it")
@@ -286,7 +286,7 @@ class AltersklasseController(
val oetoRegelReferenzId = createDto.oetoRegelReferenzId?.let {
try {
uuidFrom(it)
} catch (e: Exception) {
} catch (_: Exception) {
return@post call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<AltersklasseDto>("Invalid OETO regel referenz ID format")
@@ -345,7 +345,7 @@ class AltersklasseController(
val sparteFilter = updateDto.sparteFilter?.let {
try {
SparteE.valueOf(it.uppercase())
} catch (e: Exception) {
} catch (_: Exception) {
return@put call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<AltersklasseDto>("Invalid sparte filter: $it")
@@ -367,7 +367,7 @@ class AltersklasseController(
val oetoRegelReferenzId = updateDto.oetoRegelReferenzId?.let {
try {
uuidFrom(it)
} catch (e: Exception) {
} catch (_: Exception) {
return@put call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<AltersklasseDto>("Invalid OETO regel referenz ID format")
@@ -130,7 +130,7 @@ class BundeslandController(
val landId = try {
uuidFrom(landIdParam)
} catch (e: Exception) {
} catch (_: Exception) {
return@get call.respond(HttpStatusCode.BadRequest, ApiResponse.error<BundeslandDto>("Invalid country ID format"))
}
@@ -235,7 +235,7 @@ class BundeslandController(
try {
uuidFrom(createDto.landId)
} catch (e: Exception) {
} catch (_: Exception) {
call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<BundeslandDto>("Invalid country ID format")
@@ -284,7 +284,7 @@ class BundeslandController(
try {
uuidFrom(updateDto.landId)
} catch (e: Exception) {
} catch (_: Exception) {
call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<BundeslandDto>("Invalid country ID format")
@@ -153,7 +153,7 @@ class PlatzController(
val typ = try {
PlatzTypE.valueOf(typParam.uppercase())
} catch (e: Exception) {
} catch (_: Exception) {
return@get call.respond(HttpStatusCode.BadRequest, ApiResponse.error<List<PlatzDto>>("Invalid venue type: $typParam"))
}
@@ -223,7 +223,7 @@ class PlatzController(
val requiredType = try {
PlatzTypE.valueOf(typParam.uppercase())
} catch (e: Exception) {
} catch (_: Exception) {
return@get call.respond(HttpStatusCode.BadRequest, ApiResponse.error<List<PlatzDto>>("Invalid venue type: $typParam"))
}
@@ -255,7 +255,7 @@ class PlatzController(
val turnierId = try {
uuidFrom(createDto.turnierId)
} catch (e: Exception) {
} catch (_: Exception) {
return@post call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<PlatzDto>("Invalid tournament ID format")
@@ -264,7 +264,7 @@ class PlatzController(
val typ = try {
PlatzTypE.valueOf(createDto.typ.uppercase())
} catch (e: Exception) {
} catch (_: Exception) {
return@post call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<PlatzDto>("Invalid venue type: ${createDto.typ}")
@@ -311,7 +311,7 @@ class PlatzController(
val turnierId = try {
uuidFrom(updateDto.turnierId)
} catch (e: Exception) {
} catch (_: Exception) {
return@put call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<PlatzDto>("Invalid tournament ID format")
@@ -320,7 +320,7 @@ class PlatzController(
val typ = try {
PlatzTypE.valueOf(updateDto.typ.uppercase())
} catch (e: Exception) {
} catch (_: Exception) {
return@put call.respond(
HttpStatusCode.BadRequest,
ApiResponse.error<PlatzDto>("Invalid venue type: ${updateDto.typ}")
@@ -387,7 +387,7 @@ class PlatzController(
val typ = try {
PlatzTypE.valueOf(typParam.uppercase())
} catch (e: Exception) {
} catch (_: Exception) {
return@get call.respond(HttpStatusCode.BadRequest, ApiResponse.error<Long>("Invalid venue type: $typParam"))
}
@@ -433,7 +433,7 @@ class PlatzController(
val requiredType = requiredTypeParam?.let {
try {
PlatzTypE.valueOf(it.uppercase())
} catch (e: Exception) {
} catch (_: Exception) {
return@get call.respond(HttpStatusCode.BadRequest, ApiResponse.error<Map<String, Any>>("Invalid required type: $it"))
}
}