projects
/
osm
/
MON.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "[MON] Fixes notifier bug during alarm triggering"
[osm/MON.git]
/
osm_mon
/
plugins
/
vRealiseOps
/
vROPs_Webservice
/
vrops_webservice
diff --git
a/osm_mon/plugins/vRealiseOps/vROPs_Webservice/vrops_webservice
b/osm_mon/plugins/vRealiseOps/vROPs_Webservice/vrops_webservice
index
50b4928
..
3f112eb
100755
(executable)
--- a/
osm_mon/plugins/vRealiseOps/vROPs_Webservice/vrops_webservice
+++ b/
osm_mon/plugins/vRealiseOps/vROPs_Webservice/vrops_webservice
@@
-41,8
+41,8
@@
import os
import json
import sys
import requests
import json
import sys
import requests
-sys.path.append(
"../../../core/message_bus"
)
-from producer import KafkaProducer
+sys.path.append(
os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', '..', '..','..')
)
+from
osm_mon.core.message_bus.
producer import KafkaProducer
#from core.message_bus.producer import KafkaProducer
try:
#from core.message_bus.producer import KafkaProducer
try: