- 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
+ 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