subtask. of epic T327817
Description
Details
Project | Branch | Lines +/- | Subject | |
---|---|---|---|---|
generated-data-platform/aqs/edit-analytics | main | +1 K -15 | Tests and minify |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Stalled | None | T324931 Clean up open RESTBase related tickets | |||
In Progress | None | T262315 <CORE TECHNOLOGY> API Migration & RESTbase Sunset | |||
In Progress | DAbad | T263489 AQS 2.0 | |||
Open | None | T327817 Edit Analytics Service | |||
Open | EChukwukere-WMF | T336394 AQS 2.0: Edit Analytics: Implement integration tests |
Event Timeline
Change 958461 had a related patch set uploaded (by Sg912; author: Sg912):
[generated-data-platform/aqs/edit-analytics@main] Tests and minify
Just a warning for our future selfs about these integration test cases and some improvements we added to the common Druid code that are no present here yet. Real support for 'all-projects' and 'all-wikipedia-projects' keywords was added there but we still need to refactor this service to take advantage of it. Because of that, at the time of writing this, that is not really working because these keywords are validated as a regular project value and no data is found.
So, until refactoring is done, we can consider some tests values as fine but we will have to keep in mind that some of them will change after refactoring using the common Druid code. We will have to keep specially in mind all tests cases that use those keywords. Maybe we should keep this ticket open to be revisited after refactoring.
Another issue should be considered after refactoring. The one about 404 vs 200 with zero values when no data is found regarding the project. There are no consistency between this services and the rest of them and recently we discussed about keeping the 404 Not Found error when no data is found for that reason. Some endpoints at this moment respond with a 200 and zero values and some others with a 404 Not Found error.
Change 958461 merged by Sg912:
[generated-data-platform/aqs/edit-analytics@main] Tests and minify