Skip to content

Commit

Permalink
Development: Remove unused participation and repository caching from …
Browse files Browse the repository at this point in the history
…routing modules (#9886)
  • Loading branch information
SimonEntholzer authored Nov 28, 2024
1 parent e6e63ba commit 5f2e030
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 99 deletions.
36 changes: 0 additions & 36 deletions src/main/webapp/app/exam/manage/exam-management.route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,9 +310,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.TA, Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -322,9 +319,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.TA, Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN],
pageTitle: 'artemisApp.repository.commitHistory.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -334,9 +328,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.TA, Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN],
pageTitle: 'artemisApp.repository.commitHistory.commitDetails.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand Down Expand Up @@ -647,9 +638,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -659,9 +647,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -671,9 +656,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -683,9 +665,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -695,9 +674,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -707,9 +683,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -719,9 +692,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -731,9 +701,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -743,9 +710,6 @@ export const examManagementRoute: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ const routes: Routes = [
data: {
authorities: [Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN],
pageTitle: 'artemisApp.editor.home.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService],
},
Expand All @@ -24,9 +21,6 @@ const routes: Routes = [
data: {
authorities: [Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN],
pageTitle: 'artemisApp.editor.home.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService],
},
Expand All @@ -36,9 +30,6 @@ const routes: Routes = [
data: {
authorities: [Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN],
pageTitle: 'artemisApp.editor.home.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService],
},
Expand All @@ -48,9 +39,6 @@ const routes: Routes = [
data: {
authorities: [Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN],
pageTitle: 'artemisApp.editor.home.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService],
},
Expand All @@ -60,9 +48,6 @@ const routes: Routes = [
data: {
authorities: [Authority.EDITOR, Authority.INSTRUCTOR, Authority.ADMIN],
pageTitle: 'artemisApp.editor.home.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -178,9 +175,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -190,9 +184,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [LocalVCGuard],
},
Expand All @@ -202,9 +193,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [LocalVCGuard],
},
Expand All @@ -214,9 +202,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [LocalVCGuard],
},
Expand All @@ -226,9 +211,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [LocalVCGuard],
},
Expand All @@ -238,9 +220,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [LocalVCGuard],
},
Expand All @@ -250,9 +229,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -262,9 +238,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -274,9 +247,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -286,9 +256,6 @@ export const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.EDITOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ const routes: Routes = [
data: {
authorities: [Authority.USER],
pageTitle: 'artemisApp.editor.home.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService],
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ const routes: Routes = [
data: {
authorities: [Authority.USER],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -25,9 +22,6 @@ const routes: Routes = [
data: {
authorities: [Authority.USER],
pageTitle: 'artemisApp.repository.commitHistory.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -37,9 +31,6 @@ const routes: Routes = [
data: {
authorities: [Authority.USER],
pageTitle: 'artemisApp.repository.commitHistory.commitDetails.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand All @@ -49,9 +40,6 @@ const routes: Routes = [
data: {
authorities: [Authority.ADMIN, Authority.INSTRUCTOR, Authority.TA],
pageTitle: 'artemisApp.repository.title',
flushRepositoryCacheAfter: 900000, // 15 min
participationCache: {},
repositoryCache: {},
},
canActivate: [UserRouteAccessService, LocalVCGuard],
},
Expand Down

0 comments on commit 5f2e030

Please sign in to comment.