X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=capifcore%2Fdocs%2Fdiagrams%2Fregisterpoviderandpublishservice.plantuml;h=7d9ff3b06db0422afc6c7c7d4beb8c394f9a3054;hb=86b2798a9b7dd2ac07eed563d1acbb26c0e5c2be;hp=724601234e8457b784f434a47e98f1c9f2744d78;hpb=ef6957cb0304235c5b12e93148c1d6da17f6c11d;p=nonrtric%2Fplt%2Fsme.git diff --git a/capifcore/docs/diagrams/registerpoviderandpublishservice.plantuml b/capifcore/docs/diagrams/registerpoviderandpublishservice.plantuml index 7246012..7d9ff3b 100644 --- a/capifcore/docs/diagrams/registerpoviderandpublishservice.plantuml +++ b/capifcore/docs/diagrams/registerpoviderandpublishservice.plantuml @@ -1,5 +1,6 @@ @startuml Register Provider actor rAppCatalogue +actor rApp participant rAppManager box "CAPIF Internal" participant capifcore @@ -8,6 +9,8 @@ participant helmmanager 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 @@ -21,12 +24,16 @@ end alt#LightBlue #LightBlue Publish Service rAppManager->capifcore: Publish services\n with providerId\n andServiceAPIDescription capifcore->publishservice: Publish services - publishservice->providermanager: Check that AEFs are\n registered for provider + 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 + 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 @@ -36,6 +43,10 @@ alt#coral #coral 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 @@ -51,4 +62,23 @@ alt#Yellow #Yellow Discover Services 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 end + +alt#Pink #Pink Security Service + rApp->securityservice: Request token\n for service with\n AccessTokenReq + securityservice->invokerservice: Is invoker registered? + invokerservice->securityservice: Ok + securityservice->invokerservice: Is secret valid? + invokerservice->securityservice: Ok + securityservice->providermanager: Is function providing\n service registered? + providermanager->securityservice: Ok + securityservice->publishservice: Is service published? + 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