rucio / webui

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

change RSEProtocolsViewModel to contain a protocols field #342

Closed maany closed 11 months ago

maany commented 11 months ago

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 each dict object.

Motivation

No response

Change

The new proposal for the view model is:

interface RSEProtocolsViewModel extends BaseViewModel {
  protocols: RSEProtocols
}

Additional Information