ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-1867 Fixed XML for Generic datasource generation.
Date Tue, 17 Nov 2015 04:36:19 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843-rc1 2cb1efa48 -> 50c8fd96e


IGNITE-1867 Fixed XML for Generic datasource generation.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/50c8fd96
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/50c8fd96
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/50c8fd96

Branch: refs/heads/ignite-843-rc1
Commit: 50c8fd96e863c6dc0f4799eb12dc1d1701edb42c
Parents: 2cb1efa
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Tue Nov 17 11:36:42 2015 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Tue Nov 17 11:36:42 2015 +0700

----------------------------------------------------------------------
 .../src/main/js/helpers/generator/generator-xml.js             | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/50c8fd96/modules/control-center-web/src/main/js/helpers/generator/generator-xml.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/helpers/generator/generator-xml.js b/modules/control-center-web/src/main/js/helpers/generator/generator-xml.js
index 5a290f7..b6f4c10 100644
--- a/modules/control-center-web/src/main/js/helpers/generator/generator-xml.js
+++ b/modules/control-center-web/src/main/js/helpers/generator/generator-xml.js
@@ -1366,11 +1366,17 @@ $generatorXml.generateDataSources = function (datasources, res) {
             res.startBlock('<bean id="' + beanId + '" class="' + item.className + '">');
 
             switch (item.dialect) {
+                case 'Generic':
+                    res.line('<property name="jdbcUrl" value="${' + beanId + '.jdbc.url}"
/>');
+
+                    break;
+
                 case 'DB2':
                     res.line('<property name="serverName" value="${' + beanId + '.jdbc.server_name}"
/>');
                     res.line('<property name="portNumber" value="${' + beanId + '.jdbc.port_number}"
/>');
                     res.line('<property name="databaseName" value="${' + beanId + '.jdbc.database_name}"
/>');
                     res.line('<property name="driverType" value="${' + beanId + '.jdbc.driver_type}"
/>');
+
                     break;
 
                 default:


Mime
View raw message