Repository: brooklyn-ui
Updated Branches:
  refs/heads/master 073b00edc -> a11e8ddd1


Fix app wizard configuration load

The endpoint used was changed to require a version. Assume latest.


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/e9033314
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/e9033314
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/e9033314

Branch: refs/heads/master
Commit: e903331433ad407665a11fdf4532f3618286005b
Parents: 073b00e
Author: Sam Corbett <sam.corb...@cloudsoftcorp.com>
Authored: Fri Jul 14 18:59:03 2017 +0100
Committer: Sam Corbett <sam.corb...@cloudsoftcorp.com>
Committed: Fri Jul 14 18:59:03 2017 +0100

----------------------------------------------------------------------
 src/main/webapp/assets/js/view/application-add-wizard.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/e9033314/src/main/webapp/assets/js/view/application-add-wizard.js
----------------------------------------------------------------------
diff --git a/src/main/webapp/assets/js/view/application-add-wizard.js 
b/src/main/webapp/assets/js/view/application-add-wizard.js
index 0902eec..04449a0 100644
--- a/src/main/webapp/assets/js/view/application-add-wizard.js
+++ b/src/main/webapp/assets/js/view/application-add-wizard.js
@@ -643,7 +643,7 @@ define([
             } else if (this.model.catalogEntityData=="LOAD") {
                 console.log("loading", this.model.spec.get("type"));
                 this.renderStaticConfig("LOADING")
-                
$.get('/v1/catalog/entities/'+encodeURIComponent(this.model.spec.get("type")), 
{}, function (result) {
+                
$.get('/v1/catalog/entities/'+encodeURIComponent(this.model.spec.get("type")) + 
'/latest', {}, function (result) {
                     that.model.catalogEntityData = result
                     that.renderStaticConfig(that.model.catalogEntityData)
                 })

Reply via email to