Skip to content

[Story] Data Exchange Approval EDC Integration #1129

@ReneSchroederLJ

Description

@ReneSchroederLJ

As PURIS admin,
I want an edc integration of data exchange approval,
so that I can send and receive data exchange approvals.

Hints / Details

  • create a new derived class ReportedDataExchangeApproval for storing received requests
  • create the corresponding repository and service for ReportedDataExchangeApproval
  • implement java classes for the SAMM representation of DataExchangeRApproval
  • add a new SAMM mapper to map from OwnDataExchangeApproval to the SAMM and SAMM to ReportedDataExchangeApproval
  • add Unit tests for the new SAMM mapper
  • reuse the EDC asset and contract created for DataExchangeRequest
  • adapt the POST endpoint at data-exchange-request/request to handle requests and approvals based on the context of the message header
  • add Bruno tests to test the approval process

example SAMM representation:

{
    "id": "urn:uuid:2f1c9b6e-8c4a-4d5f-9a2b-1f3e7d8c6a10",
    "dataExchangeRequestId": "urn:uuid:2f1c9b6e-8c4a-4d5f-9a2b-1f3e7d8c6a10",
    "approvedTypes": ["n-tier"],
    "isFinalized": true,
    "timestamp": "2025-10-12T00:00:00.000000Z"
}

Outcome / Acceptance Criteria

Outcome

  • Data exchange approvals can be sent to and saved by a partner

Acceptance Criteria

Out of Scope

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Task.

Projects

Status
In progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions