Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-649

CLI inconsistent handling of STRATOS_URL validation

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 4.1.0 RC3
    • Component/s: CLI
    • Labels:
      None

      Description

      If STRATOS_URL env var has not been found, CLI should output:

      Could not find required "STRATOS_URL" variable in your environment.
      

      If STRATOS_URL is the wrong format, CLI should output:

      The "STRATOS_URL" variable in your environment is not a valid URL. You have provided "https://localhost"
      Please provide the Stratos Controller URL as follows
      https://<host>:<port>
      

      Where the hostname provided by the user is output in the error message.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              snowch chris snow
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: