Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3184

Accept non-list params for deployment add command's 'content' param

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 8.1.0.CR2, 8.1.0.Final
    • None
    • Management
    • None

      The deployment resource's 'content' attribute is of type list, but it only accepts a single element. Changing this would break compatibility, but it would be nice if CLI users could skip the useless [].

      This could be handled server-side using a ParameterCorrector, but we'd need to figure out how to prevent validation problems when the user tries it in the CLI.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: