B.1 PlantUML code for MDA workflow

28.1043GPPManagement and orchestrationManagement Data Analytics (MDA)Release 17TS

B1.0 Introduction

This annex contains the PlantUML source code for the MDA workflow specified in clause 11 of the present document.

B.1.1 PlantUML code for MDA requesting and reporting workflow

@startuml

skinparam shadowing false

skinparam monochrome true

hide footbox

participant "MDAS consumer" as MC

participant "MDAS producer" as MP

participant "Reporting target" as RT

ref over MP, MC : 1. create MOI for MDARequest IOC

Alt reportingMethod is "File"

opt if the file data reporting related \nnotifications are not subscribed yet

ref over MP, RT : 2a. subscription creation of the file data reporting related notifications \nfor the reporting target

end

else reportingMethod is "Streaming"

alt if streaming(WebSocket) connection does not exist

MP -> RT: 2b establishStreamingConnection request

RT –> MP: 2c establishStreamingConnection response

else if streaming(WebSocket) connection exists

MP -> RT: 2d. addStream

RT –> MP: 2e addStream response

opt if an existing stream is replaced

MP -> RT: 2f. deleteStream

RT –> MP: 2g deleteStream response

end

end

else reportingMethod is "Notification"

opt if the provisioning related notifications are not \nsubscribed for the reporting target yet

ref over MP, RT : 2h. subscription creation of the provisioning related notifications \nfor the reporting target

end

end

loop while the MDARequest MOI exists and not stopped

MP -> MP: 3a. perform MDA and make the MDA report ready \n (according to the MDAReport IOC)

Alt reportingMethod is "File"

MP -> MP: 3b. make the MDA report into a file

MP -> RT: 3c. notifyFileReady (for the MDA report)

else reportingMethod is "Streaming"

MP -> MP: 3d. make the MDA report into a stream data unit

MP -> RT: 3e. reportStreamData (for the MDA report)

else reportingMethod is "Notification"

MP -> MP: 3f. create an MDAReport MOI for the MDA report

Alt notifyMOICreation is used \nto notify the creation of MDAReport MOI

MP -> RT: 3g. notifyMOICreation \n (for MDAReport IOC)

else notifyMOIChanges is used \nto notify the creation of MDAReport MOI

MP -> RT: 3h. notifyMOIChanges \n (for MDAReport IOC)

end

end

end

@enduml

Annex C (informative):
Change history

Change history

Date

Meeting

TDoc

CR

Rev

Cat

Subject/Comment

New version

2022-06

SA#96

Removal of comments

17.0.1

2022-09

SA#97e

SP-220850

0001

1

F

Rectifying attribute properties

17.1.0

2022-09

SA#97e

SP-220850

0013

F

Corrections to MDAOutputIEFilte

17.1.0

2022-09

SA#97e

SP-220850

0014

1

F

fix incorrect yaml file name in TS28.104

17.1.0

2022-09

SA#97e

SP-220851

0015

1

F

Correction of MDA request and reporting workflow

17.1.0

2022-09

SA#97e

Alignment with the code in FORGE (MCC)

17.1.1

2022-12

SA#98e

SP-221166

0017

F

Adding Stage 2 definitions of missing attributes

17.2.0

2022-12

SA#98e

SP-221166

0018

F

Changing recommendation attributes of time from type DateTime to TimeWindow

17.2.0

2022-12

SA#98e

SP-221166

0019

F

Adding appropriate reference to GeoArea from NRM definition – Stage 2 and Stage 3

17.2.0

2022-12

SA#98e

SP-221166

0020

F

Correcting the attribute properties for MDA request and response IOCs

17.2.0

2022-12

SA#98e

SP-221166

0024

F

Add the missing data type definition for threshold

17.2.0

2022-12

SA#98e

SP-221166

0025

1

F

Correction of definition for analytics window

17.2.0

2022-12

SA#98e

SP-221167

0026

F

Remove S-NSSAI from example of analytics output

17.2.0

2022-12

SA#98e

SP-221166

0029

1

F

Update MDA assisted energy saving

17.2.0