From 9c945b4d8fb28f19aca8acc1d3b0bd052719cd34 Mon Sep 17 00:00:00 2001 From: Ravi Verma Date: Tue, 23 Sep 2025 18:43:04 +0530 Subject: [PATCH 1/3] fix: ims handler usage track --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 71612ea44..81a9a5aba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@adobe/spacecat-shared-brand-client": "1.1.23", "@adobe/spacecat-shared-data-access": "2.64.1", "@adobe/spacecat-shared-gpt-client": "1.6.4", - "@adobe/spacecat-shared-http-utils": "1.17.4", + "@adobe/spacecat-shared-http-utils": "https://gitpkg.vercel.app/adobe/spacecat-shared/packages/spacecat-shared-http-utils?ims-handler-usage-track", "@adobe/spacecat-shared-ims-client": "1.8.12", "@adobe/spacecat-shared-rum-api-client": "2.37.6", "@adobe/spacecat-shared-scrape-client": "2.1.4", @@ -16626,8 +16626,8 @@ }, "node_modules/@adobe/spacecat-shared-http-utils": { "version": "1.17.4", - "resolved": "https://registry.npmjs.org/@adobe/spacecat-shared-http-utils/-/spacecat-shared-http-utils-1.17.4.tgz", - "integrity": "sha512-u91vl3J8prGYQZmMuQdKTBa6vLNhfvUU63ey1sr+yf8AzOf9bImBvNHqz7bBx1aYHPy/ccFpNw1jFUP1AHOlBQ==", + "resolved": "https://gitpkg.vercel.app/adobe/spacecat-shared/packages/spacecat-shared-http-utils?ims-handler-usage-track", + "integrity": "sha512-b1c9t/AoraB32NsDZgaxO9PunenBcnXq82sXDvYhmD/sveTvGEgnpRiaZ8GTRnsaWKGmm1BtTqar7Khrd0bk1w==", "license": "Apache-2.0", "dependencies": { "@adobe/fetch": "4.2.3", diff --git a/package.json b/package.json index e22d8b5e4..1a63f18cb 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "@adobe/spacecat-shared-brand-client": "1.1.23", "@adobe/spacecat-shared-data-access": "2.64.1", "@adobe/spacecat-shared-gpt-client": "1.6.4", - "@adobe/spacecat-shared-http-utils": "1.17.4", + "@adobe/spacecat-shared-http-utils": "https://gitpkg.vercel.app/adobe/spacecat-shared/packages/spacecat-shared-http-utils?ims-handler-usage-track", "@adobe/spacecat-shared-ims-client": "1.8.12", "@adobe/spacecat-shared-rum-api-client": "2.37.6", "@adobe/spacecat-shared-scrape-client": "2.1.4", From e54112c66b635713ef070e49a6d3448ecf1b0c46 Mon Sep 17 00:00:00 2001 From: Ravi Verma Date: Tue, 23 Sep 2025 18:57:53 +0530 Subject: [PATCH 2/3] fix: llmo test: --- test/controllers/llmo.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/controllers/llmo.test.js b/test/controllers/llmo.test.js index 193628a34..3fc203bfb 100644 --- a/test/controllers/llmo.test.js +++ b/test/controllers/llmo.test.js @@ -2430,7 +2430,7 @@ describe('LlmoController', () => { }); it('should return 403 when user does not have access to the site', async () => { - const LlmoControllerWithAccessDenied = await esmock('../../src/controllers/llmo.js', { + const LlmoControllerWithAccessDenied = await esmock('../../src/controllers/llmo/llmo.js', { '../../src/support/access-control-util.js': { default: createMockAccessControlUtil(false), }, @@ -2625,7 +2625,7 @@ describe('LlmoController', () => { }); it('should return 403 when user does not have access to the site', async () => { - const LlmoControllerWithAccessDenied = await esmock('../../src/controllers/llmo.js', { + const LlmoControllerWithAccessDenied = await esmock('../../src/controllers/llmo/llmo.js', { '../../src/support/access-control-util.js': { default: createMockAccessControlUtil(false), }, @@ -2733,7 +2733,7 @@ describe('LlmoController', () => { }); it('should return 403 when user does not have access to the site', async () => { - const LlmoControllerWithAccessDenied = await esmock('../../src/controllers/llmo.js', { + const LlmoControllerWithAccessDenied = await esmock('../../src/controllers/llmo/llmo.js', { '../../src/support/access-control-util.js': { default: createMockAccessControlUtil(false), }, @@ -2873,7 +2873,7 @@ describe('LlmoController', () => { }); it('should return 403 when user does not have access to the site', async () => { - const LlmoControllerWithAccessDenied = await esmock('../../src/controllers/llmo.js', { + const LlmoControllerWithAccessDenied = await esmock('../../src/controllers/llmo/llmo.js', { '../../src/support/access-control-util.js': { default: createMockAccessControlUtil(false), }, From e24d15b9eedc115d4173e9f515fb19740d217cce Mon Sep 17 00:00:00 2001 From: Ravi Verma Date: Tue, 23 Sep 2025 19:13:58 +0530 Subject: [PATCH 3/3] fix: dep update --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 81a9a5aba..3e0f77586 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16627,7 +16627,7 @@ "node_modules/@adobe/spacecat-shared-http-utils": { "version": "1.17.4", "resolved": "https://gitpkg.vercel.app/adobe/spacecat-shared/packages/spacecat-shared-http-utils?ims-handler-usage-track", - "integrity": "sha512-b1c9t/AoraB32NsDZgaxO9PunenBcnXq82sXDvYhmD/sveTvGEgnpRiaZ8GTRnsaWKGmm1BtTqar7Khrd0bk1w==", + "integrity": "sha512-FwOkBpf5YpAx5U/a2yqbsw1H++Ez4ukt0bokWTTXG2YSEerzwKPm0mCTSoBoGeocXKNWB39tOdOCdoUQ3UUQjQ==", "license": "Apache-2.0", "dependencies": { "@adobe/fetch": "4.2.3",