rucio / webui

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

Split list-rses feature into list-all-rses and list-rses #351

Closed maany closed 11 months ago

maany commented 11 months ago

Description

Currently, we envisioned list-rses feature to return all rses (entity RSE) if no rseExpression was provided and provide a subset of RSE entities if an rseExpression was provided..

This is however difficult to do because the Rucio Server's /rses endpoint returns different data structures depending on whether rseExpression filter was provided or not. https://github.com/rucio/rucio/issues/6335

Since the API layer cannot provide consistent view models, we should split the list-rses feature into two features.

  1. list-all-rses: returns a list of all RSEs by querying /rses
  2. list-rses: returns a subset of RSEs filtered by an rseExpression

The former will be a SingleEndpointStreamingUseCase, while the latter will be a SingleEndpointPostProcessingPipelineStreamingUseCase where the post processing pipeline will enrich the responseModel with details like deterministic, staging_area, volatile etc.

Motivation

No response

Change

No response

Additional Information