Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
AMBARI-25143 Remove unused models from ambari-web. (ababiichuk)
  • Loading branch information
aBabiichuk committed Feb 5, 2019
1 parent 0b2dd28 commit 78c9b13cfc4e1f0bc481b61892aa0d871b6399e7
Showing 26 changed files with 0 additions and 1,294 deletions.

This file was deleted.

@@ -239,7 +239,6 @@ var files = [
'test/utils/ember_reopen_test',
'test/utils/errors/assertions_test',
'test/utils/errors/definitions_test',
'test/utils/form_field_test',
'test/utils/file_utils_test',
'test/utils/handlebars_helpers_test',
'test/utils/host_progress_popup_test',
@@ -489,18 +488,15 @@ var files = [
'test/models/alerts/alert_group_test',
'test/models/alerts/alert_instance_test',
'test/models/alerts/alert_notification_test',
'test/models/authentication_test',
'test/models/client_component_test',
'test/models/cluster_states_test',
'test/models/cluster_test',
'test/models/form_test',
'test/models/host_test',
'test/models/host_component_test',
'test/models/hosts_test',
'test/models/master_component_test',
'test/models/operating_system_test',
'test/models/repository_test',
'test/models/root_service_test',
'test/models/stack_service_component_test',
'test/models/service_test',
'test/models/slave_component_test',
@@ -378,13 +378,6 @@ App.ClusterController = Em.Controller.extend(App.ReloadPopupMixin, {
return "ABORTED" === status;
},

loadRootService: function () {
return App.ajax.send({
name: 'service.ambari',
sender: this
});
},

requestHosts: function (realUrl, callback) {
var testHostUrl = '/data/hosts/HDP2/hosts.json';
var url = this.getUrl(testHostUrl, realUrl);
@@ -17,7 +17,6 @@
*/

var App = require('app');
require('models/background_operation');

App.MainController = Em.Controller.extend({
name: 'mainController',
@@ -29,18 +29,15 @@ require('mappers/repository_version_mapper');
require('mappers/quicklinks_mapper');
require('mappers/hosts_mapper');
require('mappers/cluster_mapper');
require('mappers/racks_mapper');
require('mappers/users_mapper');
require('mappers/service_mapper');
require('mappers/service_metrics_mapper');
require('mappers/target_cluster_mapper');
require('mappers/components_state_mapper');
require('mappers/alert_definitions_mapper');
require('mappers/alert_definition_summary_mapper');
require('mappers/alert_instances_mapper');
require('mappers/alert_groups_mapper');
require('mappers/alert_notification_mapper');
require('mappers/root_service_mapper');
require('mappers/widget_mapper');
require('mappers/widget_layout_mapper');
require('mappers/stack_upgrade_history_mapper');

This file was deleted.

This file was deleted.

This file was deleted.

@@ -19,8 +19,6 @@

// load all models here

require('models/form'); // should be the 1st
require('models/authentication');
require('models/cluster');
require('models/cluster_states');
require('models/hosts');
@@ -37,7 +35,6 @@ require('models/stack_service_component');
require('models/quick_links');
require('models/quicklinks/quick_links_config');
require('models/service');
require('models/service_audit');
require('models/service/hdfs');
require('models/service/onefs');
require('models/service/yarn');
@@ -54,16 +51,12 @@ require('models/alerts/alert_config');
require('models/alerts/alert_group');
require('models/user');
require('models/host');
require('models/rack');
require('models/background_operation');
require('models/client_component');
require('models/host_component');
require('models/host_component_log');
require('models/target_cluster');
require('models/slave_component');
require('models/master_component');
require('models/host_stack_version');
require('models/root_service');
require('models/upgrade_entity');
require('models/finished_upgrade_entity');
require('models/configs/theme/theme_condition');

This file was deleted.

0 comments on commit 78c9b13

Please sign in to comment.