Uploaded image for project: 'mod-pubsub'
  1. mod-pubsub
  2. MODPUBSUB-129

Create script that would delete module subscriptions with "_" in their names

    XMLWordPrintable

Details

    • Folijet Sprint 101
    • 2
    • Folijet
    • Q2 2020 Hot Fix #5
    • High

    Description

      Some old versions of modules (mod-inventory v14.x.x, for example) were registered in mod-pubsub with "_" in their names instead of "-". As s result, when new modules were registering (with correct name format), the old subscriptions were not cleared out from the db. Pubsub treats those subscriptions as separate ones, which causes multiple delivery of the same event to the same callback address.

      • Create script that would delete old irrelevant subscriptions (with "_" in their names) from the db
      • Go through all modules that interact with pubsub and make sure that they use PubsubClientUtils.constructModuleName() method when register in pubsub

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                VRohach Volodymyr Rohach
                Kateryna Senchenko Kateryna Senchenko
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases