oda-hub / dispatcher-app

Other
2 stars 2 forks source link
dispatcher

ODA Dispatcher

codecov

A flexible python framework to bridge front-end and data-server for scientific online analysis of astrophysical data:

this repository also contains much of relevant documentations to gluing these levels together

What's the license?

dispatcher-app is distributed under the terms of The MIT License.

Who's responsible?

Andrea Tramacere, Volodymyr Savchenko

Astronomy Department of the University of Geneva, Chemin d'Ecogia 16, CH-1290 Versoix, Switzerland

Jobs updates with messages on matrix

It is possible to receive update messages regarding the status of the jobs submitted on the mmoda platform. An emailing system is already provided out-of-the-box, provided that a token is used (this contains the user email address to which the updates will be sent, along with a number of other configurations, more details can be found here).

The platform now supports also the sending of messages via the Matrix platform, and a dedicated messaging bot (@mmoda-bot) is available for sending jobs updates.

All communication over Matrix happens within a room: for this reason, in order to receive jobs updates, one must be configured.

//: # ()

Obviously, an account on the matrix platform is necessary. In addition, a number of configuration steps are necessary, either on the token as well as on the matrix user account.

For the purpose of this documentation, the matrix client element will be used (https://element.io/).

Matrix account configuration

Configuration of a shared room

Within the element client:

Once a job is started, and the previous steps have been followed, the @mmoda-bot will send updates regarding the state of the job.

An example of a message can be seen the image below:

img.png

Token specific configuration

Within the token, some configuration are user-specific (and mandatory), whereas others are optional, and if not provided, a set of default values will be available within the dispatcher configuration:

For more detailed information regarding the other options, a dedicated section is available here.