Files
deck/docs/resources/BoardImport.svg
Vitor Mattos e87c063076 Documentation, improvements on validation, refactor
Validate get boad
change pattern of api params
Import only one board by api
Populate data from api
Update class diagram
Update documentation
Add return when success
Sort comments
Fix order of cards
Instructions of attachments

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-30 11:19:49 +01:00

215 lines
16 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.40.1 (20161225.0304)
-->
<!-- Title: G Pages: 1 -->
<svg width="464pt" height="830pt"
viewBox="0.00 0.00 463.51 830.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 826)">
<title>G</title>
<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-826 459.512,-826 459.512,4 -4,4"/>
<!-- A0 -->
<g id="node1" class="node">
<title>A0</title>
<polygon fill="#fff8dc" stroke="#000000" points="177.409,-822 81.591,-822 81.591,-766 183.409,-766 183.409,-816 177.409,-822"/>
<polyline fill="none" stroke="#000000" points="177.409,-822 177.409,-816 "/>
<polyline fill="none" stroke="#000000" points="183.409,-816 177.409,-816 "/>
<text text-anchor="middle" x="132.5" y="-809" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">Classes used on</text>
<text text-anchor="middle" x="132.5" y="-797" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">board import.</text>
<text text-anchor="middle" x="132.5" y="-785" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">Methods just to</text>
<text text-anchor="middle" x="132.5" y="-773" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">illustrate.</text>
</g>
<!-- A1 -->
<g id="node2" class="node">
<title>A1</title>
<polygon fill="none" stroke="#000000" points="120.2773,-680 34.7227,-680 34.7227,-644 120.2773,-644 120.2773,-680"/>
<text text-anchor="middle" x="77.5" y="-659" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">ApiController</text>
</g>
<!-- A2 -->
<g id="node3" class="node">
<title>A2</title>
<polygon fill="none" stroke="#000000" points="11.5,-514 11.5,-546 143.5,-546 143.5,-514 11.5,-514"/>
<text text-anchor="start" x="21.107" y="-527" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">BoardImportApiController</text>
<polygon fill="none" stroke="#000000" points="11.5,-458 11.5,-514 143.5,-514 143.5,-458 11.5,-458"/>
<text text-anchor="start" x="57.3645" y="-495" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+import()</text>
<text text-anchor="start" x="27.6335" y="-483" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+getAllowedSystems()</text>
<text text-anchor="start" x="31.5185" y="-471" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+getConfigSchema()</text>
</g>
<!-- A1&#45;&gt;A2 -->
<g id="edge1" class="edge">
<title>A1&#45;&gt;A2</title>
<path fill="none" stroke="#000000" d="M77.5,-633.6693C77.5,-609.4424 77.5,-574.1663 77.5,-546.2238"/>
<polygon fill="#000000" stroke="#000000" points="77.5,-643.957 73.0001,-633.9569 77.5,-638.957 77.5001,-633.957 77.5001,-633.957 77.5001,-633.957 77.5,-638.957 82.0001,-633.957 77.5,-643.957 77.5,-643.957"/>
</g>
<!-- A3 -->
<g id="node4" class="node">
<title>A3</title>
<polygon fill="none" stroke="#000000" points="103.5,-364 103.5,-396 211.5,-396 211.5,-364 103.5,-364"/>
<text text-anchor="start" x="113.328" y="-377" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">BoardImportService</text>
<polygon fill="none" stroke="#000000" points="103.5,-284 103.5,-364 211.5,-364 211.5,-284 103.5,-284"/>
<text text-anchor="start" x="137.3645" y="-345" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+import()</text>
<text text-anchor="start" x="130.4105" y="-333" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+bootstrap()</text>
<text text-anchor="start" x="117.357" y="-321" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+validateSystem()</text>
<text text-anchor="start" x="119.718" y="-309" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">#validateConfig()</text>
<text text-anchor="start" x="123.607" y="-297" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">#validateData()</text>
</g>
<!-- A2&#45;&gt;A3 -->
<g id="edge2" class="edge">
<title>A2&#45;&gt;A3</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M99.3604,-457.7328C107.3577,-441.5382 116.5823,-422.8583 125.2939,-405.2174"/>
<polygon fill="#000000" stroke="#000000" points="129.7935,-396.1057 129.4004,-407.0646 127.5795,-400.5889 125.3656,-405.072 125.3656,-405.072 125.3656,-405.072 127.5795,-400.5889 121.3308,-403.0795 129.7935,-396.1057 129.7935,-396.1057"/>
<text text-anchor="middle" x="99.8076" y="-434.7378" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">uses</text>
</g>
<!-- A7 -->
<g id="node8" class="node">
<title>A7</title>
<polygon fill="none" stroke="#000000" points=".5,-196 .5,-228 147.5,-228 147.5,-196 .5,-196"/>
<text text-anchor="start" x="10.1075" y="-209" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">BoardImportTrelloApiService</text>
<polygon fill="none" stroke="#000000" points=".5,-164 .5,-196 147.5,-196 147.5,-164 .5,-164"/>
<text text-anchor="start" x="44.9655" y="-177" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+name:string</text>
</g>
<!-- A3&#45;&gt;A7 -->
<g id="edge6" class="edge">
<title>A3&#45;&gt;A7</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M118.1816,-283.9135C108.8174,-268.3662 99.2841,-251.7769 91.3901,-237.2456"/>
<polygon fill="#000000" stroke="#000000" points="86.4575,-228.0253 95.1426,-234.7202 88.8161,-232.4341 91.1747,-236.8429 91.1747,-236.8429 91.1747,-236.8429 88.8161,-232.4341 87.2068,-238.9656 86.4575,-228.0253 86.4575,-228.0253"/>
<text text-anchor="middle" x="101.613" y="-269.7117" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">uses</text>
</g>
<!-- A9 -->
<g id="node10" class="node">
<title>A9</title>
<polygon fill="none" stroke="#000000" points="165.5,-202 165.5,-234 319.5,-234 319.5,-202 165.5,-202"/>
<text text-anchor="start" x="175.272" y="-215" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">BoardImportTrelloJsonService</text>
<polygon fill="none" stroke="#000000" points="165.5,-158 165.5,-202 319.5,-202 319.5,-158 165.5,-158"/>
<text text-anchor="start" x="213.4655" y="-183" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+name:string</text>
<text text-anchor="start" x="189.981" y="-171" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">#needValidateData:true</text>
</g>
<!-- A3&#45;&gt;A9 -->
<g id="edge9" class="edge">
<title>A3&#45;&gt;A9</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M184.0053,-283.9135C191.7033,-270.4392 200.1928,-256.1822 208.2827,-243.1605"/>
<polygon fill="#000000" stroke="#000000" points="213.8049,-234.3677 212.2972,-245.2295 211.1456,-238.6019 208.4864,-242.8361 208.4864,-242.8361 208.4864,-242.8361 211.1456,-238.6019 204.6756,-240.4428 213.8049,-234.3677 213.8049,-234.3677"/>
<text text-anchor="middle" x="185.6959" y="-260.9851" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">uses</text>
</g>
<!-- A10 -->
<g id="node11" class="node">
<title>A10</title>
<polygon fill="#fff8dc" stroke="#000000" points="329.2872,-362 229.7128,-362 229.7128,-318 335.2872,-318 335.2872,-356 329.2872,-362"/>
<polyline fill="none" stroke="#000000" points="329.2872,-362 329.2872,-356 "/>
<polyline fill="none" stroke="#000000" points="335.2872,-356 329.2872,-356 "/>
<text text-anchor="middle" x="282.5" y="-349" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">validateSystem is</text>
<text text-anchor="middle" x="282.5" y="-337" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">public because is</text>
<text text-anchor="middle" x="282.5" y="-325" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">used on Api.</text>
</g>
<!-- A3&#45;&gt;A10 -->
<g id="edge11" class="edge">
<title>A3&#45;&gt;A10</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M211.6992,-340C217.6915,-340 223.6837,-340 229.676,-340"/>
</g>
<!-- A4 -->
<g id="node5" class="node">
<title>A4</title>
<polygon fill="none" stroke="#000000" points="275.6131,-812 201.3869,-812 201.3869,-776 275.6131,-776 275.6131,-812"/>
<text text-anchor="middle" x="238.5" y="-791" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">Command</text>
</g>
<!-- A5 -->
<g id="node6" class="node">
<title>A5</title>
<polygon fill="none" stroke="#000000" points="159.5,-684 159.5,-716 318.5,-716 318.5,-684 159.5,-684"/>
<text text-anchor="start" x="211.4955" y="-697" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">BoardImport</text>
<polygon fill="none" stroke="#000000" points="159.5,-652 159.5,-684 318.5,-684 318.5,-652 159.5,-652"/>
<text text-anchor="start" x="169.407" y="-665" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+boardImportCommandService</text>
<polygon fill="none" stroke="#000000" points="159.5,-608 159.5,-652 318.5,-652 318.5,-608 159.5,-608"/>
<text text-anchor="start" x="212.3305" y="-633" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">#configure()</text>
<text text-anchor="start" x="189.26" y="-621" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">#execute(input,output)</text>
</g>
<!-- A4&#45;&gt;A5 -->
<g id="edge3" class="edge">
<title>A4&#45;&gt;A5</title>
<path fill="none" stroke="#000000" d="M238.5,-765.6356C238.5,-751.1554 238.5,-733.0451 238.5,-716.0324"/>
<polygon fill="#000000" stroke="#000000" points="238.5,-775.9227 234.0001,-765.9227 238.5,-770.9227 238.5001,-765.9227 238.5001,-765.9227 238.5001,-765.9227 238.5,-770.9227 243.0001,-765.9228 238.5,-775.9227 238.5,-775.9227"/>
</g>
<!-- A6 -->
<g id="node7" class="node">
<title>A6</title>
<polygon fill="none" stroke="#000000" points="161.5,-526 161.5,-558 315.5,-558 315.5,-526 161.5,-526"/>
<text text-anchor="start" x="171.2715" y="-539" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">BoardImportCommandService</text>
<polygon fill="none" stroke="#000000" points="161.5,-446 161.5,-526 315.5,-526 315.5,-446 161.5,-446"/>
<text text-anchor="start" x="211.4105" y="-507" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+bootstrap()</text>
<text text-anchor="start" x="218.3645" y="-495" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+import()</text>
<text text-anchor="start" x="198.357" y="-483" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+validateSystem()</text>
<text text-anchor="start" x="200.718" y="-471" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">#validateConfig()</text>
<text text-anchor="start" x="204.607" y="-459" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">#validateData()</text>
</g>
<!-- A5&#45;&gt;A6 -->
<g id="edge4" class="edge">
<title>A5&#45;&gt;A6</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M238.5,-607.8313C238.5,-595.0442 238.5,-581.2707 238.5,-568.0248"/>
<polygon fill="#000000" stroke="#000000" points="238.5,-558.0234 243.0001,-568.0234 238.5,-563.0234 238.5001,-568.0234 238.5001,-568.0234 238.5001,-568.0234 238.5,-563.0234 234.0001,-568.0235 238.5,-558.0234 238.5,-558.0234"/>
<text text-anchor="middle" x="230.0476" y="-586.7051" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">uses</text>
</g>
<!-- A6&#45;&gt;A3 -->
<g id="edge5" class="edge">
<title>A6&#45;&gt;A3</title>
<path fill="none" stroke="#000000" d="M210.3975,-445.7949C203.8634,-432.7268 196.8528,-418.7057 190.1417,-405.2834"/>
<polygon fill="#000000" stroke="#000000" points="185.5529,-396.1057 194.05,-403.0375 187.789,-400.5779 190.0251,-405.05 190.0251,-405.05 190.0251,-405.05 187.789,-400.5779 186.0001,-407.0625 185.5529,-396.1057 185.5529,-396.1057"/>
</g>
<!-- A7&#45;&gt;A3 -->
<g id="edge7" class="edge">
<title>A7&#45;&gt;A3</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M97.9053,-228.0253C106.7908,-241.8914 116.9013,-258.6532 126.2689,-274.9373"/>
<polygon fill="#000000" stroke="#000000" points="131.3842,-283.9135 122.5232,-277.4533 128.9085,-279.5694 126.4329,-275.2253 126.4329,-275.2253 126.4329,-275.2253 128.9085,-279.5694 130.3426,-272.9972 131.3842,-283.9135 131.3842,-283.9135"/>
<text text-anchor="middle" x="114.768" y="-235.7794" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">uses</text>
</g>
<!-- A8 -->
<g id="node9" class="node">
<title>A8</title>
<polygon fill="none" stroke="#000000" points="91.5,-64 91.5,-108 224.5,-108 224.5,-64 91.5,-64"/>
<text text-anchor="start" x="128.54" y="-89" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">&lt;&lt;abstract&gt;&gt;</text>
<text text-anchor="start" x="110.4935" y="-77" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">ABoardImportService</text>
<polygon fill="none" stroke="#000000" points="91.5,-32 91.5,-64 224.5,-64 224.5,-32 91.5,-32"/>
<text text-anchor="start" x="103.536" y="-45" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">#needValidateData:false</text>
<polygon fill="none" stroke="#000000" points="91.5,0 91.5,-32 224.5,-32 224.5,0 91.5,0"/>
<text text-anchor="start" x="101.177" y="-13" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">+needValidateData():bool</text>
</g>
<!-- A7&#45;&gt;A8 -->
<g id="edge8" class="edge">
<title>A7&#45;&gt;A8</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M92.5609,-163.778C100.7701,-149.9005 110.666,-133.1718 120.2304,-117.0034"/>
<polygon fill="none" stroke="#000000" points="123.418,-118.4891 125.497,-108.1003 117.3932,-114.9251 123.418,-118.4891"/>
<text text-anchor="middle" x="94.5148" y="-140.8737" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">implements</text>
</g>
<!-- A9&#45;&gt;A3 -->
<g id="edge10" class="edge">
<title>A9&#45;&gt;A3</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M225.8999,-234.3677C219.0397,-246.9491 210.794,-261.2976 202.4241,-275.2765"/>
<polygon fill="#000000" stroke="#000000" points="197.2079,-283.9135 198.5256,-273.0271 199.7928,-279.6335 202.3777,-275.3535 202.3777,-275.3535 202.3777,-275.3535 199.7928,-279.6335 206.2297,-277.6799 197.2079,-283.9135 197.2079,-283.9135"/>
<text text-anchor="middle" x="224.5929" y="-251.325" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">uses</text>
</g>
<!-- A9&#45;&gt;A8 -->
<g id="edge13" class="edge">
<title>A9&#45;&gt;A8</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M219.7216,-157.9466C212.1469,-145.2925 203.4984,-130.8444 195.1077,-116.827"/>
<polygon fill="none" stroke="#000000" points="198.0677,-114.9573 189.9285,-108.1747 192.0615,-118.5526 198.0677,-114.9573"/>
<text text-anchor="middle" x="203.1595" y="-143.7351" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">implements</text>
</g>
<!-- A11 -->
<g id="node12" class="node">
<title>A11</title>
<polygon fill="#fff8dc" stroke="#000000" points="449.524,-224 337.476,-224 337.476,-168 455.524,-168 455.524,-218 449.524,-224"/>
<polyline fill="none" stroke="#000000" points="449.524,-224 449.524,-218 "/>
<polyline fill="none" stroke="#000000" points="455.524,-218 449.524,-218 "/>
<text text-anchor="middle" x="396.5" y="-211" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">To create an import</text>
<text text-anchor="middle" x="396.5" y="-199" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">to another system,</text>
<text text-anchor="middle" x="396.5" y="-187" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">create another class</text>
<text text-anchor="middle" x="396.5" y="-175" font-family="Helvetica,sans-Serif" font-size="10.00" fill="#000000">similar to this.</text>
</g>
<!-- A9&#45;&gt;A11 -->
<g id="edge12" class="edge">
<title>A9&#45;&gt;A11</title>
<path fill="none" stroke="#000000" stroke-dasharray="5,2" d="M319.8008,-196C325.693,-196 331.5853,-196 337.4776,-196"/>
</g>
</g>
</svg>