summaryrefslogtreecommitdiff
path: root/saharaclient/api
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Making parameters of job binaries create optional"Jenkins2015-10-211-6/+4
|\
| * Making parameters of job binaries create optionalAndrey Pavlov2015-10-211-6/+4
| | | | | | | | | | | | | | | | | | 'description' and 'extra' parameters of job binaries create method should not be required. This change doesn't break backward compatibility. Change-Id: I11c4933961482c87508615c2f7fb58db8456efed Closes-bug: #1508406
* | Merge "Making parameters of job executions create optional"Jenkins2015-10-211-16/+5
|\ \
| * | Making parameters of job executions create optionalAndrey Pavlov2015-10-201-16/+5
| |/ | | | | | | | | | | | | | | | | input_id, output_id, configs parameters of job execution create method should not be required. This change doesn't break backward compatibility. Change-Id: I01fb2406264c671aa15351df834814d32d3275a6 Closes-bug: #1507966
* | Making parameters of job create optionalAndrey Pavlov2015-10-201-8/+6
|/ | | | | | | | | mains, libs and description parameters of job create method should not be required. This change doesn't break backward compatibility. Change-Id: I9c90f86ea70217fe5e404e097cd6f9ec6a32fe58 Closes-bug: #1506448
* Fixed problem with tags updateAndrey Pavlov2015-09-301-7/+9
| | | | | | | | Now tags can be added and removed simultaneously in one call Change-Id: I7709c408e78cf08f220f9e0eae9e8359eb5ed284 Closes-bug: #1500790
* Merge "Added volume_mount_prefix for node group templates"Jenkins2015-09-291-3/+8
|\
| * Added volume_mount_prefix for node group templatesAndrey Pavlov2015-09-281-3/+8
| | | | | | | | | | | | | | | | Added ability to create and update node group template with volume_mount_prefix parameter Change-Id: I6e0bcdc21af2101ac9cff4a627149688f149b387 Closes-bug: #1499697
* | Merge "Adding return of updated image for update_image, update_tags"Jenkins2015-09-282-13/+24
|\ \ | |/ |/|
| * Adding return of updated image for update_image, update_tagsAndrey Pavlov2015-09-242-13/+24
| | | | | | | | | | | | | | | | | | | | update_image and update_tags don't return updated images that requires to make extra "get" call. This change will not break backward compatibility because the only change is replacement of None value with Image object. Change-Id: Ifd9ddabdf03f5e8f9342faab8f349777512a0eb6 Closes-bug: #1493325
* | Fixing cluster and node group template updatesAndrey Pavlov2015-09-252-69/+54
|/ | | | | | | | | | | | | | Changes: * volume(s)_* fields now can be updated without updating volumes_per_node field * ngt now can be updated without node_processes field * arguments of update methods (except of id) changed to optional Change-Id: I3549cb98f1c15d303cdc13bbd3875a85b43f29b8 Closes-bug: #1499730 Closes-bug: #1499732
* Merge "Adding missed public/protected support for jobs creation"Jenkins2015-09-241-3/+4
|\
| * Adding missed public/protected support for jobs creationAndrey Pavlov2015-09-081-3/+4
| | | | | | | | | | | | Closes-bug: #1493241 Change-Id: I2ad8044b4a8592b4624ee16381dfec21b95765f3
* | Shows reason of failure in base.gethenriquetruta2015-09-211-2/+2
|/ | | | | | | | base.get showed only a generic message, hiding the real problem that happened. Change-Id: I44b60f8e5bfb059a426def6e89502d7fb02bae6f Closes-Bug: #1498105
* Support updates and ACL for objectsSergey Lukjanov2015-08-289-17/+95
| | | | | | | | | | | | | | | | | | | It implements PATCH updates for clients, updates support for all objects and is_public/is_protected support. It's a combination of parts of the follwing patches (squashed to make review and merge gating easier and faster): I3abc57b43d825d69129f9c0b2058d1e2a004c832 I0d1d892ce11c9a3b46c8583ed58f9131a0f915a3 Co-Authored-By: luhuichun <huichun.lu@intel.com> Co-Authored-By: Andrey Pavlov <apavlov@mirantis.com> Co-Authored-By: Vitaly Gridnev <vgridnev@mirantis.com> Change-Id: I5a0156b7effc59ef3d183b0caacb6980c27f425c Partially-Implements: blueprint api-for-objects-update Partially-Implements: blueprint shared-protected-resources
* Merge "Fixing query string for multiple opts"Jenkins2015-08-281-1/+1
|\
| * Fixing query string for multiple optsAndrey Pavlov2015-08-211-1/+1
| | | | | | | | | | Change-Id: I0116b4adb0dcd74a41cda8a1de706c499fc8f8fb Closes-bug: #1487441
* | Improve help stringsAndreas Jaeger2015-08-251-7/+7
| | | | | | | | | | | | | | | | | | * For consistency, add "." at end of each help string. * Capitalize ID. * Use active voice. Closes-Bug: #1488533 Change-Id: I58a444396ddc925576c9f16c64fecbf2e95850d2
* | Fix backward compat issue for job interfaces0.10.1Sergey Lukjanov2015-08-192-2/+7
|/ | | | | | Closes-bug: #1486469 Change-Id: Ib7a930cfd1757c3b8cfd3c89a75856c25e7dcdda
* API to mount manila shares to clustersEthan Gafford2015-08-073-15/+24
| | | | | | | | | | | | Manually mounting shares to every node in a large cluster would be a tedious and error-prone process. Auto-mounting shares that are requested for use in either the data source or binary storage case might be feasible for some use cases. However, outside of our (optional) EDP interface this functionality would never be usable. As such, it is best to provide the user an API for mounting of shares onto Sahara clusters. Change-Id: Ib897d3fefaea146150963e25fbaaec80e197ca36 Implements: blueprint mount-share-api
* Merge "Add support of use_autoconfig field"Jenkins2015-08-073-14/+21
|\
| * Add support of use_autoconfig fieldVitaly Gridnev2015-08-043-14/+21
| | | | | | | | | | | | | | | | This change will allow switch off autoconfiguration, when it's needed. Partial-Implements blueprint: recommend-configuration Change-Id: Iaf546262a68b74d9463c476097f0d5596cc38f96
* | Merge "Add to_dict() method to Resource class"Jenkins2015-08-071-0/+4
|\ \ | |/ |/|
| * Add to_dict() method to Resource classTetiana Lashchova2015-07-301-0/+4
| | | | | | | | | | | | | | * It is needed to get full info about resource Change-Id: I5d27d5524788ce8c3ae9f4a6ddb17430362cb943 Closes-Bug: #1479003
* | Merge "Add cluster-scale command to the CLI"Jenkins2015-07-301-1/+17
|\ \
| * | Add cluster-scale command to the CLILi, Chen2015-07-231-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | Cluster scaling is supported in the API but is not exposed in the client shell. It should be added. Change-Id: I319b75f628c48b8d4ecee9ca05b7dd54d15296df Closes-bug: 1446370
* | | Merge "Sorting 'job-list' output by start_time"Jenkins2015-07-281-1/+1
|\ \ \
| * | | Sorting 'job-list' output by start_timehenriquetruta2015-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is much more user friendly to see the job executions sorted by start_time, so the user will be able to see his last execution in an easier way. Closes-Bug 1470525 Change-Id: Ieed8dafd6122ef00ae2fd1ba48a8571cd10a6cbf
* | | | Merge "Allow multiple clusters creation"Jenkins2015-07-242-2/+17
|\ \ \ \ | |_|/ / |/| | |
| * | | Allow multiple clusters creationTelles Nobrega2015-07-072-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch allows the user to use the client to create multiple clusters Change-Id: I3b48d6ede758e86e8cbc5bbccc069c4c24b53a44 Partially-implements: bp simultaneously-creating-multiple-clusters
* | | | Merge "Fix _get_by_id_or_name method"Jenkins2015-07-211-2/+2
|\ \ \ \
| * | | | Fix _get_by_id_or_name methodTetiana Lashchova2015-07-201-2/+2
| | |_|/ | |/| | | | | | | | | | | | | | Closes-Bug: #1476309 Change-Id: I8f14aba401004a5b126652c006de79bc5e3e6591
* | | | Merge "Adding interface argument for job template and job"Jenkins2015-07-203-16/+49
|\ \ \ \
| * | | | Adding interface argument for job template and jobEthan Gafford2015-07-203-16/+49
| | |/ / | |/| | | | | | | | | | | | | | | | | | Partially implements: blueprint unified-job-interface-map Change-Id: Ie61ae1799458056fff7390895bc929efb5a53381
* | | | Merge "Adding job binary editing to library and CLI"Jenkins2015-07-202-0/+25
|\ \ \ \ | |_|/ / |/| | |
| * | | Adding job binary editing to library and CLIChad Roberts2015-06-112-0/+25
| |/ / | | | | | | | | | | | | | | | | | | | | | Adding the ability to edit job binaries into the client library as well as the CLI. Change-Id: I5c3fc1dac61316a85bda9ae2710ec1255176deb0 Partial-Implements: bp edp-edit-job-binaries
* | | Merge "Adding data source editing to library and CLI"Jenkins2015-07-172-0/+22
|\ \ \ | |_|/ |/| |
| * | Adding data source editing to library and CLIChad Roberts2015-06-102-0/+22
| |/ | | | | | | | | | | | | | | Adding the ability to edit data sources into the client library as well as the CLI. Change-Id: I6fba265e60bef6bba4c9a8dfea62603c09b28acb Partial-Implements: bp edp-edit-data-sources
* | Including 'start_time' column at 'sahara job-list' commandhenriquetruta2015-07-011-1/+1
|/ | | | | | | | | This patch adds the 'start_time' column to python-saharaclient CLI. It makes it easier to the user to look for his newest job executions. Partial-Bug 1470525 Change-Id: Id03d8f8fb42d9d3168804e78e34743c263d5a9a0
* Merge "Adding node group template editing to CLI"Jenkins2015-05-151-0/+32
|\
| * Adding node group template editing to CLIChad Roberts2015-05-131-0/+32
| | | | | | | | | | | | | | | | | | Adding the ability to edit node group templates into the CLI. Also added a unit test for update. Change-Id: I64f8c7ae077f298533ae55fd722199084700f3f3 Closes-Bug: #1445119 Partial-Implements: bp add-template-editing-to-cli
* | Adding cluster template editing to CLIChad Roberts2015-05-121-0/+29
|/ | | | | | | | | Adding the ability to edit cluster templates into the CLI. Also added a unit test for update. Change-Id: I9076d081eb00213acda01f73f924b6a3ebba68a9 Closes-Bug: #1445120 Implements: bp add-template-editing-to-cli
* Try getting old service type if session usedSergey Reshetnyak2015-04-241-4/+8
| | | | | | | | | | If set up old sahara service type in keystone service catalog (data_processing) then if you use keystone session for auth, saharaclient do not checks old service type. This patch fixes this problem. Change-Id: I148c0f59fde791c1c1cff63ea27fd6d489744ce1 Closes-bug: #1447797
* Merge "add --name option to assign name to job-binary-internal"0.9.0Jenkins2015-04-212-3/+15
|\
| * add --name option to assign name to job-binary-internalyuhara.motoki2015-04-022-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In CLI command(job-binary-data-create) job-binary-internal is automatically named by creation-date. This fix add --name for job-binary-data-create to assign name to job-binary-internal. If we do not use --name, job-binary-internal named basename of args.filename. If we use stdin, job-binary-internal named by creation-date the same as bofore. Examples: sahara job-binary-data-create --file /tmp/fuga.txt --name hoge => job-binary-internal is named hoge sahara job-binary-data-create --file /tmp/fuga.txt => job-binary-internal is named filename(fuga.txt) sahara job-binary-data-create < stdin => job-binary-internal is named creation-date Change-Id: I368b8c82bc87962d69dda175e410e230e0d3beab Closes-Bug: #1428537
* | Merge "Provide user-agent in saharaclient"Jenkins2015-04-201-0/+4
|\ \
| * | Provide user-agent in saharaclientSergey Reshetnyak2015-04-141-0/+4
| | | | | | | | | | | | Change-Id: Iebd6d9fd1845a8c388cf2f809bdf902550881648
* | | Add regions support to saharaclientSergey Reshetnyak2015-04-141-1/+2
|/ / | | | | | | | | Change-Id: Ib59a400160a9f3f6496a99ddb67b99f68fdc3249 Closes-bug: #1441736
* | Merge "Add support for job-types-list"Jenkins2015-04-033-0/+80
|\ \
| * | Add support for job-types-listTrevor McKay2015-03-263-0/+80
| |/ | | | | | | | | | | | | | | | | This change adds support to the client for the job-types-endpoint. Filtering by a single value for type, plugin, and version is supported. Config hints are not available in this interface. Change-Id: I0240717ac74c52dd915ce1617fb5d34d87660c0b Partial-Implements: blueprint edp-job-types-endpoint