Skip to content

Commit 12b0328

Browse files
committed
[ML] removing unused notification settings endpoint
1 parent 4eb6c22 commit 12b0328

File tree

4 files changed

+0
-56
lines changed

4 files changed

+0
-56
lines changed

x-pack/plugins/ml/public/application/services/ml_api_service/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -361,13 +361,6 @@ export function mlApiServicesProvider(httpService: HttpService) {
361361
});
362362
},
363363

364-
getNotificationSettings() {
365-
return httpService.http<any>({
366-
path: `${basePath()}/notification_settings`,
367-
method: 'GET',
368-
});
369-
},
370-
371364
checkIndexExists({ index }: { index: string }) {
372365
const body = JSON.stringify({ index });
373366

x-pack/plugins/ml/server/plugin.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ import { jobRoutes } from './routes/anomaly_detectors';
4242
import { jobServiceRoutes } from './routes/job_service';
4343
import { savedObjectsRoutes } from './routes/saved_objects';
4444
import { jobValidationRoutes } from './routes/job_validation';
45-
import { notificationRoutes } from './routes/notification_settings';
4645
import { resultsServiceRoutes } from './routes/results_service';
4746
import { systemRoutes } from './routes/system';
4847
import { MlLicense } from '../common/license';

x-pack/plugins/ml/server/routes/apidoc.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,6 @@
127127
"ValidateCardinality",
128128
"ValidateJob",
129129

130-
"NotificationSettings",
131-
"GetNotificationSettings",
132-
133130
"DatafeedService",
134131
"CreateDatafeed",
135132
"PreviewDatafeed",

x-pack/plugins/ml/server/routes/notification_settings.ts

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

0 commit comments

Comments
 (0)