summaryrefslogtreecommitdiff
path: root/heatclient/common/environment_format.py
Commit message (Collapse)AuthorAgeFilesLines
* Graduate to oslo.i18n and cleanup incubator usageChuck Short2016-11-081-1/+1
| | | | | | | | | 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>
* Add parameter_merge_startegies sectionrabi2016-08-251-5/+11
| | | | | | | | | | | | This adds parameter_merge_strategies section to environment. This also adds the missing section parameter_encrypted_names. We use a server side module and a client side module that have deviated over a period of time. This patch syncs them. We probably should move these to a library and use use them for both server and client in the future. Change-Id: I9b20a7cedd416b6d8b788a30f66e472b85babf4a Blueprint: environment-merging
* Standardize import formatshizhihui2016-08-031-2/+2
| | | | | | | According to the rule in http://docs.openstack.org/developer/hacking/#imports I modify some irregular import format in heatclinet. Change-Id: I0200ddad88ee833d7de9d6df2c1519e4f4560db7
* Allow event specification in the environmentThomas Herve2016-01-121-2/+5
| | | | | | | | For additional validation we duplicate environment format on the client side, so to be able to create stacks with event sinks, we need to add the key here as well. Change-Id: Ia77fcdd68ee4020d0aa3d3235d38b2e5f268b7dd
* Enable pep8 H405 testsricolin2015-11-161-2/+2
| | | | | | | Enabled H405 multi line docstring summary not separated with an empty line in tox testing. Change-Id: I89d063133154ae343315872b677fa06cc901cf3b
* Add option for detailed template errorPeter Razumovsky2015-10-091-4/+10
| | | | | | | | | | | | | | Add option detailed_template_error for informative error during template and environment parsing. yaml.SafeLoader returns error with template snippet where error has been occurred instead of CSafeLoader. But CSafeLoader is faster. So, if user wants to get more informative error, use slower but more detailed SafeLoader for yaml loading. Change-Id: Ied0a573a00eb5f564dea0c636da1301de5de9ea7 Closes-bug: #1496361
* Merge "Add transtlation markers for error messages"Jenkins2014-12-141-3/+4
|\
| * Add transtlation markers for error messagesTetiana Lashchova2014-12-101-3/+4
| | | | | | | | | | Change-Id: Ic44073880b7e65b6530a7314a5a2d65eb4aadb09 Partial-Bug: #1269930
* | Merge "Add support for parameter_defaults in environment"Jenkins2014-12-101-2/+2
|\ \ | |/ |/|
| * Add support for parameter_defaults in environmentSteven Hardy2014-11-191-2/+2
| | | | | | | | | | | | | | | | | | | | https://review.openstack.org/#/c/131337/ adds support for a new section "parameter_defaults" in the environment, so support it in the client blueprint env-nested-usability Change-Id: Ia1f27102f31a42e7b58008a9b4886cde293308c6
* | Fix H302 errorsTetiana Lashchova2014-11-261-2/+2
|/ | | | Change-Id: I0354b4c99fb6d22ede85ec711fb81c2bb3627f99
* Remove extraneous vim editor configuration commentsChristian Berendt2014-10-081-3/+0
| | | | | Change-Id: Ib2635e29c6c3259b270e4a046a1afea22582ceb8 Partial-Bug: #1229324
* Fixes environment file using correct YAML formathuangtianhua2014-02-111-1/+4
| | | | | | | | | | An internal unexpected exception is raised while create a stack with an environment file which only has string content. We should handle the case and raise the correct error message such as "environment file is not Yaml format". Change-Id: I4e124db6a8dca9cf811f151ae95058cdaae16a01 Closes-Bug: #1273974
* Move template_format from heat to heatclientSteve Baker2014-01-131-0/+51
heatclient needs to (YAML) parse the template to allow it to populate the content for get_files function calls. For this reason, template_format (and environment_format) have been moved to heatclient so this code can be shared by both heat and heatclient. Change-Id: I3cc11cd57256ad539efb4dab314ac07547e9e6a2