Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Support multiple DSL #193

Closed
Delawen opened this issue Jan 21, 2022 · 1 comment · Fixed by #273 or #291
Closed

Support multiple DSL #193

Delawen opened this issue Jan 21, 2022 · 1 comment · Fixed by #273 or #291
Assignees
Labels
code editor Relates to the code editor enhancement Improve existing features

Comments

@Delawen
Copy link
Member

Delawen commented Jan 21, 2022

As a user I want to be able to select the type of workflow I am generating (Camel route, Kamelet, Kamelet Binding,...).

Implementation details

The API can provide multiple DSL formats on the /integrations/customResources endpoint. There should be some way the user can select which one of all those source codes they want to use.

Swagger is a bit lazy, but the response is a Map that returns all possible source codes with a key that represents what the source code is for (on our current case, "Kamelet" or "KameletBinding").

@Delawen Delawen added enhancement Improve existing features code editor Relates to the code editor user-story labels Jan 21, 2022
@kahboom kahboom added this to the Sprint Zero milestone Jan 21, 2022
@Delawen
Copy link
Member Author

Delawen commented Jan 28, 2022

We can either have an explicit drop down selection or we can refresh the catalog based on the steps selected. So when you select one step that restricts, it will only show compatible steps.

You start with a camel connector... it can still be kamelet binding or kamelet or camel route.
Then you select an if -> boom, kamelet binding discarded.
Or if you select a kamelet sink -> ahh, no camel route then.

@kahboom kahboom self-assigned this Jan 28, 2022
@kahboom kahboom linked a pull request Mar 29, 2022 that will close this issue
@kahboom kahboom closed this as completed Mar 29, 2022
@Delawen Delawen reopened this Apr 4, 2022
@kahboom kahboom mentioned this issue Apr 6, 2022
@kahboom kahboom linked a pull request Apr 6, 2022 that will close this issue
@kahboom kahboom removed this from the Sprint Zero milestone May 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
code editor Relates to the code editor enhancement Improve existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants