Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions broker/patron_request/service/statemodels/returnables.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@
"name": "unfilled",
"desc": "Supplier cannot supply (ISO18626 Unfilled)",
"transition": "UNFILLED"
},
{
"name": "accept-retry",
"desc": "Supplier accepts retry with new metadata",
"transition": "NEW"
}
]
},
Expand Down Expand Up @@ -338,6 +343,13 @@
"transitions": {
"success": "CONDITION_PENDING"
}
},
{
"name": "ask-retry",
"desc": "Ask requester to retry with new ISO18626 metadata",
"transitions": {
"success": "RETRY_REQUESTED"
}
}
],
"events": [
Expand Down Expand Up @@ -547,6 +559,13 @@
"desc": "After manual cannot-supply or automatically if auto-responder is on",
"side": "SUPPLIER",
"terminal": true
},
{
"name": "RETRY_REQUESTED",
"display": "Retry Requested",
"desc": "After manual retry request",
"side": "SUPPLIER",
"terminal": true
}
]
}
13 changes: 13 additions & 0 deletions misc/returnables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ states:
- name: unfilled
desc: Supplier cannot supply (ISO18626 Unfilled)
transition: UNFILLED
- name: accept-retry
desc: Supplier accepts retry with new metadata
transition: NEW
Comment on lines +51 to +53

- name: SUPPLIER_LOCATED
display: Supplier Located
Expand Down Expand Up @@ -232,6 +235,10 @@ states:
desc: Indicate will supply with conditions and send ISO18626 WillSupply
transitions:
success: CONDITION_PENDING
- name: ask-retry
desc: Ask requester to retry with new ISO18626 metadata
transitions:
success: RETRY_REQUESTED
events:
- name: cancel-request
desc: Requester sent ISO18626 Cancel
Expand Down Expand Up @@ -369,3 +376,9 @@ states:
desc: After manual cannot-supply or automatically if auto-responder is on
side: SUPPLIER
terminal: true

- name: RETRY_REQUESTED
display: Retry Requested
desc: After manual retry request
side: SUPPLIER
terminal: true
Loading