Skip to content

Commit

Permalink
DTSRD-84: revert #698 #699 (#701)
Browse files Browse the repository at this point in the history
pradeep A mentioned "the change should only be applicable to preview and staging URLs"
  • Loading branch information
fiyin-cgi authored Apr 3, 2023
1 parent 241a89b commit 8eafc62
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile_CNP
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ withPipeline(type, product, component) {

env.S2S_URL_FOR_TESTS = "http://rpe-service-auth-provider-aat.service.core-compute-aat.internal"
env.IDAM_URL = "https://idam-api.aat.platform.hmcts.net"
env.TEST_URL = "http://rd-caseworker-ref-api-aat.aat.platform.hmcts.net"
env.TEST_URL = "http://rd-caseworker-ref-api-aat.service.core-compute-aat.internal"

afterSuccess('integrationTest:preview') {
steps.archiveArtifacts allowEmptyArchive: true, artifacts: '**/site/serenity/**/*'
Expand Down
4 changes: 2 additions & 2 deletions Jenkinsfile_nightly
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
properties([
pipelineTriggers([cron('21 01 * * *')]), // scheduling to trigger jenkins job
parameters([
string(name: 'URL_TO_TEST', defaultValue: 'http://rd-caseworker-ref-api-aat.aat.platform.hmcts.net', description: 'The URL you want to run these tests against'),
string(name: 'URL_TO_TEST', defaultValue: 'http://rd-caseworker-ref-api-aat.service.core-compute-aat.internal', description: 'The URL you want to run these tests against'),
string(name: 'SecurityRules',
defaultValue: 'http://raw.githubusercontent.com/hmcts/security-test-rules/master/conf/security-rules.conf',
description: 'The URL you want to run these tests against'),
Expand Down Expand Up @@ -44,7 +44,7 @@ withNightlyPipeline(type, product, component) {

env.S2S_URL_FOR_TESTS = "http://rpe-service-auth-provider-aat.service.core-compute-aat.internal"
env.IDAM_URL = "https://idam-api.aat.platform.hmcts.net"
env.TEST_URL = "http://rd-caseworker-ref-api-aat.aat.platform.hmcts.net"
env.TEST_URL = "http://rd-caseworker-ref-api-aat.service.core-compute-aat.internal"
env.Rules = params.SecurityRules
env.execution_environment = "aat"

Expand Down
2 changes: 1 addition & 1 deletion src/functionalTest/resources/application-functional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ scope-name: openid profile roles manage-user create-user search-user
idam.api.url: ${IDAM_URL:https://idam-api.aat.platform.hmcts.net}
oauth2.client.secret: ${CA_REF_OAUTH2_CLIENT_SECRET:}
idam.auth.clientId: ${CA_REF_OAUTH2_CLIENT_ID:}
idam.auth.redirectUrl: ${OAUTH2_REDIRECT_URI:https://rd-caseworker-ref-api-aat.aat.platform.hmcts.net/oauth2redirect}
idam.auth.redirectUrl: ${OAUTH2_REDIRECT_URI:https://rd-caseworker-ref-api-aat.service.core-compute-aat.internal/oauth2redirect}
s2s-secret: ${CASEWORKER_REF_API_S2S_SECRET:}
userProfUrl: http://rd-user-profile-api-aat.service.core-compute-aat.internal
locationRefDataUrl: http://rd-location-ref-api-aat.service.core-compute-aat.internal

0 comments on commit 8eafc62

Please sign in to comment.