Skip to content

Commit 25ea1ae

Browse files
authored
DTSCCI-3816 - Adopt New IDAM Testing Support API for test user creation across all Civil repositories (#6344)
Add IDAM_TEST_SUPPORT_API_URL to jenkins files
1 parent 2cca7ca commit 25ea1ae

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

Jenkinsfile_CNP

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ withPipeline(type, product, component) {
284284
afterSuccess('akschartsinstall') {
285285
onPR {
286286
env.IDAM_API_URL = "https://idam-api.aat.platform.hmcts.net"
287-
env.IDAM_TEST_URL = "https://idam-testing-support-api.aat.platform.hmcts.net"
287+
env.IDAM_TEST_SUPPORT_API_URL = "https://idam-testing-support-api.aat.platform.hmcts.net"
288288
env.SERVICE_AUTH_PROVIDER_API_BASE_URL = "http://rpe-service-auth-provider-aat.service.core-compute-aat.internal"
289289
env.DM_STORE_URL = "http://dm-store-aat.service.core-compute-aat.internal"
290290
env.PAYMENT_API_URL = "http://payment-api-aat.service.core-compute-aat.internal"
@@ -343,7 +343,7 @@ withPipeline(type, product, component) {
343343
before('smoketest:aat') {
344344
env.NODE_TLS_REJECT_UNAUTHORIZED = "0";
345345
env.IDAM_API_URL = "https://idam-api.aat.platform.hmcts.net"
346-
env.IDAM_TEST_URL = "https://idam-testing-support-api.aat.platform.hmcts.net"
346+
env.IDAM_TEST_SUPPORT_API_URL = "https://idam-testing-support-api.aat.platform.hmcts.net"
347347
env.SERVICE_AUTH_PROVIDER_API_BASE_URL = "http://rpe-service-auth-provider-aat.service.core-compute-aat.internal"
348348
env.CCD_DATA_STORE_URL = "https://civil-ccd-data-store-staging-aat.aat.platform.hmcts.net"
349349
env.DM_STORE_URL = "http://dm-store-aat.service.core-compute-aat.internal"

Jenkinsfile_nightly

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ properties([
3232
description: 'The URL of idam web'),
3333
choice(name: 'IDAM_API_URL', choices: ['https://idam-api.aat.platform.hmcts.net', 'https://idam-api.demo.platform.hmcts.net'],
3434
description: 'The URL of idam api'),
35-
choice(name: 'IDAM_TEST_URL', choices: ['https://idam-testing-support-api.aat.platform.hmcts.net', 'https://idam-testing-support-api.demo.platform.hmcts.net'],
35+
choice(name: 'IDAM_TEST_SUPPORT_API_URL', choices: ['https://idam-testing-support-api.aat.platform.hmcts.net', 'https://idam-testing-support-api.demo.platform.hmcts.net'],
3636
description: 'The URL of idam test user creation api'),
3737
choice(name: 'DM_STORE_URL', choices: ['http://dm-store-aat.service.core-compute-aat.internal', 'http://dm-store-demo.service.core-compute-demo.internal'],
3838
description: 'The URL of dm store'),
@@ -223,7 +223,7 @@ withNightlyPipeline(type, product, component) {
223223
env.DM_STORE_URL=params.DM_STORE_URL
224224
env.IDAM_WEB_URL=params.IDAM_WEB_URL
225225
env.IDAM_API_URL=params.IDAM_API_URL
226-
env.IDAM_TEST_URL=params.IDAM_TEST_URL
226+
env.IDAM_TEST_SUPPORT_API_URL=params.IDAM_TEST_SUPPORT_API_URL
227227
env.SERVICE_AUTH_PROVIDER_API_BASE_URL = params.SERVICE_AUTH_PROVIDER_API_BASE_URL
228228
env.CCD_DATA_STORE_URL = ccdDataStoreUrl
229229
env.CIVIL_SERVICE_URL = civilServiceUrl

e2e/config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ module.exports = {
1919
dmStore: process.env.DM_STORE_URL,
2020
idamApi: process.env.IDAM_API_URL,
2121
idamWebApi: process.env.IDAM_WEB_URL,
22-
idamTestSupportApi: process.env.IDAM_TEST_URL || 'https://idam-testing-support-api.aat.platform.hmcts.net',
22+
idamTestSupportApi: process.env.IDAM_TEST_SUPPORT_API_URL,
2323
civilService: process.env.CIVIL_SERVICE_URL,
2424
caseAssignmentService: process.env.AAC_API_URL,
2525
orchestratorService: process.env.CIVIL_ORCHESTRATOR_SERVICE_URL,
26-
waTaskMgmtApi: process.env.WA_TASK_MGMT_URL || 'http://wa-task-management-api-aat.service.core-compute-aat.internal',
27-
paymentApi: process.env.PAYMENT_API_URL || 'http://payment-api-aat.service.core-compute-aat.internal',
26+
waTaskMgmtApi: process.env.WA_TASK_MGMT_URL,
27+
paymentApi: process.env.PAYMENT_API_URL,
2828
wiremockService: process.env.WIREMOCK_URL
2929
},
3030
s2s: {

env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ declare global {
1515
CIVIL_SERVICE_URL: string;
1616
WA_TASK_MGMT_URL: string;
1717
AAC_API_URL: string;
18-
IDAM_TEST_URL: string;
18+
IDAM_TEST_SUPPORT_API_URL: string;
1919
CIVIL_ORCHESTRATOR_SERVICE_URL: string;
2020
PAYMENT_API_URL: string;
2121
WIREMOCK_URL: string;

playwright-e2e/config/urls.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const urls = {
55
dmStore: process.env.DM_STORE_URL,
66
idamWeb: process.env.IDAM_WEB_URL,
77
idamApi: process.env.IDAM_API_URL,
8-
idamTestSupportApi: process.env.IDAM_TEST_URL,
8+
idamTestSupportApi: process.env.IDAM_TEST_SUPPORT_API_URL,
99
civilService: process.env.CIVIL_SERVICE_URL,
1010
waTaskMgmtApi: process.env.WA_TASK_MGMT_URL,
1111
caseAssignmentService: process.env.AAC_API_URL,

0 commit comments

Comments
 (0)