X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fengine.py;h=5763c38cb2d32026263ad294fa7843b1f2851103;hp=5137735d47367106976337fa75891649cd256b01;hb=225200decb92bdbbe5ef4839df7572511a88208a;hpb=e7e5fb42c85d0e5d39d202c4b4996e849f5d13e1;ds=sidebyside diff --git a/osm_nbi/engine.py b/osm_nbi/engine.py index 5137735..5763c38 100644 --- a/osm_nbi/engine.py +++ b/osm_nbi/engine.py @@ -149,7 +149,7 @@ class Engine(object): self.operations) else: self.map_topic[topic] = topic_class(self.db, self.fs, self.msg) - self.map_topic[topic] = topic_class(self.db, self.fs, self.msg) + self.map_topic["pm_jobs"] = PmJobsTopic(config["prometheus"].get("host"), config["prometheus"].get("port")) except (DbException, FsException, MsgException) as e: raise EngineException(str(e), http_code=e.http_code)