Skip to content

Instantly share code, notes, and snippets.

@dagrigorev
Last active August 7, 2020 10:37
Show Gist options
  • Save dagrigorev/15724751de9119f36c6ce1320dcb6017 to your computer and use it in GitHub Desktop.
Save dagrigorev/15724751de9119f36c6ce1320dcb6017 to your computer and use it in GitHub Desktop.
Схема оркестрации (управления) группой экземпляров приложений и схема самооркестрирующихся экземпляров.
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/PR-SVG-20010719/DTD/svg10.dtd">
<svg width="36cm" height="17cm" viewBox="166 86 714 321" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g>
<rect style="fill: #ffffff" x="167.5" y="90" width="133.2" height="28"/>
<rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="167.5" y="90" width="133.2" height="28"/>
<text font-size="16" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="234.1" y="109">Orchestrant</text>
<rect style="fill: #ffffff" x="167.5" y="118" width="133.2" height="36"/>
<rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="167.5" y="118" width="133.2" height="36"/>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="170.5" y="132">+Cost: int</text>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="170.5" y="148">+Name: string</text>
<rect style="fill: #ffffff" x="167.5" y="154" width="133.2" height="52"/>
<rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="167.5" y="154" width="133.2" height="52"/>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="170.5" y="168">+Start(): void</text>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="170.5" y="184">+Stop(): void</text>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="170.5" y="200">+Restart(): void</text>
</g>
<g>
<rect style="fill: #ffffff" x="530.5" y="87" width="348.8" height="28"/>
<rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="530.5" y="87" width="348.8" height="28"/>
<text font-size="16" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="704.9" y="106">Orchestrator</text>
<rect style="fill: #ffffff" x="530.5" y="115" width="348.8" height="20"/>
<rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="530.5" y="115" width="348.8" height="20"/>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="533.5" y="129">+Cost: int</text>
<rect style="fill: #ffffff" x="530.5" y="135" width="348.8" height="100"/>
<rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="530.5" y="135" width="348.8" height="100"/>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="533.5" y="149">+StartOne(in orchestrantName:string): void</text>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="533.5" y="165">+StopOne(in orchestrantName:string): void</text>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="533.5" y="181">+RestartOne(in orchestrantName:string): void</text>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="533.5" y="197">+StartAll(): void</text>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="533.5" y="213">+StopAll()()</text>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="533.5" y="229">+RestartAll(): void</text>
</g>
<g>
<rect style="fill: #ffffff" x="332.5" y="338" width="210.2" height="28"/>
<rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="332.5" y="338" width="210.2" height="28"/>
<text font-size="16" style="fill: #000000;text-anchor:middle;font-family:sans-serif;font-style:normal;font-weight:700" x="437.6" y="357">OrchestratedInstance</text>
<rect style="fill: #ffffff" x="332.5" y="366" width="210.2" height="20"/>
<rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="332.5" y="366" width="210.2" height="20"/>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="335.5" y="380">+OrchestrantChanged: event</text>
<rect style="fill: #ffffff" x="332.5" y="386" width="210.2" height="20"/>
<rect style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" x="332.5" y="386" width="210.2" height="20"/>
<text font-size="12.8" style="fill: #000000;text-anchor:start;font-family:monospace;font-style:normal;font-weight:normal" x="335.5" y="400">+AppointNewOrchestrator()</text>
</g>
<g>
<polyline style="fill: none; fill-opacity:0; stroke-width: 2; stroke-dasharray: 8; stroke: #000000" points="704.9,253.236 704.9,294.5 437.6,294.5 437.6,338 "/>
<polygon style="fill: #ffffff" points="712.9,253.236 704.9,237.236 696.9,253.236 "/>
<polygon style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" points="712.9,253.236 704.9,237.236 696.9,253.236 "/>
</g>
<g>
<polyline style="fill: none; fill-opacity:0; stroke-width: 2; stroke-dasharray: 8; stroke: #000000" points="234.1,224.236 234.1,295 437.6,295 437.6,338 "/>
<polygon style="fill: #ffffff" points="242.1,224.236 234.1,208.236 226.1,224.236 "/>
<polygon style="fill: none; fill-opacity:0; stroke-width: 2; stroke: #000000" points="242.1,224.236 234.1,208.236 226.1,224.236 "/>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment