Better bucket name pending possible change to uuid for service primary

key.

Also small bugfix around file name and original file name
This commit is contained in:
Adam Shimali
2016-01-29 12:19:50 +00:00
parent 0dc6f7be1a
commit 5196436645
5 changed files with 22 additions and 17 deletions

View File

@@ -21,7 +21,7 @@ class JobApiClient(BaseAPIClient):
"service": service_id,
"template": template_id,
"original_file_name": file_name,
"bucket_name": "service-{}-notify".format(service_id),
"bucket_name": "service-{}-{}-notify".format(service_id, job_id),
"file_name": "{}.csv".format(job_id)
}