X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=capifcore%2Fdocs%2Fdiagrams%2Fregisterpoviderandpublishservice.plantuml;h=b5439ee54fcce29bf3b8f1d710dbde74b3720772;hb=f5cc4c5773b4b4eae42de7b3206b78dfeaf4d90c;hp=ff33f50ecc0654cc6b1719b84e3acd11493a1e49;hpb=f2b14d0af529fdb4a2258d025593f1f805c4e4ca;p=nonrtric%2Fplt%2Fsme.git diff --git a/capifcore/docs/diagrams/registerpoviderandpublishservice.plantuml b/capifcore/docs/diagrams/registerpoviderandpublishservice.plantuml index ff33f50..b5439ee 100644 --- a/capifcore/docs/diagrams/registerpoviderandpublishservice.plantuml +++ b/capifcore/docs/diagrams/registerpoviderandpublishservice.plantuml @@ -10,48 +10,58 @@ participant publishservice participant invokerservice participant discoverservice participant securityservice +participant eventservice end box -rAppCatalogue->rAppManager: Start rApp, with rApp\n descriptor specifying which\n services to expose and consume -alt#paleGreen #paleGreen Provider Enrolment - rAppManager->capifcore: Register provider with\n APIProviderEnrolmentDetails - capifcore->providermanager:Register provider - providermanager->providermanager: Create apiProvDomId\n and apiProvFuncIds\n for provided functions - providermanager->capifcore: Provider with\n apfId and aefIds - capifcore->rAppManager: Provider with\n apfId and aefIds +alt Regtister rApp as both provider and consumer + rAppCatalogue->rAppManager: Register rApp, with rApp\n descriptor specifying which\n services to expose and consume + alt#paleGreen #paleGreen Provider Enrolment + rAppManager->capifcore: Register provider with\n APIProviderEnrolmentDetails + capifcore->providermanager:Register provider + providermanager->providermanager: Create apiProvDomId\n and apiProvFuncIds\n for provided functions + providermanager->capifcore: Provider with\n apfId and aefIds + capifcore->rAppManager: Provider with\n apfId and aefIds + end + alt#LightBlue #LightBlue Publish Service + rAppManager->capifcore: Publish services\n with providerId\n andServiceAPIDescription + capifcore->publishservice: Publish services + publishservice->providermanager: Are AEFs registered\n for provider? + providermanager->publishservice: Ok + publishservice->publishservice: Create apiId + publishservice->helmmanager: Install chart + note right: Optional and not decided yet + helmmanager->publishservice: Ok + alt#Orange #Orange Subcribed Event Handling + publishservice->eventservice: Service published + eventservice->rApp: CAPIFEventDetail + end + publishservice->capifcore: ServiceAPIDescription\n with apiId + capifcore->rAppManager: ServiceAPIDescription\n with apiId + end + alt#coral #coral Register Invoker + rAppManager->capifcore: Register invoker with\n APIInvokerEnrolmentDetails + capifcore->invokerservice: Register invoker + invokerservice->invokerservice: Create apiInvokerId and\n onboardingSecret + invokerservice->publishservice: Get available services + publishservice->invokerservice: Available services + alt#Orange #Orange Subcribed Event Handling + invokerservice->eventservice: Invoker registered + eventservice->rApp: CAPIFEventDetail + end + invokerservice->capifcore: Services available\n for the invoker + capifcore->rAppManager: Invoker with invokerId\n and available services + end + rAppManager->rAppCatalogue: Ok end -alt#LightBlue #LightBlue Publish Service - rAppManager->capifcore: Publish services\n with providerId\n andServiceAPIDescription - capifcore->publishservice: Publish services - publishservice->providermanager: Are AEFs are\n registered for provider? - providermanager->publishservice: Ok - publishservice->publishservice: Create apiId - publishservice->helmmanager: Install chart - note right: Optional and not decided yet - helmmanager->publishservice: Ok - publishservice->capifcore: ServiceAPIDescription\n with apiId - capifcore->rAppManager: ServiceAPIDescription\n with apiId -end -alt#coral #coral Register Invoker - rAppManager->capifcore: Register invoker with\n APIInvokerEnrolmentDetails - capifcore->invokerservice: Register invoker - invokerservice->invokerservice: Create apiInvokerId and\n onboardingSecret - invokerservice->publishservice: Get available services - publishservice->invokerservice: Available services - invokerservice->capifcore: Services available\n for the invoker - capifcore->rAppManager: Invoker with invokerId\n and available services -end -rAppManager->rAppCatalogue: Ok - alt#Yellow #Yellow Discover Services - rAppManager->capifcore: Discover services for an\n invoker with apiInvokerId\n and filter parameters + rApp->capifcore: Discover services for an\n invoker with apiInvokerId\n and filter parameters capifcore->discoverservice: Get services available\n for the invoker discoverservice->invokerservice: Get services available\n for the invoker invokerservice->publishservice: Get available services publishservice->invokerservice: Available services invokerservice->discoverservice: Services available \nfor the invoker discoverservice->capifcore: Services available for the\n invoker matching the\n filter parameters - capifcore->rAppManager: Services available for the\n invoker and matching the\n filter parameters + capifcore->rApp: Services available for the\n invoker and matching the\n filter parameters end alt#Pink #Pink Security Service @@ -66,4 +76,10 @@ alt#Pink #Pink Security Service publishservice->securityservice: Ok securityservice->rApp: AccessTokenRsp with\n token end + +alt#Orange #Orange Event Service + rApp->eventservice: Subscribe to event with EventSubscription + eventservice->eventservice: Create subscriptionId + eventservice->rApp: subscriptionId +end @enduml \ No newline at end of file