Skip to content

Commit

Permalink
KOGITO-9463: Create a new guide describing the Job Services Quarkus E…
Browse files Browse the repository at this point in the history
…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
wmedvede authored Aug 3, 2023
1 parent dec1dcc commit 938e6af
Show file tree
Hide file tree
Showing 17 changed files with 1,283 additions and 51 deletions.
3 changes: 3 additions & 0 deletions serverlessworkflow/antora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ asciidoc:
quarkus_openapi_gen_url: https://github.com/quarkiverse/quarkus-openapi-generator
kie_tools_releases_page_url: https://github.com/kiegroup/kie-tools/releases
quarkus_guides_base_url: https://quarkus.io/guides
quarkus_guides_kafka_url: https://quarkus.io/guides/kafka
quarkus_guides_config_reference_url: https://quarkus.io/guides/config-reference
quarkus_guides_infinispan_client_reference_url: https://quarkus.io/guides/infinispan-client-reference
quarkus_url: https://quarkus.io/
smallrye_messaging_url: https://smallrye.io/smallrye-reactive-messaging/smallrye-reactive-messaging/3.3
quarkus_config_url: https://quarkus.io/guides/config
Expand Down
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="&lt;font style=&quot;font-size: 13px;&quot;&gt;Job Service&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;Every midnight&lt;br&gt;execute sales report&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;scheduled jobs&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;Reports server&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;http call&lt;br&gt;query params&lt;br&gt;and body&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;The 12th December&lt;br&gt;send birthday greetings&amp;nbsp;&lt;br&gt;to customer 55-99-8789&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;Bank Gateway&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;send email&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;recipients&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;deliver cloud event&lt;br&gt;with the customer info&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;Knative Eventing Broker&lt;/font&gt;" 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="&lt;font style=&quot;font-size: 13px;&quot;&gt;generate report&lt;/font&gt;" 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>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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="&lt;pre style=&quot;background-color: rgb(255, 255, 255); color: rgb(8, 8, 8); font-family: &amp;quot;JetBrains Mono&amp;quot;, monospace;&quot;&gt;&lt;br&gt;&lt;/pre&gt;" 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="&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;background-color: initial;&quot;&gt;cloud events + knative eventing system&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;background-color: initial;&quot;&gt;cloud events + kafka messaging system&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;background-color: initial;&quot;&gt;direct REST calls&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;" 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>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 938e6af

Please sign in to comment.