5 Commits

Author SHA1 Message Date
Kirill Izotov
df55840009 Made keystone authentication optional
You need to supply auth_url to authenticate using Keystone. Otherwise,
auth_token, user_id, project_id and mistral_url provided will be
directly transmitted to HTTPClient.

Also:
 * renamed input_auth_token as auth_token
 * optimized few checks
 * added checks to prevent header update when not needed
 * simplified API test setUp

Change-Id: I1b34282956d21a1809ec37b0368fbb68aa113bea
Implements: blueprint mistral-optional-keystone-authentication
2014-02-28 15:45:40 +07:00
Kirill Izotov
aca36f75b2 Add command-line interface
Added CLI for every API we currently have.

Also:
 * fixed url in WorkbookManager.update
 * fixed project_id reconstruction by keystone
 * added check for empty string of project_id and project_name
 * added cliutils and log modules from oslo-incubator

Change-Id: I4e46de73b8f6ec858a466232aea53692278d486a
Implements: blueprint mistral-client-cli
2014-02-28 10:26:32 +07:00
Renat Akhmerov
bbefdeb468 Add context parameter in execution creation
* Added parameter "context" when creating execution
* Added "context" validation (dict or json compatible string)
* Additional tests
* Added exceptions.py module with Mistral client exceptions
* Fixing typos

Change-Id: Id569d2f953efce9b86988c7f8c8f92cd0c97ef17
2014-02-17 19:16:13 +07:00
Renat Akhmerov
5dd0f21d03 Rename "target_task" to "task"
Change-Id: Id9e2cb3d99f33276d105ad5106c8f57f3b929a1c
2014-02-15 00:11:21 +07:00
Renat Akhmerov
6120373a1b Moving Mistral Client code from main Mistral repository
* Used revision baba497d9960d7cb127e1f627e789805272c8e84

Implements: blueprint move-python-client-to-the-separate-repository
Change-Id: Iaa5dfac742e93a882bf739f09ad83d5e83cabc67
2014-01-17 07:15:03 -08:00