Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated transactionId error message #784

Merged
merged 106 commits into from
Mar 6, 2023
Merged
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
4fad21b
[MOSIP-24670] Updated API correction id and version
aihamh Nov 28, 2022
95025ef
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Nov 29, 2022
5c38170
[MOSIP-24670] Updated API body correction
aihamh Nov 29, 2022
fa09a84
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Dec 1, 2022
da5b52e
[MOSIP-22640] Fixed Sonar Bugs
aihamh Dec 2, 2022
3729e67
updated PR
aihamh Dec 2, 2022
924d5e9
updated PR
aihamh Dec 2, 2022
0a58d82
updated review code
aihamh Dec 2, 2022
d6e7379
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Dec 5, 2022
dbea954
[MOSIP-22640] Fixed sonar bugs
aihamh Dec 5, 2022
7fe46bd
updated PR
aihamh Dec 5, 2022
d4aa199
updated PR
aihamh Dec 5, 2022
96f375e
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Dec 6, 2022
5689396
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Dec 7, 2022
d5e7a0d
[MOSIP-22639] Resolved security hotspots in code
aihamh Dec 7, 2022
6206c82
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Dec 12, 2022
97e7f06
[MOSIP-24630] Fixed Security Vulnerability in code
aihamh Dec 12, 2022
a8f6c5b
added error for isValidUrl method
aihamh Dec 13, 2022
eca676b
renamed vaildateURL method
aihamh Dec 13, 2022
054d6fd
updated PR
aihamh Dec 13, 2022
c3a7398
updated PR
aihamh Dec 13, 2022
579e5f8
[MOSIP-24670] Made corrections in id and version
aihamh Dec 21, 2022
38c38de
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Dec 21, 2022
debe14b
resolved conflicts
aihamh Dec 21, 2022
ffdbeb1
updated PR
aihamh Dec 21, 2022
67cf9ad
updated PR
aihamh Dec 21, 2022
374ce63
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Dec 22, 2022
3cc97ed
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Dec 23, 2022
ebfd5d1
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Dec 26, 2022
0957e1b
[MOSIP-24670] Made corrections n API body, response code
aihamh Dec 28, 2022
defa915
updated PR
aihamh Dec 30, 2022
5cd32c5
updated PR
aihamh Dec 30, 2022
efc6f3e
updated dateTime
aihamh Jan 2, 2023
660242e
updated PR
aihamh Jan 2, 2023
f9fc826
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 2, 2023
7396725
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 5, 2023
a4f26f0
[MOSIP-25539] Made corrections in API body, response code
aihamh Jan 5, 2023
0887331
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 6, 2023
e15c891
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 10, 2023
be6421e
[MOSIP-25539] made corrections in API body
aihamh Jan 12, 2023
65b1d7c
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 12, 2023
a3ec456
updated error message
aihamh Jan 12, 2023
83446e0
updated error code
aihamh Jan 12, 2023
ceed0c9
updated trasactionid dto change
aihamh Jan 12, 2023
3bb523b
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 12, 2023
26eb59c
added equals
aihamh Jan 12, 2023
0496ed8
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 12, 2023
09147c4
[MOSIP-25539] made corrections in api body
aihamh Jan 13, 2023
3957435
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 13, 2023
bf20936
[MOSIP-25539] Corrected API response body Task 5
aihamh Jan 13, 2023
83db76a
resolved build failure
aihamh Jan 13, 2023
cff8b6e
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 13, 2023
8a214af
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 17, 2023
4b160c7
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 18, 2023
254e4be
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 18, 2023
7861bc5
[MOSIP-25539] Task 2 Added error code for vaildateOtp API
aihamh Jan 19, 2023
85219e6
updated PR
aihamh Jan 20, 2023
ee5017b
updated PR
aihamh Jan 20, 2023
bdf8684
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 20, 2023
688d996
updated PR
aihamh Jan 20, 2023
a9a963b
updated PR
aihamh Jan 20, 2023
eccbeb1
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 23, 2023
972db30
[MOSIP-25539] Updated validateotp method
aihamh Jan 30, 2023
c9192bd
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 31, 2023
03a272c
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Jan 31, 2023
7fc9705
updated PR
aihamh Jan 31, 2023
951a06b
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Feb 1, 2023
160719a
[MOSIP-25798] Added validations
aihamh Feb 7, 2023
98c7582
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Feb 7, 2023
0ca640e
updated PR
aihamh Feb 7, 2023
1222c13
updated PR
aihamh Feb 7, 2023
06aeaf5
updated PR
aihamh Feb 7, 2023
9e4741c
updated PR
aihamh Feb 7, 2023
70a8c3d
updated PR
aihamh Feb 7, 2023
74e9231
[MOSIP-25791] Added purpose as mandatory
aihamh Feb 13, 2023
94716c6
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Feb 13, 2023
769fa90
Added error
aihamh Feb 13, 2023
38b6d4f
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Feb 15, 2023
76cfa7f
Added Audit logs
aihamh Feb 15, 2023
e5417d1
updated test cases
aihamh Feb 15, 2023
54c39ca
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Feb 15, 2023
a6ed734
[MOSIP-22913],[MOSIP-22914],[MOSIP-24653],[MOSIP-24796] Added Audit logs
aihamh Feb 17, 2023
becd7e2
auth.token.header
aihamh Feb 17, 2023
7e31454
updated logs
aihamh Feb 20, 2023
d9fd7c7
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Feb 20, 2023
201c112
updated auditlog code
aihamh Feb 21, 2023
02472ca
updated enum name for audit logs
aihamh Feb 21, 2023
543c2b9
updated enum name for audit logs
aihamh Feb 21, 2023
4a81103
updated enum name for audit logs
aihamh Feb 21, 2023
9a0c657
updated enum name for audit logs
aihamh Feb 21, 2023
46350bb
updated enum name for audit logs
aihamh Feb 21, 2023
24c50c8
updated enum name for audit logs
aihamh Feb 21, 2023
fc99cd1
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Feb 22, 2023
b0cff99
[MOSIP-25268] Fixed Sonar vulnerability
aihamh Feb 22, 2023
626b43e
[MOSIP-25268] Fixed Sonar vulnerability
aihamh Feb 22, 2023
96f4ddb
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Feb 23, 2023
d7622d7
[MOSIP-26272] Added validation for /update-uin API
aihamh Mar 2, 2023
1dfecea
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Mar 2, 2023
d3e1c22
updated PR
aihamh Mar 2, 2023
78c88a8
updated update-uin PR
aihamh Mar 2, 2023
29d30e8
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Mar 2, 2023
7d04972
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Mar 2, 2023
b0198d5
Fixed build issue
aihamh Mar 3, 2023
62430f8
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Mar 3, 2023
68a07f2
Merge branch 'develop' of https://github.com/mosip/resident-services …
aihamh Mar 6, 2023
c205454
Updated transactionId error message
aihamh Mar 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -826,9 +826,9 @@ public void validateUpdateRequest(RequestWrapper<ResidentUpdateRequestDto> reque
}

