refactor(pcp-request-service): rename REST endpoints and DTOs for clarity
- GET /v1/requests/with-geometry → /v1/requests/map
- GET /v1/requests/{id}/with-cells → /v1/requests/{id}/cells
- GET /v1/cells/with-requests → /v1/cells/priority-map
- CreateRequestRequestDto → CreateRequestDto
- ListRequestsQueryDto → RequestListFilter
- RequestWithGeometry* → RequestMap* (RequestMapItemDto, RequestMapPageDto)
- CellsWithRequestsResponseDto → CellPriorityMapResponseDto
- DeleteRequestStatusDto removed; status field removed from DeleteRequestResponseDto
Updated all consumers (pcp-complex-mission-service, pcp-ui-service, slots-service),
tests, and OpenAPI YAML.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ class EarthGridService(webClientBuilderProvider: ObjectProvider<WebClient.Builde
|
||||
val params = mutableListOf("minImportance=$REQUEST_GRID_MIN_IMPORTANCE")
|
||||
countLat?.let { params += "countLat=$it" }
|
||||
countLong?.let { params += "countLong=$it" }
|
||||
return "/v1/cells/with-requests?${params.joinToString("&")}"
|
||||
return "/v1/cells/priority-map?${params.joinToString("&")}"
|
||||
}
|
||||
|
||||
private fun CellWithRequestsResponseDto.toEarthCellWithRequestsDto(): EarthCellWithRequestsDTO =
|
||||
|
||||
Reference in New Issue
Block a user