Cherry Application LCM Step 2 - Package Validation
Use Case Sequence Diagram
@startumlTitle Application LCM Step 2 - Package Validationskinparam sequenceArrowThickness 2skinparam ParticipantPadding 5skinparam BoxPadding 10skinparam ArrowColor #blueautonumberBox Personnel #lightblue Actor sOP as "SMO Operator" <<INT OTF>>End boxBox "SMO" #gold Participant sPMGR as "Package Manager" <<RICAPP>> Boundary MC as "Model Catalog" <<SMO MVC State Manager>>end box== Validate ==sOP -> sPMGR : ValidateStructure (packageFilename)sPMGR -> sPMGR :Note Left: Validate Package contents and structurealt if Structure is Valid then sOP -> sPMGR : ValidateVersion (packageFilename, modelCatalogEndPoint) sPMGR -> sPMGR : Note Left: Extract Application Version from package sPMGR -> MC : GET ../applications/<ApplicationversionId> alt if version not found (rc = 404) then sPMGR -> MC : PUT ../applications/<ApplicationversionId> {State=VALIDATED} else note over sPMGR : Change to established version not allowed, version in package should be updated end ifelse note over sPMGR : Package structure is not valid unable to create a record in Model Catalogend if@enduml