Adding documentation for invoker
[nonrtric/plt/sme.git] / invoker / docs / discoveryapi.plantuml
diff --git a/invoker/docs/discoveryapi.plantuml b/invoker/docs/discoveryapi.plantuml
new file mode 100644 (file)
index 0000000..8a177f8
--- /dev/null
@@ -0,0 +1,21 @@
+@startuml Discover Service API
+actor InvokerClient
+box "CAPIF Internal"
+participant capifcore
+participant discoverservice
+participant invokerservice
+participant publishservice
+end box
+
+alt#Yellow #Yellow Discover Services
+    InvokerClient->capifcore: Discover services\n 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->InvokerClient: Services available\n matching the\n filter parameters
+end
+
+@enduml
\ No newline at end of file