X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=o2ims%2Fentrypoints%2Fredis_eventconsumer.py;fp=o2ims%2Fentrypoints%2Fredis_eventconsumer.py;h=15312bff2184fab777d10aaee3e4f5adf8f5fe37;hb=387ee50cfe8e97ba211464c311bb7b6eb9ee2961;hp=7ca87d22e83c8be55acd58dc6e43895cfac868fa;hpb=62f8863960ebd439c714b0ceed204731d9b31266;p=pti%2Fo2.git diff --git a/o2ims/entrypoints/redis_eventconsumer.py b/o2ims/entrypoints/redis_eventconsumer.py index 7ca87d2..15312bf 100644 --- a/o2ims/entrypoints/redis_eventconsumer.py +++ b/o2ims/entrypoints/redis_eventconsumer.py @@ -12,11 +12,11 @@ # See the License for the specific language governing permissions and # limitations under the License. -import json +# import json import redis from o2ims import bootstrap, config -from o2ims.domain import commands +# from o2ims.domain import commands from o2common.helper import o2logging logger = o2logging.get_logger(__name__) @@ -36,9 +36,9 @@ def main(): def handle_dms_changed(m, bus): logger.info("handling %s", m) - data = json.loads(m["data"]) - cmd = commands.UpdateDms(ref=data["dmsid"]) - bus.handle(cmd) + # data = json.loads(m["data"]) + # cmd = commands.UpdateDms(ref=data["dmsid"]) + # bus.handle(cmd) if __name__ == "__main__":