Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-14271

Omit empty VMware credentials from URL in external requisition editor

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Blocker
    • Resolution: Fixed
    • 30.0.0
    • 30.0.0
    • Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • Hide

      When saving a new or modified VMware external requisition:

      • If either of the inputs labeled "vSphere username" and "vSphere password" is empty, the UI omits the username and password parameters from the constructed URL
      • If just one of the inputs has a value, the form state goes invalid with a note that you must supply either both values or neither
      • These fields are visually denoted as optional
      • The help text in the drawer is updated to indicate that these fields are not required, and that if they are omitted, the system will rely on the credentials configured in vmware-config.xml. The online docs explain this in more depth.
      Show
      When saving a new or modified VMware external requisition: If either of the inputs labeled "vSphere username" and "vSphere password" is empty, the UI omits the username and password parameters from the constructed URL If just one of the inputs has a value, the form state goes invalid with a note that you must supply either both values or neither These fields are visually denoted as optional The help text in the drawer is updated to indicate that these fields are not required, and that if they are omitted, the system will rely on the credentials configured in vmware-config.xml . The online docs explain this in more depth.

    Description

      When editing external requisitions with an external source of VMware, the editor creates VMware URLs that always include username and password parameters, even when no values are provided for the corresponding inputs. This results in empty (and therefore invalid) values for those parameters overriding valid ones that may be present in vmware-config.xml. We should omit those parameters from the URL unless values are provided for both inputs.

      Attachments

        Issue Links

          Activity

            People

              Mike Mike
              jeffg Jeff Gehlbach
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: