Repository: ambari
Updated Branches:
  refs/heads/trunk 8b1d76cdf -> 7163ea266


AMBARI-5813. "Database Host" property is absent for Oozie service. (jaimin)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/7163ea26
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/7163ea26
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/7163ea26

Branch: refs/heads/trunk
Commit: 7163ea266ea9c1eb9154cff81629d8cd5a3bd9e3
Parents: 8b1d76c
Author: Jaimin Jetly <[email protected]>
Authored: Mon May 19 12:04:18 2014 -0700
Committer: Jaimin Jetly <[email protected]>
Committed: Mon May 19 12:05:21 2014 -0700

----------------------------------------------------------------------
 ambari-web/app/data/global_properties.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/7163ea26/ambari-web/app/data/global_properties.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/data/global_properties.js 
b/ambari-web/app/data/global_properties.js
index 4d33a8b..af16bf9 100644
--- a/ambari-web/app/data/global_properties.js
+++ b/ambari-web/app/data/global_properties.js
@@ -918,7 +918,7 @@ module.exports =
         },
                 {
           displayName: 'Existing PostgreSQL Database',
-          foreignKeys: ['oozie_existing_postgresql_database', 
'oozie_existing_postgresql_host'],
+          foreignKeys: ['oozie_existing_postgresql_database', 
'oozie_existing_postgresql_host']
           },
         {
           displayName: 'Existing Oracle Database',
@@ -968,7 +968,7 @@ module.exports =
     },
     {
       "id": "puppet var",
-      "name": "oozie_existing_postgres_host",
+      "name": "oozie_existing_postgresql_host",
       "displayName": "Database Host",
       "description": "Specify the host on which the existing database is 
hosted",
       "defaultValue": "",
@@ -976,7 +976,7 @@ module.exports =
       "isOverridable": false,
       "displayType": "host",
       "isRequiredByAgent": false,
-      "isVisible": false,
+      "isVisible": false,   // This is dynamically set to true if database 
selected by the user is existing postgresql
       "isObserved": true,
       "serviceName": "OOZIE",
       "category": "Oozie Server",

Reply via email to