Skip to content

Commit

Permalink
Merge pull request #319 from JanardhanBS-SyncByte/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
gsasikumar authored Jan 10, 2024
2 parents 35314b5 + 8401697 commit f214936
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 127 deletions.
14 changes: 8 additions & 6 deletions MockMDS/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -108,19 +108,21 @@ mds_ERROR_110_msg_en=Device is not ready
mds_ERROR_111_msg_en=Device is busy
mds_ERROR_112_msg_en=Invalid Transaction ID
mds_ERROR_113_msg_en=Count MisMatch for given deviceType
mds_ERROR_114_msg_en=Device Type can be only (Finger/Iris/Face)
mds_ERROR_115_msg_en=Env values can be only (Staging/Developer/Pre-Production/Production)
mds_ERROR_114_msg_en=Device Type Mismatch('Finger', 'Iris', 'Face')
mds_ERROR_115_msg_en=Env values Mismatch('Staging', 'Developer', 'Pre-Production', 'Production')
mds_ERROR_116_msg_en=Count Value Mismatch (Max 4 for Four Slap Finger/2 For Double Iris/1 For Face)
mds_ERROR_117_msg_en=Exception Value Mismatch("Left IndexFinger", "Left MiddleFinger", "Left RingFinger", "Left LittleFinger", "Left Thumb", "Right IndexFinger", "Right MiddleFinger", "Right RingFinger", "Right LittleFinger", "Right Thumb", "Left", "Right")
mds_ERROR_117_msg_en=Exception Value Mismatch('Left IndexFinger', 'Left MiddleFinger', 'Left RingFinger', 'Left LittleFinger', 'Left Thumb', 'Right IndexFinger', 'Right MiddleFinger', 'Right RingFinger', 'Right LittleFinger', 'Right Thumb', 'Left', 'Right')
mds_ERROR_118_msg_en=Exception Mismatch with Type of biometeric Data(Left Four Slap/Right Four Slap/Two Thumbs/Left Iris/Right Iris/Both Iris)
mds_ERROR_119_msg_en=Bio SubType Value Mismatch("Left IndexFinger", "Left MiddleFinger", "Left RingFinger", "Left LittleFinger", "Left Thumb", "Right IndexFinger", "Right MiddleFinger", "Right RingFinger", "Right LittleFinger", "Right Thumb", "UNKNOWN", "Left", "Right")
mds_ERROR_119_msg_en=Bio SubType Value Mismatch('Left IndexFinger', 'Left MiddleFinger', 'Left RingFinger', 'Left LittleFinger', 'Left Thumb', 'Right IndexFinger', 'Right MiddleFinger', 'Right RingFinger', 'Right LittleFinger', 'Right Thumb', 'UNKNOWN', 'Left', 'Right')
mds_ERROR_120_msg_en=Device Type MisMatch for given deviceId
mds_ERROR_121_msg_en=Purpose Value Mismatch('Registration', 'Auth')
mds_ERROR_122_msg_en=BioSubType/Exception MisMatch for given Biometric Type

mds_ERROR_500_msg_en=Invalid URL
mds_ERROR_501_msg_en=Invalid Type Value in Device Discovery Request
mds_ERROR_502_msg_en=Biometric Type values must be Biometric Device, Finger, Face, Iris
mds_ERROR_502_msg_en=Biometric Type values Mismatch('Biometric Device', 'Finger', 'Face', 'Iris')
mds_ERROR_503_msg_en=Devices are not Connected, please connect devices
mds_ERROR_504_msg_en=Device Status values must be Ready, Busy, Not Ready, Not Registered
mds_ERROR_504_msg_en=Device Status values Mismatch ('Ready', 'Busy', 'Not Ready', 'Not Registered')
mds_ERROR_505_msg_en=Quality Score can not be empty and greater than 100 or lesser than 0
mds_ERROR_506_msg_en=Delay can not empty and lesser than 0 milliseconds
mds_ERROR_507_msg_en=Method array can contain values only MOSIPDISC, MOSIPDINFO, CAPTURE, STREAM, RCAPTURE
Expand Down
2 changes: 2 additions & 0 deletions MockMDS/src/main/java/io/mosip/mock/sbi/SBIConstant.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ public class SBIConstant {
public static final String Error_Code_118 = "mds_ERROR_118_msg_en";
public static final String Error_Code_119 = "mds_ERROR_119_msg_en";
public static final String Error_Code_120 = "mds_ERROR_120_msg_en";
public static final String Error_Code_121 = "mds_ERROR_121_msg_en";
public static final String Error_Code_122 = "mds_ERROR_122_msg_en";

public static final String Error_Code_500 = "mds_ERROR_500_msg_en";
public static final String Error_Code_501 = "mds_ERROR_501_msg_en";
Expand Down
Loading

0 comments on commit f214936

Please sign in to comment.