Custom kamelets #847
-
im trying to create custom kamelets on my camel karavan application, the problem that im facing is that whenever i try to create an integration and use the custom kamelet that i have created, when i deploy that project that has this integration , i get the error that no such file found for the resource : /scripts/kamelets , i was wondering where can i find this /scripts folder or atleast can someone explain how to deploy an integration that has a custom kamelet , because in the code it always exports the kamelets into this directory /scripts/kamelets |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 9 replies
-
In settings for karavan in VSCode, there is a option to set a custom folder for custom kamelets. Have you configured this. However maybe you are using karavan web which may need to be improved to support custom kamelets better (@mgubaidullin) |
Beta Was this translation helpful? Give feedback.
-
@Elias-Swais are you using web-app or vs-code extension? |
Beta Was this translation helpful? Give feedback.
-
Kamelet filename and kamelet metadata name should be consistent, ex. kamalets in the file aws-ddb-streams-source.kamelet.yaml shoudl have the fllowing metadata name:
|
Beta Was this translation helpful? Give feedback.
-
@mgubaidullin We have created two projects 1. kamelets 2. Project Folder Resource not found: classpath:/kamelets/custom-timer.kamelet.yaml If you can advise us why it is failing it would be great. I am attaching the full stack trace below 2023-08-22 14:08:27,530 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: org.apache.camel.RuntimeCamelException: org.apache.camel.VetoCamelContextStartException: Failure creating route from template: custom-timer 2023-08-22 14:08:27,656 ERROR [io.qua.run.Application] (main) Failed to start application (with profile [prod]): java.io.FileNotFoundException: Resource not found: classpath:/kamelets/custom-timer.kamelet.yaml |
Beta Was this translation helpful? Give feedback.
-
@Elias-Swais, I guess #913 will resolve your (and my) issue once it's done. |
Beta Was this translation helpful? Give feedback.
-
Karavan 4.1 supports creating and editing custom kamelets. |
Beta Was this translation helpful? Give feedback.
Karavan 4.1 supports creating and editing custom kamelets.