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

control-service: Add GraphQL read from DB #2837

Merged
merged 6 commits into from
Oct 27, 2023

Commits on Oct 27, 2023

  1. control-service: Update graphql service to read from DB

    TODO
    
    Signed-off-by: Andon Andonov <andonova@vmware.com>
    doks5 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    5660a4a View commit details
    Browse the repository at this point in the history
  2. control-service: Add GraphQL read from DB

    Currently, when using the GraphQL API, the data job deployment data is read from the kubernetes
    cronjobs. This works fine in general, but it also means that the kubernetes resources become the
    single point of truth, which is not ideal.
    
    As part of VEP-2272, the deployment information is moved to the DB, which improves speed and
    reliability. This means that we need a way to read data from the DB, instead of the kubernetes.
    
    This change adds support for reading deployment data from the database when using the GrapgQL
    API. The option to read from the k8s remains.
    
    Testing Done: Added test.
    
    Signed-off-by: Andon Andonov <andonova@vmware.com>
    doks5 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    1145f6f View commit details
    Browse the repository at this point in the history
  3. Google Java Format

    github-actions authored and doks5 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    952fe01 View commit details
    Browse the repository at this point in the history
  4. Google Java Format

    github-actions authored and doks5 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b06048b View commit details
    Browse the repository at this point in the history
  5. Google Java Format

    github-actions authored and doks5 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    b881ad0 View commit details
    Browse the repository at this point in the history
  6. Google Java Format

    github-actions authored and doks5 committed Oct 27, 2023
    Configuration menu
    Copy the full SHA
    2e365d1 View commit details
    Browse the repository at this point in the history