Camel capability is unstable (0.0.9-SNAPSHOT) #660
Replies: 3 comments 10 replies
|
That is because we have added a new feature called data store. Earlier you had to copy the files to the Camel Integration Capability pod. However, now Wanaku comes with a builtin data storage that the capabilities can use to download the files. Essentially, now you just need to add the files to the router's data store:
Then, adjust the CIC container to use those by passing a reference to them I haven't documented it yet, but you can look at the
And do the same on the CIC, as the parameters for the routes, rules and dependencies have changed to use a reference to the data store address of the files (ie: |
|
Hi @orpiske , Understood. I think it could be practical to maintain both methods. So I can store the files in a git repository (gitops paradigm), and by the init container they are downloaded and enabled in a configurable path Ok, i'm testing the new procedure, i've run into with a pair of issues: I've uploaded the rules file, the routes file and the dependency of camel-kafka to the datasource of the router instance using the wanaku router UI First issue:
Second issue: If i configure several dependencies (for example, camel-oauth and camel-kafka), it appears another type of error
The parameter --dependencies is configured as a comma-separated list, such as: Regards |
|
Hi @orpiske , Any hint why is failing the Camel capability while loading the rules, routes and dependency files from the datasource of the router instance? I paste again the stacktrace
If you need more information, you don't hesitate to request it Kind Regards |





That is because we have added a new feature called data store. Earlier you had to copy the files to the Camel Integration Capability pod. However, now Wanaku comes with a builtin data storage that the capabilities can use to download the files.
Essentially, now you just need to add the files to the router's data store:
wanaku data-store add ...Then, adjust the CIC container to use those by passing a reference to them
--routes-ref datastore://filename.yamlI haven't documented it yet, but you can look at the
--helpfor the following commands:wanaku authfor the login partswanaku data-storeto manage the data storeAnd do the same on the CIC, as the parameters for the routes, rules and…