diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-08-07 00:01:38 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-08-07 00:27:14 +0200 |
commit | c36cc4d9b79e3c6b1aaddb07ff959937e39b77fd (patch) | |
tree | 1de506be5fe1c422ef086b2bbeaf50c89fd26feb /server/sonar-web | |
parent | cddd1cb427019625c79133e8f6d9f0d9a64a156f (diff) | |
download | sonarqube-c36cc4d9b79e3c6b1aaddb07ff959937e39b77fd.tar.gz sonarqube-c36cc4d9b79e3c6b1aaddb07ff959937e39b77fd.zip |
SONAR-5499 Do not allow to change the distributed JDBC drivers
Diffstat (limited to 'server/sonar-web')
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb index 69ee8d1338c..990d7bc6580 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb @@ -66,7 +66,6 @@ class Server add_property(sonar_info, 'Database URL') { sonar_property('sonar.jdbc.url') } add_property(sonar_info, 'Database Login') { sonar_property('sonar.jdbc.username') } add_property(sonar_info, 'Database Driver') { "#{jdbc_metadata.getDriverName()} #{jdbc_metadata.getDriverVersion()}" } - add_property(sonar_info, 'Database Dialect (Hibernate)') { "#{Java::OrgSonarServerUi::JRubyFacade.getInstance().getDatabase().getDialect().getId()} (#{Java::OrgSonarServerUi::JRubyFacade.getInstance().getDatabase().getDialect().getHibernateDialectClass().getName()})" } add_property(sonar_info, 'Database Active Connections') { "#{Java::OrgSonarServerUi::JRubyFacade.getInstance().getDatabase().getDataSource().getNumActive()}" } add_property(sonar_info, 'Database Max. Active Connections') { sonar_property('sonar.jdbc.maxActive') } add_property(sonar_info, 'Database Max. Pool Wait') { sonar_property('sonar.jdbc.maxWait') } |