Update architecture documentation

* Update architecture documentation
This commit is contained in:
abraunegg 2024-02-21 05:11:59 +11:00
parent f1470b5c67
commit 65d6804767
2 changed files with 16 additions and 2 deletions

View file

@ -86,6 +86,13 @@ Due to this factor, when using `--resync` the online source is always going to b
### Default Operational Modes - Conflict Handling
#### Scenario
1. Create a local file
2. Perform a sync with Microsoft OneDrive using `onedrive --sync`
3. Modify file online
4. Modify file locally with different data|contents
5. Perform a sync with Microsoft OneDrive using `onedrive --sync`
![conflict_handling_default](./puml/conflict_handling_default.png)
#### Evidence of Conflict Handling
@ -128,6 +135,13 @@ Waiting for all internal threads to complete before exiting application
### Default Operational Modes - Conflict Handling with --resync
#### Scenario
1. Create a local file
2. Perform a sync with Microsoft OneDrive using `onedrive --sync`
3. Modify file online
4. Modify file locally with different data|contents
5. Perform a sync with Microsoft OneDrive using `onedrive --sync --resync`
![conflict_handling_default_resync](./puml/conflict_handling_default_resync.png)
#### Evidence of Conflict Handling

View file

@ -2,7 +2,7 @@
start
:Validate access and\nexisting access token\nRefresh if needed;
:Validate access and existing access token\nRefresh if needed;
:Query /delta API;
note right: Query Microsoft OneDrive /delta API
@ -78,4 +78,4 @@ partition "Final True-Up" {
:Process further online JSON changes if required;
}
stop
@enduml
@enduml