From 24a505ab62d7e49eeaf62b9861d5b16f4beca3ca Mon Sep 17 00:00:00 2001 From: SwethaKrish4 <110164892+SwethaKrish4@users.noreply.github.com> Date: Tue, 24 Sep 2024 14:58:12 +0530 Subject: [PATCH] MOSIP-35330: Added maximun year validation for SBI Created Date Signed-off-by: SwethaKrish4 <110164892+SwethaKrish4@users.noreply.github.com> --- .../src/main/resources/bootstrap.properties | 4 +++- .../src/test/resources/application.properties | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/partner/partner-management-service/src/main/resources/bootstrap.properties b/partner/partner-management-service/src/main/resources/bootstrap.properties index 5abc7854f0..5ec1c3862d 100644 --- a/partner/partner-management-service/src/main/resources/bootstrap.properties +++ b/partner/partner-management-service/src/main/resources/bootstrap.properties @@ -96,8 +96,10 @@ mosip.pms.session.inactivity.timer=25 mosip.pms.session.inactivity.prompt.timer=5 # amount of time that axios will wait for a response from the server before aborting the request and throwing an error in minutes mosip.pms.axios.timeout=3 -# maximum number of year to be allowed for expiry date +# maximum number of year to be allowed for SBI expiry date mosip.pms.expiry.date.max.year=10 +# maximum number of year to be allowed for SBI created date +mosip.pms.created.date.max.year=10 #id for the API mosip.pms.api.id.oauth.clients.get=mosip.pms.oauth.clients.get diff --git a/partner/partner-management-service/src/test/resources/application.properties b/partner/partner-management-service/src/test/resources/application.properties index 4d51d5e72e..a6ad8670ff 100644 --- a/partner/partner-management-service/src/test/resources/application.properties +++ b/partner/partner-management-service/src/test/resources/application.properties @@ -235,8 +235,10 @@ mosip.pms.session.inactivity.prompt.timer=5 # amount of time that axios will wait for a response from the server before aborting the request and throwing an error in minutes mosip.pms.axios.timeout=3 -# maximum number of year to be allowed for expiry date +# maximum number of year to be allowed for SBI expiry date mosip.pms.expiry.date.max.year=10 +# maximum number of year to be allowed for SBI created date +mosip.pms.created.date.max.year=10 mosip.pms.esignet.claims-mapping-file-url=https://raw.githubusercontent.com/mosip/mosip-config/develop-v3/idp-claims-mapping.json mosip.pms.esignet.amr-acr-mapping-file-url=https://raw.githubusercontent.com/mosip/mosip-config/develop-v3/amr-acr-mapping.json