summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Allow -P to be invoked multiple times"0.2.5Jenkins2013-09-273-23/+79
|\
| * Allow -P to be invoked multiple timesSteve Baker2013-09-253-23/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If --parameters is specified more than once it is assumed that each one contains only one parameter key=value. This means semicolons are ignored if there is more than one -P specified. This should be fully backwared compatible, a single -P will be assumed to be semicolon delimited. Change-Id: Ic202ff3e0596b786cd5b07c53509f97a95d41585 Closes-Bug: #1224825 Closes-Bug: #1229030
* | Replace OpenStack LLC with OpenStack FoundationZhiQiang Fan2013-09-2011-12/+12
|/ | | | | Change-Id: I8f2697ca99192078d5db2adb4db98287520d9895 Fixes-Bug: #1214176
* Merge "Add handler for heatclient.common.http"Jenkins2013-09-111-0/+2
|\
| * Add handler for heatclient.common.httpZhiQiang Fan2013-09-041-0/+2
| | | | | | | | | | | | | | If no handler is found, add StreamHandler to LOG Closes-Bug: #1220532 Change-Id: I32d541d242845b7311fd6810a5e87f07fafd8efd
* | Merge "Stack instance identifier property"Jenkins2013-09-112-7/+23
|\ \
| * | Stack instance identifier propertySteve Baker2013-09-042-7/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The identifier property formats the stack name and ID for REST API request paths. This has the following consequences for each action method: - get, same behaviour but using the identifier property - delete, using the full identifier avoids one http redirect - update, this method was non-functional before this change, and is now fixed Change-Id: Ib2b12826243e25772acccb8ca56039e54d3857d5
* | | Support --version for heatclientZhiQiang Fan2013-09-042-19/+10
| |/ |/| | | | | | | Closes-Bug: #1220524 Change-Id: Id78f7c7c78d31c0126b43f7a846f02f2542b0b7c
* | Merge "Be backward compatible after a renaming in API"Jenkins2013-09-041-3/+13
|\ \
| * | Be backward compatible after a renaming in APISwann Croiset2013-08-291-3/+13
| |/ | | | | | | | | | | | | | | | | | | The need was introduced with the renaming of field logical_resource_id to resource_name, so let heatclient display the good one for the two Heat versions. Fixes bug #1216903 Change-Id: I3e86f482a1b814a27b15be3c102727c44153221f
* | Merge "Fix and enable Hacking H501 warning"Jenkins2013-09-042-3/+5
|\ \
| * | Fix and enable Hacking H501 warningDirk Mueller2013-09-022-3/+5
| |/ | | | | | | | | | | | | Enable Gating on H501. Fix the only two cases that trigger. Change-Id: Ib309b989df6556d7436e718e1497ce4dcacc83d6
* | Added support for running the tests under PyPy with toxAlex Gaynor2013-09-032-4/+4
|/ | | | | | | | | | | This is a precursor to having them run under check and gate. This also fixes a single test which fails on PyPy, the test failes at because it assumes a ``dict`` has a particular order for its keys when it is printed out, on PyPy dicts have a different order sometimes, the exact ordering is not a guarnteed property of Python. Change-Id: Ie86726a0221e5e9aa68f7303d8ca8c7acd878f65
* Merge "Add X-Region-Name parameter in HTTP request"Jenkins2013-08-272-0/+27
|\
| * Add X-Region-Name parameter in HTTP requestNachi Ueno2013-08-222-0/+27
| | | | | | | | | | | | | | | | | | In order to specify region_name, we let client send the OS_REGION_NAME in header file Fixes bug 1213291 Change-Id: Ie44f700ca7e412c2504b6b8faac3fd65d4fd744b
* | Rename event logical_resource_id to resource_nameSwann Croiset2013-08-261-2/+2
| | | | | | | | | | | | | | | | Required by Heat change (https://review.openstack.org/#/c/43391/) fixe bug #1216903 Change-Id: I77201348df401d5bafc7109bb4d032dd071468d8
* | Merge "Do not obscure Unauthorized error messages"Jenkins2013-08-252-7/+5
|\ \ | |/ |/|
| * Do not obscure Unauthorized error messagesSteve Baker2013-08-212-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | All Unauthorized exceptions are currently trapped and the following message is printed: Invalid OpenStack Identity credentials. This is unhelpful now that heat-api is providing structured errors with (sometimes) helpful context for authorization failures. This change removes this error trapping and prints the intended error message. Change-Id: Ibd943deb1f365e5f212225be1e675beb14accf97
* | Apply OS_REGION_NAME for endpoint selectionNachi Ueno2013-08-221-0/+9
| | | | | | | | | | | | | | | | | | | | Even if we got OS_REGION_NAME on CLI, the value is not used. In this commit, we apply OS_REGION_NAME for endpoint selection. Fixes bug 1215588 Change-Id: Ib2e2f655282b2730a9a3b7337e56993253972ce1
* | Merge "Generate a template from a resource"Jenkins2013-08-134-1/+44
|\ \
| * | Generate a template from a resourceAndrew Plunk2013-08-074-1/+44
| |/ | | | | | | | | | | | | | | | | Setup the command line options and calls for generating a template from an installed resource. blueprint resource-template Change-Id: If533bd90b1ec73bbe2603b55a0a7621879d355ec
* | Fix heat event list sorted order incorrectJUN JIE NAN2013-08-082-3/+6
| | | | | | | | | | | | | | | | | | The order is correct already if python heat client does not recorder it. Add option to make print_list not to reorder possible, and call it in do_event_list. Change-Id: I3f0990aff27df39371c583d5aae3edd106542ad1 Fixes: bug #1209506
* | Updated from global requirementsMonty Taylor2013-08-072-2/+2
|/ | | | | | | | | | | | Change-Id: I1687d51bddb873549163dcf488fc40cdd9edcb29 Change-Id: Ic4a43955526fcde313ad2f2afec8fafeb87f37a6 Change-Id: Ic4a43955526fcde313ad2f2afec8fafeb87f37a6 Change-Id: Ic4a43955526fcde313ad2f2afec8fafeb87f37a6 Change-Id: If137689e5b9008c51cea16d41e648f0df490a247
* Remove unused Stack data method0.2.4Steve Baker2013-08-071-3/+0
| | | | Change-Id: Ia3fce29a58957b84f2eba33ac1b2ecfb04543939
* Do not paginate stack list unless page_size is setSteve Baker2013-08-074-12/+234
| | | | | | | | | | | | | | | | | Pagination on the server has not yet been implemented, however the client assumes it is, causing infinite recursion when paginate is called. With this change, no pagination is attempted unless page_size is specified. However the 'limit' parameter is still honored, so it is still possible to cap the total number of results returned. heatclient users should not set page_size until pagination has been implemented on the server. The stack list in Horizon currently does not attempt to paginate, so is not affected. Fixes: bug #1207839 Change-Id: I4087d3a8af48206d6ebe3edc441469464e4a401a
* Custom Stack get method to avoid lookup redirectsSteve Baker2013-08-072-0/+16
| | | | Change-Id: I15dd4e9168cba6fd05371fed097d52cbf33cb15d
* Fix Stack instance delete methodSteve Baker2013-08-072-1/+11
| | | | | | | | The current instance delete method assumes that a Stack instance can be passed to the manager delete method, however the manager delete method only accepts a stack identifier. Change-Id: I87c30be1ea43695b7e13953531ea282fd8d386f8
* Add mock as a test requirementSteve Baker2013-08-071-0/+1
| | | | | | | | | A project-wide concensus is forming that mox should be phased out and mock should be encouraged for writing new tests. This change allow mock to be used for new tests. Change-Id: I3cdf77bbeadd419b811bddcc31f048c1c6ec38bb
* Sync with global requirementsMonty Taylor2013-08-057-10/+49
| | | | Change-Id: Iad82b688da07f3aa83a9850b5ea9fe2beb51019e
* Implement Stack status and action propertiesSteve Baker2013-08-022-0/+57
| | | | | | | | | | | | This splits the stack_status back to an action and status, as it is represented internally in heat-engine. It assumes there will not be an action which contains an _. This change is needed for code (such as tempest) which assumes a convention of all openstack client resources having a status property. Change-Id: If00db5508bf8469b1106cac20b8fc10f7e1a854d
* Merge "Parse error object (in json format) returned by heat-api"Jenkins2013-07-304-0/+167
|\
| * Parse error object (in json format) returned by heat-apiJianing YANG2013-07-264-0/+167
| | | | | | | | | | | | | | | | With this fix, heatclient will display a clear error message when encounter an server-side error. Additionally, the corresponding traceback will be displayed when "--verbose" is set. Change-Id: I99b828465f61478a3c63fcf549d044a62523be1f
* | Merge "Set credentials headers if there is no auth token."Jenkins2013-07-222-4/+58
|\ \
| * | Set credentials headers if there is no auth token.Steve Baker2013-07-192-4/+58
| | | | | | | | | | | | | | | | | | | | | Credentials will be set instead of a token for all invocations where --os-no-client-auth is specified. Change-Id: I35a81a9518833ce9758228266deb36c8073f9fb8
* | | Merge "Validate heat url is supplied for --os-no-client-auth."Jenkins2013-07-221-1/+6
|\ \ \ | |/ / | | / | |/ |/|
| * Validate heat url is supplied for --os-no-client-auth.Steve Baker2013-07-191-1/+6
| | | | | | | | | | | | | | Currently an obscure error is returned if --heat-url is not specified. Change-Id: Ia9fbb694f38e583a0cf1898f576a894d1007f697
* | Merge "Cleanup in preperation for release."Jenkins2013-07-162-7/+0
|\ \ | |/
| * Cleanup in preperation for release.0.2.3Steve Baker2013-07-172-7/+0
| | | | | | | | Change-Id: Iaeb926b929d4f8210ebbfa310134b1fb50dce276
* | Display yaml format for stack deployed via hot templateJUN JIE NAN2013-07-162-1/+57
|/ | | | | | | | Determine hot template and display yaml format for it, display json format for others. Change-Id: Ie8d72c222a992ee0048897d040e8bc88fcf51760 Fixes: bug #1201482
* Merge "Only set X-Auth-User, X-Auth-Key on stack create/update."Jenkins2013-07-164-16/+26
|\
| * Only set X-Auth-User, X-Auth-Key on stack create/update.Steve Baker2013-07-054-16/+26
| | | | | | | | | | | | | | | | | | | | | | All heat operations can be performed with only a token. User credentials are required for stack create/update as they are stored for later stack operations. This change prevents credentials unnecessarily being sent over the wire. Change-Id: I5ad18067c5db8ada9994d131e98f27af70a7ca06
* | Make the parameter checking consistent.Angus Salkeld2013-07-165-14/+52
| | | | | | | | | | | | | | | | | | Make format_parameters() raise CommandError with the same message. Rather than raise MalformedRequestBody and then catch that and raise CommandError. This just simplifies things. Change-Id: Ic05af32dd916e953e6b162daccc4525cb4734a46
* | Merge "Rename README.md to README.rst"Jenkins2013-07-143-2/+2
|\ \
| * | Rename README.md to README.rstDirk Mueller2013-07-143-2/+2
| | | | | | | | | | | | | | | | | | | | | The content looks more like restructured text to me, and it seems to be more common amongst OpenStack projects. Change-Id: Iba8c21985c055f1712069a6e70d345bb920381bf
* | | Raise requirements to be in sync with OpenStack/RequirementsDirk Mueller2013-07-142-8/+6
|/ / | | | | | | | | | | | | | | | | Mainly due to the testing deps being outdated. Also fixes client capping. Fixes LP Bug #1200214 Change-Id: I39c18144bc19189513fc4c1f9712b8938bd719cf
* | Merge "Fix "heat validate" (add needed environment option)"Jenkins2013-07-111-0/+2
|\ \
| * | Fix "heat validate" (add needed environment option)Angus Salkeld2013-07-081-0/+2
| |/ | | | | | | | | | | since it calls template-validate it needs that same options. Change-Id: Ic024707240af59b862146d4f478e495a93b5cd7a
* | Update upper bound of keystoneclient version.Lin Hua Cheng2013-07-101-1/+1
|/ | | | | | | This is the intermediate step so that we can update the the lower bound of keystoneclient in openstack-requirements. Change-Id: I1b73bfaafdf404634fc321b4e536f65b6dd65a3a
* Merge "Format resource required_by in resource-show."Jenkins2013-07-033-0/+11
|\
| * Format resource required_by in resource-show.Steve Baker2013-07-043-0/+11
| | | | | | | | | | | | | | This change has no effect if the resource details contains no requires key (such as for older API versions). Change-Id: I5bce5cf6a7c7cd3f531453cd126fb7b7b3e227ef