Skip to content

Align behaviour between ContractOfferMessage and ContractRequestMessage #200

@wolf4ood

Description

@wolf4ood

Feature Request

Based on #154 and the PR #155

where The ContractOfferMessage can container either consumerPid or callbackAddress based on the fact that it is a provider initiated CN or it is a counter offer from the provider.

We have the same behavior on the consumer side while sending a ContractRequestMessage which can be a first request or a counter request from the consumer to provider.

I'd propose to align also ContractRequestMessage to have oneOf with callbackAddress (initial consumer request) and providerPid (subsequent counter request)

Which Areas Would Be Affected?

e.g., data offering, policy negotiation, data transfer, etc.

Type: normative / non-normative <-- please specify the affected scope

Why Is the Feature Desired?

Are there any requirements?

Solution Proposal

If possible, provide a (brief!) solution proposal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions