stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From im...@apache.org
Subject [5/6] stratos git commit: Adding iaas provider selection to cartridge in UI
Date Tue, 16 Jun 2015 12:37:37 GMT
Adding iaas provider selection to cartridge in UI


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/4a197394
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/4a197394
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/4a197394

Branch: refs/heads/master
Commit: 4a19739474291c47ba12604d34923573fe97dd14
Parents: 45cb11c
Author: Pubudu Gunatilaka <pubudu538@gmail.com>
Authored: Tue Jun 16 17:52:22 2015 +0530
Committer: Pubudu Gunatilaka <pubudu538@gmail.com>
Committed: Tue Jun 16 17:52:22 2015 +0530

----------------------------------------------------------------------
 .../console/configure_form.jag                                   | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/4a197394/components/org.apache.stratos.manager.console/console/configure_form.jag
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/configure_form.jag b/components/org.apache.stratos.manager.console/console/configure_form.jag
index 92fa4d2..18b0e48 100644
--- a/components/org.apache.stratos.manager.console/console/configure_form.jag
+++ b/components/org.apache.stratos.manager.console/console/configure_form.jag
@@ -70,6 +70,10 @@ if (!elements) {
             var iaasProviders = util.RESTCalls.getIaaSProviders();
             formData['properties']['provider']['enum'] = iaasProviders['iaasProviders'];
         }
+        if(elements.formtype == 'cartridges'){
+            var iaasProviders = util.RESTCalls.getIaaSProviders();
+            formData['properties']['iaasProvider']['items']['properties']['type']['enum']
= iaasProviders['iaasProviders'];          
+        }
 
 
     } catch (e) {


Mime
View raw message