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 x-description URNs to fields to group related properties #548

Closed
lburgazzoli opened this issue Oct 19, 2021 · 1 comment · Fixed by #550
Closed

Add x-description URNs to fields to group related properties #548

lburgazzoli opened this issue Oct 19, 2021 · 1 comment · Fixed by #550
Assignees

Comments

@lburgazzoli
Copy link
Contributor

In order to help visual tools to render kamelets, it would be nice if we include metadata information to the properties a kamelet expose, as example we could use some dedicated urn to group authentication related properties:

spec:
  definition:
    title: AWS SNS Sink
    type: object
    properties:
      accessKey:
        title: Access Key
        description: The access key obtained from AWS
        type: string
        format: password
        x-descriptors:
        - urn:alm:descriptor:com.tectonic.ui:password
        - urn:camel:group:credentials
      secretKey:
        title: Secret Key
        description: The secret key obtained from AWS
        type: string
        format: password
        x-descriptors:
        - urn:alm:descriptor:com.tectonic.ui:password
        - urn:camel:group:credentials

@nicolaferraro @oscerd what do you think ?

@oscerd
Copy link
Contributor

oscerd commented Oct 19, 2021

Makes sense, +1

@nicolaferraro nicolaferraro self-assigned this Oct 20, 2021
nicolaferraro added a commit to nicolaferraro/camel-kamelets that referenced this issue Oct 20, 2021
nicolaferraro added a commit to nicolaferraro/camel-kamelets that referenced this issue Oct 20, 2021
nicolaferraro added a commit that referenced this issue Oct 20, 2021
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

Successfully merging a pull request may close this issue.

3 participants