deb-murano/releasenotes/notes
Alexander Tivelkov 2858689767 'GetPackageUI' API can now be called even if Glare is used
Since Glare support was introduced the 'catalog/packages' part of
Murano API (/v1/catalog/packages) became obsolete and was intended to
be used for "legacy" (i.e. non-glare-based) package storage. The
murano client was supposed to directly call glare to retrieve the
packages.

However, the "GetPackageUI" call (GET
/v1/catalog/packages/%pkg_id%/ui) is different: not all the packages
bundle the UI definitions, some require Murano to generate them based
on the contents of the package. This is true for HOT-based packages
and others, plugin-based ones. In future this will be true for 100% of
the packages when the dynamic ui and object model generation is added.

Because of this that API should be callable even if Glare is
configured as a package storage backend. It should fetch the artifact
from glare, unpack it and use whatever plugin-specific logic required
to generate the UI definitions for this particular package.

This patch introduces appropriate change while maintaining the
backwards compatibility: in the legacy mode (i.e. when murano's DB
acts as package storage) the UI is read directly from an appropriate
DB table without fetching the whole package.

This fixes the issue when the HOT-based packages could not be
deplpoyed properly with murano-dashboard, but the murano-client has to
be updated as well to properly call the modified API even if Glare is
enabled.

Change-Id: Id9327e4015e1c0a1553c0b1a0151a94ee4da2928
Partial-bug: #1565805
2016-04-08 15:27:10 +00:00
..
.placeholder Add reno for release notes management 2015-11-12 00:28:04 +03:00
application_catalog-to-application-catalog-f61d12454a557f79.yaml Replacing application_catalog with application-catalog 2015-11-27 20:02:41 +08:00
attributes-owner-type-c321e82f99f96cf1.yaml Broken owner parameter for getAttr/setAttr was fixed 2016-01-15 23:13:17 +03:00
cinder-volumes-0412875c1011f8eb.yaml Support for Cinder volumes was added 2016-01-12 13:37:18 +00:00
class-config-versioning-23f1d676a3d54c0c.yaml Versioning for class configs 2016-02-14 18:11:50 +03:00
csar-template-plugin-f1682bfee213ae37.yaml Import and deploy TOSCA CSAR packages 2016-03-16 05:47:26 +00:00
enable-hot-for-glare-8026f2dccad1732e.yaml 'GetPackageUI' API can now be called even if Glare is used 2016-04-08 15:27:10 +00:00
enable-mocks-a156e7cc1b1d5066.yaml Updated mock release note and mock-index maxdepth 2015-12-18 16:44:54 +03:00
extension-methods-f674c2d342670e95.yaml Extension methods were introduced to MuranoPL 2016-03-03 15:01:30 +00:00
filter-in-package-definition-43edaf12rad81b88.yaml Modify filter by 'Name' in Package Definition 2016-01-09 17:23:43 +08:00
fip-multiple-external-networks-a6f99103ba3b3015.yaml Add release note for fip on multiple networks fix 2015-12-13 21:46:55 +03:00
fix-1498097.yaml Improve grammar in reno notes 2016-02-15 21:29:49 +03:00
fix-1528452-0e3bcee9bba89ffa.yaml Fix clobbered releasenote 2016-03-01 14:26:59 +03:00
hot-outputs-merge-eeb9d12356560b48.yaml HOT outputs were merged 2015-12-02 13:07:16 +03:00
magnum-plugin-f372caac83d2cd78.yaml App to deploy Magnum Bay. 2016-03-16 23:28:47 +03:00
meta-e76d5c747b0a0fb6.yaml Support of MuranoPL extended metadata was added 2016-03-03 12:32:19 +00:00
multi-class-yamls-cbb3ef1d8578f41a.yaml Ability to have several MuranoPL classes in single YAML file 2016-02-28 20:17:05 +03:00
multiple-engine-workers-7fec79572a6a9d01.yaml Add multiple engine workers 2016-02-22 10:46:17 +09:00
operator-is-9b2b554d3487924d.yaml New operator 'is' was added 2016-02-16 18:09:30 +03:00
package_cache-68495dcde223c167.yaml Improve grammar in reno notes 2016-02-15 21:29:49 +03:00
public-template-a8853ac02dcf9396.yaml Public environment template 2015-11-23 16:09:46 +03:00
reflection-2fc43b990ea6b980.yaml Operations on reflected entities 2016-02-20 01:49:39 +03:00
roles-for-requestcontext-43d32d88c3eaaa95.yaml Add roles to RequestContext.to_dict if they're not there 2016-03-03 02:18:54 +03:00
statics-9943fe9873138dac.yaml Support for static methods/properties 2016-02-18 22:23:19 +00:00
tag-heat-stacks-3345eb1bda531a6f.yaml Add tagging fuctionality for heat stacks 2015-12-27 11:02:52 +00:00
yaql11-822b503f13992890.yaml Migration to yaql 1.1 2016-02-18 12:00:59 +00:00