]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/src/app/ceph/cluster/cluster.module.ts
import 15.2.9
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / src / app / ceph / cluster / cluster.module.ts
1 import { CommonModule } from '@angular/common';
2 import { NgModule } from '@angular/core';
3 import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4 import { RouterModule } from '@angular/router';
5
6 import { TreeModule } from 'angular-tree-component';
7 import { NgBootstrapFormValidationModule } from 'ng-bootstrap-form-validation';
8 import { AlertModule } from 'ngx-bootstrap/alert';
9 import { BsDatepickerModule } from 'ngx-bootstrap/datepicker';
10 import { BsDropdownModule } from 'ngx-bootstrap/dropdown';
11 import { ModalModule } from 'ngx-bootstrap/modal';
12 import { TabsModule } from 'ngx-bootstrap/tabs';
13 import { TimepickerModule } from 'ngx-bootstrap/timepicker';
14 import { TooltipModule } from 'ngx-bootstrap/tooltip';
15 import { TypeaheadModule } from 'ngx-bootstrap/typeahead';
16
17 import { OrchestratorDocModalComponent } from '../../shared/components/orchestrator-doc-modal/orchestrator-doc-modal.component';
18 import { SharedModule } from '../../shared/shared.module';
19 import { PerformanceCounterModule } from '../performance-counter/performance-counter.module';
20 import { CephSharedModule } from '../shared/ceph-shared.module';
21 import { ConfigurationDetailsComponent } from './configuration/configuration-details/configuration-details.component';
22 import { ConfigurationFormComponent } from './configuration/configuration-form/configuration-form.component';
23 import { ConfigurationComponent } from './configuration/configuration.component';
24 import { CrushmapComponent } from './crushmap/crushmap.component';
25 import { HostDetailsComponent } from './hosts/host-details/host-details.component';
26 import { HostFormComponent } from './hosts/host-form/host-form.component';
27 import { HostsComponent } from './hosts/hosts.component';
28 import { InventoryDevicesComponent } from './inventory/inventory-devices/inventory-devices.component';
29 import { InventoryComponent } from './inventory/inventory.component';
30 import { LogsComponent } from './logs/logs.component';
31 import { MgrModulesModule } from './mgr-modules/mgr-modules.module';
32 import { MonitorComponent } from './monitor/monitor.component';
33 import { OsdCreationPreviewModalComponent } from './osd/osd-creation-preview-modal/osd-creation-preview-modal.component';
34 import { OsdDetailsComponent } from './osd/osd-details/osd-details.component';
35 import { OsdDevicesSelectionGroupsComponent } from './osd/osd-devices-selection-groups/osd-devices-selection-groups.component';
36 import { OsdDevicesSelectionModalComponent } from './osd/osd-devices-selection-modal/osd-devices-selection-modal.component';
37 import { OsdFlagsIndivModalComponent } from './osd/osd-flags-indiv-modal/osd-flags-indiv-modal.component';
38 import { OsdFlagsModalComponent } from './osd/osd-flags-modal/osd-flags-modal.component';
39 import { OsdFormComponent } from './osd/osd-form/osd-form.component';
40 import { OsdListComponent } from './osd/osd-list/osd-list.component';
41 import { OsdPerformanceHistogramComponent } from './osd/osd-performance-histogram/osd-performance-histogram.component';
42 import { OsdPgScrubModalComponent } from './osd/osd-pg-scrub-modal/osd-pg-scrub-modal.component';
43 import { OsdRecvSpeedModalComponent } from './osd/osd-recv-speed-modal/osd-recv-speed-modal.component';
44 import { OsdReweightModalComponent } from './osd/osd-reweight-modal/osd-reweight-modal.component';
45 import { OsdScrubModalComponent } from './osd/osd-scrub-modal/osd-scrub-modal.component';
46 import { ActiveAlertListComponent } from './prometheus/active-alert-list/active-alert-list.component';
47 import { MonitoringListComponent } from './prometheus/monitoring-list/monitoring-list.component';
48 import { RulesListComponent } from './prometheus/rules-list/rules-list.component';
49 import { SilenceFormComponent } from './prometheus/silence-form/silence-form.component';
50 import { SilenceListComponent } from './prometheus/silence-list/silence-list.component';
51 import { SilenceMatcherModalComponent } from './prometheus/silence-matcher-modal/silence-matcher-modal.component';
52 import { PlacementPipe } from './services/placement.pipe';
53 import { ServiceDaemonListComponent } from './services/service-daemon-list/service-daemon-list.component';
54 import { ServiceDetailsComponent } from './services/service-details/service-details.component';
55 import { ServiceFormComponent } from './services/service-form/service-form.component';
56 import { ServicesComponent } from './services/services.component';
57 import { TelemetryComponent } from './telemetry/telemetry.component';
58
59 @NgModule({
60 entryComponents: [
61 OsdDetailsComponent,
62 OsdScrubModalComponent,
63 OsdFlagsModalComponent,
64 OsdFlagsIndivModalComponent,
65 OsdRecvSpeedModalComponent,
66 OsdReweightModalComponent,
67 OsdPgScrubModalComponent,
68 OsdReweightModalComponent,
69 SilenceMatcherModalComponent,
70 OsdDevicesSelectionModalComponent,
71 OsdCreationPreviewModalComponent,
72 OrchestratorDocModalComponent
73 ],
74 imports: [
75 CommonModule,
76 PerformanceCounterModule,
77 TabsModule.forRoot(),
78 SharedModule,
79 RouterModule,
80 FormsModule,
81 ReactiveFormsModule,
82 BsDropdownModule.forRoot(),
83 BsDatepickerModule.forRoot(),
84 ModalModule.forRoot(),
85 AlertModule.forRoot(),
86 TooltipModule.forRoot(),
87 MgrModulesModule,
88 TypeaheadModule.forRoot(),
89 TimepickerModule.forRoot(),
90 TreeModule.forRoot(),
91 BsDatepickerModule.forRoot(),
92 NgBootstrapFormValidationModule,
93 CephSharedModule
94 ],
95 declarations: [
96 HostsComponent,
97 MonitorComponent,
98 ConfigurationComponent,
99 OsdListComponent,
100 OsdDetailsComponent,
101 OsdPerformanceHistogramComponent,
102 OsdScrubModalComponent,
103 OsdFlagsModalComponent,
104 HostDetailsComponent,
105 ConfigurationDetailsComponent,
106 ConfigurationFormComponent,
107 OsdReweightModalComponent,
108 CrushmapComponent,
109 LogsComponent,
110 OsdRecvSpeedModalComponent,
111 OsdPgScrubModalComponent,
112 ActiveAlertListComponent,
113 OsdRecvSpeedModalComponent,
114 SilenceFormComponent,
115 SilenceListComponent,
116 SilenceMatcherModalComponent,
117 ServicesComponent,
118 InventoryComponent,
119 HostFormComponent,
120 OsdFormComponent,
121 OsdDevicesSelectionModalComponent,
122 InventoryDevicesComponent,
123 OsdDevicesSelectionGroupsComponent,
124 OsdCreationPreviewModalComponent,
125 RulesListComponent,
126 ActiveAlertListComponent,
127 MonitoringListComponent,
128 HostFormComponent,
129 ServiceDetailsComponent,
130 ServiceDaemonListComponent,
131 TelemetryComponent,
132 OsdFlagsIndivModalComponent,
133 ServiceFormComponent,
134 PlacementPipe
135 ]
136 })
137 export class ClusterModule {}