You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2018/06/27 17:11:12 UTC

[ambari] branch trunk updated: [AMBARI-24198] Ranger KMS Database Connection Test hangs with JS error.

This is an automated email from the ASF dual-hosted git repository.

yusaku pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new a8184e8  [AMBARI-24198] Ranger KMS Database Connection Test hangs with JS error.
a8184e8 is described below

commit a8184e8b7f6d8d247ee2ef77303c6bce55ebca39
Author: Ishan Bhatt <is...@gmail.com>
AuthorDate: Tue Jun 26 19:18:00 2018 -0700

    [AMBARI-24198] Ranger KMS Database Connection Test hangs with JS error.
---
 .../app/views/common/configs/widgets/test_db_connection_widget_view.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js b/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
index b47aed0..4a715b9 100644
--- a/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
+++ b/ambari-web/app/views/common/configs/widgets/test_db_connection_widget_view.js
@@ -295,7 +295,8 @@ App.TestDbConnectionWidgetView = App.ConfigWidgetView.extend({
       KERBEROS: ['kdc_hosts'],
       RANGER: ranger && ranger.compareCurrentVersion('0.5') > -1 ?
         ['db_user', 'db_password', 'db_name', 'ranger.jpa.jdbc.url', 'ranger.jpa.jdbc.driver'] :
-        ['db_user', 'db_password', 'db_name', 'ranger_jdbc_connection_url', 'ranger_jdbc_driver']
+        ['db_user', 'db_password', 'db_name', 'ranger_jdbc_connection_url', 'ranger_jdbc_driver'],
+      RANGER_KMS: ['db_user', 'db_password', 'ranger.ks.jpa.jdbc.url', 'ranger.ks.jpa.jdbc.driver']
     };
     return propertiesMap[this.get('parentView.content.serviceName')];
   }.property(),