From 526e39f78d62dff680fe4ef89cfa53f046066df0 Mon Sep 17 00:00:00 2001 From: Nikolay Mahotkin Date: Mon, 30 Sep 2013 15:34:01 +0400 Subject: [PATCH] Get job configs call for sync dashboard Change-Id: Ib646da8a16360ce7d6a0caf4b7d515bd01968ea8 --- AUTHORS | 1 + savannaclient/api/jobs.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/AUTHORS b/AUTHORS index 635e0e42..78592a6b 100644 --- a/AUTHORS +++ b/AUTHORS @@ -1,5 +1,6 @@ Alexander Kuznetsov Nikita Konovalov +Nikolay Mahotkin Renat Akhmerov Sergey Galkin Sergey Lukjanov diff --git a/savannaclient/api/jobs.py b/savannaclient/api/jobs.py index 1b5d8ad1..d2303158 100644 --- a/savannaclient/api/jobs.py +++ b/savannaclient/api/jobs.py @@ -40,5 +40,8 @@ class JobsManager(base.ResourceManager): def get(self, job_id): return self._get('/jobs/%s' % job_id, 'job') + def get_configs(self, job_type): + return self._get('/jobs/config-hints/%s' % job_type) + def delete(self, job_id): self._delete('/jobs/%s' % job_id)