Skip to content

Refactor GetDspRequest to use RemoteMessage #5171

@ronjaquensel

Description

@ronjaquensel

Feature Request

For any get-by-id DSP request (namely dataset request, contract negotiation request, transfer process request) we're using the GetDspRequest class to pass all required information to the protocol service. This class currently expects a string (the id) as input, as previously there were no RemoteMessage implementations for getting a negotiation or a transfer process.

In this PR, these missing RemoteMessage implementations have been added. The GetDspRequest can therefore be refactored to accept a RemoteMessage, which passes both id and protocol information to the service.

Which Areas Would Be Affected?

core

Why Is the Feature Desired?

align GetDspRequest with PostDspRequest, simplify interfaces for protocol services

Who will sponsor this feature?

me

Metadata

Metadata

Assignees

Labels

feature_requestNew feature request, awaiting triage

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions