rucio / webui

RucioWebUI (v2.0)
Apache License 2.0
4 stars 15 forks source link

list-dids with query *:* will fail #355

Open maany opened 1 year ago

maany commented 1 year ago

Description

If a request is made to the /api/feature/list-dids?query=*.*&type=whatever, the webui cannot retrieve the DID information.

This is because rucio returns only DID Names when queries are made to /dids/test/dids/search endpoint without the scope.

For the post processing pipelines ( that will retrieve information about a DID), we do not have a valid scope to provide.

We should return a valid error from the WebUI called Could not infer scope for the time being

An issue should be opened in rucio/rucio to fix this error.

Steps to reproduce

No response

Rucio WebUI Version

No response

Additional Information

No response

MytsV commented 3 months ago

As crutches, the gateway could make a request to scopes/[account]/scopes first and then call /dids/[scope]/dids/search for each of them

maany commented 3 months ago

This should a rucio server side functionality. We can port it into the WebUI once https://github.com/rucio/rucio/issues/6070 is done