summaryrefslogtreecommitdiff
path: root/heatclient/v1
Commit message (Collapse)AuthorAgeFilesLines
* Remove sixTakashi Kajinami2022-05-098-15/+13
| | | | | | | This library no longer supports Python 2, thus usage of six can be removed. Change-Id: I8d0c1cfd6dff375b3b7756a5b36c95a2df3f04c6
* [goal] Migrate testing to ubuntu focalGhanshyam Mann2020-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | | As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Fixing: - bug#1886298 Bump the lower constraints for required deps which added python3.8 support in their later version. - noqa for pep8 C901 check. Closes-Bug: #1886298 Story: #2007865 Task: #40186 [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal Change-Id: I67b4957cea1ccbd5cdc0314d2eaddef0c24f7dfc
* Update hacking for Python3ussuri-em2.1.0Andreas Jaeger2020-03-311-1/+1
| | | | | | | | | The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Change-Id: I82c745f5b1236844deec4538be84037a64eebeee
* Merge "Cleanup of .keys() from dict_object.keys() *in* operator"Zuul2020-02-211-1/+1
|\
| * Cleanup of .keys() from dict_object.keys() *in* operatorjacky062019-12-051-1/+1
| | | | | | | | Change-Id: I49bb58e5dc2618ee02424315e4e3bf1057a77068
* | Remove mox usage from test_shellZane Bitter2020-02-101-3/+1
|/ | | | Change-Id: I4e1dbb55dbc01ebf18ca80aa63ae492a1a8f47ae
* Update stack_id clearify for heat client functionsricolin2019-08-033-16/+34
| | | | | | | | | | most of our client major function require stack_id. We should provide more specific information (at lest in function description) to clearify that it's allowed to feed in stack name to `stack_id` too. For example, both `heat.stacks.get($Stack_UUID)` and `heat.stacks.get($Stack_Name)` works. Change-Id: I4428097140e0391a77679f5c69e00966f249efd7
* Merge "Load files from adopt file when adopt stack"Zuul2018-11-201-1/+5
|\
| * Load files from adopt file when adopt stackricolin2018-07-201-1/+5
| | | | | | | | | | | | | | | | | | Add files from adopt file into create fields. This allow us to adopt nested stack which the template defined in files. Story: #1700744 Task: #17263 Change-Id: I2b473791186949d49be59ee790185b3e394c7000
* | Mark stacks returned by get loadedThomas Herve2018-06-071-1/+1
|/ | | | | | | | | | When calling stacks.get, mark the returning stacks as loaded, so that attribute retrieval works right away. If not, any getattr on the Stack will call get() which will request the stack again (and ignore things like resolve_outputs). Change-Id: I3a3f25aa0c6f88e7e4274107c0578fd30dc9f155 Related-Bug: #1774958
* Merge "[policy in code] Change policy description"Zuul2018-02-071-1/+2
|\
| * [policy in code] Change policy descriptionricolin2017-10-201-1/+2
| | | | | | | | | | | | | | Now we also support get policy from policies in code. Depends-On: I610115dc1974b2182ce673bb086a1da15b022de3 Change-Id: I46d03c3303b3116e749effeecefe48949473daeb
* | Add --no-rollback option for stack cancelrabi2017-11-081-0/+5
|/ | | | | | | | | This adds a new --no-rollback option for stack cancel. Usage: openstack stack cancel --no-rollback <stack_name> Change-Id: I46252823701779e3a3c6867bc470d5532cf9d7a7 Related-Bug: #1709041
* Fixing read before prompt bugJoe Borg2017-07-261-3/+3
| | | | | | | | Due to Python buffering sys.stdin and sys.stdout, the read can be shown before text prompt. Change-Id: I86d9ec62f7791da276585ce74a48162315effa7b Signed-off-by: Joe Borg <joe@josephb.org>
* Merge "Add optional arguments '-y' in CLI:snapshot-delete"Jenkins2017-07-051-1/+22
|\
| * Add optional arguments '-y' in CLI:snapshot-deletericolin2017-05-171-1/+22
| | | | | | | | | | | | | | | | | | There is no judgement before use the cli: heat snapshot-delete. So I add it. Partial-Bug: #1642490 Depends-On: If7b515dff64a18f56046b890279c2c59b0ab9dc7 Change-Id: I6e82630816e54aa2d98c3653ab43b865f445e881
* | Merge "Replace six.iteritems() with .items()"Jenkins2017-06-124-8/+4
|\ \
| * | Replace six.iteritems() with .items()M V P Nitesh2017-03-314-8/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | 1.As mentioned in [1], we should avoid using six.iteritems to achieve iterators. We can use dict.items instead, as it will return iterators in PY3 as well. And dict.items/keys will more readable. 2.In py2, the performance about list should be negligible, see the link [2]. [1] https://wiki.openstack.org/wiki/Python3 [2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html Change-Id: I3913e8876b34e112140788d7a405da6eedfb5f29
* | Don't encode path separatorsrabi2017-05-095-17/+17
|/ | | | | | | | | | Encoding the path separators results in urls refused by by apache with 404 unless AllowEncodedSlashes is turned on, which is not the default. The existing encoding of path separators seems unnecessary. Change-Id: I3b77aafc6104119503363e5db36b0379964daba5
* Remove log translationsliyi2017-03-231-14/+12
| | | | | | | | | | | | Log messages are no longer being translated. This removes all use of the _LE, _LI, and _LW translation markers to simplify logging and to avoid confusion with new contributions. See: http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html Change-Id: I601eee9f1fca65d5fb53e6b75482b74283908a29
* Support openstack stack exporthuangtianhua2017-02-141-0/+7
| | | | | | | | Heat supports exporting data of stack preparing for abandon stack. This change supports 'openstack stack export' in client. Change-Id: I5d3778f307d10174dbb738548282f7495bd9c825
* Show 'project' info if heat server returnshuangtianhua2017-01-241-2/+5
| | | | | | | | Show 'project'/'Project' info in heatclient if heat server returns 'project' info of stacks. Change-Id: I7d95ae96a678ef41bcd3d5379f204db83e4b585c Closes-Bug: #1652412
* Update docs for mark-unhealthy commandZane Bitter2016-12-141-1/+1
| | | | | | | | | Starting with the Ocata release of Heat, users can now select a resource using its physical resource ID. Change-Id: I82711c50e9719a80eec68592ee36198ea47b9f1d Depends-On: Ie28ed102665b2c6379d1f55b7a02b76d05e38ddd Related-Bug: #1635295
* Move required modules from oslo-incubatorrabi2016-11-1210-10/+10
| | | | | | | | | | | | Move the required module to heatclient/common. - heatclient/openstack/common/apiclient/base.py It also moves some required functions and exceptions from heatclient/openstack/common/cliutils.py and heatclient/openstack/common/exceptions.py. Change-Id: I68704c7fab9417492d8390ad05a9797f78d46907
* Merge "Graduate to oslo.i18n and cleanup incubator usage"Jenkins2016-11-092-4/+4
|\
| * Graduate to oslo.i18n and cleanup incubator usageChuck Short2016-11-082-4/+4
| | | | | | | | | | | | | | | | | | Graduate from Oslo Incubator to oslo.i18n library. Cleanup of unused Oslo Incubator utils. Added optional enable_lazy() usage. Change-Id: I5ec02477f3f52f4d7097669120581e82cced3748 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* | Return condition functions based on the filter paramhuangtianhua2016-10-201-1/+9
|/ | | | | | | | | Add 'with_condition_func' filter param for API template-function-list, if the param set to true, the response will include the condition functions. Change-Id: Ia7b4da71ed5c3da105dd23917e4921a96e445026 Closes-Bug: #1625505
* Fix "heat output-show -F json" output formatJason Dunsmore2016-09-301-6/+6
| | | | | | | | So that it matches the equivalent OSC command's output. Also change the default output-show format to 'raw' to maintain current behavior. Closes-Bug: #1560087 Change-Id: Ia03b1633565881b4b4a7f95e7b0c5df472487f62
* Improved the help message of the stack-list tagsSharat Sharma2016-09-191-8/+12
| | | | | | | | | The stack-list help message for tags was not very helpful and was confusing. So, changed the help message so that it is more understandable for the user. Change-Id: Ia49a40652a0c96ba257edb35bae4455be3373d0f Closes-Bug: #1625011
* Merge "Trivial:Standardize the output format of 'help' in shell.py"Jenkins2016-08-311-4/+4
|\
| * Trivial:Standardize the output format of 'help' in shell.pyshizhihui2016-08-301-4/+4
| | | | | | | | Change-Id: Ie6c03d56ab2f0aa14bc96028fd548e80987beeb1
* | Standardize import formatshizhihui2016-08-034-10/+6
|/ | | | | | | According to the rule in http://docs.openstack.org/developer/hacking/#imports I modify some irregular import format in heatclinet. Change-Id: I0200ddad88ee833d7de9d6df2c1519e4f4560db7
* Add support for stack file listSteven Hardy2016-07-211-0/+13
| | | | | | | | This shows the files map for a given stack Depends-On: I3198b6a7dc06648af24c198d39470f3b0d5d6f11 Change-Id: Ib7d033a660fe294bf3f7b42e4aa7020149ce24c1 blueprint: files-show
* Fix deprecation message for stack-previewrabi2016-07-131-1/+1
| | | | | Change-Id: Ifeb3a2751e6a59092a639463806d45c683219bfa Closes-Bug: #1602301
* Merge "Implement client side of event list --nested-depth"Jenkins2016-07-061-0/+3
|\
| * Implement client side of event list --nested-depthSteve Baker2016-06-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change does the following: - cleans up the usage of get_events so that marker and limit are only specified in their dedicated arguments, not also in event_args (also, specifying only in event_args still works) - first attempts server-side nested_depth support - falls back to the old recursive approach if the response data lacks a link with the ref root_stack Since there is a fallback for old heat APIs, the client change can land before or after the heat change I27e1ffb770e00a7f929c081b2a505e2007f5d584 Change-Id: I43d12ec61ec359222184f07c170de3c97481f1ba Closes-Bug: #1588561
* | Show 'deletion_time' of stackshuangtianhua2016-06-251-2/+5
|/ | | | | | | | | Add 'deletion_time' column in following cases: 1. if specify --show-deleted when list stack 2. show stack Change-Id: I4348d03b3433c4962f51aa124ea27dc0c55c71c1 DependsOn: I8c55fe7f6a899ca66aa3fef15c93195c03c5aa11
* Merge "osc resource-type-show description option"Jenkins2016-05-301-2/+4
|\
| * osc resource-type-show description optionPeter Razumovsky2016-05-201-2/+4
| | | | | | | | | | | | | | | | | | Add new option to osc resource-type-show, which allows to print description of specified resource type. Change-Id: I99347a1aa01cea3fe7e9686e06c7d8180e6551b1 Depends-on: #I148bb7764af4db45b75ce63d7fa58daa210b3ed4 Closes-bug: #1558049
* | Merge "osc resource-type-list description option"Jenkins2016-05-301-2/+16
|\ \ | |/
| * osc resource-type-list description optionPeter Razumovsky2016-05-201-2/+16
| | | | | | | | | | | | | | | | | | Add new option to osc resource-type-list, which allows to print description of each resource type. Change-Id: I34ca4531fb0c9f4896f55011ae234771e9ef965f Depends-on: Ia92699e5ca60a891e9704c468e447e1053be7609 Closes-bug: #1558049
* | Fix typoThomas Herve2016-05-231-1/+1
|/ | | | | | Fix typo WRT physical_resource_id in help messages. Change-Id: Ica89b13cc9cd2b355cf65c7ccb329518e5c745bd
* Allow redirects to use location from responserabi2016-05-171-2/+6
| | | | | | | | | This allows redirects to use fully qualified location from response header and removes the check to prohibit redirects to different project(required for super admin actions). Change-Id: I46876189e96375922c4f0bf30452b7c4980fe39c
* Add client library support for retrieving a stack's environmentJay Dobies2016-04-181-0/+13
| | | | | | Change-Id: I84aa5ed9dc2b8aee089de3b1e1810552b8f2dd96 Depends-On: I7e3577dfc854018245d79afdfee45a9d250d73a7 Implements: blueprint environment-show
* Support "--pre-delete" argument for hook-clearhuangtianhua2016-04-161-0/+4
| | | | | | | | | | | | | This changes: 1. Add "--pre-delete" argument for cmd "heat hook-clear" to clear pre-delete hooks. 2. Add "--pre-delete" argument for osc cmd "openstack stack hook clear" to clear pre-delete hooks. 3. Support to poll pre-delete hooks for "heat hook-poll" and "openstack stack hook poll". Change-Id: Ic5a6e1b7588e3f9ad49eaaf8085f18ec74fc629e Closes-Bug: #1567814
* Merge "OSC plugin for orchestration template validate"Jenkins2016-03-291-17/+6
|\
| * OSC plugin for orchestration template validateMark Vanderwiel2016-03-241-17/+6
| | | | | | | | | | | | | | | | | | | | | | | | This change implements "openstack orchestration template validate" command Based from the existing heat commands: heat template-validate This is different from the stack create/update --dry-run which used the preview api, this uses the validate api. Change-Id: Icf5794ad6bb35574a060f095d7ef10e6a46ca2fe Blueprint: heat-support-python-openstackclient
* | stack-delete command should not call do_stack_list.PanFengyun2016-03-171-1/+2
|/ | | | | | | | the stack-delete operation is asynchronous, and should not return anything. Change-Id: I75287b612358c5e76e47a9e53200c23946f01d8f Closes-Bug: #1556407
* Added deprecation warnings for heat commandsDmitriy Uvarenkov2016-03-151-6/+114
| | | | | | | Users need to use openstack commands instead of heat commands. Change-Id: Ifc79dd3f81c7735ab61d8d072ff0fea1976eed98
* Fixed exceptions handling in stacks deletingDmitriy Uvarenkov2016-03-071-1/+1
| | | | | | | | | | When you delete multiple stacks like 'stackA stackB stackC' and you dont have enough rights for deleting stackB, it throws 403. In result stackA is deleted, but stackC is still there. Change-Id: If2795a4a7a6987da15b5f3f23ee066000e1f2a65