Skip to content

Commit

Permalink
Change Tittle and modify UML diagram
Browse files Browse the repository at this point in the history
Signed-off-by: Bandini Bhopi <bandinib@amazon.com>
  • Loading branch information
bandinib-amzn committed May 22, 2023
1 parent 20b06d8 commit daf7b91
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# New Saved Object Service Interface for Custom Repository
# Proposed Saved Object Service Interface for Custom Repository

## Introduction

Expand Down

0 comments on commit daf7b91

Please sign in to comment.