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 0252f6a  ClaimCheckDefinition EIP added
     new 09003a1  merge
0252f6a is described below

commit 0252f6a2659b573655a565a5e2d14bfec038d240
Author: Marat Gubaidullin <marat.gubaidul...@gmail.com>
AuthorDate: Thu Sep 1 10:17:06 2022 -0400

    ClaimCheckDefinition EIP added
---
 karavan-designer/src/App.tsx                          | 2 +-
 karavan-designer/src/designer/route/RouteDesigner.tsx | 3 ---
 karavan-designer/src/designer/utils/CamelUi.tsx       | 1 +
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/karavan-designer/src/App.tsx b/karavan-designer/src/App.tsx
index 8eed496..62ddc36 100644
--- a/karavan-designer/src/App.tsx
+++ b/karavan-designer/src/App.tsx
@@ -138,7 +138,7 @@ class App extends React.Component<Props, State> {
 
     save(filename: string, yaml: string, propertyOnly: boolean) {
         // console.log(filename);
-        // console.log(yaml);
+        console.log(yaml);
         // console.log(propertyOnly);
     }
 
diff --git a/karavan-designer/src/designer/route/RouteDesigner.tsx 
b/karavan-designer/src/designer/route/RouteDesigner.tsx
index 71d303a..77bed14 100644
--- a/karavan-designer/src/designer/route/RouteDesigner.tsx
+++ b/karavan-designer/src/designer/route/RouteDesigner.tsx
@@ -156,7 +156,6 @@ export class RouteDesigner extends React.Component<Props, 
State> {
     }
 
     onPropertyUpdate = (element: CamelElement, newRoute?: RouteToCreate) => {
-        console.log(this.state.integration)
         if (newRoute) {
             let i = 
CamelDefinitionApiExt.updateIntegrationRouteElement(this.state.integration, 
element);
             const f = CamelDefinitionApi.createFromDefinition({uri: 
newRoute.componentName + ":" + newRoute.name})
@@ -173,9 +172,7 @@ export class RouteDesigner extends React.Component<Props, 
State> {
             });
         } else {
             const clone = CamelUtil.cloneIntegration(this.state.integration);
-            console.log(clone);
             const i = 
CamelDefinitionApiExt.updateIntegrationRouteElement(clone, element);
-            console.log(i);
             this.setState({integration: i, propertyOnly: true, key: 
Math.random().toString()});
         }
     }
diff --git a/karavan-designer/src/designer/utils/CamelUi.tsx 
b/karavan-designer/src/designer/utils/CamelUi.tsx
index bd912e6..3be4d1f 100644
--- a/karavan-designer/src/designer/utils/CamelUi.tsx
+++ b/karavan-designer/src/designer/utils/CamelUi.tsx
@@ -31,6 +31,7 @@ const StepElements: string[] = [
     "BeanDefinition",
     "ChoiceDefinition",
     "CircuitBreakerDefinition",
+    "ClaimCheckDefinition",
     "ConvertBodyDefinition",
     "DynamicRouterDefinition",
     "EnrichDefinition",

Reply via email to