Update flow and architecture images
[nonrtric/plt/rappmanager.git] / docs / uml / rApp-instance-flow.puml
1 @startuml
2 autonumber
3
4 actor "API User"
5 participant "rApp Manager"
6 collections "File System"
7 participant "ACM Runtime"
8 participant "A1PMS Participant"
9 participant "Kserve Participant"
10 participant "K8s Participant"
11 participant "DME Participant"
12 participant "SME"
13
14 autonumber
15 group Create rApp Instance
16 "API User"->"rApp Manager": Create rApp Instance
17 "rApp Manager"->"API User": Create rApp Instance response
18 end
19
20 autonumber
21 group Deploy rApp Instance
22 "API User"->"rApp Manager": Deploy rApp Instance
23 "rApp Manager"->"File System": Fetch rApp Package and Instance details
24     group ACM Deploy
25         "rApp Manager"->"ACM Runtime": Instantiate and Deploy ACM Instance
26         group Deploy A1 Part
27             "ACM Runtime"->"A1PMS Participant": Deploy ACM Instance
28             "ACM Runtime"<--"A1PMS Participant": Response
29         end
30         group Deploy Kserve Part
31             "ACM Runtime"->"Kserve Participant": Deploy ACM Instance
32             "ACM Runtime"<--"Kserve Participant": Response
33         end
34         group Deploy Kubernetes Part
35             "ACM Runtime"->"K8s Participant": Deploy ACM Instance
36             "ACM Runtime"<--"K8s Participant": Response
37         end
38         group Deploy DME Part
39             "ACM Runtime"->"DME Participant": Deploy ACM Instance
40             "ACM Runtime"<--"DME Participant": Response
41         end
42         "rApp Manager"->"ACM Runtime": ACM Deployment Status
43     end
44
45     group SME Deploy
46         "rApp Manager"->"SME": Create SME entities
47         "SME"->"SME": Create the entities as provided
48         "rApp Manager"<-"SME": Response of SME entities creation
49     end
50 "API User"<-"rApp Manager": Deploy rApp Instance Status
51 end
52
53 autonumber
54 group Undeploy rApp Instance
55 "API User"->"rApp Manager": Undeploy rApp Instance
56 "rApp Manager"->"File System": Fetch rApp Package and Instance details
57     group ACM Undeploy
58         "rApp Manager"->"ACM Runtime": Undeploy ACM Instance
59         group Undeploy A1 Part
60             "ACM Runtime"->"A1PMS Participant": Undeploy ACM Instance
61             "ACM Runtime"<--"A1PMS Participant": Response
62         end
63         group Undeploy Kserve Part
64             "ACM Runtime"->"Kserve Participant": Undeploy ACM Instance
65             "ACM Runtime"<--"Kserve Participant": Response
66         end
67         group Undeploy Kubernetes Part
68             "ACM Runtime"->"K8s Participant": Undeploy ACM Instance
69             "ACM Runtime"<--"K8s Participant": Response
70         end
71         group Undeploy DME Part
72             "ACM Runtime"->"DME Participant": Undeploy ACM Instance
73             "ACM Runtime"<--"DME Participant": Response
74         end
75         "rApp Manager"->"ACM Runtime": ACM Undeployment Status
76         "rApp Manager"->"ACM Runtime": Delete ACM Instance
77         "rApp Manager"<-"ACM Runtime": Delete ACM Instance response
78     end
79
80     group SME Undeploy
81         "rApp Manager"->"SME": Delete SME entities
82         "SME"->"SME": Delete the entities as provided
83         "rApp Manager"<-"SME": Response of SME entities Deletion
84     end
85 "API User"<-"rApp Manager": Undeploy rApp Instance Status
86 end
87
88 autonumber
89 group Delete rApp Instance
90 "API User"->"rApp Manager": Delete rApp Instance
91 "rApp Manager"->"API User": Delete rApp Instance response
92 end
93
94 @enduml