Commit 1169d812 authored by WorkflowPlanning's avatar WorkflowPlanning Committed by GitHub

Add files via upload

Update the planner files of the hard-coded creation date
parent 1a8ec626
...@@ -113,7 +113,8 @@ def on_request(ch, method, props, body): ...@@ -113,7 +113,8 @@ def on_request(ch, method, props, body):
print res1 print res1
# generate the json files in the corresponding format as the # generate the json files in the corresponding format as the
outcontent = {} outcontent = {}
outcontent["creationDate"] = 1487002029722 current_milli_time = lambda: int(round(time.time() * 1000))
outcontent["creationDate"] = current_milli_time()
outcontent["parameters"] = [] outcontent["parameters"] = []
par1 = {} par1 = {}
par1["url"] = "null" par1["url"] = "null"
...@@ -135,4 +136,4 @@ channel.basic_qos(prefetch_count=1) ...@@ -135,4 +136,4 @@ channel.basic_qos(prefetch_count=1)
channel.basic_consume(on_request, queue='planner_queue') channel.basic_consume(on_request, queue='planner_queue')
print(" [x] Awaiting RPC requests") print(" [x] Awaiting RPC requests")
channel.start_consuming() channel.start_consuming()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment