projects
/
osm
/
NG-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 1952 - Uptime of running service instances not displayed correctly
[osm/NG-UI.git]
/
src
/
app
/
AppModule.ts
diff --git
a/src/app/AppModule.ts
b/src/app/AppModule.ts
index
5cfa65b
..
451e0f1
100644
(file)
--- a/
src/app/AppModule.ts
+++ b/
src/app/AppModule.ts
@@
-50,6
+50,8
@@
import { NgIdleKeepaliveModule } from '@ng-idle/keepalive';
import { AuthenticationService } from 'AuthenticationService';
import { AuthGuardService } from 'AuthGuardService';
import { BreadcrumbComponent } from 'BreadCrumb';
import { AuthenticationService } from 'AuthenticationService';
import { AuthGuardService } from 'AuthGuardService';
import { BreadcrumbComponent } from 'BreadCrumb';
+import { ChangePasswordComponent } from 'ChangePasswordComponent';
+import { ChangePasswordModule } from 'ChangePasswordModule';
import { ComposePackages } from 'ComposePackages';
import { ConfirmationTopologyComponent } from 'ConfirmationTopology';
import { DeleteComponent } from 'DeleteComponent';
import { ComposePackages } from 'ComposePackages';
import { ConfirmationTopologyComponent } from 'ConfirmationTopology';
import { DeleteComponent } from 'DeleteComponent';
@@
-67,7
+69,9
@@
import { PageNotFoundComponent } from 'PageNotFound';
import { PDUInstancesActionComponent } from 'PDUInstancesActionComponent';
import { ProjectLinkComponent } from 'ProjectLinkComponent';
import { ProjectsActionComponent } from 'ProjectsAction';
import { PDUInstancesActionComponent } from 'PDUInstancesActionComponent';
import { ProjectLinkComponent } from 'ProjectLinkComponent';
import { ProjectsActionComponent } from 'ProjectsAction';
+import { ScalingComponent } from 'ScalingComponent';
import { SDNControllerActionComponent } from 'SDNControllerActionComponent';
import { SDNControllerActionComponent } from 'SDNControllerActionComponent';
+import { SharedModule } from 'SharedModule';
import { ShowInfoComponent } from 'ShowInfoComponent';
import { SwitchProjectComponent } from 'SwitchProjectComponent';
import { UsersActionComponent } from 'UsersActionComponent';
import { ShowInfoComponent } from 'ShowInfoComponent';
import { SwitchProjectComponent } from 'SwitchProjectComponent';
import { UsersActionComponent } from 'UsersActionComponent';
@@
-121,7
+125,9
@@
const customNotifierOptions: NotifierOptions = {
PDUInstancesActionComponent,
SDNControllerActionComponent,
SwitchProjectComponent,
PDUInstancesActionComponent,
SDNControllerActionComponent,
SwitchProjectComponent,
- GoToTopDirective
+ GoToTopDirective,
+ ScalingComponent,
+ ChangePasswordComponent
],
imports: [
NotifierModule.withConfig(customNotifierOptions),
],
imports: [
NotifierModule.withConfig(customNotifierOptions),
@@
-145,7
+151,9
@@
const customNotifierOptions: NotifierOptions = {
NgSelectModule,
RouterModule.forRoot(appRoutes, { useHash: false, relativeLinkResolution: 'legacy' }),
NgIdleKeepaliveModule.forRoot(),
NgSelectModule,
RouterModule.forRoot(appRoutes, { useHash: false, relativeLinkResolution: 'legacy' }),
NgIdleKeepaliveModule.forRoot(),
- LoaderModule
+ LoaderModule,
+ SharedModule,
+ ChangePasswordModule
],
providers: [
{
],
providers: [
{
@@
-191,7
+199,9
@@
const customNotifierOptions: NotifierOptions = {
WIMAccountsActionComponent,
PDUInstancesActionComponent,
SDNControllerActionComponent,
WIMAccountsActionComponent,
PDUInstancesActionComponent,
SDNControllerActionComponent,
- SwitchProjectComponent
+ SwitchProjectComponent,
+ ScalingComponent,
+ ChangePasswordComponent
]
})
]
})
@@
-220,7
+230,7
@@
export function appInitializerFactory(translate: TranslateService, injector: Inj
translate.setDefaultLang('en');
const languageCode: string = localStorage.getItem('languageCode');
if (languageCode !== null && languageCode !== undefined && languageCode !== '') {
translate.setDefaultLang('en');
const languageCode: string = localStorage.getItem('languageCode');
if (languageCode !== null && languageCode !== undefined && languageCode !== '') {
- await translate.use(languageCode).toPromise().catch(() => {
+ await translate.use(languageCode).toPromise().catch(()
: void
=> {
translate.setDefaultLang('en');
});
} else {
translate.setDefaultLang('en');
});
} else {