@adobe/spacecat-shared-http-utils 1.17.4 → 1.17.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [@adobe/spacecat-shared-http-utils-v1.17.6](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.17.5...@adobe/spacecat-shared-http-utils-v1.17.6) (2025-09-25)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * remove unnecessary logs to reduce Coralogix usage ([#947](https://github.com/adobe/spacecat-shared/issues/947)) ([c93fa4f](https://github.com/adobe/spacecat-shared/commit/c93fa4f69238106caa0f8150df029e4535c99e39))
7
+
8
+ # [@adobe/spacecat-shared-http-utils-v1.17.5](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.17.4...@adobe/spacecat-shared-http-utils-v1.17.5) (2025-09-24)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * track IMS handler usage ([#979](https://github.com/adobe/spacecat-shared/issues/979)) ([ba09d1d](https://github.com/adobe/spacecat-shared/commit/ba09d1d4510ffd8f4518edb0738db451b11d133a))
14
+
1
15
  # [@adobe/spacecat-shared-http-utils-v1.17.4](https://github.com/adobe/spacecat-shared/compare/@adobe/spacecat-shared-http-utils-v1.17.3...@adobe/spacecat-shared-http-utils-v1.17.4) (2025-09-22)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spacecat-shared-http-utils",
3
- "version": "1.17.4",
3
+ "version": "1.17.6",
4
4
  "description": "Shared modules of the Spacecat Services - HTTP Utils",
5
5
  "type": "module",
6
6
  "engines": {
@@ -65,7 +65,7 @@ export default class AuthenticationManager {
65
65
  }
66
66
  }
67
67
 
68
- this.log.info('No authentication handler was able to authenticate the request');
68
+ this.log.debug('No authentication handler was able to authenticate the request');
69
69
  throw new NotAuthenticatedError();
70
70
  }
71
71
 
@@ -145,6 +145,11 @@ export default class AdobeImsHandler extends AbstractHandler {
145
145
  }
146
146
 
147
147
  async checkAuth(request, context) {
148
+ // Log to trace usage of IMS handler
149
+ const { pathInfo } = context;
150
+ const { method, suffix } = pathInfo;
151
+ const route = `${method.toUpperCase()} ${suffix}`;
152
+ this.log(`Checking authentication with IMS for product ${pathInfo.headers['x-product']} at route ${route}`, 'debug');
148
153
  const token = getBearerToken(context);
149
154
  if (!hasText(token)) {
150
155
  this.log('No bearer token provided', 'debug');