...
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 language bash theme DJango user@local aviso listen --test
The console should display a
Test Mode
message.Send a test notification. From another terminal run the
notify
command. Here an example, matching the example configuration presented above:Code Block language bash theme DJango 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 fields required for a
dissemination
event, the order is not important, but the command requires all of them. Thedestination
has to match the one of the listener configuration. For amars
event the fieldsdestination
andlocation
have to be removed.After a few seconds, the console output should display the notification, as the trigger is set to
echo
.
...