This closes #88
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/add0cd48 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/add0cd48 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/add0cd48 Branch: refs/heads/master Commit: add0cd48122c2e5aa55f8944554a49adc48ebb69 Parents: 88c36c3 77d0ce9 Author: Thomas Bouron <thomas.bou...@cloudsoftcorp.com> Authored: Wed Oct 24 15:11:11 2018 +0100 Committer: Thomas Bouron <thomas.bou...@cloudsoftcorp.com> Committed: Wed Oct 24 15:11:11 2018 +0100 ---------------------------------------------------------------------- .../app/components/providers/blueprint-service.provider.js | 4 ++-- .../blueprint-composer/app/components/providers/palette-api.js | 4 ++-- .../app/components/providers/palette-api.provider.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/add0cd48/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js ---------------------------------------------------------------------- diff --cc ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js index c802d5e,ab06dff..9630303 --- a/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js +++ b/ui-modules/blueprint-composer/app/components/providers/blueprint-service.provider.js @@@ -228,11 -228,11 +228,11 @@@ function BlueprintService($log, $q, $sc let deferred = $q.defer(); if (entity.hasType()) { - entity.family = family; + entity.family = family.id; let promise = entity.miscData.has('bundle') - ? paletteApi.getBundleType(entity.miscData.get('bundle').symbolicName, entity.miscData.get('bundle').version, entity.type, entity.version) - : paletteApi.getType(entity.type, entity.version); + ? paletteApi.getBundleType(entity.miscData.get('bundle').symbolicName, entity.miscData.get('bundle').version, entity.type, entity.version, entity.config) + : paletteApi.getType(entity.type, entity.version, entity.config); promise.then((data)=> { deferred.resolve(populateEntityFromApiSuccess(entity, data));