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

SDK and CLI for CrateDB Cloud Cluster APIs #81

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

Commits on Jul 5, 2024

  1. Cloud API: Add wrapper around croud clusters deploy

    It is just a rough sketch, which barely works.
    amotl committed Jul 5, 2024
    Configuration menu
    Copy the full SHA
    82d4659 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2024

  1. Cloud API: Naming things, improved UX, more OO

    - Naming things: Use more appropriate names for variables.
    - OO: Add `EnvironmentConfiguration`, to manage information about the
      toolkit environment.
    - OO: Add `CloudJob` entity, to manage information about a cloud job,
      and to streamline passing of information.
    - OO: Refactor low-level methods to `CloudCluster`.
    - Capability to configure error handling based on the environment.
    - Capability to conveniently acquire configuration settings from the
      environment, for obtaining the CrateDB Cluster identifier or name.
    - Tests: Add `DockerSkippingContainer` and `PytestTestcontainerAdapter`.
      Both skip test execution when the Docker daemon is not running, or not
      available to the environment.
    - Examples: Improve UX of `cloud_*.py` example programs.
    amotl committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    feeffcb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d23652 View commit details
    Browse the repository at this point in the history
  3. Cloud API: Add ManagedCluster.get_client_bundle method

    It can be used to acquire corresponding client handles (adapter, dbapi,
    sqlalchemy), in order to communicate with the database.
    amotl committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    a697794 View commit details
    Browse the repository at this point in the history
  4. Chore: Satisfy linter

    amotl committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    1babc74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bdafdba View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b2e96b3 View commit details
    Browse the repository at this point in the history
  7. Cloud API: Use environment variable CRATEDB_CLOUD_ORGANIZATION_ID

    When not logged in using `croud login`, the "create project" operation
    needs an organization identifier.
    amotl committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    c7323d0 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7a7d99f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    072528f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6b4a34e View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5ac8436 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7598e07 View commit details
    Browse the repository at this point in the history
  13. Cloud API: Update changelog

    amotl committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    34f2291 View commit details
    Browse the repository at this point in the history
  14. Cloud API: Improve testing

    amotl committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    0eabc99 View commit details
    Browse the repository at this point in the history