From 018f99e8d945be3bf5ba69a08172b7eba06b0cfc Mon Sep 17 00:00:00 2001 From: ds-lcapellino Date: Mon, 4 Mar 2024 11:21:55 +0100 Subject: [PATCH] feature: 420 refactor EdcContractAgreementNegotiationResponse.java --- .../model/EdcContractAgreementNegotiationResponse.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 6a2f4ad508..e16d2e9836 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 @@ -22,7 +22,6 @@ import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Builder; -import org.eclipse.edc.connector.contract.spi.types.negotiation.ContractNegotiation; /** * EdcContractAgreementNegotiationResponse used for representing the response of @@ -36,5 +35,6 @@ public record EdcContractAgreementNegotiationResponse(@JsonProperty("@id") Strin @JsonProperty( "edc:counterPartyAddress") String counterPartyAddress, @JsonProperty("edc:protocol") String protocol, - @JsonProperty("edc:type") ContractNegotiation.Type type) { + @JsonProperty("edc:state") String state, + @JsonProperty("edc:type") String type) { }