-
Notifications
You must be signed in to change notification settings - Fork 885
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change Tittle and modify UML diagram
Signed-off-by: Bandini Bhopi <bandinib@amazon.com>
- Loading branch information
1 parent
20b06d8
commit daf7b91
Showing
3 changed files
with
20 additions
and
7 deletions.
There are no files selected for viewing
Binary file modified
BIN
+1.24 KB
(100%)
docs/saved_objects/img/proposed_saved_object_service_workflow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 19 additions & 6 deletions
25
docs/saved_objects/resources/proposed_saved_object_service_workflow.puml
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,25 +1,38 @@ | ||
@startuml | ||
|
||
title: Proposed Saved Object Service Flow | ||
|
||
actor User | ||
|
||
participant "OpenSearch-Dashboards" as OSD | ||
|
||
box "Saved Object Service" #LightBlue | ||
participant "Saved Object Client" as Client | ||
participant "Repository Factory Provider" as Factory | ||
participant "Repository\n(e.g. SavedObjectRepository,\nPostgresRepository,\nDynamoDBRepository)" as Repo | ||
participant "Metadata Storage\n(e.g. OpenSearch,\nPostgres, DynamoDB etc)" as Meta | ||
end box | ||
|
||
box "Dashboards Storage Plugin" #LightYellow | ||
participant "Repository\n(e.g. PostgresRepository,\nDynamoDBRepository)" as Repo | ||
participant "Metadata Storage\n(e.g. Postgres, \nDynamoDB etc)" as Meta | ||
end box | ||
|
||
autonumber | ||
group OSD Bootstrap | ||
Repo -> Factory: Register custom repository | ||
Factory -> Client: Returns repository | ||
Client -> OSD: Returns Saved Object Client | ||
end group | ||
User -> Client: Create Saved Object | ||
Client -> Factory: Get Repository | ||
Factory -> Client: Returns Repository to manage Saved Objects | ||
Client -> Repo: Create Saved Object | ||
Repo -> Meta: Create/Update Record | ||
Meta --> Repo: Saved Object Saved | ||
Client -> User: Saved Object Created | ||
User -> Client: Get Saved Object | ||
Client -> Factory: Get Repository | ||
Factory -> Client: Returns Repository to manage Saved Objects | ||
Client -> Repo: Get Saved Object | ||
Repo -> Meta: Fetch Saved Object from storage | ||
Meta --> Repo: Return Saved Object | ||
Repo -> Client: Return Saved Object | ||
Client -> User: Saved Object Data | ||
|
||
skinparam BoxPadding 15 | ||
@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