Skip to content

Commit

Permalink
[Uptime] Remove legacy monitor management (#154471)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
shahzad31 and kibanamachine authored Apr 11, 2023
1 parent c39031e commit 3ebc372
Show file tree
Hide file tree
Showing 251 changed files with 200 additions and 20,395 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const getCertsRequestBody = ({
field: 'tls.server.hash.sha256',
inner_hits: {
_source: {
includes: ['monitor.id', 'monitor.name', 'url.full'],
includes: ['monitor.id', 'monitor.name', 'url.full', 'config_id'],
},
collapse: {
field: 'monitor.id',
Expand Down Expand Up @@ -180,6 +180,7 @@ export const processCertsResult = (result: CertificatesResults): CertResult => {
return {
name: monitorPing?.monitor.name,
id: monitorPing?.monitor.id,
configId: monitorPing?.config_id,
url: monitorPing?.url?.full,
};
});
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/synthetics/common/runtime_types/certs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export type GetCertsParams = t.TypeOf<typeof GetCertsParamsType>;
export const CertMonitorType = t.partial({
name: t.string,
id: t.string,
configId: t.string,
url: t.string,
});

Expand Down
6 changes: 0 additions & 6 deletions x-pack/plugins/synthetics/e2e/journeys/uptime/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,8 @@
*/

export * from './data_view_permissions';
export * from './read_only_user';
export * from './alerts';
export * from './uptime.journey';
export * from './step_duration.journey';
export * from './monitor_details.journey';
export * from './monitor_name.journey';
export * from './monitor_management.journey';
export * from './monitor_management_enablement.journey';
export * from './monitor_details';
export * from './locations';
export * from './private_locations';

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ journey('MonitorPingRedirects', async ({ page, params }: { page: Page; params: a
await delay(5000);
});

step('go to monitor-management', async () => {
step('go to overview page', async () => {
await monitorDetails.navigateToOverviewPage({
dateRangeEnd: testMonitor.end,
dateRangeStart: testMonitor.start,
Expand Down

This file was deleted.

Loading

0 comments on commit 3ebc372

Please sign in to comment.