|
@@ -664,18 +664,11 @@ App.WizardStep7Controller = Em.Controller.extend(App.ServerValidatorMixin, {
|
|
this.get('selectedServiceNames').forEach(function (serviceName) {
|
|
this.get('selectedServiceNames').forEach(function (serviceName) {
|
|
if (!serviceConfigs.findProperty('serviceName', serviceName)) return;
|
|
if (!serviceConfigs.findProperty('serviceName', serviceName)) return;
|
|
var selectedService = serviceConfigs.findProperty('serviceName', serviceName).set('selected', true);
|
|
var selectedService = serviceConfigs.findProperty('serviceName', serviceName).set('selected', true);
|
|
- // add secure configs when security is enabled
|
|
|
|
- if (this.get('securityEnabled')) {
|
|
|
|
- this.addSecureConfigs(selectedService, serviceName);
|
|
|
|
- }
|
|
|
|
}, this);
|
|
}, this);
|
|
this.get('installedServiceNames').forEach(function (serviceName) {
|
|
this.get('installedServiceNames').forEach(function (serviceName) {
|
|
var serviceConfigObj = serviceConfigs.findProperty('serviceName', serviceName);
|
|
var serviceConfigObj = serviceConfigs.findProperty('serviceName', serviceName);
|
|
var isInstallableService = App.StackService.find(serviceName).get('isInstallable');
|
|
var isInstallableService = App.StackService.find(serviceName).get('isInstallable');
|
|
if (!isInstallableService) serviceConfigObj.set('showConfig', false);
|
|
if (!isInstallableService) serviceConfigObj.set('showConfig', false);
|
|
- if (this.get('securityEnabled')) {
|
|
|
|
- this.setSecureConfigs(serviceConfigObj, serviceName);
|
|
|
|
- }
|
|
|
|
}, this);
|
|
}, this);
|
|
// if HA is enabled -> Remove SNameNode, hbase.rootdir should use Name Service ID
|
|
// if HA is enabled -> Remove SNameNode, hbase.rootdir should use Name Service ID
|
|
if (App.get('isHaEnabled')) {
|
|
if (App.get('isHaEnabled')) {
|