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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.7.1, 3.8.0
    • Component/s: camel-aws2
    • Labels:
      None
    • Estimated Complexity:
      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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: