From f5f521d83d844b3f5306dcb260e995fdc9332a7a Mon Sep 17 00:00:00 2001 From: Tarun Bharti <72968092+tarun-bb@users.noreply.github.com> Date: Wed, 4 Mar 2026 15:10:52 +0100 Subject: [PATCH 1/3] Updating Identity variable for hostname to fix 401 issue --- development/docker-compose/docker-compose.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/development/docker-compose/docker-compose.yaml b/development/docker-compose/docker-compose.yaml index ba52542..cdd15b5 100644 --- a/development/docker-compose/docker-compose.yaml +++ b/development/docker-compose/docker-compose.yaml @@ -186,7 +186,7 @@ services: KC_TRANSACTION_XA_ENABLED: "true" KC_LOG_LEVEL: "INFO" KC_LOG_CONSOLE_FORMAT: "%d{yyy:MM:dd HH:mm:ss.SSS} %-5p [%X{traceId},%X{spanId},%X{sampled}] %i --- [%t] %c{2.} : %m%n" - KC_HOSTNAME_URL: "http://localhost:8180/auth/" + KC_HOSTNAME: "http://localhost:8180/auth/" KC_SPI_SERVICE_TOKEN_DEFAULT_URL: "http://token-converter:8080" KC_SPI_USER_MANAGER_CLIENT_DEFAULT_URL: "http://user-manager:8080" KC_SPI_CONNECTIONS_JPA_LEGACY_INITIALIZE_EMPTY: "true" @@ -403,4 +403,4 @@ secrets: mvnrepo: file: ${HOME}/.m2/settings.xml mvnrepokey: - file: ${HOME}/.m2/settings-security.xml # Optional: In case your maven credentials are encrypted with `mvn --encrypt-password` \ No newline at end of file + file: ${HOME}/.m2/settings-security.xml # Optional: In case your maven credentials are encrypted with `mvn --encrypt-password` From 6afaab4676b4f63dc6b3a298b7d69a323eb241e6 Mon Sep 17 00:00:00 2001 From: Tarun Bharti <72968092+tarun-bb@users.noreply.github.com> Date: Wed, 4 Mar 2026 15:12:00 +0100 Subject: [PATCH 2/3] spacing issue From 5e08c1b680a8d429f5c04e0691e9a4874c658140 Mon Sep 17 00:00:00 2001 From: Tarun Bharti <72968092+tarun-bb@users.noreply.github.com> Date: Wed, 4 Mar 2026 15:34:24 +0100 Subject: [PATCH 3/3] Updated SmokeTest postman collection with missing header --- ...ackend-Environment.postman_collection.json | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/test/postman/SmokeTest_Local-Backend-Environment.postman_collection.json b/test/postman/SmokeTest_Local-Backend-Environment.postman_collection.json index bb392de..75f95bd 100644 --- a/test/postman/SmokeTest_Local-Backend-Environment.postman_collection.json +++ b/test/postman/SmokeTest_Local-Backend-Environment.postman_collection.json @@ -484,7 +484,12 @@ "key": "Authorization", "value": "Bearer {{authToken}}", "type": "text" - } + }, + { + "key": "x-user-context", + "value": "{{MSA_ID}}", + "type": "text" + } ], "body": { "mode": "raw", @@ -656,7 +661,12 @@ "key": "Authorization", "value": "Bearer {{authToken}}", "type": "text" - } + }, + { + "key": "x-user-context", + "value": "{{MSA_ID}}", + "type": "text" + } ], "url": { "raw": "{{baseUrl}}/api/arrangement-manager/client-api/v2/balances/aggregations", @@ -703,7 +713,12 @@ "key": "Authorization", "value": "Bearer {{authToken}}", "type": "text" - } + }, + { + "key": "x-user-context", + "value": "{{MSA_ID}}", + "type": "text" + } ], "url": { "raw": "{{baseUrl}}/api/arrangement-manager/client-api/v2/product-kinds", @@ -745,4 +760,4 @@ } } ] -} \ No newline at end of file +}