Readme
This commit is contained in:
parent
7e68cc4e27
commit
23a0c1aa2c
16
README.md
16
README.md
@ -8,18 +8,6 @@ Web server for WebDAV resources
|
|||||||
|
|
||||||
## Architecture
|
## Architecture
|
||||||
|
|
||||||
```staruml
|
### File streaming
|
||||||
@startuml
|
|
||||||
|
|
||||||
actor Client
|
<img src="https://code.ita-prog.pl/Tsumanu/puffball/raw/branch/master/assets/stream.svg">
|
||||||
actor Pathfinder
|
|
||||||
actor Sentinel
|
|
||||||
actor Fileye
|
|
||||||
|
|
||||||
Client -> Pathfinder
|
|
||||||
Pathfinder -> Sentinel : Check authorization
|
|
||||||
Sentinel -> Pathfinder : Return session info
|
|
||||||
Pathfinder -> Fileye : Stream content
|
|
||||||
|
|
||||||
@enduml
|
|
||||||
```
|
|
||||||
|
16
assets/stream.puml
Normal file
16
assets/stream.puml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
@startuml
|
||||||
|
|
||||||
|
Client -> Pathfinder
|
||||||
|
Pathfinder -> Sentinel : Check authorization
|
||||||
|
|
||||||
|
Sentinel -> LoggedState : Logged
|
||||||
|
alt User Authorized
|
||||||
|
Sentinel -> Pathfinder : Authorized
|
||||||
|
Pathfinder -> Fileye : Open stream
|
||||||
|
Fileye -> Client : Resource access
|
||||||
|
else Unauthenticated
|
||||||
|
Sentinel -> Pathfinder : Unauthenticated
|
||||||
|
Pathfinder -> Client : Unauthenticated
|
||||||
|
end
|
||||||
|
|
||||||
|
@enduml
|
1
assets/stream.svg
Normal file
1
assets/stream.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 7.4 KiB |
Loading…
Reference in New Issue
Block a user