nicolaferraro opened a new issue #366:
URL: https://github.com/apache/camel-k-runtime/issues/366
Instead of:
```
route:
from:
uri: telegram/bots?chatId=1234
steps:
- to:
uri: knative:endpoint/sink
```
We may have (alternative):
```
route:
from:
telegram:
type: bots
chatId: 1234
steps:
- knative:
type: endpoint
name: sink
```
It's not only syntactic sugar, the most important part of the syntax below
is that it's possible to define the **full json/yaml schema** of the endpoints,
so that a web console or IDE can automatically suggest components and their
properties and also completely validate the DSL.
There are tools for IDE that support URI validation, but they need a
language server. This would be LSP free.
Maybe we can start moving the DSL to apache camel in order simplify impl.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]