Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15938

Catalog contains wrong "required" for aws2-iam "operation"

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.6.0
    • 3.7.1, 3.8.0
    • camel-aws2
    • None
    • Unknown

    Description

      https://camel.apache.org/components/latest/aws2-iam-component.html#_uri_options
      https://camel.apache.org/components/latest/aws2-iam-component.html#_query_parameters_12_parameters

      The "operation" parameter is marked as required at both level: component and query. it is required to have it at one of them. Not both.

      potential solutions:

      • remove operation at one of the side (API break?)
      • remove the "required" mark in catalog. Only mention in documentation that one of them is required. (this sounds a good candidate for a first iteration)
      • support "oneOf" for required properties in the catalog CAMEL-15943

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            davsclaus Claus Ibsen
            apupier Aurélien Pupier
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment