-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: mule core known components support
Allow configuring core components in known components csv file and identifying corresponding components. Fixes #301 by rendering schedulers from mule core components.
- Loading branch information
1 parent
c8ef1e5
commit c6e70e3
Showing
7 changed files
with
121 additions
and
1 deletion.
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
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
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
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
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
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,41 @@ | ||
digraph "mule" { | ||
edge ["dir"="forward"] | ||
graph ["rankdir"="LR","splines"="spline","pad"="1.0,0.5","dpi"="150","label"=<Test Diagram<br/>>,"labelloc"="t"] | ||
edge ["arrowhead"="vee","dir"="forward"] | ||
subgraph "cluster_legend" { | ||
edge ["dir"="forward"] | ||
graph ["label"=<<b>Legend</b>>,"style"="dashed"] | ||
"flow" ["fixedsize"="true","width"="1.0","height"="0.25","shape"="rectangle","color"="blue"] | ||
"sub-flow" ["fixedsize"="true","width"="1.0","height"="0.25","color"="black","shape"="ellipse"] | ||
"connector:operation" ["shape"="component"] | ||
"Unused sub/-flow" ["fixedsize"="true","width"="2.0","height"="0.25","color"="gray","style"="filled"] | ||
"Flow A" ["fixedsize"="true","width"="1.0","height"="0.25"] | ||
"sub-flow-1" ["fixedsize"="true","width"="1.25","height"="0.25"] | ||
"Flow C" ["fixedsize"="true","width"="1.0","height"="0.25"] | ||
"sub-flow-C1" ["fixedsize"="true","width"="1.25","height"="0.25"] | ||
"flow source" ["fixedsize"="true","width"="1.5","height"="0.25","shape"="hexagon","style"="filled","color"="cyan","sourceNode"="true"] | ||
"flow self-call" ["fixedsize"="true","width"="1.25","height"="0.25","shape"="rectangle","color"="blue"] | ||
"sub-flow self-call" ["fixedsize"="true","width"="2.0","height"="0.25","color"="black","shape"="ellipse"] | ||
"flow" -> "sub-flow" ["style"="invis"] | ||
"sub-flow" -> "Unused sub/-flow" ["style"="invis"] | ||
"Flow A" -> "sub-flow-1" ["style"="solid","label"="(1)","taillabel"="Call Sequence\n","labelangle"="-5.0","labeldistance"="8.0"] | ||
"Flow C" -> "sub-flow-C1" ["style"="dashed,bold","xlabel"="(1) Async","color"="lightblue3","taillabel"="Asynchronous call\n","labelangle"="-5.0","labeldistance"="8.0"] | ||
"flow source" -> "flow self-call" ["style"="invis"] | ||
"flow self-call" -> "flow self-call" | ||
"flow self-call" -> "sub-flow self-call" ["style"="invis"] | ||
"sub-flow self-call" -> "sub-flow self-call" | ||
} | ||
subgraph "cluster_legend-space" { | ||
edge ["dir"="none"] | ||
graph ["label"="","style"="invis"] | ||
"" ["shape"="none","width"="2.0","height"="1.0"] | ||
} | ||
subgraph "cluster_mule" { | ||
edge ["dir"="forward"] | ||
graph ["rankdir"="LR","splines"="spline","pad"="1.0,0.5","dpi"="150","label"=<Application graph<br/>>,"labelloc"="t","style"="invis"] | ||
edge ["arrowhead"="vee","dir"="forward"] | ||
"mule:scheduler" ["shape"="hexagon","style"="filled","color"="cyan","sourceNode"="true","label"=<<b>mule: scheduler</b><br/><br/>>] | ||
"flow:scheduler-configFlow" ["label"=<<b>flow</b>: scheduler-configFlow>,"shape"="rectangle","color"="blue"] | ||
"mule:scheduler" -> "flow:scheduler-configFlow" ["style"="bold"] | ||
} | ||
} |
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,14 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<mule xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mulesoft.org/schema/mule/documentation" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.mulesoft.org/schema/mule/core http://www.mulesoft.org/schema/mule/core/current/mule.xsd"> | ||
<flow name="scheduler-configFlow" doc:id="3a8687e8-ee8d-42fd-b3a0-d1740b1da621" > | ||
<scheduler doc:name="Scheduler" doc:id="8a2088ba-a947-438c-97e5-b124f4386b18" > | ||
<scheduling-strategy > | ||
<cron expression="${cron.expreesion}" /> | ||
</scheduling-strategy> | ||
</scheduler> | ||
<logger level="INFO" doc:name="Logger" doc:id="2062d553-4a9a-4c40-b3a1-01ca6c6b305f" /> | ||
</flow> | ||
</mule> |