diagram.svg
8.51 KB
<?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="389px" preserveAspectRatio="none" style="width:605px;height:389px;" version="1.1" viewBox="0 0 605 389" width="605px" zoomAndPan="magnify"><defs><filter height="300%" id="f1rk9m483nskm2" 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><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="29" x2="29" y1="38.2969" y2="349.625"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="189.5" x2="189.5" y1="38.2969" y2="349.625"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="343.5" x2="343.5" y1="38.2969" y2="349.625"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="410.5" x2="410.5" y1="38.2969" y2="349.625"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="564.5" x2="564.5" y1="38.2969" y2="349.625"/><rect fill="#FEFECE" filter="url(#f1rk9m483nskm2)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="38" x="8" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="24" x="15" y="22.9951">Bot</text><rect fill="#FEFECE" filter="url(#f1rk9m483nskm2)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="38" x="8" y="348.625"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="24" x="15" y="368.6201">Bot</text><rect fill="#FEFECE" filter="url(#f1rk9m483nskm2)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="73" x="151.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="59" x="158.5" y="22.9951">Gateway</text><rect fill="#FEFECE" filter="url(#f1rk9m483nskm2)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="73" x="151.5" y="348.625"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="59" x="158.5" y="368.6201">Gateway</text><rect fill="#FEFECE" filter="url(#f1rk9m483nskm2)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="35" x="324.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="21" x="331.5" y="22.9951">nlp</text><rect fill="#FEFECE" filter="url(#f1rk9m483nskm2)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="35" x="324.5" y="348.625"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="21" x="331.5" y="368.6201">nlp</text><rect fill="#FEFECE" filter="url(#f1rk9m483nskm2)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="70" x="373.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="56" x="380.5" y="22.9951">Registry</text><rect fill="#FEFECE" filter="url(#f1rk9m483nskm2)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="70" x="373.5" y="348.625"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="56" x="380.5" y="368.6201">Registry</text><rect fill="#FEFECE" filter="url(#f1rk9m483nskm2)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="64" x="530.5" y="3"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="50" x="537.5" y="22.9951">Service</text><rect fill="#FEFECE" filter="url(#f1rk9m483nskm2)" height="30.2969" style="stroke: #A80036; stroke-width: 1.5;" width="64" x="530.5" y="348.625"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="50" x="537.5" y="368.6201">Service</text><polygon fill="#A80036" points="178,65.4297,188,69.4297,178,73.4297,182,69.4297" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="29" x2="184" y1="69.4297" y2="69.4297"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="36" y="64.3638">request</text><polygon fill="#A80036" points="332,94.5625,342,98.5625,332,102.5625,336,98.5625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="190" x2="338" y1="98.5625" y2="98.5625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="49" x="197" y="93.4966">request</text><polygon fill="#A80036" points="201,123.6953,191,127.6953,201,131.6953,197,127.6953" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="195" x2="343" y1="127.6953" y2="127.6953"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="130" x="207" y="122.6294">request<message></text><polygon fill="#A80036" points="398.5,152.8281,408.5,156.8281,398.5,160.8281,402.5,156.8281" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="190" x2="404.5" y1="156.8281" y2="156.8281"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="130" x="197" y="151.7622">request<message></text><polygon fill="#A80036" points="552.5,181.9609,562.5,185.9609,552.5,189.9609,556.5,185.9609" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="410.5" x2="558.5" y1="185.9609" y2="185.9609"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="130" x="417.5" y="180.895">request<message></text><polygon fill="#A80036" points="421.5,211.0938,411.5,215.0938,421.5,219.0938,417.5,215.0938" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="415.5" x2="563.5" y1="215.0938" y2="215.0938"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="59" x="427.5" y="210.0278">response</text><polygon fill="#A80036" points="201,240.2266,191,244.2266,201,248.2266,197,244.2266" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="195" x2="409.5" y1="244.2266" y2="244.2266"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="59" x="207" y="239.1606">response</text><polygon fill="#A80036" points="332,269.3594,342,273.3594,332,277.3594,336,273.3594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="190" x2="338" y1="273.3594" y2="273.3594"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="98" x="197" y="268.2935">response (text)</text><polygon fill="#A80036" points="201,298.4922,191,302.4922,201,306.4922,197,302.4922" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="195" x2="343" y1="302.4922" y2="302.4922"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="108" x="207" y="297.4263">response (audio)</text><polygon fill="#A80036" points="40,327.625,30,331.625,40,335.625,36,331.625" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="34" x2="189" y1="331.625" y2="331.625"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="137" x="46" y="326.5591">response (text|audio)</text><!--MD5=[d0349307142932a4322eb767a461c98c]
@startuml
Bot -> Gateway : request
Gateway -> nlp : request
Gateway <- nlp : request<message>
Gateway -> Registry : request<message>
Registry -> Service : request<message>
Service -> Registry : response
Registry -> Gateway : response
Gateway -> nlp : response (text)
nlp->Gateway : response (audio)
Gateway -> Bot : response (text|audio)
@enduml
PlantUML version 1.2019.11(Sun Sep 22 10:02:15 UTC 2019)
(GPL source distribution)
Java Runtime: OpenJDK Runtime Environment
JVM: OpenJDK 64-Bit Server VM
Java Version: 1.8.0_212-8u212-b01-1~deb9u1-b01
Operating System: Linux
Default Encoding: UTF-8
Language: en
Country: null
--></g></svg>