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

Add new APIs for recommendations summary at Clusters and Namespaces level #893

Closed
wants to merge 23 commits into from

Commits on Jul 14, 2023

  1. add listClusters API

    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    2380d56 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. add summarize API(in-progress), add corr. API object, add common meth…

    …od in listRecomm API to fetch data in summarizeAPI, add converter method for summarizeAPI and other relevant changes
    
    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    e7c13f2 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/mvp_demo' into add_cluster_apis

    # Conflicts:
    #	src/main/java/com/autotune/analyzer/serviceObjects/Converters.java
    khansaad committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    3f13a2b View commit details
    Browse the repository at this point in the history
  3. fix NPE, add variation logic

    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    07737af View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. update logic to sum up the recommendations data, notifications-summar…

    …y and namespaces
    
    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    bc17b4b View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. add workloads class, validation for wrong params, refactoring, etc

    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    1d2d8ed View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Configuration menu
    Copy the full SHA
    bdb91c2 View commit details
    Browse the repository at this point in the history
  2. update logic to fix the json response issue, temporarily fetching all…

    … recomm and filtering data locally
    
    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 7, 2023
    Configuration menu
    Copy the full SHA
    4e8d755 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. update DB query to fetch data from the DB, fix duplicate records with…

    … same cluster name issue and other minor changes
    
    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    6aea0d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2023

  1. Merge remote-tracking branch 'upstream/mvp_demo' into add_cluster_apis

    # Conflicts:
    #	src/main/java/com/autotune/database/dao/ExperimentDAO.java
    #	src/main/java/com/autotune/database/dao/ExperimentDAOImpl.java
    #	src/main/java/com/autotune/database/helper/DBConstants.java
    khansaad committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    bd8561e View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2023

  1. updated logic to improve DB response time

    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    0e440c2 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/mvp_demo' into add_cluster_apis

    # Conflicts:
    #	src/main/java/com/autotune/database/dao/ExperimentDAO.java
    #	src/main/java/com/autotune/database/dao/ExperimentDAOImpl.java
    #	src/main/java/com/autotune/database/helper/DBConstants.java
    #	src/main/java/com/autotune/database/service/ExperimentDBService.java
    khansaad committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    3c50de6 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. handle case when current config is missing, add more try-catch blocks

    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    44152c5 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. add ActionSummary object to classify the workloads, add 'fetchFromDB'…

    … flag to force pull from the DB when required
    
    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    912046c View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2023

  1. Merge remote-tracking branch 'upstream/mvp_demo' into add_cluster_apis

    # Conflicts:
    #	src/main/java/com/autotune/database/dao/ExperimentDAOImpl.java
    #	src/main/java/com/autotune/database/helper/DBConstants.java
    khansaad committed Aug 17, 2023
    Configuration menu
    Copy the full SHA
    7b6e852 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2023

  1. Merge remote-tracking branch 'upstream/mvp_demo' into add_cluster_apis

    # Conflicts:
    #	src/main/java/com/autotune/analyzer/services/ListRecommendations.java
    khansaad committed Aug 23, 2023
    Configuration menu
    Copy the full SHA
    9d5faad View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. fix issues with variation and total DB count, API objects names. Adde…

    …d new error and info category for action summary
    
    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    66618a7 View commit details
    Browse the repository at this point in the history
  2. fix issues reported in testing related to caching and JSON structure

    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 28, 2023
    Configuration menu
    Copy the full SHA
    82ddd0c View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. add missed javadocs for new classes and methods and other changes as …

    …per the review
    
    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    1f1f8d0 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2023

  1. minor update to change info object name

    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Aug 30, 2023
    Configuration menu
    Copy the full SHA
    6a68292 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Merge remote-tracking branch 'upstream/mvp_demo' into add_cluster_apis

    # Conflicts:
    #	src/main/java/com/autotune/utils/KruizeConstants.java
    khansaad committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    33bcb0e View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. Merge remote-tracking branch 'upstream/mvp_demo' into add_cluster_apis

    # Conflicts:
    #	src/main/java/com/autotune/database/dao/ExperimentDAOImpl.java
    #	src/main/java/com/autotune/database/helper/DBConstants.java
    #	src/main/java/com/autotune/utils/KruizeConstants.java
    khansaad committed Sep 26, 2023
    Configuration menu
    Copy the full SHA
    62f5071 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. changes made wrt the new listRecommendation API and minor refactoring

    Signed-off-by: saakhan <saakhan@redhat.com>
    khansaad committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    b189df5 View commit details
    Browse the repository at this point in the history