You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Rucio Server now provides a new endpoint, GET /dids/{scope}/dids/list, which returns a stream of NDJSON objects representing fully populated DIDs. Currently, the ListDID feature in the Rucio WebUI leverages a post processing pipeline that requires multiple calls (one initial stream followed by individual GET DID calls) to gather complete details.
Objectives
Create a New Gateway Endpoint
Implement a new Gateway endpoint in the WebUI that calls the Rucio Server’s new endpoint (GET /dids/{scope}/dids/list).
Update the ListDID Use Case
Convert the existing ListDID use case from a BaseSingleEndpointPostProcessingPipelineStreamingUseCase to a BaseSingleEndpointStreamingUseCase so that it makes a single call to the server.
Ensure Frontend Integration
Update the WebUI component that displays DID details to utilize the new single-call approach.
Testing and Validation
Add or update tests to verify that
The new Gateway endpoint correctly interfaces with the backend.
The updated ListDID use case processes and displays data as expected.
The overall performance improves by reducing the number of API calls.
Evaluation Criteria
A new Gateway endpoint in the WebUI calls the new Rucio Server endpoint.
The ListDID use case is refactored to use BaseSingleEndpointStreamingUseCase.
The WebUI correctly displays fully populated DID data using the new single call.
Appropriate tests are in place, and all tests pass.
The code adheres to the project's contribution guidelines.
The issue is referenced and assigned to the corresponding Pull Request.
Hi, I'd like to work on this issue as a GSoC 2025 candidate. Could you please assign this task to me? Thanks!
Hi @ahmedbilal008, please reach out to Martin and I over email and I can share a detailed set of instructions with you :) The emails are listed in the Mentor section of the GSoC Project Description
@maany Instead of using this new endpoint GET /dids/{scope}/dids/list , we can also use GET /dids/{scope}/dids/search endpoint which is currently being used and just make the name parameter optional in the frontend and backend like shown in image.
This approach improves application performance by initially retrieving only the names of the DIDs in a single request. Users can then fetch detailed information for a specific DID on demand by clicking on it, reducing unnecessary data transfer and improving responsiveness. What are your thoughts?
Description
The Rucio Server now provides a new endpoint,
GET /dids/{scope}/dids/list
, which returns a stream of NDJSON objects representing fully populated DIDs. Currently, the ListDID feature in the Rucio WebUI leverages a post processing pipeline that requires multiple calls (one initial stream followed by individual GET DID calls) to gather complete details.Objectives
Create a New Gateway Endpoint
Implement a new Gateway endpoint in the WebUI that calls the Rucio Server’s new endpoint (
GET /dids/{scope}/dids/list
).Update the ListDID Use Case
Convert the existing ListDID use case from a
BaseSingleEndpointPostProcessingPipelineStreamingUseCase
to aBaseSingleEndpointStreamingUseCase
so that it makes a single call to the server.Ensure Frontend Integration
Update the WebUI component that displays DID details to utilize the new single-call approach.
Testing and Validation
Add or update tests to verify that
Evaluation Criteria
BaseSingleEndpointStreamingUseCase
.Useful Resources
https://rucio.github.io/documentation/developer/webui/webui_frontend_vscode_dev_env
The text was updated successfully, but these errors were encountered: