Class ContractAgreementApiController
java.lang.Object
org.eclipse.edc.connector.api.management.contractagreement.ContractAgreementApiController
- All Implemented Interfaces:
ContractAgreementApi
@Produces("application/json")
@Path("/v2/contractagreements")
public class ContractAgreementApiController
extends Object
implements ContractAgreementApi
-
Constructor Summary
ConstructorsConstructorDescriptionContractAgreementApiController(org.eclipse.edc.connector.spi.contractagreement.ContractAgreementService service, org.eclipse.edc.transform.spi.TypeTransformerRegistry transformerRegistry, org.eclipse.edc.spi.monitor.Monitor monitor, org.eclipse.edc.validator.spi.JsonObjectValidatorRegistry validatorRegistry) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.json.JsonObjectjakarta.json.JsonObjectjakarta.json.JsonArrayqueryAllAgreements(jakarta.json.JsonObject querySpecJson)
-
Constructor Details
-
ContractAgreementApiController
public ContractAgreementApiController(org.eclipse.edc.connector.spi.contractagreement.ContractAgreementService service, org.eclipse.edc.transform.spi.TypeTransformerRegistry transformerRegistry, org.eclipse.edc.spi.monitor.Monitor monitor, org.eclipse.edc.validator.spi.JsonObjectValidatorRegistry validatorRegistry)
-
-
Method Details
-
queryAllAgreements
@POST @Path("/request") public jakarta.json.JsonArray queryAllAgreements(jakarta.json.JsonObject querySpecJson) - Specified by:
queryAllAgreementsin interfaceContractAgreementApi
-
getAgreementById
- Specified by:
getAgreementByIdin interfaceContractAgreementApi
-
getNegotiationByAgreementId
@GET @Path("{id}/negotiation") public jakarta.json.JsonObject getNegotiationByAgreementId(@PathParam("id") String id) - Specified by:
getNegotiationByAgreementIdin interfaceContractAgreementApi
-