diff --git a/CHANGELOG.md b/CHANGELOG.md index a70fafd1f..022f6487c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/), ## [3.1.1] - tbd +### Fixed + +- BPDM Gate: internal server error when invoking the POST business-partners/type-match endpoint + ## [3.1.0] - 2023-03-08 ### Changed diff --git a/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/saas/ReferenceDataLookupResponseSaas.kt b/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/saas/ReferenceDataLookupResponseSaas.kt index 67ff9e8dd..69d6c11b4 100644 --- a/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/saas/ReferenceDataLookupResponseSaas.kt +++ b/bpdm-common/src/main/kotlin/org/eclipse/tractusx/bpdm/common/dto/saas/ReferenceDataLookupResponseSaas.kt @@ -28,7 +28,6 @@ data class ReferenceDataLookupResponseSaas( ) data class BusinessPartnerLookupMatchSaas( - val saasId: String, val dataSource: String, val matchingProfile: MatchingProfileSaas ) diff --git a/bpdm-gate/src/test/kotlin/org/eclipse/tractusx/bpdm/gate/controller/BusinessPartnerControllerIT.kt b/bpdm-gate/src/test/kotlin/org/eclipse/tractusx/bpdm/gate/controller/BusinessPartnerControllerIT.kt index a9361a70b..89e1e5082 100644 --- a/bpdm-gate/src/test/kotlin/org/eclipse/tractusx/bpdm/gate/controller/BusinessPartnerControllerIT.kt +++ b/bpdm-gate/src/test/kotlin/org/eclipse/tractusx/bpdm/gate/controller/BusinessPartnerControllerIT.kt @@ -203,7 +203,7 @@ class BusinessPartnerControllerIT @Autowired constructor( 1, 1, 0, 1, listOf( BusinessPartnerLookupMatchSaas( - "0", "0", + "0", MatchingProfileSaas( MatchingScoresSaas(MatchingScoreSaas(0.5f), MatchingScoreSaas(0.5f), MatchingScoreSaas(overallScore)) )