This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new a2fc5507 SetExchangePattern Processor
a2fc5507 is described below

commit a2fc5507c85807f2a5f825b1109736b311fb4cc0
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Tue Oct 8 17:11:41 2024 -0400

    SetExchangePattern Processor
---
 .../src/main/webui/src/designer/icons/EipIcons.tsx   | 20 ++++++++++++++++++++
 .../src/main/webui/src/designer/utils/CamelUi.tsx    |  5 ++++-
 karavan-designer/src/designer/icons/EipIcons.tsx     | 20 ++++++++++++++++++++
 karavan-designer/src/designer/utils/CamelUi.tsx      |  5 ++++-
 karavan-space/src/designer/icons/EipIcons.tsx        | 20 ++++++++++++++++++++
 karavan-space/src/designer/utils/CamelUi.tsx         |  5 ++++-
 6 files changed, 72 insertions(+), 3 deletions(-)

diff --git a/karavan-app/src/main/webui/src/designer/icons/EipIcons.tsx 
b/karavan-app/src/main/webui/src/designer/icons/EipIcons.tsx
index d3113344..fc928d9f 100644
--- a/karavan-app/src/main/webui/src/designer/icons/EipIcons.tsx
+++ b/karavan-app/src/main/webui/src/designer/icons/EipIcons.tsx
@@ -154,6 +154,26 @@ export function FilterIcon() {
     );
 }
 
