-
Notifications
You must be signed in to change notification settings - Fork 59
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
OSD-12531: Replacing GetScripts with new GetScriptsByCluster API calls #149
OSD-12531: Replacing GetScripts with new GetScriptsByCluster API calls #149
Conversation
@thavlice: This pull request references OSD-12531 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@thavlice can you create a follow-up Jira to phase out the old /backplane/scripts
verb once this change has been adapted?
@bmeng can you take a look here? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: samanthajayasinghe, supreeth7, thavlice The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #149 +/- ##
==========================================
+ Coverage 48.86% 51.00% +2.13%
==========================================
Files 51 51
Lines 3266 3476 +210
==========================================
+ Hits 1596 1773 +177
- Misses 1397 1411 +14
- Partials 273 292 +19
|
@thavlice: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
What type of PR is this?
Feature (changing command to use new API)
What this PR does / Why we need it?
Changing API calls to use GetScriptsByCluster instead of GetScripts due to a bug for two comannds:
The API call semantic is the same but with added
clusterId
in the API call.Furthermore, clusterKey to clusterId transformation and loading from config file added.
Provided unit tests modified in accordance with the new behavior.
Which Jira/Github issue(s) does this PR fix?
Resolves OSD-12531
Special notes for your reviewer
Tests were modified as the expected behavior changed.
Pre-checks (if applicable)