From 3c07aef16f9a61fe197a8d3e65bc2674a95c9f20 Mon Sep 17 00:00:00 2001 From: ekremney Date: Fri, 12 Jan 2024 13:02:26 +0100 Subject: [PATCH] fix: use new aem datadesk ui for the backlinks --- packages/spacecat-shared-rum-api-client/src/index.js | 4 ++-- .../test/create-backlink.test.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/spacecat-shared-rum-api-client/src/index.js b/packages/spacecat-shared-rum-api-client/src/index.js index 4bc8e82bb..25bcd7dfd 100644 --- a/packages/spacecat-shared-rum-api-client/src/index.js +++ b/packages/spacecat-shared-rum-api-client/src/index.js @@ -17,8 +17,8 @@ import { fetch } from './utils.js'; const APIS = { ROTATE_DOMAINKEYS: 'https://helix-pages.anywhere.run/helix-services/run-query@v3/rotate-domainkeys', - RUM_DASHBOARD_UI: 'https://main--franklin-dashboard--adobe.hlx.live/views/rum-dashboard', - NOT_FOUND_DASHBOARD_UI: 'https://main--franklin-dashboard--adobe.hlx.live/views/404-report', + RUM_DASHBOARD_UI: 'https://data.aem.live/rum-dashboard', + NOT_FOUND_DASHBOARD_UI: 'https://data.aem.live/404-reports', RUM_DASHBOARD: 'https://helix-pages.anywhere.run/helix-services/run-query@v3/rum-dashboard', DOMAIN_LIST: 'https://helix-pages.anywhere.run/helix-services/run-query@v3/dash/domain-list', RUM_SOURCES: 'https://helix-pages.anywhere.run/helix-services/run-query@v3/rum-sources', diff --git a/packages/spacecat-shared-rum-api-client/test/create-backlink.test.js b/packages/spacecat-shared-rum-api-client/test/create-backlink.test.js index b4063ef51..59c368a4d 100644 --- a/packages/spacecat-shared-rum-api-client/test/create-backlink.test.js +++ b/packages/spacecat-shared-rum-api-client/test/create-backlink.test.js @@ -102,7 +102,7 @@ describe('backlink creation', () => { it('returns rum backlink when successful', async () => { const client = RUMAPIClient.createFrom(context); - const expectedBacklink = 'https://main--franklin-dashboard--adobe.hlx.live/views/rum-dashboard?interval=7&offset=0&limit=100&url=www.space.cat&domainkey=scoped-domain-key'; + const expectedBacklink = 'https://data.aem.live/rum-dashboard?interval=7&offset=0&limit=100&url=www.space.cat&domainkey=scoped-domain-key'; nock('https://helix-pages.anywhere.run') .post('/helix-services/run-query@v3/rotate-domainkeys') @@ -115,7 +115,7 @@ describe('backlink creation', () => { it('returns 404 report backlink when successful', async () => { const client = RUMAPIClient.createFrom(context); - const expectedBacklink = 'https://main--franklin-dashboard--adobe.hlx.live/views/404-report?interval=7&offset=0&limit=100&url=www.space.cat&domainkey=scoped-domain-key'; + const expectedBacklink = 'https://data.aem.live/404-reports?interval=7&offset=0&limit=100&url=www.space.cat&domainkey=scoped-domain-key'; nock('https://helix-pages.anywhere.run') .post('/helix-services/run-query@v3/rotate-domainkeys')