Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an annotations to Kamelets to define the level of complexity #1267

Closed
oscerd opened this issue Feb 7, 2023 · 10 comments
Closed

Add an annotations to Kamelets to define the level of complexity #1267

oscerd opened this issue Feb 7, 2023 · 10 comments
Milestone

Comments

@oscerd
Copy link
Contributor

oscerd commented Feb 7, 2023

Currently we are providing just
camel.apache.org/kamelet.support.level
with Stable, Preview and Experimental values.

I think it would be valuable to add a different label explaining the level of the Kamelets, like "Advanced", "Ready for Prod" or "Development Only"

With this information we could be able to filter the Kamelets on camel-jbang but also on Kamel cli.

@davsclaus @lburgazzoli @squakez

Ideas for the annotation name? And for possible values?

@oscerd oscerd added this to the 3.21.0 milestone Feb 7, 2023
@oscerd
Copy link
Contributor Author

oscerd commented Feb 9, 2023

pinging again @davsclaus @lburgazzoli @squakez

@davsclaus
Copy link
Contributor

The 3 values today are also what other projects use such as Quarkus.
I would keep that as-is.

What we could do is to add a 2nd label/enum/note. Where a kamelet can be marked as "common", "advanced", "development", ...

You can have a stable component but it can be advanced / special.

I dont think we should label stuff as "ready for prod" that is end user that decide what to use. But for prod you would favour using "Stable" kamelets and maybe in some cases "Preview" for newly added kamelets.

@davsclaus
Copy link
Contributor

PS its a bit ironic that a kamelet can become complex, they were intended as more simpler building blocks that regular Camel components.

@oscerd
Copy link
Contributor Author

oscerd commented Feb 9, 2023

Well, the idea was to give some idea of what you're going to use. For example the event sourcing Kamelets, are a bit more complex then the plain ones, they are still building blocks, with some more complexity. So the idea was having something aside the support level based on components and add something related to Kamelets only.

@davsclaus
Copy link
Contributor

okay maybe the kamelets should have a 1..N labels so you can mark them with "event sourcing", "messaging", "database", "cloud", eg like we do for components today.

like you can see with jbang

camel catalog component --filter=database

@davsclaus
Copy link
Contributor

you can find a bit ala

camel catalog kamelet --filter=file

but it checks also the description which is free form text.

@oscerd
Copy link
Contributor Author

oscerd commented Feb 9, 2023

Maybe adding a label for the Kamelet level is too much, we'll end to have too much information. Maybe categorizing could be better, we already have a group field, but it's related to a logic group. I'll see what we could do.

@davsclaus
Copy link
Contributor

@oscerd
Copy link
Contributor Author

oscerd commented Feb 15, 2023

I added the namespace field, so we have some kind of differentiation

@oscerd oscerd closed this as completed Feb 15, 2023
@oscerd
Copy link
Contributor Author

oscerd commented Feb 15, 2023

Related to #640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants