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.

        Activity

        Hide
        snowch chris snow added a comment -

        I'll be pushing the commit shortly (I'm having trouble resetting the password on my apache account).

        Show
        snowch chris snow added a comment - I'll be pushing the commit shortly (I'm having trouble resetting the password on my apache account).
        Hide
        snowch chris snow added a comment -

        My apache account is still locked out, so uploading patch.

        Show
        snowch chris snow added a comment - My apache account is still locked out, so uploading patch.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development