Pārlūkot izejas kodu

AMBARI-13333 Devdeploy:Change in property at Customize Services Page. (ababiichuk)

aBabiichuk 9 gadi atpakaļ
vecāks
revīzija
d729ce3fb5

+ 1 - 0
ambari-web/app/data/HDP2/site_properties.js

@@ -478,6 +478,7 @@ var hdp2properties = [
   },
   },
   {
   {
     "name": "oozie_hostname",
     "name": "oozie_hostname",
+    "displayName": "Database Host",
     "displayType": "host",
     "displayType": "host",
     "serviceName": "OOZIE",
     "serviceName": "OOZIE",
     "filename": "oozie-env.xml",
     "filename": "oozie-env.xml",

+ 1 - 1
ambari-web/test/data/HDP2.2/site_properties_test.js

@@ -25,7 +25,7 @@ describe('hdp2SiteProperties', function () {
    * @stackProperties: All the properties that are derived from stack definition
    * @stackProperties: All the properties that are derived from stack definition
    */
    */
   var stackProperties = siteProperties.filter(function(item){
   var stackProperties = siteProperties.filter(function(item){
-    return  (!(item.isRequiredByAgent === false || item.filename === 'alert_notification' || item.category === 'Ambari Principals'))
+    return  (!(item.isRequiredByAgent === false || item.filename === 'alert_notification' || item.category === 'Ambari Principals' || item.name === 'oozie_hostname'))
   });
   });
 
 
   stackProperties.forEach(function(siteProperty){
   stackProperties.forEach(function(siteProperty){

+ 1 - 1
ambari-web/test/data/HDP2.3/site_properties_test.js

@@ -25,7 +25,7 @@ describe('hdp2SiteProperties', function () {
    * @stackProperties: All the properties that are derived from stack definition
    * @stackProperties: All the properties that are derived from stack definition
    */
    */
   var stackProperties = siteProperties.filter(function(item){
   var stackProperties = siteProperties.filter(function(item){
-    return  (!(item.isRequiredByAgent === false || item.filename === 'alert_notification' || item.category === 'Ambari Principals'))
+    return  (!(item.isRequiredByAgent === false || item.filename === 'alert_notification' || item.category === 'Ambari Principals' || item.name === 'oozie_hostname'))
   });
   });
 
 
   stackProperties.forEach(function(siteProperty){
   stackProperties.forEach(function(siteProperty){

+ 1 - 1
ambari-web/test/data/HDP2/site_properties_test.js

@@ -25,7 +25,7 @@ describe('hdp2SiteProperties', function () {
    * @stackProperties: All the properties that are derived from stack definition
    * @stackProperties: All the properties that are derived from stack definition
    */
    */
   var stackProperties = siteProperties.filter(function(item){
   var stackProperties = siteProperties.filter(function(item){
-    return  (!(item.isRequiredByAgent === false || item.filename === 'alert_notification' || item.category === 'Ambari Principals'))
+    return  (!(item.isRequiredByAgent === false || item.filename === 'alert_notification' || item.category === 'Ambari Principals' || item.name === 'oozie_hostname'))
   });
   });
 
 
   stackProperties.forEach(function(siteProperty){
   stackProperties.forEach(function(siteProperty){