Update documentation for DME integration
[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 participant "ICS"
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         "ACM Runtime"->"A1PMS Participant": Deploy ACM Instance
27         "ACM Runtime"<--"A1PMS Participant": Response
28         "ACM Runtime"->"Kserve Participant": Deploy ACM Instance
29         "ACM Runtime"<--"Kserve Participant": Response
30         "ACM Runtime"->"K8s Participant": Deploy ACM Instance
31         "ACM Runtime"<--"K8s Participant": Response
32         "rApp Manager"->"ACM Runtime": ACM Deployment Status
33     end
34
35     group SME Deploy
36         "rApp Manager"->"CAPIF": Create CAPIF entities
37         "CAPIF"->"CAPIF": Create the entities as provided
38         "rApp Manager"<-"CAPIF": Response of CAPIF entities creation
39     end
40     group DME Deploy
41         "rApp Manager"->"ICS": Create Info types for producer and consumer
42         "rApp Manager"<--"ICS": Response
43         "rApp Manager"->"ICS": Create Info producer
44         "rApp Manager"<--"ICS": Response
45         "rApp Manager"->"ICS": Create Info consumer
46         "rApp Manager"<--"ICS": Response
47     end
48 "API User"<-"rApp Manager": Deploy rApp Instance Status
49 end
50
51 autonumber
52 group Undeploy rApp Instance
53 "API User"->"rApp Manager": Undeploy rApp Instance
54 "rApp Manager"->"File System": Fetch rApp Package and Instance details
55     group ACM Undeploy
56         "rApp Manager"->"ACM Runtime": Undeploy ACM Instance
57         "ACM Runtime"->"A1PMS Participant": Undeploy ACM Instance
58         "ACM Runtime"<--"A1PMS Participant": Response
59         "ACM Runtime"->"Kserve Participant": Undeploy ACM Instance
60         "ACM Runtime"<--"Kserve Participant": Response
61         "ACM Runtime"->"K8s Participant": Undeploy ACM Instance
62         "ACM Runtime"<--"K8s Participant": Response
63         "rApp Manager"->"ACM Runtime": ACM Undeployment Status
64         "rApp Manager"->"ACM Runtime": Delete ACM Instance
65         "rApp Manager"<-"ACM Runtime": Delete ACM Instance response
66     end
67
68     group SME Undeploy
69         "rApp Manager"->"CAPIF": Delete CAPIF entities
70         "CAPIF"->"CAPIF": Delete the entities as provided
71         "rApp Manager"<-"CAPIF": Response of CAPIF entities Deletion
72     end
73     group DME Undeploy
74         "rApp Manager"->"ICS": Delete Info consumer
75         "rApp Manager"<-"ICS": Response
76         "rApp Manager"->"ICS": Delete Info producer
77         "rApp Manager"<-"ICS": Response
78     end
79 "API User"<-"rApp Manager": Undeploy rApp Instance Status
80 end
81
82 autonumber
83 group Delete rApp Instance
84 "API User"->"rApp Manager": Delete rApp Instance
85 "rApp Manager"->"API User": Delete rApp Instance response
86 end
87
88 @enduml