Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds ability to change api url via env var #621

Merged
merged 7 commits into from
Jun 5, 2024

Commits on Jun 4, 2024

  1. Adds ability to change api url via env var

    Adds the ability to change the OCM API URL based on the environment
    variable `OCM_URL` allowing a user to change the OCM context without
    changing global state on their machine.
    iamkirkbater committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    09177ca View commit details
    Browse the repository at this point in the history
  2. Migrates all cmds to use ConnectionBuilder

    These commands were missing the ConnectionBuilder abstraction and were
    still building the connection manually, so these were migrated so that
    they will work correctly.
    iamkirkbater committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    d8fda49 View commit details
    Browse the repository at this point in the history
  3. Adds warning message to ocm login command

    Adds an explicit warning message in the login command that the OCM_URL
    environment variable is explicitly NOT used for login.
    iamkirkbater committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    f066a44 View commit details
    Browse the repository at this point in the history
  4. Adds tech preview warning to override url

    Allows override URL but when running with the debug flag this will
    inform users that this functionality is tech preview and may have issues
    while we build and test this.
    
    This should allow SRE to be able to use this feature immediately
    following the next release while setting the expectation with customers
    who may find this that it may still have some unexpected quirks, and to
    fall back to supported methodology for using this tool.
    iamkirkbater committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    588a968 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2024

  1. Configuration menu
    Copy the full SHA
    1384cfd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    38b3046 View commit details
    Browse the repository at this point in the history
  3. fix lint

    iamkirkbater committed Jun 5, 2024
    Configuration menu
    Copy the full SHA
    0007927 View commit details
    Browse the repository at this point in the history