You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2022/06/22 17:27:44 UTC

[camel-karavan] branch main updated: Cleanup (#388)

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 733009b  Cleanup (#388)
733009b is described below

commit 733009b71094a2d0845cc0e957e9e270f5991186
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Wed Jun 22 13:27:40 2022 -0400

    Cleanup (#388)
---
 karavan-designer/src/App.css                       | 16 ++++++++++++++++
 karavan-designer/src/builder/BuilderPage.tsx       | 16 ++++++++++++++++
 karavan-designer/src/builder/FileSelector.tsx      | 16 ++++++++++++++++
 karavan-designer/src/builder/ProfileSelector.tsx   | 16 ++++++++++++++++
 karavan-designer/src/builder/PropertiesTable.tsx   | 16 ++++++++++++++++
 karavan-designer/src/components/ComponentCard.tsx  | 17 ++++++++++++++++-
 karavan-designer/src/components/ComponentModal.tsx | 16 ++++++++++++++++
 karavan-designer/src/components/ComponentsPage.tsx | 16 ++++++++++++++++
 karavan-designer/src/designer/KaravanTour.tsx      | 22 +++++++++++++++++++---
 .../src/designer/beans/BeanProperties.tsx          |  2 +-
 .../src/designer/error/ErrorDesigner.tsx           |  2 +-
 .../src/designer/exception/ExceptionDesigner.tsx   |  2 +-
 karavan-designer/src/designer/karavan.css          | 16 ++++++++++++++++
 .../src/designer/rest/RestMethodCard.tsx           |  4 +---
 .../src/designer/rest/RestMethodSelector.tsx       |  3 +--
 karavan-designer/src/designer/route/DslElement.tsx |  1 -
 .../src/designer/route/DslSelector.tsx             |  2 +-
 .../src/designer/traits/TraitProperties.tsx        |  9 +--------
 .../src/designer/traits/TraitsDesigner.tsx         |  7 +------
 karavan-designer/src/designer/utils/EventBus.ts    |  1 -
 karavan-designer/src/eip/EipCard.tsx               | 16 ++++++++++++++++
 karavan-designer/src/eip/EipModal.tsx              | 16 ++++++++++++++++
 karavan-designer/src/eip/EipPage.tsx               | 16 ++++++++++++++++
 karavan-designer/src/kamelets/KameletCard.tsx      | 16 ++++++++++++++++
 karavan-designer/src/kamelets/KameletModal.tsx     | 16 ++++++++++++++++
 karavan-designer/src/kamelets/KameletsPage.tsx     | 16 ++++++++++++++++
 26 files changed, 267 insertions(+), 29 deletions(-)

diff --git a/karavan-designer/src/App.css b/karavan-designer/src/App.css
index d29f89e..b6d56b5 100644
--- a/karavan-designer/src/App.css
+++ b/karavan-designer/src/App.css
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 .App {
   background-color: var(--background);
 }
diff --git a/karavan-designer/src/builder/BuilderPage.tsx b/karavan-designer/src/builder/BuilderPage.tsx
index 5ffeed0..605521c 100644
--- a/karavan-designer/src/builder/BuilderPage.tsx
+++ b/karavan-designer/src/builder/BuilderPage.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     Badge,
diff --git a/karavan-designer/src/builder/FileSelector.tsx b/karavan-designer/src/builder/FileSelector.tsx
index 2d0f2ab..ead44b9 100644
--- a/karavan-designer/src/builder/FileSelector.tsx
+++ b/karavan-designer/src/builder/FileSelector.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     Button,
diff --git a/karavan-designer/src/builder/ProfileSelector.tsx b/karavan-designer/src/builder/ProfileSelector.tsx
index b5f4351..ef140a4 100644
--- a/karavan-designer/src/builder/ProfileSelector.tsx
+++ b/karavan-designer/src/builder/ProfileSelector.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     Button,
diff --git a/karavan-designer/src/builder/PropertiesTable.tsx b/karavan-designer/src/builder/PropertiesTable.tsx
index f59cec6..e3f5958 100644
--- a/karavan-designer/src/builder/PropertiesTable.tsx
+++ b/karavan-designer/src/builder/PropertiesTable.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     Button, Flex, FlexItem,
diff --git a/karavan-designer/src/components/ComponentCard.tsx b/karavan-designer/src/components/ComponentCard.tsx
index 925c720..6d465f3 100644
--- a/karavan-designer/src/components/ComponentCard.tsx
+++ b/karavan-designer/src/components/ComponentCard.tsx
@@ -1,9 +1,24 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     CardHeader, Card, CardTitle, CardBody, CardActions, CardFooter,Badge
 } from '@patternfly/react-core';
 import '../designer/karavan.css';
-import {KameletModel} from "karavan-core/lib/model/KameletModels";
 import {camelIcon, CamelUi} from "../designer/utils/CamelUi";
 import {Component} from "karavan-core/lib/model/ComponentModels";
 
diff --git a/karavan-designer/src/components/ComponentModal.tsx b/karavan-designer/src/components/ComponentModal.tsx
index 04ad022..0e73bc4 100644
--- a/karavan-designer/src/components/ComponentModal.tsx
+++ b/karavan-designer/src/components/ComponentModal.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     Button,
diff --git a/karavan-designer/src/components/ComponentsPage.tsx b/karavan-designer/src/components/ComponentsPage.tsx
index f1b5dc8..182ce03 100644
--- a/karavan-designer/src/components/ComponentsPage.tsx
+++ b/karavan-designer/src/components/ComponentsPage.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     Toolbar,
diff --git a/karavan-designer/src/designer/KaravanTour.tsx b/karavan-designer/src/designer/KaravanTour.tsx
index 715c89d..499819a 100644
--- a/karavan-designer/src/designer/KaravanTour.tsx
+++ b/karavan-designer/src/designer/KaravanTour.tsx
@@ -1,7 +1,23 @@
-import React, {Component} from "react";
-import Tour, {StepType, TourProvider, useTour, withTour} from "@reactour/tour";
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+import React from "react";
+import Tour from "@reactour/tour";
 import {EventBus} from "./utils/EventBus";
-import {TextContent, TextVariants, Title, Text, Button} from "@patternfly/react-core";
+import {TextContent, TextVariants, Title, Text} from "@patternfly/react-core";
 import ArrowIcon from "@patternfly/react-icons/dist/js/icons/arrow-right-icon";
 import CloseIcon from "@patternfly/react-icons/dist/js/icons/times-icon";
 import {Integration} from "karavan-core/lib/model/IntegrationDefinition";
diff --git a/karavan-designer/src/designer/beans/BeanProperties.tsx b/karavan-designer/src/designer/beans/BeanProperties.tsx
index f0b07b1..87bfbbf 100644
--- a/karavan-designer/src/designer/beans/BeanProperties.tsx
+++ b/karavan-designer/src/designer/beans/BeanProperties.tsx
@@ -18,7 +18,7 @@ import React from 'react';
 import {
     Form,
     FormGroup,
-    TextInput, Button, Title, Tooltip, Text, TextVariants, Popover,
+    TextInput, Button, Title, Tooltip, Popover,
 } from '@patternfly/react-core';
 import '../karavan.css';
 import "@patternfly/patternfly/patternfly.css";
diff --git a/karavan-designer/src/designer/error/ErrorDesigner.tsx b/karavan-designer/src/designer/error/ErrorDesigner.tsx
index f09e6d9..ef11836 100644
--- a/karavan-designer/src/designer/error/ErrorDesigner.tsx
+++ b/karavan-designer/src/designer/error/ErrorDesigner.tsx
@@ -16,7 +16,7 @@
  */
 import React from 'react';
 import {
-    EmptyState, EmptyStateBody, EmptyStateIcon, Modal,
+    EmptyState, EmptyStateBody, EmptyStateIcon,
     PageSection, Title
 } from '@patternfly/react-core';
 import '../karavan.css';
diff --git a/karavan-designer/src/designer/exception/ExceptionDesigner.tsx b/karavan-designer/src/designer/exception/ExceptionDesigner.tsx
index 15972af..d3b39d8 100644
--- a/karavan-designer/src/designer/exception/ExceptionDesigner.tsx
+++ b/karavan-designer/src/designer/exception/ExceptionDesigner.tsx
@@ -16,7 +16,7 @@
  */
 import React from 'react';
 import {
-     EmptyState, EmptyStateBody, EmptyStateIcon, Modal,
+     EmptyState, EmptyStateBody, EmptyStateIcon,
     PageSection, Title
 } from '@patternfly/react-core';
 import '../karavan.css';
diff --git a/karavan-designer/src/designer/karavan.css b/karavan-designer/src/designer/karavan.css
index b95446e..bf5ba84 100644
--- a/karavan-designer/src/designer/karavan.css
+++ b/karavan-designer/src/designer/karavan.css
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 .karavan .tools-section {
     padding-top: 0px;
     padding-bottom: 0px;
diff --git a/karavan-designer/src/designer/rest/RestMethodCard.tsx b/karavan-designer/src/designer/rest/RestMethodCard.tsx
index 2b9ed93..eee356b 100644
--- a/karavan-designer/src/designer/rest/RestMethodCard.tsx
+++ b/karavan-designer/src/designer/rest/RestMethodCard.tsx
@@ -15,9 +15,7 @@
  * limitations under the License.
  */
 import React from 'react';
-import {
-    AccordionItem, AccordionToggle, AccordionContent, Button
-} from '@patternfly/react-core';
+import {Button} from '@patternfly/react-core';
 import '../karavan.css';
 import {CamelElement, Integration} from "karavan-core/lib/model/IntegrationDefinition";
 import DeleteIcon from "@patternfly/react-icons/dist/js/icons/times-circle-icon";
diff --git a/karavan-designer/src/designer/rest/RestMethodSelector.tsx b/karavan-designer/src/designer/rest/RestMethodSelector.tsx
index dcfd650..5e6baf5 100644
--- a/karavan-designer/src/designer/rest/RestMethodSelector.tsx
+++ b/karavan-designer/src/designer/rest/RestMethodSelector.tsx
@@ -22,9 +22,8 @@ import {
     Text, TextInput,
 } from '@patternfly/react-core';
 import '../karavan.css';
-import {camelIcon, CamelUi} from "../utils/CamelUi";
+import {CamelUi} from "../utils/CamelUi";
 import {DslMetaModel} from "../utils/DslMetaModel";
-import {CamelUtil} from "karavan-core/lib/api/CamelUtil";
 
 interface Props {
     onMethodSelect: (method: DslMetaModel) => void
diff --git a/karavan-designer/src/designer/route/DslElement.tsx b/karavan-designer/src/designer/route/DslElement.tsx
index b94c06e..d4f7f5d 100644
--- a/karavan-designer/src/designer/route/DslElement.tsx
+++ b/karavan-designer/src/designer/route/DslElement.tsx
@@ -28,7 +28,6 @@ import {EventBus} from "../utils/EventBus";
 import {ChildElement, CamelDefinitionApiExt} from "karavan-core/lib/api/CamelDefinitionApiExt";
 import ReactDOM from "react-dom";
 import {CamelUtil} from "karavan-core/lib/api/CamelUtil";
-import {AggregateIcon, ChoiceIcon, FilterIcon, SagaIcon, SortIcon, SplitIcon, TransformIcon} from "../utils/KaravanIcons";
 
 interface Props {
     step: CamelElement,
diff --git a/karavan-designer/src/designer/route/DslSelector.tsx b/karavan-designer/src/designer/route/DslSelector.tsx
index 3e0d092..54612c8 100644
--- a/karavan-designer/src/designer/route/DslSelector.tsx
+++ b/karavan-designer/src/designer/route/DslSelector.tsx
@@ -22,7 +22,7 @@ import {
     Text, TextInput,
 } from '@patternfly/react-core';
 import '../karavan.css';
-import {camelIcon, CamelUi} from "../utils/CamelUi";
+import {CamelUi} from "../utils/CamelUi";
 import {DslMetaModel} from "../utils/DslMetaModel";
 import {CamelUtil} from "karavan-core/lib/api/CamelUtil";
 
diff --git a/karavan-designer/src/designer/traits/TraitProperties.tsx b/karavan-designer/src/designer/traits/TraitProperties.tsx
index dc3effd..9aac1da 100644
--- a/karavan-designer/src/designer/traits/TraitProperties.tsx
+++ b/karavan-designer/src/designer/traits/TraitProperties.tsx
@@ -17,19 +17,12 @@
 import React from 'react';
 import {
     Form,
-    FormGroup,
-    TextInput, Button,
+    FormGroup
 } from '@patternfly/react-core';
 import '../karavan.css';
 import "@patternfly/patternfly/patternfly.css";
-import {
-    NamedBeanDefinition,
-} from "karavan-core/lib/model/CamelDefinition";
 import {CamelElement, Integration} from "karavan-core/lib/model/IntegrationDefinition";
-import {CamelUtil} from "karavan-core/lib/api/CamelUtil";
 import {v4 as uuidv4} from "uuid";
-import DeleteIcon from "@patternfly/react-icons/dist/js/icons/times-icon";
-import AddIcon from "@patternfly/react-icons/dist/js/icons/plus-circle-icon";
 import {IntegrationHeader} from "../utils/KaravanComponents";
 
 interface Props {
diff --git a/karavan-designer/src/designer/traits/TraitsDesigner.tsx b/karavan-designer/src/designer/traits/TraitsDesigner.tsx
index f0d186a..191e677 100644
--- a/karavan-designer/src/designer/traits/TraitsDesigner.tsx
+++ b/karavan-designer/src/designer/traits/TraitsDesigner.tsx
@@ -16,20 +16,15 @@
  */
 import React from 'react';
 import {
-    Button, Drawer, DrawerContent, DrawerContentBody, DrawerPanelContent, EmptyState, EmptyStateBody, EmptyStateIcon, Modal, PageSection, Title
+    Button, DrawerPanelContent, EmptyState, EmptyStateBody, EmptyStateIcon, Modal, PageSection, Title
 } from '@patternfly/react-core';
 import '../karavan.css';
 import {NamedBeanDefinition} from "karavan-core/lib/model/CamelDefinition";
 import {Integration} from "karavan-core/lib/model/IntegrationDefinition";
 import {CamelUi} from "../utils/CamelUi";
-import PlusIcon from "@patternfly/react-icons/dist/esm/icons/plus-icon";
-import {CamelDefinitionApiExt} from "karavan-core/lib/api/CamelDefinitionApiExt";
 import {TraitProperties} from "./TraitProperties";
-import {CamelUtil} from "karavan-core/lib/api/CamelUtil";
-import {TraitCard} from "./TraitCard";
 import CubesIcon from "@patternfly/react-icons/dist/esm/icons/cubes-icon";
 import {CamelElement} from "karavan-core/src/core/model/IntegrationDefinition";
-import {DslProperties} from "../route/DslProperties";
 
 interface Props {
     onSave?: (integration: Integration, propertyOnly: boolean) => void
diff --git a/karavan-designer/src/designer/utils/EventBus.ts b/karavan-designer/src/designer/utils/EventBus.ts
index 4fc928f..285eb75 100644
--- a/karavan-designer/src/designer/utils/EventBus.ts
+++ b/karavan-designer/src/designer/utils/EventBus.ts
@@ -16,7 +16,6 @@
  */
 import {Subject} from 'rxjs';
 import {CamelElement} from "karavan-core/lib/model/IntegrationDefinition";
-import {DslMetaModel} from "./DslMetaModel";
 
 const positions = new Subject<DslPosition>();
 const tourEvents = new Subject<TourEvent>();
diff --git a/karavan-designer/src/eip/EipCard.tsx b/karavan-designer/src/eip/EipCard.tsx
index 310d429..0fab47e 100644
--- a/karavan-designer/src/eip/EipCard.tsx
+++ b/karavan-designer/src/eip/EipCard.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     CardHeader, Card, CardTitle, CardBody, CardFooter,Badge
diff --git a/karavan-designer/src/eip/EipModal.tsx b/karavan-designer/src/eip/EipModal.tsx
index f6ee6d9..34777ca 100644
--- a/karavan-designer/src/eip/EipModal.tsx
+++ b/karavan-designer/src/eip/EipModal.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     Button,
diff --git a/karavan-designer/src/eip/EipPage.tsx b/karavan-designer/src/eip/EipPage.tsx
index dd6e301..352d59a 100644
--- a/karavan-designer/src/eip/EipPage.tsx
+++ b/karavan-designer/src/eip/EipPage.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     Toolbar,
diff --git a/karavan-designer/src/kamelets/KameletCard.tsx b/karavan-designer/src/kamelets/KameletCard.tsx
index 3708af8..31ac3c6 100644
--- a/karavan-designer/src/kamelets/KameletCard.tsx
+++ b/karavan-designer/src/kamelets/KameletCard.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     CardHeader, Card, CardTitle, CardBody, CardActions, CardFooter,Badge
diff --git a/karavan-designer/src/kamelets/KameletModal.tsx b/karavan-designer/src/kamelets/KameletModal.tsx
index fb9532d..270683a 100644
--- a/karavan-designer/src/kamelets/KameletModal.tsx
+++ b/karavan-designer/src/kamelets/KameletModal.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React, {Component} from 'react';
 import {
     Button,
diff --git a/karavan-designer/src/kamelets/KameletsPage.tsx b/karavan-designer/src/kamelets/KameletsPage.tsx
index f4c26ce..9176532 100644
--- a/karavan-designer/src/kamelets/KameletsPage.tsx
+++ b/karavan-designer/src/kamelets/KameletsPage.tsx
@@ -1,3 +1,19 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 import React from 'react';
 import {
     Toolbar,