Skip to content

Commit 180b1e7

Browse files
committed
feat: remove backups
1 parent 1e646cc commit 180b1e7

10 files changed

Lines changed: 0 additions & 625 deletions

File tree

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ A React-based frontend for the Akamai App Platform that provides a web interface
1515
- **Secret Management**: Create and manage Kubernetes secrets
1616
- **User Management**: Role-based access control (RBAC)
1717
- **Policy Management**: Security and compliance policies
18-
- **Backup Management**: Application backup configuration
1918
- **Workload Management**: Kubernetes workload oversight
2019

2120
### Prerequisites

public/i18n/en/common.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
"TITLE_TEAM": "Team {{teamId}}",
6464
"TITLE_TEAMS": "Teams",
6565
"TITLE_WORKLOADS": "Workloads",
66-
"TITLE_BACKUPS": "Backups",
6766
"TITLE_WORKLOAD": "Workload details",
6867
"TITLE_WORKLOAD_VALUES": "Workload values",
6968
"TITLE_USERS": "Users",
@@ -72,9 +71,7 @@
7271
"Teams": "Teams",
7372
"Workload": "Workload",
7473
"Workloads": "Workloads",
75-
"Backups": "Backups",
7674
"Workload_plural": "Workloads",
77-
"Backup_plural": "Backups",
7875
"User": "User",
7976
"User_plural": "Users",
8077
"WELCOME_DASHBOARD": "Team <1>{{teamName}}</1> dashboard",

src/App.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import createCache from '@emotion/cache'
44
import { CacheProvider } from '@emotion/react'
55
import { CssBaseline } from '@mui/material'
66
import cookie from 'cookie'
7-
import Backups from 'pages/Backups'
87
import OtomiApp from 'pages/App'
98
import Apps from 'pages/Apps'
109
import Error from 'pages/Error'
@@ -20,7 +19,6 @@ import Helmet from 'react-helmet'
2019
import { Provider } from 'react-redux'
2120
import { Route, BrowserRouter as Router, Switch } from 'react-router-dom'
2221
import { store } from 'redux/store'
23-
import Backup from 'pages/Backup'
2422
import LoadingScreen from 'components/LoadingScreen'
2523
import Dashboard from 'pages/Dashboard'
2624
import Users from 'pages/Users'
@@ -140,7 +138,6 @@ function App() {
140138

141139
<PrivateRoute path='/apps/:teamId' component={Apps} exact />
142140
<PrivateRoute path='/apps/:teamId/:appId' component={OtomiApp} exact />
143-
<PrivateRoute path='/backups' component={Backups} platformAdminRoute exact />
144141
<PrivateRoute
145142
path='/teams/create'
146143
component={TeamsCreateEditPage}
@@ -197,7 +194,6 @@ function App() {
197194
<PrivateRoute path='/settings/:settingId' component={Setting} exact />
198195
<PrivateRoute path='/teams' component={TeamsOverviewPage} platformAdminRoute exact />
199196
<PrivateRoute path='/teams/:teamId' component={TeamsCreateEditPage} exact />
200-
<PrivateRoute path='/teams/:teamId/backups/create' component={Backup} exact />
201197
<PrivateRoute
202198
path='/teams/:teamId/network-policies/inbound-rules/create'
203199
component={NetworkPoliciesIngressCreateEditPage}
@@ -230,8 +226,6 @@ function App() {
230226
component={SecretCreateEditPage}
231227
exact
232228
/>
233-
<PrivateRoute path='/teams/:teamId/backups' component={Backups} exact />
234-
<PrivateRoute path='/teams/:teamId/backups/:backupName' component={Backup} exact />
235229
<PrivateRoute
236230
path='/teams/:teamId/network-policies'
237231
component={NetworkPoliciesOverviewPage}

src/components/Backup.tsx

Lines changed: 0 additions & 63 deletions
This file was deleted.

src/components/Backups.tsx

Lines changed: 0 additions & 64 deletions
This file was deleted.

src/components/NavConfig.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ export default function NavConfig() {
3333
{ title: 'Apps', path: '/apps/admin', icon: getIcon('apps_icon.svg') },
3434
{ title: 'Teams', path: '/teams', icon: getIcon('teams_icon.svg') },
3535
{ title: 'User Management', path: '/users', icon: getIcon('users_icon.svg'), hidden: hasExternalIDP },
36-
{ title: 'Backups', path: '/backups', icon: getIcon('backup_icon.svg'), hidden: isManaged }, // replace .svg
3736
{ title: 'Maintenance', path: '/maintenance', icon: getIcon('maintenance_icon.svg') }, // replace .svg
3837
{
3938
title: 'Settings',

src/components/Setting.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ export const getSettingUiSchema = (settings: GetSettingsInfoApiResponse, setting
8383
},
8484
},
8585
ingress: { platformClass: { className: { 'ui:widget': 'hidden' } } },
86-
platformBackups: { persistentVolumes: { 'ui:widget': settings?.otomi?.isPreInstalled ? 'hidden' : '' } },
8786
obj: { showWizard: { 'ui:widget': 'hidden' } },
8887
}
8988

src/pages/Backup.tsx

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/pages/Backups.tsx

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)