From 582f1d2b745698373e54349a96985f5d810528c2 Mon Sep 17 00:00:00 2001 From: Nico Koprowski Date: Tue, 9 Jan 2024 12:53:53 +0800 Subject: [PATCH] fix(Gate-Api): name of POST endpoint to set sharing state to ready --- .../org/eclipse/tractusx/bpdm/gate/api/GateSharingStateApi.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/GateSharingStateApi.kt b/bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/GateSharingStateApi.kt index 57f1ec8fb..a96cdfdf7 100644 --- a/bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/GateSharingStateApi.kt +++ b/bpdm-gate-api/src/main/kotlin/org/eclipse/tractusx/bpdm/gate/api/GateSharingStateApi.kt @@ -68,8 +68,8 @@ interface GateSharingStateApi { ApiResponse(responseCode = "404", description = "Business partners can't be put into ready state (e.g. external-ID not found, wrong sharing state)") ] ) - @PostMapping - @PostExchange + @PostMapping("/ready") + @PostExchange("/ready") fun postSharingStateReady(@RequestBody request: PostSharingStateReadyRequest)