Actions
action #120336
openImprove scalability of assets listing (API route) size:M
Start date:
2022-11-11
Due date:
% Done:
0%
Estimated time:
Description
Observation¶
The test queries openQA for the existing assets, using the command
openqa-client --host https://openqa.opensuse.org assets get | sed -n 's/^.*name.*Tumbleweed-NET-x86_64-Snapshot\\([0-9]\\+\\)-Media.*\$/\\1/p'
can't easily list all assets because the filtering happens client-side. A way to filter server-side would be more efficient and avoid running into limits.
Acceptance criteria¶
- AC1: The asset listing can be filtered via a parameter (e.g. allowing regex)
- AC2: The test scenario https://openqa.opensuse.org/tests/latest?arch=x86_64&distri=opensuse&flavor=DVD&machine=64bit&test=openqa_bootstrap&version=Tumbleweed uses the improved route
Suggestions¶
- Provide a filter option in the existing API
- Adjust the use of the openqa-client (better use openqa-cli instead)
Updated by livdywan about 2 years ago
- Copied from action #120315: openqa-client does not get complete asset list size:S added
Actions