* @file Instance Module file
*/
import { CommonModule, LOCATION_INITIALIZED } from '@angular/common';
-import { HTTP_INTERCEPTORS, HttpClient, HttpClientModule } from '@angular/common/http';
+import { HttpClient, HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
import { APP_INITIALIZER, Injector, NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { PDUInstancesActionComponent } from 'PDUInstancesActionComponent';
import { ProjectLinkComponent } from 'ProjectLinkComponent';
import { ProjectsActionComponent } from 'ProjectsAction';
+import { ScalingComponent } from 'ScalingComponent';
import { SDNControllerActionComponent } from 'SDNControllerActionComponent';
+import { SharedModule } from 'SharedModule';
import { ShowInfoComponent } from 'ShowInfoComponent';
import { SwitchProjectComponent } from 'SwitchProjectComponent';
import { UsersActionComponent } from 'UsersActionComponent';
PDUInstancesActionComponent,
SDNControllerActionComponent,
SwitchProjectComponent,
- GoToTopDirective
+ GoToTopDirective,
+ ScalingComponent
],
imports: [
NotifierModule.withConfig(customNotifierOptions),
}),
NgbModule,
NgSelectModule,
- RouterModule.forRoot(appRoutes, { useHash: false }),
+ RouterModule.forRoot(appRoutes, { useHash: false, relativeLinkResolution: 'legacy' }),
NgIdleKeepaliveModule.forRoot(),
- LoaderModule
+ LoaderModule,
+ SharedModule
],
providers: [
{
WIMAccountsActionComponent,
PDUInstancesActionComponent,
SDNControllerActionComponent,
- SwitchProjectComponent
+ SwitchProjectComponent,
+ ScalingComponent
]
})