aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
71 stars 42 forks source link

Boutiques integrator could provide internal descriptor for missing ones #1280

Closed prioux closed 1 year ago

prioux commented 1 year ago

Sometimes a production environment changes such that a JSON descriptor for Boutiques disappear (e.g. an old version of a tool). That causes a problem for existing tasks when users want to browse them (an internal exception is raised in fact).

The integrator framework could just provide a dummy replacement JSON that would show the parameters (pretending all of them to be string) and at least show them to the user, with a notice that this tool's version is now offline.

prioux commented 1 year ago

We should also prevent users from trying to launch a new task with the fake internal descriptor, somehow.

prioux commented 1 year ago

Implemented by https://github.com/aces/cbrain/commit/af638f35f79135a3bc47e2451284000c92f43ee6