Since RSEProtocolsViewModel is not streamed, it can only return with success or error. i.e. Either we get all RSE Protocols for a given RSE or we get none ( in case of an error). The current view model represents the scenario where individual protocol objects would be streamed. However, that is not the case as the rucio server returns a list of dicts instead of streaming each dict object.
Description
Since RSEProtocolsViewModel is not streamed, it can only return with success or error. i.e. Either we get all RSE Protocols for a given RSE or we get none ( in case of an error). The current view model represents the scenario where individual protocol objects would be streamed. However, that is not the case as the rucio server returns a
list of dicts
instead of streaming eachdict
object.Motivation
No response
Change
The new proposal for the view model is:
Additional Information