aboutsummaryrefslogtreecommitdiffstats
path: root/docs/architecture/images/PolicyTypeDesign.svg
blob: be2daf73d408e45e5aaeb4e63bed715001ca3e86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="482px" preserveAspectRatio="none" style="width:852px;height:482px;" version="1.1" viewBox="0 0 852 482" width="852px" zoomAndPan="magnify"><defs><filter height="300%" id="f18eiwso4r8kyb" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="149" x="352.25" y="22.9951">Policy Type Design</text><rect fill="#ADD8E6" height="437.0234" style="stroke: #A80036; stroke-width: 1.0;" width="148" x="324.5" y="34.2969"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="94" x="351.5" y="46.3638">PolicyDesign</text><rect fill="#FFFFFF" filter="url(#f18eiwso4r8kyb)" height="28" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="92.5" y="305.3281"/><rect fill="#FFFFFF" filter="url(#f18eiwso4r8kyb)" height="90.2031" style="stroke: #000000; stroke-width: 2.0;" width="522" x="318.5" y="179.125"/><rect fill="#FFFFFF" height="43.9375" style="stroke: none; stroke-width: 1.0;" width="522" x="318.5" y="225.3906"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="97" x2="97" y1="88.7266" y2="416.7266"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="398.5" x2="398.5" y1="88.7266" y2="416.7266"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="597.5" x2="597.5" y1="88.7266" y2="416.7266"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="788.5" x2="788.5" y1="88.7266" y2="416.7266"/><rect fill="#FEFECE" filter="url(#f18eiwso4r8kyb)" height="46.5938" style="stroke: #A80036; stroke-width: 1.5;" width="175" x="8" y="37.1328"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="78" x="56.5" y="58.1328">«API_User»</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="161" x="15" y="74.4297">PolicyTypeDesignClient</text><rect fill="#FEFECE" filter="url(#f18eiwso4r8kyb)" height="46.5938" style="stroke: #A80036; stroke-width: 1.5;" width="175" x="8" y="415.7266"/><text fill="#000000" font-family="sans-serif" font-size="14" font-style="italic" lengthAdjust="spacingAndGlyphs" textLength="78" x="56.5" y="436.7266">«API_User»</text><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="161" x="15" y="453.0234">PolicyTypeDesignClient</text><rect fill="#FEFECE" filter="url(#f18eiwso4r8kyb)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="136" x="328.5" y="53.4297"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="122" x="335.5" y="73.4248">PolicyTypeDesign</text><rect fill="#FEFECE" filter="url(#f18eiwso4r8kyb)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="136" x="328.5" y="415.7266"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="122" x="335.5" y="435.7217">PolicyTypeDesign</text><rect fill="#FEFECE" filter="url(#f18eiwso4r8kyb)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="74" x="558.5" y="53.4297"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="60" x="565.5" y="73.4248">PolicyDB</text><rect fill="#FEFECE" filter="url(#f18eiwso4r8kyb)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="74" x="558.5" y="415.7266"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="60" x="565.5" y="435.7217">PolicyDB</text><rect fill="#FEFECE" filter="url(#f18eiwso4r8kyb)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="80" x="746.5" y="53.4297"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="66" x="753.5" y="73.4248">DCAE_DS</text><rect fill="#FEFECE" filter="url(#f18eiwso4r8kyb)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="80" x="746.5" y="415.7266"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="66" x="753.5" y="435.7217">DCAE_DS</text><rect fill="#FFFFFF" filter="url(#f18eiwso4r8kyb)" height="28" style="stroke: #A80036; stroke-width: 1.0;" width="10" x="92.5" y="305.3281"/><polygon fill="#A80036" points="386.5,115.8594,396.5,119.8594,386.5,123.8594,390.5,119.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="97.5" x2="392.5" y1="119.8594" y2="119.8594"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="104.5" y="114.7935">1</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="258" x="117.5" y="114.7935">Get Policy Type Reference and Metadata</text><polygon fill="#A80036" points="585.5,160.125,595.5,164.125,585.5,168.125,589.5,164.125" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="398.5" x2="591.5" y1="164.125" y2="164.125"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="405.5" y="151.4927">2</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="162" x="418.5" y="143.9263">Get Policy Type Metadata</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="74" x="418.5" y="159.0591">and Artifact</text><path d="M318.5,179.125 L382.5,179.125 L382.5,186.125 L372.5,196.125 L318.5,196.125 L318.5,179.125 " fill="#EEEEEE" style="stroke: #000000; stroke-width: 1.0;"/><rect fill="none" height="90.2031" style="stroke: #000000; stroke-width: 2.0;" width="522" x="318.5" y="179.125"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="19" x="333.5" y="192.1919">alt</text><text fill="#000000" font-family="sans-serif" font-size="11" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="176" x="397.5" y="191.3354">[Policy Type Artifact exists]</text><polygon fill="#A80036" points="776.5,213.3906,786.5,217.3906,776.5,221.3906,780.5,217.3906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="398.5" x2="782.5" y1="217.3906" y2="217.3906"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="405.5" y="212.3247">3</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="277" x="418.5" y="212.3247">Return Policy Type Reference and Metadata</text><line style="stroke: #000000; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="318.5" x2="840.5" y1="226.3906" y2="226.3906"/><text fill="#000000" font-family="sans-serif" font-size="11" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="194" x="323.5" y="236.6011">[Policy Artifact does not exist]</text><polygon fill="#A80036" points="776.5,257.3281,786.5,261.3281,776.5,265.3281,780.5,261.3281" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="398.5" x2="782.5" y1="261.3281" y2="261.3281"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="405.5" y="256.2622">4</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="353" x="418.5" y="256.2622">Return New Policy Type Reference and Empty Metadata</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="102.5" x2="144.5" y1="297.4609" y2="297.4609"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="144.5" x2="144.5" y1="297.4609" y2="310.4609"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="103.5" x2="144.5" y1="310.4609" y2="310.4609"/><polygon fill="#A80036" points="113.5,306.4609,103.5,310.4609,113.5,314.4609,109.5,310.4609" style="stroke: #A80036; stroke-width: 1.0;"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="109.5" y="292.395">5</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="274" x="122.5" y="292.395">Policy Type Editing and Generation Session</text><polygon fill="#A80036" points="386.5,365.5938,396.5,369.5938,386.5,373.5938,390.5,369.5938" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="97.5" x2="392.5" y1="369.5938" y2="369.5938"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="104.5" y="364.5278">6</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="210" x="117.5" y="364.5278">Create Policy Type and Metadata</text><polygon fill="#A80036" points="108.5,394.7266,98.5,398.7266,108.5,402.7266,104.5,398.7266" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 2.0,2.0;" x1="102.5" x2="397.5" y1="398.7266" y2="398.7266"/><text fill="#000000" font-family="sans-serif" font-size="13" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="9" x="114.5" y="393.6606">7</text><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="154" x="127.5" y="393.6606">Policy Generation Result</text><!--
@startuml

