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

RHOAIENG-3458: Introduce edge client and model registry client #234

Merged

Commits on Mar 22, 2024

  1. Make the root command not runnable

    Running odh command without any subcommands should show the
    help message and not execute any functionality. The listing
    of namespaces was only added as a test. Make the root
    command not runnable and remove the unecessary test.
    devguyio committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    fe90eca View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. Add model registry client

    Using the generated model registry REST client for the cli
    purposes can be quite tedious. The cli only requires a subset
    of the functionality.
    
    Add a client facade with the needed functionality only for
    listing models and creating a registered model, a model version
    and a model artifact.
    devguyio committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    8592030 View commit details
    Browse the repository at this point in the history
  2. Add an edge client encapsulating edge use case logic

    Using the model registry to implement the edge use case
    includes a lot of custom logic. Add an edge client abstraction
    that encapsulates such logic which can be used by the CLI
    directly. Start by adding listing and adding models.
    devguyio committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    39b9043 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2024

  1. Refactor the models command to use the edge client

    Using the introduced edge client, refactor the model command
    to simply use the edge client for listing and adding models.
    
    Also refactor the commands design to streamline the flags
    and commands initialization.
    devguyio committed Apr 16, 2024
    Configuration menu
    Copy the full SHA
    0e2569d View commit details
    Browse the repository at this point in the history