You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/02/17 11:33:36 UTC
[GitHub] [camel-karavan] k0pper opened a new issue #198: Unsupported Field: steps and other errors
k0pper opened a new issue #198:
URL: https://github.com/apache/camel-karavan/issues/198
Im trying to run this basic route:
```
- route:
from:
uri: timer:foo
steps:
- log:
message: Hello
parameters:
delay: '1200'
```
* Running it with `jbang -Dcamel.jbang.version=3.15.0 camel@apache/camel run test-integration.yaml --max-messages=10 --logging-level=info --reload ` I get the error:
```
[jbang] [ERROR] No alias found with name 'camel'
```
* Running with `jbang -Dcamel.jbang.version=3.15.0 CamelJBang@apache/camel run test-integration.yaml` I get
```
java.lang.IllegalArgumentException: Unsupported field: steps
at org.apache.camel.dsl.yaml.common.YamlSupport.creteEndpointUri(YamlSupport.java:248)
(...)
```
* Running with `kamel run test-integration.yaml` the POD in camel-k gets created but also throws the exception of the command before.
**Versions**
* JBang 0.83.1
* Camel-K 1.8.0
* kamel-cli 1.8.0
Am I doing something wrong?
Alex
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] k0pper closed issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
k0pper closed issue #198:
URL: https://github.com/apache/camel-karavan/issues/198
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] davsclaus commented on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042927325
also jbang may get an outdated cache if you have run with older version before, you can use --fresh or delete your local .jbang folder and start again.
you can install camel as app in jbang also, see link above
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] davsclaus commented on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042901031
See this ticket: https://github.com/apache/camel-karavan/issues/194
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] k0pper commented on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
k0pper commented on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042920486
Thank you, I wait for the Camel-K 1.9.x release to deploy on Camel-K. But how exactly do I run these generated yaml routes with JBang locally?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] davsclaus commented on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042943356
upgrade jbang
~/workspace ❯ jbang version
0.89.1
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] davsclaus commented on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042944142
go to settings and find karavan, there you can set which camel version it uses, then type 3.15.0. you are using 3.14.0-SNAPSHOT
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] davsclaus commented on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042925436
you install jbang and then click the "play" button in karavan if you use the vscode
or you can run from CLI, see
https://camel.apache.org/manual/camel-jbang.html
We are still working on this and will later post blogs / videos of this in action
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] davsclaus commented on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042926267
karavan in vscode has settings where you can also configure jbang
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] k0pper commented on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
k0pper commented on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042936223
The installation instruction for the jbang camel app is not working:
```
(base) karavan-test ➤ jbang version
0.83.1
(base) karavan-test ➤ jbang app install camel@apache/camel
[jbang] [ERROR] No alias found with name 'camel'
[jbang] Run with --verbose for more details
(base) karavan-test ➤ jbang app install camel@apache/camel --fresh
Unknown option: '--fresh'
Possible solutions: --fresh
```
Also, running via the play button in vscode:
```
jbang -Dcamel.jbang.version=3.14.0-SNAPSHOT CamelJBang@apache/camel run test-integration.yaml --max-messages=10 --logging-level=info --reload
(base) karavan-test ➤ jbang -Dcamel.jbang.version=3.14.0-SNAPSHOT CamelJBang@apache/camel run test-integration.yaml --max-messages=10 --logging-level=info --reload
Unknown options: '--logging-level=info', '--reload'
Usage: CamelJBang run [-h] [--stop] [--debug-level=<debugLevel>]
[--max-messages=<maxMessages>] [<binding>]
Run a Kamelet
[<binding>] The path to the kamelet binding
--debug-level=<debugLevel>
Default debug level
-h, --help Display the help and sub-commands
--max-messages=<maxMessages>
Max number of messages to process before stopping
--stop Stop all running instances of Camel JBang
(base) karavan-test ➤ jbang -Dcamel.jbang.version=3.14.0-SNAPSHOT CamelJBang@apache/camel run test-integration.yaml --max-messages=10
Starting Camel JBang!
A new lock file was created on /Users/Alexander.Miller1/Desktop/karavan-test/./.run403451538431255296.camel.lock. Delete this file to stop running
14:11:03.816 [main] INFO org.apache.camel.main.BaseMainSupport - Auto-configuration summary
14:11:03.824 [main] INFO org.apache.camel.main.BaseMainSupport - camel.main.lightweight=true
14:11:03.824 [main] INFO org.apache.camel.main.BaseMainSupport - camel.main.routesIncludePattern=file:test-integration.yaml
14:11:03.824 [main] INFO org.apache.camel.main.BaseMainSupport - camel.main.name=CamelJBang
14:11:03.824 [main] INFO org.apache.camel.main.BaseMainSupport - camel.main.durationMaxMessages=10
14:11:03.824 [main] INFO org.apache.camel.main.BaseMainSupport - camel.component.kamelet.location=classpath:/kamelets,github:apache:camel-kamelets
java.lang.IllegalArgumentException: Unsupported field: steps
```
Same error for `CamelJBang run ...`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] davsclaus edited a comment on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
davsclaus edited a comment on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042926267
karavan in vscode has settings where you can also configure camel jbang
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] k0pper commented on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
k0pper commented on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042974519
I reinstalled and upgraded JBang to 0.89.1 via homebrew and installed via `jbang app install camel@apache/camel` camel support. Then, with `camel run test-integration.yaml` the integration runs locally. Thanks!
Can't wait for the Camel-K support 🎉
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-karavan] davsclaus commented on issue #198: Unsupported Field: steps and other errors
Posted by GitBox <gi...@apache.org>.
davsclaus commented on issue #198:
URL: https://github.com/apache/camel-karavan/issues/198#issuecomment-1042979028
yeah and you can run in --reload mode, and edit the file in karavan and have live updates - and more to come when we continue working on this
But first we need some more tweaks in the yaml-dsl - so a little bumpy road until we have it all fixed up
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org