-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
KOGITO-9463: Create a new guide describing the Job Services Quarkus E…
…xtensions (#408) * KOGITO-9463: Create a new guide describing the Job Services Quarkus Extensions * Code review suggestions I * Code review suggestions II * Code review suggestions III * Code review suggestions IV * Code review suggestions V
- Loading branch information
Showing
17 changed files
with
1,283 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
105 changes: 105 additions & 0 deletions
105
...erlessworkflow/modules/ROOT/assets/images/job-services/Job-Service-Generic-Diagram.drawio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
<mxfile host="app.diagrams.net" modified="2023-07-07T11:15:47.365Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" etag="qxEMbWAcp6-76LZQZ2AI" version="21.6.1" type="google"> | ||
<diagram name="Page-1" id="vSsbDOlxQRbqioz4pcm0"> | ||
<mxGraphModel grid="0" page="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> | ||
<root> | ||
<mxCell id="0" /> | ||
<mxCell id="1" parent="0" /> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-1" value="" style="group" connectable="0" vertex="1" parent="1"> | ||
<mxGeometry x="230" y="220" width="824.31" height="481" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-2" value="" style="rounded=0;whiteSpace=wrap;html=1;dashed=1;dashPattern=1 1;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="347" y="30" width="166" height="360" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-3" value="" style="rounded=0;whiteSpace=wrap;html=1;dashed=1;dashPattern=1 1;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="135" y="30" width="147" height="360" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-4" value="<font style="font-size: 13px;">Job Service</font>" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="13" y="170" width="107" height="60" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-5" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;dashed=1;fontSize=10;exitX=1;exitY=0;exitDx=0;exitDy=0;startFill=0;" edge="1" parent="l0snGmiRjBz62z_35tPA-1" source="l0snGmiRjBz62z_35tPA-4" target="l0snGmiRjBz62z_35tPA-6"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="368" y="323" as="sourcePoint" /> | ||
<mxPoint x="211" y="64" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-6" value="<font style="font-size: 13px;">Every midnight<br>execute sales report</font>" style="sketch=0;aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/SchedulerJobCollection.svg;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="194.17000000000002" y="69" width="29.65" height="25.5" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-7" value="<font style="font-size: 13px;">scheduled jobs</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="158" y="2" width="90" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-8" value="<font style="font-size: 13px;">Reports server</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="370" y="50" width="120" height="60" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-9" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;dashed=1;fontSize=10;startFill=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="l0snGmiRjBz62z_35tPA-1" source="l0snGmiRjBz62z_35tPA-6" target="l0snGmiRjBz62z_35tPA-8"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="330" y="211" as="sourcePoint" /> | ||
<mxPoint x="410.00006896551736" y="228" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-10" value="<font style="font-size: 13px;">http call<br>query params<br>and body</font>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" connectable="0" vertex="1" parent="l0snGmiRjBz62z_35tPA-9"> | ||
<mxGeometry x="-0.095" y="4" relative="1" as="geometry"> | ||
<mxPoint x="5" y="-13" as="offset" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-11" value="<font style="font-size: 13px;">The 12th December<br>send birthday greetings&nbsp;<br>to customer 55-99-8789</font>" style="sketch=0;aspect=fixed;html=1;points=[];align=center;image;fontSize=12;image=img/lib/mscae/SchedulerJobCollection.svg;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="194.17" y="285.9200000000001" width="29.65" height="25.5" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-13" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;dashed=1;fontSize=10;startFill=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="l0snGmiRjBz62z_35tPA-1" source="l0snGmiRjBz62z_35tPA-11" target="l0snGmiRjBz62z_35tPA-37"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="561" y="214.92000000000007" as="sourcePoint" /> | ||
<mxPoint x="396.9999999999998" y="298.6700000000001" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-15" value="<font style="font-size: 13px;">Bank Gateway</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="533" y="267.00000000000006" width="120" height="60" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-16" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;dashed=1;fontSize=10;startFill=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="l0snGmiRjBz62z_35tPA-1" source="l0snGmiRjBz62z_35tPA-37" target="l0snGmiRjBz62z_35tPA-15"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="528.6500000000001" y="235.4200000000003" as="sourcePoint" /> | ||
<mxPoint x="532" y="236.32999999999993" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-17" value="" style="sketch=0;outlineConnect=0;fontColor=#232F3E;gradientColor=none;fillColor=#232F3D;strokeColor=none;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=12;fontStyle=0;aspect=fixed;pointerEvents=1;shape=mxgraph.aws4.email_2;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="673" y="279.4200000000001" width="57.31" height="36" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-18" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;dashed=1;fontSize=10;startFill=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="l0snGmiRjBz62z_35tPA-1" source="l0snGmiRjBz62z_35tPA-15" target="l0snGmiRjBz62z_35tPA-17"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="648" y="297.4200000000001" as="sourcePoint" /> | ||
<mxPoint x="601.3500000000001" y="446.9200000000001" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-19" value="<font style="font-size: 13px;">send email</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="650" y="254" width="81" height="28" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-20" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;dashed=1;fontSize=10;startFill=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="l0snGmiRjBz62z_35tPA-1" source="l0snGmiRjBz62z_35tPA-8" target="l0snGmiRjBz62z_35tPA-21"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="496.64999999999986" y="266.5" as="sourcePoint" /> | ||
<mxPoint x="719.9999999999998" y="81.75" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-21" value="" style="sketch=0;aspect=fixed;pointerEvents=1;shadow=0;dashed=0;html=1;strokeColor=none;labelPosition=center;verticalLabelPosition=bottom;verticalAlign=top;align=center;fillColor=#00188D;shape=mxgraph.mscae.enterprise.document" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="676" y="53" width="40" height="50" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-29" value="" style="endArrow=classic;startArrow=none;html=1;rounded=0;dashed=1;fontSize=10;exitX=0.985;exitY=0.926;exitDx=0;exitDy=0;startFill=0;entryX=0.026;entryY=0.487;entryDx=0;entryDy=0;entryPerimeter=0;exitPerimeter=0;" edge="1" parent="l0snGmiRjBz62z_35tPA-1" source="l0snGmiRjBz62z_35tPA-4" target="l0snGmiRjBz62z_35tPA-11"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="351" y="-14" as="sourcePoint" /> | ||
<mxPoint x="430.91169668587895" y="-126.17000000000007" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-32" value="<font style="font-size: 13px;">recipients</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="382" width="90" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-35" value="<font style="font-size: 13px;">deliver cloud event<br>with the customer info</font>" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" connectable="0" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="300" y="268.67" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-37" value="<font style="font-size: 13px;">Knative Eventing Broker</font>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="370" y="268.67" width="120" height="60" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="l0snGmiRjBz62z_35tPA-39" value="<font style="font-size: 13px;">generate report</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="l0snGmiRjBz62z_35tPA-1"> | ||
<mxGeometry x="574" y="50" width="100" height="30" as="geometry" /> | ||
</mxCell> | ||
</root> | ||
</mxGraphModel> | ||
</diagram> | ||
</mxfile> |
Binary file added
BIN
+135 KB
...orkflow/modules/ROOT/assets/images/job-services/Job-Service-Generic-Diagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
205 changes: 205 additions & 0 deletions
205
...essworkflow/modules/ROOT/assets/images/job-services/Knative-Eventing-API-Resources.drawio
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+71.2 KB
...flow/modules/ROOT/assets/images/job-services/Knative-Eventing-API-Resources.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions
58
...low/modules/ROOT/assets/images/job-services/Quarkus-Workflow-Project-And-Extension.drawio
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<mxfile host="app.diagrams.net" modified="2023-07-19T10:13:04.596Z" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36" etag="97H0l_an5ZMGxOEGpNyG" version="21.6.2" type="google"> | ||
<diagram name="Page-1" id="aKnfNAv9awX-67q2zJcG"> | ||
<mxGraphModel grid="0" page="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"> | ||
<root> | ||
<mxCell id="0" /> | ||
<mxCell id="1" parent="0" /> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-1" value="" style="endArrow=classic;html=1;rounded=0;fontFamily=Helvetica;fontSize=10;dashed=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;" edge="1" parent="1" source="7uJ_mHm1GzxODC4h63zU-17" target="7uJ_mHm1GzxODC4h63zU-6"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="414" y="210" as="sourcePoint" /> | ||
<mxPoint x="340" y="194" as="targetPoint" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-2" value="2) execute callback" style="edgeLabel;html=1;align=left;verticalAlign=middle;resizable=0;points=[];fontSize=12;fontFamily=Helvetica;" connectable="0" vertex="1" parent="7uJ_mHm1GzxODC4h63zU-1"> | ||
<mxGeometry x="0.4936" relative="1" as="geometry"> | ||
<mxPoint x="-28" y="19" as="offset" /> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-3" value="" style="group" connectable="0" vertex="1" parent="1"> | ||
<mxGeometry x="30" y="130" width="386" height="216" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-6" value="Quarkus Workflow Project" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="7uJ_mHm1GzxODC4h63zU-3"> | ||
<mxGeometry x="49" y="43" width="250" height="60" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-11" value="" style="endArrow=classic;html=1;rounded=0;fontFamily=Helvetica;fontSize=10;dashed=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="7uJ_mHm1GzxODC4h63zU-3" target="7uJ_mHm1GzxODC4h63zU-17"> | ||
<mxGeometry width="50" height="50" relative="1" as="geometry"> | ||
<mxPoint x="170" y="155" as="sourcePoint" /> | ||
<mxPoint x="600" y="140" as="targetPoint" /> | ||
<Array as="points"> | ||
<mxPoint x="170" y="190" /> | ||
<mxPoint x="590" y="190" /> | ||
</Array> | ||
</mxGeometry> | ||
</mxCell> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-29" value="Job Service Quarkus Extension" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="7uJ_mHm1GzxODC4h63zU-3"> | ||
<mxGeometry x="49" y="128" width="250" height="20" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-15" value="" style="group" connectable="0" vertex="1" parent="1"> | ||
<mxGeometry x="711" y="180" width="282" height="222" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-17" value="Job Service" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="7uJ_mHm1GzxODC4h63zU-15"> | ||
<mxGeometry x="-151" y="-7" width="120" height="60" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-19" value="<pre style="background-color: rgb(255, 255, 255); color: rgb(8, 8, 8); font-family: &quot;JetBrains Mono&quot;, monospace;"><br></pre>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=12;fontFamily=Helvetica;" vertex="1" parent="7uJ_mHm1GzxODC4h63zU-15"> | ||
<mxGeometry x="-103" y="-35" width="20" height="50" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-30" value="1) interact via:" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"> | ||
<mxGeometry x="363" y="318" width="310" height="30" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="7uJ_mHm1GzxODC4h63zU-40" value="" style="shape=cross;whiteSpace=wrap;html=1;fillColor=#33001A;strokeColor=#000000;gradientColor=default;" vertex="1" parent="1"> | ||
<mxGeometry x="192" y="239" width="15" height="15" as="geometry" /> | ||
</mxCell> | ||
<mxCell id="pni-8TUo_zQlgqkMD-UF-1" value="<ul><li><span style="background-color: initial;">cloud events + knative eventing system</span></li><li><span style="background-color: initial;">cloud events + kafka messaging system</span></li><li><span style="background-color: initial;">direct REST calls</span></li></ul>" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1"> | ||
<mxGeometry x="360" y="347" width="310" height="30" as="geometry" /> | ||
</mxCell> | ||
</root> | ||
</mxGraphModel> | ||
</diagram> | ||
</mxfile> |
Binary file added
BIN
+61.4 KB
...ules/ROOT/assets/images/job-services/Quarkus-Workflow-Project-And-Extension.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.