Open Delawen opened 1 year ago
Does the annotations
attribute then just consist of name/value pairs? Are values only string values?
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 - https://github.com/KaotoIO/kaoto-backend/issues/657
Please describe the feature that you want to propose
Some of the DSLs we support (
Integration
,Kamelet
andKamelet 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.