Update readme and docs with rapp instance
[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 "CAPIF"
12
13 autonumber
14 group Create rApp Instance
15 "API User"->"rApp Manager": Create rApp Instance
16 "rApp Manager"->"API User": Create rApp Instance response
17 end
18
19 autonumber
20 group Deploy rApp Instance
21 "API User"->"rApp Manager": Deploy rApp Instance
22 "rApp Manager"->"File System": Fetch rApp Package and Instance details
23     group ACM Deploy
24         "rApp Manager"->"ACM Runtime": Instantiate and Deploy ACM Instance
25         "ACM Runtime"->"A1PMS Participant": Deploy ACM Instance
26         "ACM Runtime"<--"A1PMS Participant": Response
27         "ACM Runtime"->"Kserve Participant": Deploy ACM Instance
28         "ACM Runtime"<--"Kserve Participant": Response
29         "ACM Runtime"->"K8s Participant": Deploy ACM Instance
30         "ACM Runtime"<--"K8s Participant": Response
31         "rApp Manager"->"ACM Runtime": ACM Deployment Status
32     end
33
34     group SME Deploy
35     "rApp Manager"->"CAPIF": Create CAPIF entities
36     "CAPIF"->"CAPIF": Create the entities as provided
37     "rApp Manager"<-"CAPIF": Response of CAPIF entities creation
38     end
39 "API User"<-"rApp Manager": Deploy rApp Instance Status
40 end
41
42 autonumber
43 group Undeploy rApp Instance
44 "API User"->"rApp Manager": Undeploy rApp Instance
45 "rApp Manager"->"File System": Fetch rApp Package and Instance details
46     group ACM Undeploy
47         "rApp Manager"->"ACM Runtime": Undeploy ACM Instance
48         "ACM Runtime"->"A1PMS Participant": Undeploy ACM Instance
49         "ACM Runtime"<--"A1PMS Participant": Response
50         "ACM Runtime"->"Kserve Participant": Undeploy ACM Instance
51         "ACM Runtime"<--"Kserve Participant": Response
52         "ACM Runtime"->"K8s Participant": Undeploy ACM Instance
53         "ACM Runtime"<--"K8s Participant": Response
54         "rApp Manager"->"ACM Runtime": ACM Undeployment Status
55         "rApp Manager"->"ACM Runtime": Delete ACM Instance
56         "rApp Manager"<-"ACM Runtime": Delete ACM Instance response
57     end
58
59     group SME Undeploy
60     "rApp Manager"->"CAPIF": Delete CAPIF entities
61     "CAPIF"->"CAPIF": Delete the entities as provided
62     "rApp Manager"<-"CAPIF": Response of CAPIF entities Deletion
63     end
64 "API User"<-"rApp Manager": Undeploy rApp Instance Status
65 end
66
67 autonumber
68 group Delete rApp Instance
69 "API User"->"rApp Manager": Delete rApp Instance
70 "rApp Manager"->"API User": Delete rApp Instance response
71 end
72
73 @enduml