Add repair route

this is specifically for the case where some task failed and user
wants to get it back.
This commit is contained in:
Girish Ramakrishnan
2019-09-19 17:04:11 -07:00
parent 2942da78de
commit 9a22ba3af7
5 changed files with 39 additions and 2 deletions

View File

@@ -254,6 +254,7 @@ function initializeExpressSync() {
router.post('/api/v1/apps/:id/configure/env', appsManageScope, routes.apps.setEnvironment);
router.post('/api/v1/apps/:id/configure/data_dir', appsManageScope, routes.apps.setDataDir);
router.post('/api/v1/apps/:id/configure/location', appsManageScope, routes.apps.setLocation);
router.post('/api/v1/apps/:id/configure/repair', appsManageScope, routes.apps.repairApp);
router.post('/api/v1/apps/:id/update', appsManageScope, routes.apps.updateApp);
router.post('/api/v1/apps/:id/restore', appsManageScope, routes.apps.restoreApp);