Revision 60171
Added by Argiro Kokogiannaki over 3 years ago
app.module.ts | ||
---|---|---|
23 | 23 |
import {HttpInterceptorService} from "./openaireLibrary/http-interceptor.service"; |
24 | 24 |
import {DEFAULT_TIMEOUT, TimeoutInterceptor} from "./openaireLibrary/timeout-interceptor.service"; |
25 | 25 |
import {ErrorInterceptorService} from "./openaireLibrary/error-interceptor.service"; |
26 |
import {AdminLoginGuard} from "./openaireLibrary/login/adminLoginGuard.guard"; |
|
27 |
import {AdminDashboardGuard} from "./utils/adminDashboard.guard"; |
|
26 | 28 |
|
27 | 29 |
@NgModule({ |
28 | 30 |
|
... | ... | |
44 | 46 |
declarations: [AppComponent, OpenaireErrorPageComponent], |
45 | 47 |
exports: [AppComponent], |
46 | 48 |
providers: [ |
47 |
EnvironmentSpecificResolver, |
|
49 |
EnvironmentSpecificResolver, AdminLoginGuard, AdminDashboardGuard,
|
|
48 | 50 |
{ |
49 | 51 |
provide: HTTP_INTERCEPTORS, |
50 | 52 |
useClass: HttpInterceptorService, |
Also available in: Unified diff
[Monitor dashboard | Trunk]
Admin tools:
- move amdin tool components underadmin-tool folder
- create admin tool routing module
- remove guard from each module and put it in admin tool routing module
Piwik:
- add piwik from configuration service and pass it in search, landing, monitor
App component:
- when stakeholder changes: update or reset properties adminToolsCommunity, adminToolsPortalType and init community information