commit | db7753971931247abf7fed67921074e518ec1f6d | [log] [tgz] |
---|---|---|
author | Timo Tietavainen <timo.tietavainen@nokia.com> | Wed Jun 09 05:56:54 2021 +0300 |
committer | Timo Tietavainen <timo.tietavainen@nokia.com> | Wed Jun 09 06:51:54 2021 +0300 |
tree | a12a0ebef8b0d9113abf057b1e7858407d3cf3bd | |
parent | 8bc881b5681e485add12dbffd5c7ea3f37a04d4f [diff] |
Pack notifications to be compatible with SDL golang In SDL Golang 'publish' API implementation packs all the events to single DB notification, where events are separated by '___' characters. In SDL Golang subscriber receives this packed DB notification and it splits the DB notification by '___' characters and calls application notification handler callback function with list of received events. Current implementation of SDL Python is however different, is does not do any packing for events and hence it calls application notification callback many times, once for each event it has received. Also if SDL Python application is used as event subscriber and SDL Golang application as event published, Python application won't be able to handle those notifications what are packed to one db notification by SDL Golang application. With this commit implement notification packing to SDL Python. Issue-ID: RIC-795 Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com> Change-Id: Ie494430cf46756ea476b98343a8c651a2fa1dbcd
Please see the README.md in ricsdl-package
directory.