title Policy Type Design

participant PolicyTypeDesignClient <<API_User >>
box "PolicyDesign" #LightBlue
  participant PolicyTypeDesign
end box
autonumber

PolicyTypeDesignClient - -> PolicyTypeDesign : Get Policy Type Reference and Metadata
PolicyTypeDesign - -> PolicyDB : Get Policy Type Metadata\nand Artifact

alt Policy Type Artifact exists
  PolicyTypeDesign - -> DCAE_DS : Return Policy Type Reference and Metadata
else Policy Artifact does not exist
  PolicyTypeDesign - -> DCAE_DS : Return New Policy Type Reference and Empty Metadata
end

PolicyTypeDesignClient - -> PolicyTypeDesignClient : Policy Type Editing and Generation Session

activate PolicyTypeDesignClient
deactivate PolicyTypeDesignClient

PolicyTypeDesignClient - -> PolicyTypeDesign : Create Policy Type and Metadata
PolicyTypeDesign - -> PolicyTypeDesignClient : Policy Generation Result

@enduml

PlantUML version 1.2018.13(Mon Nov 26 13:11:51 AST 2018)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 11.0.6+10-post-Ubuntu-1ubuntu119.10.1
Operating System: Linux
OS Version: 5.3.0-46-generic
Default Encoding: UTF-8
Language: en
Country: IE
--></g></svg>