Author: srimanth
Date: Mon Apr 8 23:31:57 2013
New Revision: 1465823
URL: http://svn.apache.org/r1465823
Log:
AMBARI-1840. For global properties show restart for appropriate services only.
(srimanth)
Added:
incubator/ambari/trunk/ambari-web/app/assets/data/wizard/stack/hdp/version130/global.json
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-web/app/app.js
incubator/ambari/trunk/ambari-web/app/controllers/main/service/info/configs.js
incubator/ambari/trunk/ambari-web/app/models/service.js
incubator/ambari/trunk/ambari-web/app/utils/ajax.js
incubator/ambari/trunk/ambari-web/app/utils/config.js
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1465823&r1=1465822&r2=1465823&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Mon Apr 8 23:31:57 2013
@@ -12,6 +12,9 @@ Trunk (unreleased changes):
NEW FEATURES
+ AMBARI-1840. For global properties show restart for appropriate services
+ only. (srimanth)
+
AMBARI-1800. Add "Admin > Misc" section to Ambari Web to show service user
accounts. (yusaku)
Modified: incubator/ambari/trunk/ambari-web/app/app.js
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/app.js?rev=1465823&r1=1465822&r2=1465823&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/app.js (original)
+++ incubator/ambari/trunk/ambari-web/app/app.js Mon Apr 8 23:31:57 2013
@@ -36,6 +36,14 @@ module.exports = Em.Application.create({
var stackVersion = this.get('currentStackVersion') ||
this.get('defaultStackVersion');
return '/stacks/HDP/version/' + stackVersion.replace(/HDP-/g, '');
}.property('currentStackVersion'),
+
+ /**
+ * return url prefix with number value of version of HDP stack
+ */
+ stack2VersionURL:function(){
+ var stackVersion = this.get('currentStackVersion') ||
this.get('defaultStackVersion');
+ return '/stacks2/HDP/versions/1.3.0';//TODO +
stackVersion.replace(/HDP-/g, '');
+ }.property('currentStackVersion'),
clusterName: null,
currentStackVersion: null
});