-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Expand file tree
/
Copy pathindex.ts
More file actions
157 lines (154 loc) · 7.82 KB
/
index.ts
File metadata and controls
157 lines (154 loc) · 7.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { syncParamsSettingsParamsRoute } from './settings/params/sync_global_params_settings';
import { syncParamsSyntheticsParamsRoute } from './settings/params/sync_global_params';
import { cleanupPrivateLocationRoute } from './settings/private_locations/cleanup_private_locations';
import { getSyntheticsTriggerTaskRun } from './tasks/trigger_task_run';
import { syntheticsInspectStatusRuleRoute } from './rules/inspect_status_rule';
import { syntheticsInspectTLSRuleRoute } from './rules/inspect_tls_rule';
import { syntheticsGetLatestTestRunRoute } from './pings/get_latest_test_run';
import { deleteSyntheticsParamsBulkRoute } from './settings/params/delete_params_bulk';
import { deleteSyntheticsMonitorBulkRoute } from './monitor_cruds/bulk_cruds/delete_monitor_bulk';
import { updateSyntheticsMonitorBulkRoute } from './monitor_cruds/bulk_cruds/update_monitor_bulk';
import {
createGetDynamicSettingsRoute,
createPostDynamicSettingsRoute,
} from './settings/dynamic_settings';
import {
createGetMultiSpaceSettingsRoute,
createPutMultiSpaceSettingsRoute,
} from './settings/multi_space_settings';
import { getSyntheticsParamsRoute } from './settings/params/params';
import { editSyntheticsParamsRoute } from './settings/params/edit_param';
import { getConnectorTypesRoute } from './default_alerts/get_connector_types';
import { getActionConnectorsRoute } from './default_alerts/get_action_connectors';
import type { SyntheticsRestApiRouteFactory } from './types';
import { getSyntheticsCertsRoute } from './certs/get_certificates';
import { getSyntheticsSuggestionsRoute } from './suggestions/suggestions_route';
import { getAgentPoliciesRoute } from './settings/private_locations/get_agent_policies';
import { inspectSyntheticsMonitorRoute } from './monitor_cruds/inspect_monitor';
import { deletePackagePolicyRoute } from './monitor_cruds/delete_integration';
import { createJourneyScreenshotRoute } from './pings/journey_screenshots';
import { createJourneyScreenshotBlocksRoute } from './pings/journey_screenshot_blocks';
import { createLastSuccessfulCheckRoute } from './pings/last_successful_check';
import { createJourneyRoute } from './pings/journeys';
import { updateDefaultAlertingRoute } from './default_alerts/update_default_alert';
import { getIndexSizesRoute } from './settings/settings';
import { getAPIKeySyntheticsRoute } from './monitor_cruds/get_api_key';
import { getServiceLocationsRoute } from './synthetics_service/get_service_locations';
import { deleteSyntheticsMonitorRoute } from './monitor_cruds/delete_monitor';
import { resetSyntheticsMonitorRoute } from './monitor_cruds/reset_monitor';
import { resetSyntheticsMonitorBulkRoute } from './monitor_cruds/bulk_cruds/reset_monitor_bulk';
import {
disableSyntheticsRoute,
getSyntheticsEnablementRoute,
} from './synthetics_service/enablement';
import { getSyntheticsMonitorRoute } from './monitor_cruds/get_monitor';
import { deleteSyntheticsMonitorProjectRoute } from './monitor_cruds/project_monitor/delete_monitor_project';
import { getSyntheticsProjectMonitorsRoute } from './monitor_cruds/project_monitor/get_monitor_project';
import { runOnceSyntheticsMonitorRoute } from './synthetics_service/run_once_monitor';
import { getServiceAllowedRoute } from './synthetics_service/get_service_allowed';
import { testNowMonitorRoute } from './synthetics_service/test_now_monitor';
import { installIndexTemplatesRoute } from './synthetics_service/install_index_templates';
import { editSyntheticsMonitorRoute } from './monitor_cruds/edit_monitor';
import { addSyntheticsMonitorRoute } from './monitor_cruds/add_monitor';
import { addSyntheticsProjectMonitorRoute } from './monitor_cruds/project_monitor/add_monitor_project';
import { syntheticsGetPingsRoute, syntheticsGetPingHeatmapRoute } from './pings';
import { createGetCurrentStatusRoute } from './overview_status/overview_status';
import { getHasIntegrationMonitorsRoute } from './fleet/get_has_integration_monitors';
import { enableDefaultAlertingRoute } from './default_alerts/enable_default_alert';
import { getDefaultAlertingRoute } from './default_alerts/get_default_alert';
import { createNetworkEventsRoute } from './network_events';
import { addPrivateLocationRoute } from './settings/private_locations/add_private_location';
import { deletePrivateLocationRoute } from './settings/private_locations/delete_private_location';
import { editPrivateLocationRoute } from './settings/private_locations/edit_private_location';
import { getPrivateLocationsRoute } from './settings/private_locations/get_private_locations';
import { getSyntheticsFilters } from './filters/filters';
import { getAllSyntheticsMonitorRoute } from './monitor_cruds/get_monitors_list';
import { getLocationMonitors } from './settings/private_locations/get_location_monitors';
import { addSyntheticsParamsRoute } from './settings/params/add_param';
import { deleteSyntheticsParamsRoute } from './settings/params/delete_param';
import { createOverviewTrendsRoute } from './overview_trends/overview_trends';
import { getMonitorsHealthRoute } from './monitor_health/get_monitor_health';
import { getMonitorHealthRoute } from './monitor_health/get_monitor_health_single';
import { getErrorGroupsRoute } from './errors/get_error_groups';
import { getErrorStatsRoute } from './errors/get_error_stats';
import { getMonitorSummaryStatsRoute } from './monitor_cruds/get_monitor_summary_stats';
import { getSyntheticsDiagnosticsRoute } from './diagnostics/get_synthetics_diagnostics';
export const syntheticsAppRestApiRoutes: SyntheticsRestApiRouteFactory[] = [
addSyntheticsProjectMonitorRoute,
getSyntheticsEnablementRoute,
deleteSyntheticsMonitorProjectRoute,
disableSyntheticsRoute,
getServiceLocationsRoute,
getSyntheticsProjectMonitorsRoute,
installIndexTemplatesRoute,
runOnceSyntheticsMonitorRoute,
getServiceAllowedRoute,
getAPIKeySyntheticsRoute,
syntheticsGetPingsRoute,
getHasIntegrationMonitorsRoute,
createGetCurrentStatusRoute,
getIndexSizesRoute,
enableDefaultAlertingRoute,
getDefaultAlertingRoute,
updateDefaultAlertingRoute,
createJourneyRoute,
createLastSuccessfulCheckRoute,
createJourneyScreenshotBlocksRoute,
createNetworkEventsRoute,
createJourneyScreenshotRoute,
deletePackagePolicyRoute,
getLocationMonitors,
getSyntheticsFilters,
inspectSyntheticsMonitorRoute,
getAgentPoliciesRoute,
getSyntheticsCertsRoute,
getSyntheticsSuggestionsRoute,
getActionConnectorsRoute,
getConnectorTypesRoute,
createGetDynamicSettingsRoute,
createPostDynamicSettingsRoute,
createGetMultiSpaceSettingsRoute,
createPutMultiSpaceSettingsRoute,
syntheticsGetPingHeatmapRoute,
createOverviewTrendsRoute,
syntheticsInspectStatusRuleRoute,
syntheticsInspectTLSRuleRoute,
getSyntheticsTriggerTaskRun,
resetSyntheticsMonitorRoute,
resetSyntheticsMonitorBulkRoute,
cleanupPrivateLocationRoute,
syncParamsSyntheticsParamsRoute,
syncParamsSettingsParamsRoute,
getMonitorsHealthRoute,
getMonitorHealthRoute,
getErrorGroupsRoute,
getErrorStatsRoute,
getMonitorSummaryStatsRoute,
getSyntheticsDiagnosticsRoute,
];
export const syntheticsAppPublicRestApiRoutes: SyntheticsRestApiRouteFactory[] = [
getSyntheticsParamsRoute,
editSyntheticsParamsRoute,
addSyntheticsParamsRoute,
deleteSyntheticsParamsRoute,
addPrivateLocationRoute,
deletePrivateLocationRoute,
editPrivateLocationRoute,
getPrivateLocationsRoute,
getAllSyntheticsMonitorRoute,
getSyntheticsMonitorRoute,
addSyntheticsMonitorRoute,
editSyntheticsMonitorRoute,
deleteSyntheticsMonitorRoute,
deleteSyntheticsMonitorBulkRoute,
updateSyntheticsMonitorBulkRoute,
deleteSyntheticsParamsBulkRoute,
syntheticsGetLatestTestRunRoute,
testNowMonitorRoute,
];