| ... | ... | @@ -41,25 +41,31 @@ end box |
|
|
|
== Player submits file ==
|
|
|
|
|
|
|
|
Player -> Node ++ : AddFile REST
|
|
|
|
Node -> DB ++ : Validation
|
|
|
|
DB --> Node -- : //Response//
|
|
|
|
Node -> DB : Create/update submission
|
|
|
|
Node -> Minio : Add file
|
|
|
|
Node --> Player : //response 200//
|
|
|
|
Node -> GM -- : NewFile socket
|
|
|
|
Node -> GM -- : <<NewFile socket>>
|
|
|
|
GM -> Node ++ : FetchFile REST
|
|
|
|
Node -> DB ++ : Validation
|
|
|
|
DB --> Node -- : //Response//
|
|
|
|
Node -> Minio ++ : Get File
|
|
|
|
Minio --> Node -- : Response
|
|
|
|
Node --> GM -- : Response
|
|
|
|
Minio --> Node -- : //Response//
|
|
|
|
Node --> GM -- : //Response//
|
|
|
|
Note left: Show submission image
|
|
|
|
|
|
|
|
== Gamemaster reviews submission ==
|
|
|
|
|
|
|
|
GM -> Node ++ : ApproveFile socket
|
|
|
|
GM -> Node ++ : <<ApproveFile socket>>
|
|
|
|
Node -> DB ++ : Validation
|
|
|
|
DB --> Node -- : //Response//
|
|
|
|
Node -> DB : Update submission
|
|
|
|
Node --> Minio : Delete file (if rejected)
|
|
|
|
Node --> GM : NewFile socket
|
|
|
|
Node --> GM : FinalScoreUpdate socket
|
|
|
|
Node --> Player : FinalScoreUpdate socket
|
|
|
|
Node -> Player -- : FileStatusPlayer socket
|
|
|
|
Node -> Minio : Delete file (if rejected)
|
|
|
|
Node --> GM : <<NewFile socket>>
|
|
|
|
Node --> GM : <<FinalScoreUpdate socket>>
|
|
|
|
Node --> Player : <<FinalScoreUpdate socket>>
|
|
|
|
Node --> Player -- : <<FileStatusPlayer socket>>
|
|
|
|
Note left: Show alert
|
|
|
|
|
|
|
|
@enduml
|
| ... | ... | |
| ... | ... | |