|
|
@ -245,6 +245,7 @@ def InitCollector():
|
|
|
|
r = []
|
|
|
|
r = []
|
|
|
|
manager={}
|
|
|
|
manager={}
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
|
|
|
|
|
|
|
|
key = request.headers['key']
|
|
|
|
key = request.headers['key']
|
|
|
|
node= request.headers['id']
|
|
|
|
node= request.headers['id']
|
|
|
|
#scope=request.headers['scope'] if 'scope' in request.headers else {}
|
|
|
|
#scope=request.headers['scope'] if 'scope' in request.headers else {}
|
|
|
@ -268,8 +269,10 @@ def InitCollector():
|
|
|
|
|
|
|
|
|
|
|
|
lagents.append(agent)
|
|
|
|
lagents.append(agent)
|
|
|
|
if id in a :
|
|
|
|
if id in a :
|
|
|
|
actor = eval(a[id]+"()")
|
|
|
|
#-- This variable should not be confused with defined namespace
|
|
|
|
lactors.append(actor)
|
|
|
|
|
|
|
|
|
|
|
|
_actor = eval(a[id]+"()")
|
|
|
|
|
|
|
|
lactors.append(_actor)
|
|
|
|
|
|
|
|
|
|
|
|
config = dict(CONFIG)
|
|
|
|
config = dict(CONFIG)
|
|
|
|
#
|
|
|
|
#
|
|
|
@ -512,3 +515,4 @@ if __name__== '__main__':
|
|
|
|
SYS_ARGS.PARAMS['port'] = 8484
|
|
|
|
SYS_ARGS.PARAMS['port'] = 8484
|
|
|
|
PORT = int(SYS_ARGS.PARAMS['port'])
|
|
|
|
PORT = int(SYS_ARGS.PARAMS['port'])
|
|
|
|
app.run(host='0.0.0.0' ,port=PORT,debug=True,threaded=True)
|
|
|
|
app.run(host='0.0.0.0' ,port=PORT,debug=True,threaded=True)
|
|
|
|
|
|
|
|
|
|
|
|