if (StringUtils.isEmpty(requestDTO.getRequest().getTransactionID())) {
audit.setAuditRequestDto(EventEnum.getEventEnumWithValue(EventEnum.INPUT_INVALID, "transactionId",
audit.setAuditRequestDto(EventEnum.getEventEnumWithValue(EventEnum.INPUT_INVALID, "transactionID",
"Request for update uin"));
throw new InvalidInputException("transactionId");
throw new InvalidInputException("transactionID");
}

if(!isPatch) {
Expand Down Expand Up @@ -1125,12 +1125,12 @@ public List<String> validateUserIdAndTransactionId(String userId, String transac
public void validateTransactionId(String transactionID) {
if(transactionID== null || transactionID.isEmpty()){
audit.setAuditRequestDto(EventEnum.getEventEnumWithValue(EventEnum.INPUT_INVALID,
"transactionID", "transactionID must not be null"));
throw new InvalidInputException("transactionID");
"transactionId", "transactionId must not be null"));
throw new InvalidInputException("transactionId");
} else if(!isDataValidWithRegex(transactionID, transactionIdRegex)){
audit.setAuditRequestDto(EventEnum.getEventEnumWithValue(EventEnum.INPUT_INVALID,
"transactionID", "transactionID must be 10 digit containing numbers"));
throw new InvalidInputException("transactionID");
"transactionId", "transactionId must be 10 digit containing numbers"));
throw new InvalidInputException("transactionId");
}
}

Expand Down