[magnum] magnum-ui 2.2.0 (ocata)
We enthusiastically announce the release of: magnum-ui 2.2.0: Magnum User Interface This release is part of the ocata release series. The source is available from: http://git.openstack.org/cgit/openstack/magnum-ui Download the package from: https://tarballs.openstack.org/magnum-ui/ Please report issues through launchpad: http://bugs.launchpad.net/magnum-ui For more details, please see below. 2.2.0 ^^^^^ Magnum changes its service scope as Container Infrastructure Management service. Also Magnum-UI change rename service 'container' to 'container-infra', and container management functions removed. Magnum uses terms 'cluster' and 'cluster template' instead of 'bay' and 'baymodel', because the use of new Magnum term of 'bay' has caused confusion with users. Magnum UI keeps on following changes for Horizon's AngularJS-based framework. So we can use recent Horizon's feature. And hundreds of JavaScript tests are added. This ensures quality of Magnum UI. Ocata release summary. Update actions are added for cluster template and cluster. Also, the form maintainability is proceeded by angular-json-schema. New Features ************ * Support 'ca-show'. The function of downloading CA from cluster is added. * Support 'ca-sign'. The function of signing of certificates to cluster is added. * Add following options to cluster template creation and views. * 'docker_storage_driver' * 'fixed_subnet' * 'floating_ip_enabled' * 'master_lb_enabled' * Allow to create cluster template without keypair. Also, allow change or set keypair in cluster creation. Following change in Magnum, also Magnum UI allows this feature. * Change creation actions to global actions. Cluster Template creation and Cluster creation actions are changed from batchAction to globalAction. This means these actions are callable from other panels. * Use initAction() instead initScope(). initScope() is deprecated from Horizon in Ocata and will be removed in Queens. * Use horizon's common "views" module for Angular. This proceeds independence against Django framework for plugins. * Reasonable name is set to browser title bar. * https://review.openstack.org/424984 Added an update action for clusters. https://review.openstack.org/422477 Added update action for cluster templ. https://review.openstack.org/424536 Action for json schema adjusted. https://review.openstack.org/421693 Python 3.5 classifier and venv added. https://review.openstack.org/415321 Improved tracebacks for exceptions. https://review.openstack.org/414810 Adopted horizon views for Angular https://review.openstack.org/408039 Replace mox with mock Added numerous unit tests. * Update actions are added for cluster template and cluster. * angular-json-schema library is used for create and update dialog, their forms are integrated into one workflow service. It proceeds maintainability for forms. Upgrade Notes ************* * Service is renamed from 'container' to 'container-infra'. Renaming targets are URLs, Angular module name, slugs for panel, etc. * 'bay' and 'baymodel' are changed to 'cluster' and 'cluster template'. Deprecation Notes ***************** * Container panel is removed. According to decision of Magnum that changes service scope, container management functions are removed. Bug Fixes ********* * Fixes issue that there is no way to specify for insecure magnumclient as a result api throws 500 and SSL cert verify errors. 'insecure' and 'ca-cert' options are added for magnumclient. * https://launchpad.net/bugs/1651054 $model is deprecated https://launchpad.net/bugs/1647921 initScope is deprecated https://launchpad.net/bugs/1645754 allow keypair in cluster creation Fixed numerous typos Other Notes *********** * Switch to reno for managing release notes. * Support for Horizon's Angular registry service, generic table and detail view, action service. * We removed the Xstatic packages from requirements, as those are not needed anymore. Horizon includes what it needs. Changes in magnum-ui 2.1.0..2.2.0 --------------------------------- 722a867 Ocata summary release notes 16283a8 Imported Translations from Zanata b802b38 Imported Translations from Zanata 05fc109 Updated from global requirements 6f3ee01 Imported Translations from Zanata 9948c69 Remove Xstatic packages from requirements dd25de1 Imported Translations from Zanata 9072c06 Imported Translations from Zanata 48d433e Fixed typo in the name "Overlay" daf9b04 Imported Translations from Zanata c4e9fa9 Imported Translations from Zanata 0c82a1a Imported Translations from Zanata fd8aaa3 Fix typo 164bd7d Add release notes for update actions 7a66ba0 Add update action for cluster 8ebe759 Change cluster creating action for using json schema 2f01c46 Add update action for cluster template 9f1f980 Imported Translations from Zanata 221baf0 Imported Translations from Zanata 20b1ed7 Updated from global requirements 49378ff Imported Translations from Zanata cc8b7ba Add release notes for Ocata 14ad08c Imported Translations from Zanata ff1cde4 Change cluster_template creating action for using json schema 0ea3d94 Updated from global requirements 4d50f1d Imported Translations from Zanata 1578a7f Add Python 3.5 classifier and venv aadf31c Imported Translations from Zanata e8fb680 Imported Translations from Zanata 615f26e Imported Translations from Zanata 9947efd Imported Translations from Zanata a4025a4 Imported Translations from Zanata 39d6562 Using sys.exit(main()) instead of main() c1dcaac Set reasonable name to browser title bar 53dee2c Use horizon's common "views" for Angular 5059c9b Imported Translations from Zanata c5dacdb Update $modal to $uibModal c5c0f46 Imported Translations from Zanata 387dad0 Imported Translations from Zanata 538e010 Use initAction instead initScope 72435b5 Change creation actions to global a1c0bdf Imported Translations from Zanata 2e21d08 Create template without keypair and fix REST data c2211e4 Imported Translations from Zanata 99358d1 Updated from global requirements ddc6e56 Imported Translations from Zanata 40c8338 Allow keypair in cluster creation e5d939a Remove mox in helpers.py 9273ecb Imported Translations from Zanata 9ef6bb7 Imported Translations from Zanata a388fea Show team and repo badges on README 24bc450 Imported Translations from Zanata ed79498 Imported Translations from Zanata e10be39 Add CONTRIBUTING.rst 93a7a76 Imported Translations from Zanata de34ac6 Imported Translations from Zanata ed1339a Imported Translations from Zanata bc26281 Add javascript tests for deleteClustersDeleteService 629883a Update karma coverage threshold values b707291 Add javascript tests for clusterOverviewController dbbf19e Imported Translations from Zanata d446a50 Updated from global requirements 54b2b7d Imported Translations from Zanata 350ec2b Add javascript tests for clusterCreate bd0c139 Change javascript tests for templateSpecController 82355ad Updated from global requirements 34d4744 Imported Translations from Zanata d77152e Add javascript tests for clusterSignCertificate model and service 72a8e55 Add javascript tests for clusterCreateInfoController b670723 Don't include openstack/common in flake8 exclude list 6c9fa3d Drop MANIFEST.in - it's not needed by pbr 1284029 Add javascript tests for clusterShowCertificateService 10dacb2 Imported Translations from Zanata 82efaa5 Imported Translations from Zanata b090c83 Updated from global requirements 5906576 Imported Translations from Zanata 2be8abc Add javascript tests for ClusterTemplateCreateService acf8c5c fix typo 04b7533 Add javascript tests for templateOverviewController 53e25a1 Add javascript tests for ClusterTemplateModel 6ad1366 Imported Translations from Zanata e490cfc Add javascript tests for deleteClusterTemplateDeleteService 5276a75 Imported Translations from Zanata c8acaa3 Imported Translations from Zanata 9df149a Enable release notes translation a55f752 Imported Translations from Zanata 56c6403 Updated from global requirements 109cdd7 Imported Translations from Zanata 1b2375d Add javascript tests for create label/network/spec 8853d20 Add javascript tests for createClusterTemplateInfoController f6be45e Imported Translations from Zanata 3cc8e9d Updated from global requirements 4620502 Add Apache 2.0 license to source file 714a460 Fix URL for release notes in docs f9da6ea Updated from global requirements 2b2b61a Imported Translations from Zanata 0c3270e Remove unnecessary magnum_ui/models.py file 0ef248a Move listFunction and add javascript tests for cluster services 468cd01 Fix column label on cluster table 1f30c1d Use Chrome for JS unit tests 15b4c6b Imported Translations from Zanata c5a8505 Imported Translations from Zanata bbbf61f Add javascript test for magnum.service.js 99b8728 Add release notes for Newton ebe35f5 Add javascript tests for actions.modules.js b265d65 Update home page link in cfg file ac73b67 Add reno for releasenotes management 45e42b7 Ignore node_modules in pep8 Diffstat (except docs and test files) ------------------------------------- .gitignore | 2 + CONTRIBUTING.rst | 16 + MANIFEST.in | 2 - README.rst | 17 +- magnum_ui/api/magnum.py | 92 ++- magnum_ui/api/rest/magnum.py | 26 + magnum_ui/content/cluster_templates/urls.py | 9 +- magnum_ui/content/cluster_templates/views.py | 19 - magnum_ui/content/clusters/urls.py | 9 +- magnum_ui/content/clusters/views.py | 19 - magnum_ui/karma.conf.js | 18 +- magnum_ui/locale/cs/LC_MESSAGES/django.po | 16 +- magnum_ui/locale/cs/LC_MESSAGES/djangojs.po | 318 +++++++++- magnum_ui/locale/de/LC_MESSAGES/django.po | 30 + magnum_ui/locale/de/LC_MESSAGES/djangojs.po | 649 +++++++++++++++++++++ magnum_ui/locale/en_AU/LC_MESSAGES/djangojs.po | 581 ++++++++++++++++++ magnum_ui/locale/en_GB/LC_MESSAGES/djangojs.po | 24 +- magnum_ui/locale/fr/LC_MESSAGES/django.po | 24 + magnum_ui/locale/fr/LC_MESSAGES/djangojs.po | 580 ++++++++++++++++++ magnum_ui/locale/id/LC_MESSAGES/django.po | 31 + magnum_ui/locale/id/LC_MESSAGES/djangojs.po | 627 ++++++++++++++++++++ magnum_ui/locale/ja/LC_MESSAGES/django.po | 12 +- magnum_ui/locale/ja/LC_MESSAGES/djangojs.po | 84 ++- magnum_ui/locale/ko_KR/LC_MESSAGES/django.po | 31 + magnum_ui/locale/ko_KR/LC_MESSAGES/djangojs.po | 400 ++++++++++++- magnum_ui/locale/pt_BR/LC_MESSAGES/djangojs.po | 24 +- magnum_ui/locale/ru/LC_MESSAGES/django.po | 25 + magnum_ui/locale/ru/LC_MESSAGES/djangojs.po | 415 ++++++++++++- magnum_ui/locale/zh_CN/LC_MESSAGES/django.po | 19 +- magnum_ui/locale/zh_CN/LC_MESSAGES/djangojs.po | 104 +++- magnum_ui/models.py | 3 - .../cluster-templates/actions.module.js | 44 +- .../cluster-templates/actions.module.spec.js | 59 ++ .../cluster-templates/cluster-templates.module.js | 33 +- .../cluster-templates/cluster-templates.service.js | 62 ++ .../cluster-templates.service.spec.js | 51 ++ .../create/cluster-template-model.js | 102 ---- .../create/create-workflow.service.js | 71 --- .../cluster-templates/create/create.service.js | 44 +- .../create/create.service.spec.js | 78 +++ .../info/cluster-template.info.controller.js | 88 --- .../cluster-templates/create/info/info.help.html | 12 - .../cluster-templates/create/info/info.html | 45 -- .../labels/cluster-template.labels.controller.js | 38 -- .../create/labels/labels.help.html | 1 - .../cluster-templates/create/labels/labels.html | 11 - .../network/cluster-template.network.controller.js | 38 -- .../create/network/network.help.html | 8 - .../cluster-templates/create/network/network.html | 81 --- .../spec/cluster-template.spec.controller.js | 77 --- .../cluster-templates/create/spec/spec.help.html | 12 - .../cluster-templates/create/spec/spec.html | 76 --- .../cluster-templates/delete/delete.service.js | 8 +- .../delete/delete.service.spec.js | 143 +++++ .../details/overview.controller.js | 4 +- .../details/overview.controller.spec.js | 45 ++ .../cluster-templates/details/overview.html | 5 +- .../cluster-templates/update/update.service.js | 156 +++++ .../update/update.service.spec.js | 90 +++ .../cluster-templates/workflow/info.help.html | 12 + .../cluster-templates/workflow/labels.help.html | 1 + .../cluster-templates/workflow/network.help.html | 10 + .../cluster-templates/workflow/spec.help.html | 12 + .../cluster-templates/workflow/workflow.service.js | 507 ++++++++++++++++ .../workflow/workflow.service.spec.js | 59 ++ .../container-infra/clusters/actions.module.js | 45 +- .../clusters/actions.module.spec.js | 64 ++ .../container-infra/clusters/clusters.module.js | 46 +- .../container-infra/clusters/clusters.service.js | 61 ++ .../clusters/clusters.service.spec.js | 51 ++ .../clusters/create/cluster-model.js | 72 --- .../clusters/create/create-workflow.service.js | 63 -- .../clusters/create/create.service.js | 51 +- .../clusters/create/create.service.spec.js | 74 +++ .../create/info/cluster.info.controller.js | 83 --- .../clusters/create/info/info.help.html | 1 - .../container-infra/clusters/create/info/info.html | 50 -- .../create/misc/cluster.misc.controller.js | 38 -- .../clusters/create/misc/misc.help.html | 1 - .../container-infra/clusters/create/misc/misc.html | 17 - .../create/size/cluster.size.controller.js | 38 -- .../clusters/create/size/size.help.html | 1 - .../container-infra/clusters/create/size/size.html | 20 - .../clusters/delete/delete.service.js | 8 +- .../clusters/delete/delete.service.spec.js | 141 +++++ .../clusters/details/overview.controller.js | 4 +- .../clusters/details/overview.controller.spec.js | 45 ++ .../container-infra/clusters/details/overview.html | 2 + .../show-certificate/show-certificate.service.js | 4 +- .../show-certificate.service.spec.js | 53 ++ .../sign-certificate-model.spec.js | 46 ++ .../sign-certificate/sign-certificate.service.js | 17 +- .../sign-certificate.service.spec.js | 78 +++ .../clusters/update/update.service.js | 116 ++++ .../clusters/update/update.service.spec.js | 90 +++ .../workflow/cluster-template.controller.js | 86 +++ .../workflow/cluster-template.controller.spec.js | 62 ++ .../clusters/workflow/cluster-template.html | 27 + .../clusters/workflow/info.help.html | 1 + .../clusters/workflow/misc.help.html | 9 + .../clusters/workflow/size.help.html | 1 + .../clusters/workflow/workflow.service.js | 219 +++++++ .../clusters/workflow/workflow.service.spec.js | 54 ++ .../dashboard/container-infra/magnum.service.js | 16 + .../container-infra/magnum.service.spec.js | 134 ++++- magnum_ui/test/helpers.py | 6 +- magnum_ui/version.py | 11 + package.json | 4 +- releasenotes/notes/add-reno-7d46796dbf41c247.yaml | 4 + releasenotes/notes/newton-dac21adfe6c6b8ee.yaml | 49 ++ releasenotes/notes/ocata-b08d6b024c63296b.yaml | 26 + .../notes/ocata-summary-a717111a782c7a68.yaml | 23 + .../notes/update-actions-02db7b9f8e5d36b6.yaml | 14 + releasenotes/source/_static/.placeholder | 0 releasenotes/source/_templates/.placeholder | 0 releasenotes/source/conf.py | 276 +++++++++ releasenotes/source/index.rst | 9 + .../source/locale/de/LC_MESSAGES/releasenotes.po | 195 +++++++ .../source/locale/id/LC_MESSAGES/releasenotes.po | 186 ++++++ .../source/locale/ja/LC_MESSAGES/releasenotes.po | 188 ++++++ .../locale/ko_KR/LC_MESSAGES/releasenotes.po | 133 +++++ .../locale/zh_CN/LC_MESSAGES/releasenotes.po | 172 ++++++ releasenotes/source/newton.rst | 6 + releasenotes/source/unreleased.rst | 5 + requirements.txt | 26 +- setup.cfg | 3 +- test-requirements.txt | 11 +- tools/install_venv.py | 2 +- tox.ini | 25 +- 131 files changed, 8212 insertions(+), 1476 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 8ac1c33..93e2239 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10 +10 @@ -pbr>=1.6 # Apache-2.0 +pbr>=1.8 # Apache-2.0 @@ -16 +16 @@ django-compressor>=2.0 # MIT -django-openstack-auth>=2.4.0 # Apache-2.0 +django-openstack-auth>=3.1.0 # Apache-2.0 @@ -18,22 +17,0 @@ django-pyscss>=2.0.2 # BSD License (2 clause) -XStatic>=1.0.0 # MIT License -XStatic-Angular>=1.3.7 # MIT License -XStatic-Angular-Bootstrap>=0.11.0.2 # MIT License -XStatic-Angular-Gettext>=2.1.0.2 # MIT License -XStatic-Angular-lrdragndrop>=1.0.2.2 # MIT License -XStatic-Bootstrap-Datepicker>=1.3.1.0 # Apache 2.0 License -XStatic-Bootstrap-SCSS>=3 # Apache 2.0 License -XStatic-D3>=3.1.6.2 # BSD License (3 clause) -XStatic-Hogan>=2.0.0.2 # Apache 2.0 License -XStatic-Font-Awesome>=4.3.0 # SIL OFL 1.1 License, MIT License -XStatic-Jasmine>=2.1.2.0 # MIT License -XStatic-jQuery>=1.7.2 # MIT License -XStatic-JQuery-Migrate>=1.2.1.1 # MIT License -XStatic-JQuery.quicksearch>=2.0.3.1 # MIT License -XStatic-JQuery.TableSorter>=2.14.5.1 # MIT License -XStatic-jquery-ui>=1.10.1 # MIT License -XStatic-JSEncrypt>=2.0.0.2 # MIT License -XStatic-Magic-Search>=0.2.5.1 # Apache 2.0 License -XStatic-Rickshaw>=1.5.0 # BSD License (prior) -XStatic-smart-table!=1.4.13.0,>=1.4.5.3 # MIT License -XStatic-Spin>=1.2.5.2 # MIT License -XStatic-term.js>=0.0.4 # MIT License diff --git a/test-requirements.txt b/test-requirements.txt index 207b058..e39802d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -12 +12 @@ hacking<0.11,>=0.10.2 -coverage>=3.6 # Apache-2.0 +coverage>=4.0 # Apache-2.0 @@ -15,2 +15,2 @@ mock>=2.0 # BSD -mox3>=0.7.0 # Apache-2.0 -nodeenv>=0.9.4 # BSD License # BSD +mox3!=0.19.0,>=0.7.0 # Apache-2.0 +nodeenv>=0.9.4 # BSD @@ -22 +22,2 @@ openstack.nose-plugin>=0.7 # Apache-2.0 -oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 +oslosphinx>=4.7.0 # Apache-2.0 +reno>=1.8.0 # Apache-2.0 @@ -24 +25 @@ selenium>=2.50.1 # Apache-2.0 -sphinx!=1.3b1,<1.3,>=1.2.1 # BSD +sphinx>=1.5.1 # BSD
participants (1)
-
no-reply@openstack.org