Refactor delpub-commands, Allow multiple channels 27/227/4
authorHeinonen Arvo <arvo.heinonen@nokia.com>
Wed, 15 May 2019 14:03:52 +0000 (17:03 +0300)
committerArvo Heinonen <arvo.heinonen@nokia.com>
Tue, 4 Jun 2019 13:29:17 +0000 (16:29 +0300)
commit473aa4ed7f319010a5a6f55669ebece78761b3f6
tree6ca3b0a74a903b04ce1137f3352e2cabe7e704a0
parent49c7ba8f2a3efd63e795c961d5310c7224a1be2f
Refactor delpub-commands, Allow multiple channels

Refactor the implementation of redis commands: DELPUB, DELIEPUB
and DELNEPUB to make more clear which parts of the old implementation
are specific to each command.

Allow multiple channels as parameter in the redis commands
DELIEPUB and DELNEPUB.

New syntaxes:
DELIEPUB key oldvalue channel message [ channel message .. ]
DELNEPUB key oldvalue channel message [ channel message .. ]

Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: I3dfb86ed4c8951bb395aff053b9c2bb898cfd0a4

Remove old delpub command implementation

After refactoring the old delpub command implementation in
'delPubStringGenericCommand' is no longer used. Remove it.

Signed-off-by: Arvo Heinonen <arvo.heinonen@nokia.com>
Change-Id: I77817744aea6c78226e8cab8aebbd401efe63c40
redismodule/README.md
redismodule/src/exstrings.c
redismodule/tst/mock/include/exstringsStub.h
redismodule/tst/src/exstrings_test.cpp