docs: private void configureDeployment(final String url, final String account,
                                     final String port)
    {
      // default value
      TELEMETRY_SERVER_DEPLOYMENT deployment = TELEMETRY_SERVER_DEPLOYMENT.PROD;
      if (url != null)
      {
        if (url.contains("reg") || url.contains("local"))
        {
          deployment = TELEMETRY_SERVER_DEPLOYMENT.REG;
          if ((port != null && port.compareTo("8080") == 0)
              || url.contains("8080"))
          {
            deployment = TELEMETRY_SERVER_DEPLOYMENT.DEV;
          }
        }
        else if (url.contains("qa1") ||
                 (account != null && account.contains("qa1")))
        {
          deployment = TELEMETRY_SERVER_DEPLOYMENT.QA1;
        }
        else if (url.contains("preprod2"))
        {
          deployment = TELEMETRY_SERVER_DEPLOYMENT.PREPROD2;
        }
      }
      this.setDeployment(deployment);
    }