ids-specification icon indicating copy to clipboard operation
ids-specification copied to clipboard

Detailed explanation of different paths through states

Open SebastianOpriel opened this issue 1 year ago • 3 comments

It would be great to have example explanation which paths through states are to be expected and in which cases those transitions could happen. https://github.com/International-Data-Spaces-Association/ids-specification/blob/71bc11c641a34685a72ab8e1d5eb9a8e298869df/negotiation/contract.negotiation.protocol.md?plain=1#L33C6-L33C6

SebastianOpriel avatar Jul 21 '23 06:07 SebastianOpriel

e.g. following transitions might make no sense:

  • init -> offered -> requested
  • init -> requested -> agreed

SebastianOpriel avatar Jul 21 '23 07:07 SebastianOpriel

Proposal: Add a matrix to the linked file to map states explicitly to allowed messages:

  • non-normative
  • Columns: Start State | End State | Message/Transition | Actor | Comment/Example

sebbader-sap avatar Aug 03 '23 08:08 sebbader-sap

Provided a suggestion

  • https://github.com/International-Data-Spaces-Association/ids-specification/pull/138
  • https://github.com/International-Data-Spaces-Association/ids-specification/pull/137

SebastianOpriel avatar Aug 04 '23 10:08 SebastianOpriel