-
Notifications
You must be signed in to change notification settings - Fork 356
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
feat: Add endpoints for search actions #9990
feat: Add endpoints for search actions #9990
Conversation
master/internal/api_search.go
Outdated
@@ -169,3 +169,230 @@ func (a *apiServer) DeleteSearchTag( | |||
} | |||
return &res, nil | |||
} | |||
|
|||
func BulkFiltersSearchtToExperiment(filter *apiv2.BulkSearchFilters) *apiv1.BulkExperimentFilters { |
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.
Small typo here -- hopefully a tool can help rename it (F2 in VSCode, or find+replace would probably do it in this case)
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.
Fixed
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## feature/ET-684/run-centric-api #9990 +/- ##
===================================================================
- Coverage 54.54% 40.59% -13.95%
===================================================================
Files 1256 116 -1140
Lines 156852 9614 -147238
Branches 3601 0 -3601
===================================================================
- Hits 85551 3903 -81648
+ Misses 71168 5711 -65457
+ Partials 133 0 -133
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
looks good, needs tests though
return &res, nil | ||
} | ||
|
||
func (a *apiServer) DeleteSearches(ctx context.Context, req *apiv2.DeleteSearchesRequest, |
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.
tests?
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.
These endpoints are essentially wrappers around already tested endpoints. Added a test for the newly added bulk conversion filter function
41107a3
to
57b7c87
Compare
61540be
into
feature/ET-684/run-centric-api
Ticket
ET-706
ET-707
ET-708
ET-710
ET-711
ET-712
ET-713
ET-714
ET-715
ET-716
ET-717
ET-718
ET-719
ET-721
Description
Adding archive, unarchive, pause, resume, delete, kill with bulk action
Test Plan
Existing tests should pass
Checklist
docs/release-notes/
See Release Note for details.