mirror of
https://github.com/yawaflua/SpCloudCore.git
synced 2025-12-08 19:49:28 +02:00
Adjust dotnet publish and change port of app
This commit is contained in:
85
.$SpCloud.drawio.bkp
Normal file
85
.$SpCloud.drawio.bkp
Normal file
@@ -0,0 +1,85 @@
|
||||
<mxfile host="Electron" modified="2024-08-13T21:43:33.861Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.0.2 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="dFgMjevLWw3E3R--a62Q" version="23.0.2" type="device">
|
||||
<diagram name="Page-1" id="Amrm0kvx0odSU5wdFRfC">
|
||||
<mxGraphModel dx="989" dy="577" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-8" value="Sp cloud <br>функциональность" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="310" y="90" width="160" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-9" value="Паблишь приложения функциональность&nbsp;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="565" y="150" width="160" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-11" value="q1" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="390" y="320" width="120" height="80" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-12" value="&nbsp;Юзер посылает rar архив с своим приложением и его таргетом&nbsp;<br>и прикрепляет auth токен в header" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="375" y="390" width="150" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-14" value="" style="endArrow=classic;html=1;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" target="masuSCkF3HdqrZElRDKO-15">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="500" y="360" as="sourcePoint" />
|
||||
<mxPoint x="650" y="360" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-15" value="q2" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="770" y="320" width="120" height="80" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-16" value="Прошлый сбор автоматически заканчивается<br>и состояние сбора обновляется НО ЕСЛИ АКТИВНЫХ СБОРОВ НЕТУ ТО ДЕНЬГИ СКИДЫВАЮТСЯ НА ПОСЛЕДНИЙ СБОР" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="30" y="790" width="225" height="150" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-20" value="Данные Стрим компонента сокет" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="593" y="770" width="140" height="150" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-21" value="GoalText" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="masuSCkF3HdqrZElRDKO-20" vertex="1">
|
||||
<mxGeometry y="30" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-22" value="GoalMaxMoney" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="masuSCkF3HdqrZElRDKO-20" vertex="1">
|
||||
<mxGeometry y="60" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-23" value="GoalCurrentMoney" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="masuSCkF3HdqrZElRDKO-20" vertex="1">
|
||||
<mxGeometry y="90" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-24" value="СomponentColor" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" parent="masuSCkF3HdqrZElRDKO-20" vertex="1">
|
||||
<mxGeometry y="120" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-3" value="Юзер&nbsp;" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="80" y="180" width="30" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-4" value="Лимит" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="140" y="150" width="190" height="120" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-5" value="Лимит 6 приложений" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-4">
|
||||
<mxGeometry y="30" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-6" value="Обязательно роль Team" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-4">
|
||||
<mxGeometry y="60" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-7" value="Регестрация через дискорд" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-4">
|
||||
<mxGeometry y="90" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-8" value="Лимиты" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="550" y="190" width="190" height="120" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-9" value="Dotnet 6 7 8&nbsp; (Console + ASP)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-8">
|
||||
<mxGeometry y="30" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-10" value="Запустить свою монго дб на 100 мб (возможно добавлю)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-8">
|
||||
<mxGeometry y="60" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-11" value="Nuxt js (возможно добавлю)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-8">
|
||||
<mxGeometry y="90" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-12" value="<div style="color: rgb(248, 248, 242); background-color: rgb(33, 33, 33); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace; line-height: 18px;"><div>{</div><div>&nbsp; <span style="color: #9cdcfe;">"target"</span><span style="color: #dcdcdc;">:</span> <span style="color: #ce9178;">"dotnet-6-console"</span></div><div><span style="color: #dcdcdc;">}</span></div></div>" style="shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;" vertex="1" parent="1">
|
||||
<mxGeometry x="328" y="510" width="222" height="140" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-14" value="&nbsp;Юзер получает статус загрузки своего приложения и айпи (если приложение должно работать с интернетом)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="755" y="400" width="150" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-15" value="<div style="background-color: rgb(33, 33, 33); line-height: 18px;"><div style="color: rgb(248, 248, 242); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace;">{</div><div style="color: rgb(248, 248, 242); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace;">"status"<span style="color: rgb(220, 220, 220);">:</span>&nbsp;<span style="color: rgb(206, 145, 120);">"success",</span><br></div><div style=""><font face="IBMPlexMono, Courier New, monospace, Consolas, Courier New, monospace" color="#f8f8f2">&nbsp; </font><span style="color: rgb(156, 220, 254); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace;">"url"</span><span style="color: rgb(220, 220, 220); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace;">:</span> <font face="IBMPlexMono, Courier New, monospace, Consolas, Courier New, monospace" color="#ce9178">"https://test.almavid.ru"</font></div><div style="color: rgb(248, 248, 242); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace;">}</div></div>" style="shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;" vertex="1" parent="1">
|
||||
<mxGeometry x="725" y="490" width="255" height="150" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
172
SpCloud.drawio
Normal file
172
SpCloud.drawio
Normal file
@@ -0,0 +1,172 @@
|
||||
<mxfile host="Electron" modified="2024-08-13T22:16:54.714Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/23.0.2 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="K-EHXz8mFqzDU3JnE5cU" version="23.0.2" type="device">
|
||||
<diagram name="Page-1" id="Amrm0kvx0odSU5wdFRfC">
|
||||
<mxGraphModel dx="2206" dy="1286" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-8" value="SpСloud<br>функциональность" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="310" y="90" width="160" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-9" value="Паблишь приложения функциональность&nbsp;" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="565" y="150" width="160" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-11" value="q1" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="390" y="320" width="120" height="80" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-12" value="&nbsp;Юзер посылает rar архив с своим приложением и его таргетом&nbsp;<br>и прикрепляет auth токен в header" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="375" y="390" width="150" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-14" value="" style="endArrow=classic;html=1;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" edge="1" target="masuSCkF3HdqrZElRDKO-15">
|
||||
<mxGeometry width="50" height="50" relative="1" as="geometry">
|
||||
<mxPoint x="500" y="360" as="sourcePoint" />
|
||||
<mxPoint x="650" y="360" as="targetPoint" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="masuSCkF3HdqrZElRDKO-15" value="q2" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="770" y="320" width="120" height="80" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-3" value="Юзер&nbsp;" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;outlineConnect=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="80" y="180" width="30" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-4" value="Лимит" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="140" y="150" width="190" height="150" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-5" value="Лимит 6 приложений" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-4">
|
||||
<mxGeometry y="30" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-6" value="Обязательно роль Team" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-4">
|
||||
<mxGeometry y="60" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-7" value="Регистрация через дискорд" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-4">
|
||||
<mxGeometry y="90" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-16" value="Пользователь может быть забанен" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-4">
|
||||
<mxGeometry y="120" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-8" value="Лимиты" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="550" y="190" width="190" height="120" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-9" value="Dotnet 6 7 8&nbsp; (Console + ASP)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-8">
|
||||
<mxGeometry y="30" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-10" value="Запустить свою монго дб на 100 мб (возможно добавлю)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-8">
|
||||
<mxGeometry y="60" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-11" value="Nuxt js (возможно добавлю)" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-8">
|
||||
<mxGeometry y="90" width="190" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-12" value="<div style="color: rgb(248, 248, 242); background-color: rgb(33, 33, 33); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace; line-height: 18px;"><div>{</div><div>&nbsp; <span style="color: #9cdcfe;">"target"</span><span style="color: #dcdcdc;">:</span> <span style="color: #ce9178;">"dotnet-6-console",</span></div><div>"appName"<span style="color: rgb(220, 220, 220);">:</span>&nbsp;<span style="color: rgb(206, 145, 120);">"TestApp"</span><span style="color: #ce9178;"><br></span></div><div><span style="color: #dcdcdc;">}</span></div></div>" style="shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;" vertex="1" parent="1">
|
||||
<mxGeometry x="328" y="510" width="222" height="140" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-14" value="&nbsp;Юзер получает статус загрузки своего приложения и айпи (если приложение должно работать с интернетом)" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="755" y="400" width="150" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-15" value="<div style="background-color: rgb(33, 33, 33); line-height: 18px;"><div style="color: rgb(248, 248, 242); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace;">{</div><div style="color: rgb(248, 248, 242); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace;">"status"<span style="color: rgb(220, 220, 220);">:</span>&nbsp;<span style="color: rgb(206, 145, 120);">"success",</span><br></div><div style=""><font face="IBMPlexMono, Courier New, monospace, Consolas, Courier New, monospace" color="#f8f8f2">&nbsp; </font><span style="color: rgb(156, 220, 254); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace;">"url"</span><span style="color: rgb(220, 220, 220); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace;">:</span> <font face="IBMPlexMono, Courier New, monospace, Consolas, Courier New, monospace" color="#ce9178">"https://test.almavid.ru"</font></div><div style="color: rgb(248, 248, 242); font-family: IBMPlexMono, &quot;Courier New&quot;, monospace, Consolas, &quot;Courier New&quot;, monospace;">}</div></div>" style="shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;" vertex="1" parent="1">
|
||||
<mxGeometry x="725" y="490" width="255" height="150" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-17" value="SpСloud UI" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="355" y="700" width="160" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-18" value="" style="html=1;whiteSpace=wrap;strokeColor=none;fillColor=#0079D6;labelPosition=center;verticalLabelPosition=middle;verticalAlign=top;align=center;fontSize=12;outlineConnect=0;spacingTop=-6;fontColor=#FFFFFF;sketch=0;shape=mxgraph.sitemap.page;" vertex="1" parent="1">
|
||||
<mxGeometry x="120" y="750" width="630" height="950" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-21" value="Зарегистрироваться" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="610" y="760" width="130" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-22" value="Ник пользователя" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="645" y="800" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-23" value="<font style="font-size: 14px;">Нагрузка сервера в данный момент CPU/RAM/Memory</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="368.75" y="1190" width="145" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-24" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="161.25" y="1250" width="560" height="200" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-26" value="" style="line;strokeWidth=1;rotatable=0;dashed=0;labelPosition=right;align=left;verticalAlign=middle;spacingTop=0;spacingLeft=6;points=[];portConstraint=eastwest;" vertex="1" parent="1">
|
||||
<mxGeometry x="163.75" y="1290" width="555" height="10" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-28" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};" vertex="1" parent="1">
|
||||
<mxGeometry x="220" y="1250" width="10" height="200" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-29" value="Hepatica" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="163.75" y="1260" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-30" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};" vertex="1" parent="1">
|
||||
<mxGeometry x="300" y="1250" width="10" height="200" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-31" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};" vertex="1" parent="1">
|
||||
<mxGeometry x="375" y="1250" width="10" height="200" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-32" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};" vertex="1" parent="1">
|
||||
<mxGeometry x="445" y="1250" width="10" height="200" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-33" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};" vertex="1" parent="1">
|
||||
<mxGeometry x="510" y="1250" width="10" height="200" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-34" value="" style="html=1;points=[[0,0,0,0,5],[0,1,0,0,-5],[1,0,0,0,5],[1,1,0,0,-5]];perimeter=orthogonalPerimeter;outlineConnect=0;targetShapes=umlLifeline;portConstraint=eastwest;newEdgeStyle={"curved":0,"rounded":0};" vertex="1" parent="1">
|
||||
<mxGeometry x="580" y="1250" width="10" height="200" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-35" value="AppUrl" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="230" y="1260" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-37" value="CpuUsage" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="308.75" y="1260" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-38" value="MemoryUsage" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="385" y="1260" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-39" value="Status" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="453.75" y="1260" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-40" value="<font style="font-size: 14px;">Окно для загрузки архива приложения</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="341.25" y="980" width="200" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-41" value="<font style="font-size: 14px;">Ссылка на видео гайд</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="335" y="1470" width="200" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-42" value="Как пользоваться SpCloud:https://www.youtube.com/watch?v=rUxyKA_-grg" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="161.25" y="1510" width="416.25" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-43" value="" style="verticalLabelPosition=bottom;aspect=fixed;html=1;shape=mxgraph.salesforce.data;" vertex="1" parent="1">
|
||||
<mxGeometry x="1100" y="730" width="48.6" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-44" value="<span style="color: rgb(240, 240, 240); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: center; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(27, 29, 30); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;">SpСloud db</span>" style="text;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="1090" y="695" width="90" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-45" value="User" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="970" y="800" width="140" height="150" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-46" value="Id<br>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-45">
|
||||
<mxGeometry y="30" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-49" value="Name" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-45">
|
||||
<mxGeometry y="60" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-47" value="AuthToken" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-45">
|
||||
<mxGeometry y="90" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-50" value="IsBanned" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-45">
|
||||
<mxGeometry y="120" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-51" value="" style="whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="1">
|
||||
<mxGeometry x="359" y="1020" width="160" height="160" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-52" value="<font style="font-size: 41px;">SpСloud</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
|
||||
<mxGeometry x="409" y="830" width="60" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-53" value="App" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
|
||||
<mxGeometry x="1170" y="830" width="140" height="90" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-55" value="Name" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-53">
|
||||
<mxGeometry y="30" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-56" value="Url" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;spacingLeft=4;spacingRight=4;overflow=hidden;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;rotatable=0;whiteSpace=wrap;html=1;" vertex="1" parent="vamjHUPJP5RwR4Vbvad3-53">
|
||||
<mxGeometry y="60" width="140" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="vamjHUPJP5RwR4Vbvad3-58" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="vamjHUPJP5RwR4Vbvad3-49" target="vamjHUPJP5RwR4Vbvad3-55">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
@@ -69,7 +69,12 @@ public:
|
||||
private:
|
||||
void dotnet_publish(const std::string& path)
|
||||
{
|
||||
std::string dll_file_name = file_processing->find_file_by_suffix(path, "dll");
|
||||
std::string dll_file_name = file_processing->find_file_by_suffix(path, "exe");
|
||||
|
||||
size_t pos = dll_file_name.find(".exe");
|
||||
if (pos != std::string::npos) {
|
||||
dll_file_name.replace(pos, 4, ".dll");
|
||||
}
|
||||
|
||||
std::string command = R"(dotnet )" + path + "/" + dll_file_name;
|
||||
|
||||
|
||||
@@ -39,14 +39,16 @@ int main()
|
||||
|
||||
PublishController publish_controller(svr, authorization_service, file_processing, logger);
|
||||
|
||||
std::cout << "Server is running at http://localhost:8080" << '\n';
|
||||
std::cout << "Server is running at http://localhost:8081" << '\n';
|
||||
|
||||
svr.Post("/publish", [&](const httplib::Request& req, httplib::Response& res)
|
||||
{
|
||||
logger.log(INFO, "Start publish from main");
|
||||
|
||||
publish_controller.process_publish(req, res);
|
||||
|
||||
res.set_content("App is running on address ????", "text/plain");//Todo add app address showing
|
||||
});
|
||||
|
||||
svr.listen("0.0.0.0", 8080);
|
||||
svr.listen("0.0.0.0", 8081);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user