+export function SetExchangePatternIcon() {
+    return (
+        <svg
+            xmlns="http://www.w3.org/2000/svg";
+            viewBox="0 0 32 32"
+            className="icon" width="32px" height="32px">
+            <title>{"data-share"}</title>
+            <path
+                d="M5 25v-9.172l-3.586 3.586L0 18l6-6 6 6-1.414 1.414L7 
15.828V25h12v2H7a2.002 2.002 0 0 1-2-2ZM24 22h4a2.002 2.002 0 0 1 2 2v4a2.002 
2.002 0 0 1-2 2h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2Zm4 
6v-4h-4.002L24 28ZM4.226 1.135h4a2.002 2.002 0 0 1 2 2v4a2.002 2.002 0 0 1-2 
2h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2zm4 6v-4H4.225l.001 4zM27 
6v9.172l3.586-3.586L32 13l-6 6-6-6 1.414-1.414L25 15.172V6H13V4h12a2.002 2.002 
0 0 1 2 2Z"/>
+            <path
+                d="M0 0h32v32H0z"
+                data-name="&lt;Transparent Rectangle&gt;"
+                style={{
+                    fill: "none",
+                }}
+            />
+        </svg>
+    );
+}
+
 export function SortIcon() {
     return (
         <svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 700 700" 
className="icon" width="32px" height="32px">
diff --git a/karavan-app/src/main/webui/src/designer/utils/CamelUi.tsx 
b/karavan-app/src/main/webui/src/designer/utils/CamelUi.tsx
index 15a3ba9f..b88f7a1b 100644
--- a/karavan-app/src/main/webui/src/designer/utils/CamelUi.tsx
+++ b/karavan-app/src/main/webui/src/designer/utils/CamelUi.tsx
@@ -85,7 +85,7 @@ import {
     InterceptFrom,
     InterceptSendToEndpoint, LoadBalanceIcon,
     OnCompletion, PollIcon,
-    SagaIcon,
+    SagaIcon, SetExchangePatternIcon,
     SortIcon,
     SplitIcon,
     ToIcon,
@@ -131,6 +131,7 @@ const StepElements: string[] = [
     "SamplingDefinition",
     "SagaDefinition",
     "SetBodyDefinition",
+    "SetExchangePatternDefinition",
     "SetHeaderDefinition",
     "SetHeadersDefinition",
     "SetVariableDefinition",
@@ -740,6 +741,8 @@ export class CamelUi {
                 return <LoadBalanceIcon/>;
             case 'FilterDefinition' :
                 return <FilterIcon/>;
+            case 'SetExchangePatternDefinition' :
+                return <SetExchangePatternIcon/>;
             case 'SortDefinition' :
                 return <SortIcon/>;
             case 'OnCompletionDefinition' :
diff --git a/karavan-designer/src/designer/icons/EipIcons.tsx 
b/karavan-designer/src/designer/icons/EipIcons.tsx
index d3113344..fc928d9f 100644
--- a/karavan-designer/src/designer/icons/EipIcons.tsx
+++ b/karavan-designer/src/designer/icons/EipIcons.tsx
@@ -154,6 +154,26 @@ export function FilterIcon() {
     );
 }
 
+export function SetExchangePatternIcon() {
+    return (
+        <svg
+            xmlns="http://www.w3.org/2000/svg";
+            viewBox="0 0 32 32"
+            className="icon" width="32px" height="32px">
+            <title>{"data-share"}</title>
+            <path
+                d="M5 25v-9.172l-3.586 3.586L0 18l6-6 6 6-1.414 1.414L7 
15.828V25h12v2H7a2.002 2.002 0 0 1-2-2ZM24 22h4a2.002 2.002 0 0 1 2 2v4a2.002 
2.002 0 0 1-2 2h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2Zm4 
6v-4h-4.002L24 28ZM4.226 1.135h4a2.002 2.002 0 0 1 2 2v4a2.002 2.002 0 0 1-2 
2h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2zm4 6v-4H4.225l.001 4zM27 
6v9.172l3.586-3.586L32 13l-6 6-6-6 1.414-1.414L25 15.172V6H13V4h12a2.002 2.002 
0 0 1 2 2Z"/>
+            <path
+                d="M0 0h32v32H0z"
+                data-name="&lt;Transparent Rectangle&gt;"
+                style={{
+                    fill: "none",
+                }}
+            />
+        </svg>
+    );
+}
+
 export function SortIcon() {
     return (
         <svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 700 700" 
className="icon" width="32px" height="32px">
diff --git a/karavan-designer/src/designer/utils/CamelUi.tsx 
b/karavan-designer/src/designer/utils/CamelUi.tsx
index 15a3ba9f..b88f7a1b 100644
--- a/karavan-designer/src/designer/utils/CamelUi.tsx
+++ b/karavan-designer/src/designer/utils/CamelUi.tsx
@@ -85,7 +85,7 @@ import {
     InterceptFrom,
     InterceptSendToEndpoint, LoadBalanceIcon,
     OnCompletion, PollIcon,
-    SagaIcon,
+    SagaIcon, SetExchangePatternIcon,
     SortIcon,
     SplitIcon,
     ToIcon,
@@ -131,6 +131,7 @@ const StepElements: string[] = [
     "SamplingDefinition",
     "SagaDefinition",
     "SetBodyDefinition",
+    "SetExchangePatternDefinition",
     "SetHeaderDefinition",
     "SetHeadersDefinition",
     "SetVariableDefinition",
@@ -740,6 +741,8 @@ export class CamelUi {
                 return <LoadBalanceIcon/>;
             case 'FilterDefinition' :
                 return <FilterIcon/>;
+            case 'SetExchangePatternDefinition' :
+                return <SetExchangePatternIcon/>;
             case 'SortDefinition' :
                 return <SortIcon/>;
             case 'OnCompletionDefinition' :
diff --git a/karavan-space/src/designer/icons/EipIcons.tsx 
b/karavan-space/src/designer/icons/EipIcons.tsx
index d3113344..fc928d9f 100644
--- a/karavan-space/src/designer/icons/EipIcons.tsx
+++ b/karavan-space/src/designer/icons/EipIcons.tsx
@@ -154,6 +154,26 @@ export function FilterIcon() {
     );
 }
 
+export function SetExchangePatternIcon() {
+    return (
+        <svg
+            xmlns="http://www.w3.org/2000/svg";
+            viewBox="0 0 32 32"
+            className="icon" width="32px" height="32px">
+            <title>{"data-share"}</title>
+            <path
+                d="M5 25v-9.172l-3.586 3.586L0 18l6-6 6 6-1.414 1.414L7 
15.828V25h12v2H7a2.002 2.002 0 0 1-2-2ZM24 22h4a2.002 2.002 0 0 1 2 2v4a2.002 
2.002 0 0 1-2 2h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2Zm4 
6v-4h-4.002L24 28ZM4.226 1.135h4a2.002 2.002 0 0 1 2 2v4a2.002 2.002 0 0 1-2 
2h-4a2.002 2.002 0 0 1-2-2v-4a2.002 2.002 0 0 1 2-2zm4 6v-4H4.225l.001 4zM27 
6v9.172l3.586-3.586L32 13l-6 6-6-6 1.414-1.414L25 15.172V6H13V4h12a2.002 2.002 
0 0 1 2 2Z"/>
+            <path
+                d="M0 0h32v32H0z"
+                data-name="&lt;Transparent Rectangle&gt;"
+                style={{
+                    fill: "none",
+                }}
+            />
+        </svg>
+    );
+}
+
 export function SortIcon() {
     return (
         <svg xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 700 700" 
className="icon" width="32px" height="32px">
diff --git a/karavan-space/src/designer/utils/CamelUi.tsx 
b/karavan-space/src/designer/utils/CamelUi.tsx
index 15a3ba9f..b88f7a1b 100644
--- a/karavan-space/src/designer/utils/CamelUi.tsx
+++ b/karavan-space/src/designer/utils/CamelUi.tsx
@@ -85,7 +85,7 @@ import {
     InterceptFrom,
     InterceptSendToEndpoint, LoadBalanceIcon,
     OnCompletion, PollIcon,
-    SagaIcon,
+    SagaIcon, SetExchangePatternIcon,
     SortIcon,
     SplitIcon,
     ToIcon,
@@ -131,6 +131,7 @@ const StepElements: string[] = [
     "SamplingDefinition",
     "SagaDefinition",
     "SetBodyDefinition",
+    "SetExchangePatternDefinition",
     "SetHeaderDefinition",
     "SetHeadersDefinition",
     "SetVariableDefinition",
@@ -740,6 +741,8 @@ export class CamelUi {
                 return <LoadBalanceIcon/>;
             case 'FilterDefinition' :
                 return <FilterIcon/>;
+            case 'SetExchangePatternDefinition' :
+                return <SetExchangePatternIcon/>;
             case 'SortDefinition' :
                 return <SortIcon/>;
             case 'OnCompletionDefinition' :

Reply via email to