diff --git a/CHANGELOG.md b/CHANGELOG.md index 37ac5ee8f7..b74d53da91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ _**For better traceability add the corresponding GitHub issue number in each cha - Improved policy store API input validation. #528 - Extended datamodel of EdcPolicyPermissionConstraint to include andConstraints - Marked createAccessPolicy requests with deprecation mark. +- remove edc namespace from EdcContractAgreementNegotiationResponse and + EdcContractAgreementsResponse eclipse-tractusx/traceability-foss#963 ## Added diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/contract/model/EdcContractAgreementNegotiationResponse.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/contract/model/EdcContractAgreementNegotiationResponse.java index e16d2e9836..76a6481dae 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/contract/model/EdcContractAgreementNegotiationResponse.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/contract/model/EdcContractAgreementNegotiationResponse.java @@ -31,10 +31,10 @@ @Builder @JsonIgnoreProperties(ignoreUnknown = true) public record EdcContractAgreementNegotiationResponse(@JsonProperty("@id") String correlationId, - @JsonProperty("edc:counterPartyId") String counterPartyId, + @JsonProperty("counterPartyId") String counterPartyId, @JsonProperty( - "edc:counterPartyAddress") String counterPartyAddress, - @JsonProperty("edc:protocol") String protocol, - @JsonProperty("edc:state") String state, - @JsonProperty("edc:type") String type) { + "counterPartyAddress") String counterPartyAddress, + @JsonProperty("protocol") String protocol, + @JsonProperty("state") String state, + @JsonProperty("type") String type) { } diff --git a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/contract/model/EdcContractAgreementsResponse.java b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/contract/model/EdcContractAgreementsResponse.java index 0f31f088eb..d3397f1eb4 100644 --- a/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/contract/model/EdcContractAgreementsResponse.java +++ b/irs-edc-client/src/main/java/org/eclipse/tractusx/irs/edc/client/contract/model/EdcContractAgreementsResponse.java @@ -32,10 +32,10 @@ @Builder @JsonIgnoreProperties(ignoreUnknown = true) public record EdcContractAgreementsResponse(@JsonProperty("@id") String contractAgreementId, - @JsonProperty("edc:providerId") String providerId, - @JsonProperty("edc:consumerId") String consumerId, - @JsonProperty("edc:contractSigningDate") long contractSigningDate, - @JsonProperty("edc:assetId") String assetId, + @JsonProperty("providerId") String providerId, + @JsonProperty("consumerId") String consumerId, + @JsonProperty("contractSigningDate") long contractSigningDate, + @JsonProperty("assetId") String assetId, @JsonProperty("@type") String type, - @JsonProperty("edc:policy") Object policy) { + @JsonProperty("policy") Object policy) { }