From 70cadcd33e805df363e3f94d3fef5b2af88b64dc Mon Sep 17 00:00:00 2001 From: shanggeeth Date: Wed, 6 Dec 2023 17:26:53 +0530 Subject: [PATCH 1/2] Fix test failures due to adding back sms otp regex configuration --- .../v1/get-category-VXNlciBPbmJvYXJkaW5n-response.json | 6 ++++++ .../v1/get-properties-without-property-name-response.json | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-category-VXNlciBPbmJvYXJkaW5n-response.json b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-category-VXNlciBPbmJvYXJkaW5n-response.json index 0f736a0e2c7..4a4b3a2db71 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-category-VXNlciBPbmJvYXJkaW5n-response.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-category-VXNlciBPbmJvYXJkaW5n-response.json @@ -81,6 +81,12 @@ "displayName": "User self registration SMS OTP expiry time", "description": "Specify the expiry time in minutes for the SMS OTP." }, + { + "name": "SelfRegistration.SMSOTP.Regex", + "value": "[a-zA-Z0-9]{6}", + "displayName": "User self registration SMS OTP regex", + "description": "Regex for SMS OTP in format [allowed characters]{length}. Supported character ranges are a-z, A-Z, 0-9. Minimum OTP length is 4" + }, { "name": "SelfRegistration.CallbackRegex", "value": "[https://localhost:9443].*[/authenticationendpoint/login.do]", diff --git a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-properties-without-property-name-response.json b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-properties-without-property-name-response.json index 1148efbde15..389a1eecca7 100644 --- a/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-properties-without-property-name-response.json +++ b/modules/integration/tests-integration/tests-backend/src/test/resources/org/wso2/identity/integration/test/rest/api/server/identity/governance/v1/get-properties-without-property-name-response.json @@ -50,6 +50,10 @@ "name": "SelfRegistration.VerificationCode.SMSOTP.ExpiryTime", "value": "1" }, + { + "name": "SelfRegistration.SMSOTP.Regex", + "value": "[a-zA-Z0-9]{6}" + }, { "name": "SelfRegistration.CallbackRegex", "value": "https:\\/\\/localhost:9853\\/.*" From 67828e5ce8b3f1aad4f1307956d28948feb70cc5 Mon Sep 17 00:00:00 2001 From: shanggeeth <59327626+shanggeeth@users.noreply.github.com> Date: Thu, 7 Dec 2023 12:05:39 +0530 Subject: [PATCH 2/2] Bump framework and governance versions --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 5139407899f..1b360be56ba 100755 --- a/pom.xml +++ b/pom.xml @@ -2283,7 +2283,7 @@ - 5.25.596 + 5.25.597 [5.14.67, 6.0.0] @@ -2294,7 +2294,7 @@ 2.5.2 - 1.8.96 + 1.8.97 5.8.5