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 2013/04/18 06:53:42 UTC
svn commit: r1469162 - in /incubator/ambari/trunk: CHANGES.txt
ambari-web/app/controllers/main/host/details.js
ambari-web/app/controllers/wizard/step9_controller.js
ambari-web/app/messages.js
Author: yusaku
Date: Thu Apr 18 04:53:41 2013
New Revision: 1469162
URL: http://svn.apache.org/r1469162
Log:
AMBARI-1953. On Add Hosts, the request context for the start phase shows up as "Request Name Not Specified". (yusaku)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-web/app/controllers/main/host/details.js
incubator/ambari/trunk/ambari-web/app/controllers/wizard/step9_controller.js
incubator/ambari/trunk/ambari-web/app/messages.js
Modified: incubator/ambari/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1469162&r1=1469161&r2=1469162&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Thu Apr 18 04:53:41 2013
@@ -752,6 +752,9 @@ Trunk (unreleased changes):
BUG FIXES
+ AMBARI-1953. On Add Hosts, the request context for the start phase shows up
+ as "Request Name Not Specified". (yusaku)
+
AMBARI-1966. Client install tasks are shown twice in progress popup during
start phase of install wizard (update API call to include
params/reconfigure_client). (yusaku)
Modified: incubator/ambari/trunk/ambari-web/app/controllers/main/host/details.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/main/host/details.js?rev=1469162&r1=1469161&r2=1469162&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/controllers/main/host/details.js (original)
+++ incubator/ambari/trunk/ambari-web/app/controllers/main/host/details.js Thu Apr 18 04:53:41 2013
@@ -237,7 +237,7 @@ App.MainHostDetailsController = Em.Contr
self.sendCommandToServer('/host_components?HostRoles/host_name=' + self.get('content.hostName') + '\&HostRoles/component_name=' + componentName + '\&HostRoles/state=INIT',{
RequestInfo : {
- "context" : Em.I18n.t('requestInfo.installingHostComponent')+ " " + componentName
+ "context" : Em.I18n.t('requestInfo.installNewHostComponent')+ " " + componentName
},
Body:{
HostRoles:{
Modified: incubator/ambari/trunk/ambari-web/app/controllers/wizard/step9_controller.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/controllers/wizard/step9_controller.js?rev=1469162&r1=1469161&r2=1469162&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/controllers/wizard/step9_controller.js (original)
+++ incubator/ambari/trunk/ambari-web/app/controllers/wizard/step9_controller.js Thu Apr 18 04:53:41 2013
@@ -332,10 +332,10 @@ App.WizardStep9Controller = Em.Controlle
* run start/check services after installation phase
*/
launchStartServices: function () {
- var data = '{"RequestInfo": {"context": "'+Em.I18n.t("requestInfo.serviceStartCheck")+'"}, "Body": {"ServiceInfo": {"state": "STARTED"}}}';
+ var data = '{"RequestInfo": {"context": "'+Em.I18n.t("requestInfo.startServices")+'"}, "Body": {"ServiceInfo": {"state": "STARTED"}}}';
var name = 'wizard.step9.installer.launch_start_services';
if (this.get('content.controllerName') === 'addHostController') {
- data = '{"HostRoles": {"state": "STARTED"}}';
+ data = '{"RequestInfo": {"context": "'+Em.I18n.t("requestInfo.startHostComponents")+'"}, "Body": {"HostRoles": {"state": "STARTED"}}}';
name = 'wizard.step9.add_host.launch_start_services';
}
if (App.testMode) {
Modified: incubator/ambari/trunk/ambari-web/app/messages.js
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/messages.js?rev=1469162&r1=1469161&r2=1469162&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/messages.js (original)
+++ incubator/ambari/trunk/ambari-web/app/messages.js Thu Apr 18 04:53:41 2013
@@ -128,19 +128,19 @@ Em.I18n.translations = {
'common.abort': 'Abort',
'common.misc': 'Misc',
- 'requestInfo.installComponents':'Installing Host Components',
- 'requestInfo.installServices':'Installing Services',
+ 'requestInfo.installComponents':'Install Components',
+ 'requestInfo.installServices':'Install Services',
+ 'requestInfo.startServices':'Start Services',
'requestInfo.stopAllServices':'Stop All Services',
'requestInfo.startAllServices':'Start All Services',
- 'requestInfo.startHostComponent':'Start component',
- 'requestInfo.upgradeHostComponent':'Upgrade component',
- 'requestInfo.stopHostComponent':'Stop component',
- 'requestInfo.installHostComponent':'Install component',
- 'requestInfo.installingHostComponent':'Installing new component',
+ 'requestInfo.startHostComponent':'Start Component',
+ 'requestInfo.startHostComponents':'Start Components',
+ 'requestInfo.upgradeHostComponent':'Upgrade Component',
+ 'requestInfo.stopHostComponent':'Stop Component',
+ 'requestInfo.installHostComponent':'Install Component',
+ 'requestInfo.installNewHostComponent':'Install New Component',
'requestInfo.stopService':'Stop Service',
'requestInfo.startService':'Start Service',
- 'requestInfo.serviceStartCheck':'Check Started Services',
-
'hostPopup.noServicesToShow':'No services to show',
'hostPopup.noHostsToShow':'No hosts to show',