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

User Interface to manage annotations #2160

Open
Delawen opened this issue Jul 17, 2023 · 2 comments
Open

User Interface to manage annotations #2160

Delawen opened this issue Jul 17, 2023 · 2 comments
Labels
feature request Thumbs up the issue to vote for it metadata

Comments

@Delawen
Copy link
Member

Delawen commented Jul 17, 2023

Please describe the feature that you want to propose

Some of the DSLs we support (Integration, Kamelet and Kamelet Binding) are Kubernetes Resources that have annotations. We would need a generic extension UI that can list the annotations and edit them.

The annotations are stored on the metadata/annotations of the flow object returned by the backend.

The backend needs to add a boolean in the dsl capabilities endpoint explaining if this UI is shown or not by DSL.

@Delawen Delawen added feature request Thumbs up the issue to vote for it metadata labels Jul 17, 2023
@gashcrumb
Copy link

Does the annotations attribute then just consist of name/value pairs? Are values only string values?

@igarashitm
Copy link
Contributor

We can use MetadataEditor which creates configuration form from JSON schema. Currently the metadata schema is a mockup with only beans
https://github.com/KaotoIO/kaoto-ui/blob/main/src/api/apiService.ts#L249

First we should migrate this to the backend - KaotoIO/kaoto-backend#657

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request Thumbs up the issue to vote for it metadata
Projects
None yet
Development

No branches or pull requests

3 participants