We are thrilled to announce the release of: python-muranoclient 0.12.0: python-muranoclient This release is part of the ocata release series. The source is available from: https://git.openstack.org/cgit/openstack/python-muranoclient Download the package from: https://pypi.python.org/pypi/python-muranoclient Please report issues through launchpad: https://bugs.launchpad.net/python-muranoclient For more details, please see below. 0.12.0 ^^^^^^ New Features ************ * CLI command :command:"env-templat-create-env" now supports "-- region" flag * Support for environment model edit API was added * New Murano CLI command "murano environment-model-show <ID> [--path <PATH>] [--session-id <SESSION_ID>]" * New Murano CLI command "murano environment-model-edit <ID> <FILE> --session-id <SESSION_ID>" * New OSC command "openstack environment model show <ID> [--path <PATH>] [--session-id <SESSION_ID>]" * New OSC command "openstack environment model edit <ID> <FILE> --session-id <SESSION_ID>" * Ability to load package from directory was added. If specified directory contains all the needed files then package will be imported as usual. * The client now is able to consume the updated *List Environments* API call, which may be used to filter environments by an owner project (tenant). * New OSC command "package list". Deprecation Notes ***************** * Since glare is a separate project now usage of 'glance' value for --murano-packages-service has been deprecated and is scheduled to be removed in P cycle Bug Fixes ********* * It was impossible to use *--owned* flag when Glare was used to filter packages. This issue is fixed now. * It was possible to import the same murano package from the CLI into the same project multiple times if glare was used and the package was imported as a private one. The issue is now fixed. Changes in python-muranoclient 0.11.0..0.12.0 --------------------------------------------- b76fc2f Exclude build dir for flake8 test 8be8fd8 Add debug to tox enviroment 2cb00db Remove white space between print () 85b3a04 Fixes filtering applications by name with glare. ed1cec4 Remove the data assert to pass the gate 0c844b0 Add package delete to openstack CLI 23e810e Using sys.exit(main()) instead of main() cd2126b Return error code when a error occurred during package-import 12c70b7 Fix Murano client to use V3 and MultiDomain Authentication dcc4951 Use assertGreater() and assertLess() 3a71355 Support i18n for LOG.warning a166737 Update author in setup.cfg 3282efc Updated from global requirements c79802f Show team and repo badges on README a6b573f Support for environment list filtering by project id 886d82e Delete python bytecode file 9176fa7 Fix typos in cover.sh 8007de8 Fix removes date_time items from dictionaries 5260570 Fix removes date_time items from dictionaries f38e733 Updated from global requirements 9283ede move old apiclient code out of openstack/common c01fbff Updated from global requirements a5873de Add validation to package import b15fb1a Updated from global requirements e61b44e Updated from global requirements 527d068 Add plug-in summary for osc doc fc30c49 Updated from global requirements 2aba86e Add functional test for environment-model-show 260cd64 Fix osc plugin gives the error when using keystone v3 242c12d Add docstrings for environment-model-edit and environment-model-show commands dcdc2cb Fix OpenStack Licensing dd54103 OSC plugin should be using region/interface bc50fdc Enable release notes translation 0171ea9 Add support for environment edit API f8d340a Fixing environment creation from template df35a2e Unskip the test due to bugfix fa0816b Skip some tests when using glare in a right way 473de9e Mark .testr.conf as non-executable af1aa7a Make some OSC tests more clean d9c3f13 Updated from global requirements 1385db4 TrivialFix: Fix typo in the bash shell file 4bc630f Add package list to openstack CLI 8cb8003 Updated from global requirements 00c21bc Updated from global requirements a8beefd TrivialFix: Using assertTrue() instead of assertEqual(True) 8ce4b46 Remove unnecessary setUp 96665ae Updated from global requirements 790704b Make OSC plugin be able to use glare backend 353d3ed Updated from global requirements cf37f8a Make --limit argument in package-list command robust 5b677b2 Add opportunity to import package from directory 399b2a2 Add Glare to python-muranloclient tests bd4645d Fix 'owned' flag when Glare is used 9f8e6c3 Populate tenant information in client f0cf8b7 Cleanup, clarify newton release-notes 81ffbaf Update reno for stable/newton 0df84c0 Deprecate usage of 'glance' for --murano-pcakages-service Diffstat (except docs and test files) ------------------------------------- .coveragerc | 3 +- .testr.conf | 0 README.rst | 9 + muranoclient/apiclient/__init__.py | 0 muranoclient/apiclient/auth.py | 218 +++++++++ muranoclient/apiclient/base.py | 525 ++++++++++++++++++++ muranoclient/apiclient/client.py | 359 ++++++++++++++ muranoclient/apiclient/exceptions.py | 463 ++++++++++++++++++ muranoclient/apiclient/fake_client.py | 177 +++++++ muranoclient/common/base.py | 16 +- muranoclient/common/http.py | 5 +- muranoclient/common/utils.py | 34 +- muranoclient/openstack/__init__.py | 0 muranoclient/openstack/common/__init__.py | 17 - .../openstack/common/apiclient/__init__.py | 0 muranoclient/openstack/common/apiclient/auth.py | 221 --------- muranoclient/openstack/common/apiclient/base.py | 526 --------------------- muranoclient/openstack/common/apiclient/client.py | 361 -------------- .../openstack/common/apiclient/exceptions.py | 465 ------------------ .../openstack/common/apiclient/fake_client.py | 180 ------- muranoclient/osc/plugin.py | 66 ++- muranoclient/osc/v1/action.py | 3 +- muranoclient/osc/v1/category.py | 3 +- muranoclient/osc/v1/environment.py | 114 ++++- muranoclient/osc/v1/package.py | 188 +++++++- muranoclient/shell.py | 53 ++- .../unit/fixture_data/empty-app/manifest.yaml | 18 + muranoclient/v1/artifact_packages.py | 7 +- muranoclient/v1/environments.py | 21 +- muranoclient/v1/package_creator/hot_package.py | 2 +- muranoclient/v1/package_creator/mpl_package.py | 2 +- muranoclient/v1/packages.py | 6 + muranoclient/v1/shell.py | 105 +++- muranoclient/v1/templates.py | 6 +- .../notes/action-arguments-06a554f76783f3ed.yaml | 8 +- .../added-static-actions-3d45f5cdc5491770.yaml | 12 +- .../notes/bug-1629221-e7f1766eb9878f23.yaml | 4 + .../notes/dep-exists-action-9af18bebcc0ef053.yaml | 9 +- ...o-packages-service-glance-7d0052a5256adace.yaml | 5 + .../notes/environment-edit-7faf5c8e8a3d44ac.yaml | 11 + .../notes/fix-owned-flag-e8b718c074c1c314.yaml | 4 + ...rt-package-from-directory-8f2b5e393004ef97.yaml | 5 + ...nments-of-a-given-project-e407dd5271649ad2.yaml | 4 + ...ltiple-packages-glare-fix-b82a473ad976028f.yaml | 5 + .../osc-package-list-command-23e39dc92ead8834.yaml | 3 + .../resources-dir-for-hot-c557c1472bbc79fa.yaml | 6 +- releasenotes/source/conf.py | 3 + releasenotes/source/index.rst | 1 + releasenotes/source/newton.rst | 6 + requirements.txt | 19 +- setup.cfg | 6 +- test-requirements.txt | 11 +- tools/cover.sh | 10 +- tools/install_venv.py | 2 +- tox.ini | 10 +- 66 files changed, 2869 insertions(+), 1915 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 0afdd1f..c6bb41c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,4 @@ -pbr>=1.6 # Apache-2.0 -PrettyTable<0.8,>=0.7 # BSD -python-glanceclient!=2.4.0,>=2.3.0 # Apache-2.0 -python-keystoneclient!=2.1.0,>=2.0.0 # Apache-2.0 +pbr>=1.8 # Apache-2.0 +PrettyTable<0.8,>=0.7.1 # BSD +python-glanceclient>=2.5.0 # Apache-2.0 +python-keystoneclient>=3.8.0 # Apache-2.0 @@ -12,2 +12,2 @@ pyOpenSSL>=0.14 # Apache-2.0 -requests>=2.10.0 # Apache-2.0 -PyYAML>=3.1.0 # MIT +requests!=2.12.2,>=2.10.0 # Apache-2.0 +PyYAML>=3.10.0 # MIT @@ -15 +15,2 @@ yaql>=1.1.0 # Apache 2.0 License -osc-lib>=1.0.2 # Apache-2.0 +osc-lib>=1.2.0 # Apache-2.0 +murano-pkg-check>=0.2.0 # Apache-2.0 @@ -18,2 +19,2 @@ oslo.serialization>=1.10.0 # Apache-2.0 -oslo.utils>=3.16.0 # Apache-2.0 -oslo.log>=1.14.0 # Apache-2.0 +oslo.utils>=3.18.0 # Apache-2.0 +oslo.log>=3.11.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 57c1704..d7ae330 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6 +6 @@ hacking<0.11,>=0.10 -coverage>=3.6 # Apache-2.0 +coverage>=4.0 # Apache-2.0 @@ -9 +9 @@ mock>=2.0 # BSD -requests-mock>=1.0 # Apache-2.0 +requests-mock>=1.1 # Apache-2.0 @@ -13,0 +14 @@ testtools>=1.4.0 # MIT +oslotest>=1.10.0 # Apache-2.0 @@ -16,3 +17,3 @@ testtools>=1.4.0 # MIT -oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 -sphinx!=1.3b1,<1.3,>=1.2.1 # BSD -reno>=1.8.0 # Apache2 +oslosphinx>=4.7.0 # Apache-2.0 +sphinx!=1.3b1,<1.4,>=1.2.1 # BSD +reno>=1.8.0 # Apache-2.0