User Pushes newest local changes of documentsUserUserPushClientPushClientPsychicOctoRobotServerPsychicOctoRobotServerGitServerGitServerNode.js server which serves thewebpages requested by the user.requests page forPushing anew revisionweb page forPushClientThe PushClient is aJavascript client made of js-gitand our code bundled with browserifyreads local "git"directory to checkfor repositoriespresentDisplays documentsthat are trackedin repositories andare push-ableselects documentrepository to pushDisplays prompt forbranch to pushSelects branchPrompts for confirmationAcceptsalt[Contact GitServer Directly]Sends new revisions for repositoryConfirmation[Push through PsychicOctoRobotServer]Sends new revisions of repoNew revisions for repositoryConfirmationConfirmationDisplays message notifying user of success/failure
SEQUENCE DIAGRAM
6609772937740288
User Pushes newest local changes of documentsUserUserPushClientPushClientPsychicOctoRobotServerPsychicOctoRobotServerGitServerGitServerNode.js server which serves thewebpages requested by the user.requests page forPushing anew revisionweb page forPushClientThe PushClient is aJavascript client made of js-gitand our code bundled with browserifyreads local "git"directory to checkfor repositoriespresentDisplays documentsthat are trackedin repositories andare push-ableselects documentrepository to pushDisplays prompt forbranch to pushSelects branchPrompts for confirmationAcceptsalt[Contact GitServer Directly]Sends new revisions for repositoryConfirmation[Push through PsychicOctoRobotServer]Sends new revisions of repoNew revisions for repositoryConfirmationConfirmationDisplays message notifying user of success/failure
@startuml
title User Pushes newest local changes of documents
actor User
participant PushClient
participant PsychicOctoRobotServer
note right of PsychicOctoRobotServer
Node.js server which serves the
webpages requested by the user.
end note
User -> PsychicOctoRobotServer : requests page for \n Pushing a \n new revision
PsychicOctoRobotServer -> User : web page for \n PushClient
note right
The PushClient is a
Javascript client made of js-git
and our code bundled with browserify
end note
PushClient -> PushClient : reads local "git" \n directory to check \n for repositories \n present
PushClient -> User : Displays documents \n that are tracked \n in repositories and \n are push-able
User -> PushClient : selects document \n repository to push
PushClient -> User : Displays prompt for \n branch to push
User -> PushClient : Selects branch
PushClient -> User : Prompts for confirmation
User -> PushClient : Accepts
alt Contact GitServer Directly
PushClient -> GitServer : Sends new revisions for repository
GitServer -> PushClient : Confirmation
else Push through PsychicOctoRobotServer
PushClient -> PsychicOctoRobotServer : Sends new revisions of repo
PsychicOctoRobotServer -> GitServer : New revisions for repository
GitServer -> PsychicOctoRobotServer : Confirmation
PsychicOctoRobotServer -> PushClient : Confirmation
end
PushClient -> User : Displays message notifying user of success/failure
@enduml
@startuml
skinparam backgroundColor #EEEBDC
skinparam sequenceArrowColor DeepSkyBlue
skinparam sequenceParticipantBorderColor DeepSkyBlue
skinparam sequenceActorBorderColor DeepSkyBlue
skinparam sequenceLifeLineBorderColor blue
actor User
participant "First Class" as A
participant "Second Class" as B
participant "Last Class" as C
User -> A: DoWork
activate A
@enduml
@startuml
skinparam backgroundColor #EEEBDC
actor 使用者
participant "頭等艙" as A
participant "第二類" as B
participant "最後一堂課" as 別的東西
使用者 -> A: 完成這項工作
activate A
A -> B: 創建請求
activate B
B -> 別的東西: 創建請求
activate 別的東西
別的東西 --> B: 這項工作完成
destroy 別的東西
B --> A: 請求創建
deactivate B
A --> 使用者: 做完
deactivate A
@enduml
@startuml
skinparam backgroundColor #EEEBDC
skinparam sequenceArrowColor DeepSkyBlue
skinparam sequenceParticipantBorderColor DeepSkyBlue
skinparam sequenceActorBorderColor DeepSkyBlue
skinparam sequenceLifeLineBorderColor blue
actor User
participant "First Class" as A
participant "Second Class" as B
participant "Last Class" as C
User -> A: DoWork
activate A
@enduml
SEQUENCE DIAGRAM
6706091605884928
UserUserAppAppServerServerDatabaseDatabaseget all reviews for venuemakeGetRequest()getReviews()ResultSetHTTP Response(success:true, data)
SEQUENCE DIAGRAM
6723762711953408
UserUserAppAppServerServerDatabaseDatabaseget all reviews for venuemakeGetRequest()getReviews()ResultSetHTTP Response(success:true, data)
@startuml
actor User
User->App:get all reviews for venue
App->Server:makeGetRequest()
Server->Database:getReviews()
Database-->Server:ResultSet
Server-->App:HTTP Response(success:true, data)
@enduml
SEQUENCE DIAGRAM
6723762711953408
UserUserAppAppServerServerDatabaseDatabasesend a reviewmakePostRequest()storeNewReview()ResultSetalt[login key is correct]HTTP Response(success:true)[else]HTTP Response(success:false)
SEQUENCE DIAGRAM
6726037165572096
UserUserAppAppServerServerDatabaseDatabasesend a reviewmakePostRequest()storeNewReview()ResultSetalt[login key is correct]HTTP Response(success:true)[else]HTTP Response(success:false)
@startuml
actor User
User->App:send a review
App->Server:makePostRequest()
Server->Database:storeNewReview()
Database-->Server:ResultSet
alt login key is correct
Server-->App:HTTP Response(success:true)
else else
Server-->App:HTTP Response(success:false)
end
@enduml