Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Launch the aviso application in test mode. This allows to connect to a local file-based notification server, part of the aviso application, that is able to simulate the notification server behaviour.

    Code Block
    languagebash
    themeDJango
    user@local aviso listen --test

    The console should display a Test Mode message.

  2. Send a test notification. From another terminal run the notify command. Here an example, matching the example configuration presented above:

    Code Block
    languagebash
    themeDJango
    user@local aviso notify event=dissemination,class=od,date=20190810,destination=<user_destination>,domain=g,expver=1,step=1,stream=enfo,time=0,location=xxxx --test

    Note the list of parameters required, the order is not important, but the command requires all of them. The destination has to match the one of the listener configuration.

  3. After a few seconds, the console output should display the notification, as the trigger is set to echo.

...

Defining my listener

Aviso configuration file allows the definition of multiple listeners. Alternatively, the listeners configuration can be indicated as an independent file or multiple files:

...