-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: remove CONSUMER_ and PROVIDER_ prefixes from CN states (#71)
- Loading branch information
1 parent
e8b4a9e
commit 5428501
Showing
7 changed files
with
43 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
@startuml "hub-request-processing" | ||
@startuml "contract-negotiation-state-machine" | ||
!pragma layout smetana | ||
|
||
!include ../common/style/diagram.styles.puml | ||
|
||
hide empty description | ||
|
||
state CONSUMER_REQUESTED: <color:$darkGray>ContractRequestMessage | ||
state PROVIDER_OFFERED: <color:$darkGray>ContractOfferMessage | ||
state CONSUMER_AGREED: <color:$darkGray>ContractNegotiationEventMessage:accepted | ||
state PROVIDER_AGREED: <color:$darkGray>ContractAgreementMessage | ||
state CONSUMER_VERIFIED: <color:$darkGray>ContractAgreementVerificationMessage | ||
state PROVIDER_FINALIZED: <color:$darkGray>ContractNegotiationEventMessage:finalized | ||
state REQUESTED: <color:$darkGray>ContractRequestMessage | ||
state OFFERED: <color:$darkGray>ContractOfferMessage | ||
state ACCEPTED: <color:$darkGray>ContractNegotiationEventMessage:accepted | ||
state AGREED: <color:$darkGray>ContractAgreementMessage | ||
state VERIFIED: <color:$darkGray>ContractAgreementVerificationMessage | ||
state FINALIZED: <color:$darkGray>ContractNegotiationEventMessage:finalized | ||
|
||
state TERMINATED $lightRed #$borderRed: <color:$darkGray>ContractNegotiationTerminationMessage | ||
|
||
[*] --> CONSUMER_REQUESTED: C | ||
CONSUMER_REQUESTED --> PROVIDER_OFFERED: P | ||
CONSUMER_REQUESTED --> PROVIDER_AGREED: P | ||
[*] --> REQUESTED: C | ||
REQUESTED --> OFFERED: P | ||
REQUESTED --> AGREED: P | ||
|
||
[*] --> PROVIDER_OFFERED: P | ||
PROVIDER_OFFERED --> CONSUMER_REQUESTED: C | ||
PROVIDER_OFFERED --> CONSUMER_AGREED: C | ||
CONSUMER_AGREED --> PROVIDER_AGREED: P | ||
[*] --> OFFERED: P | ||
OFFERED --> REQUESTED: C | ||
OFFERED --> ACCEPTED: C | ||
ACCEPTED --> AGREED: P | ||
|
||
PROVIDER_AGREED --> CONSUMER_VERIFIED: C | ||
AGREED --> VERIFIED: C | ||
|
||
CONSUMER_VERIFIED --> PROVIDER_FINALIZED: P | ||
VERIFIED --> FINALIZED: P | ||
|
||
PROVIDER_FINALIZED -->[*] | ||
FINALIZED -->[*] | ||
TERMINATED --> [*] | ||
|
||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters