Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
userManagement
Commits
7909ed62
Unverified
Commit
7909ed62
authored
1 year ago
by
Shishir Suman
Committed by
GitHub
1 year ago
Browse files
Options
Download
Patches
Plain Diff
Handling deserialization issue
parent
89cc00c1
main
UAT_quick_fix_keycloak
UPHRH_8164_ErrorHandling
dev
dev_stable
devops-patch
feature_update_fee
rahu_error_message_fix
uat
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/tarento/upsmf/userManagement/services/impl/PaymentServiceImpl.java
+8
-4
...psmf/userManagement/services/impl/PaymentServiceImpl.java
with
8 additions
and
4 deletions
+8
-4
src/main/java/com/tarento/upsmf/userManagement/services/impl/PaymentServiceImpl.java
+
8
−
4
View file @
7909ed62
...
...
@@ -116,10 +116,14 @@ public class PaymentServiceImpl implements PaymentService {
httpHeaders
.
set
(
"x-authenticated-user-token"
,
EXAMS_AUTH_TOKEN
);
HttpEntity
<
String
>
entity
=
new
HttpEntity
<
String
>(
referenceNo
,
httpHeaders
);
logger
.
info
(
"exam url - {}"
,
FEE_STATUS_UPDATE_ENDPOINT
);
ResponseEntity
<
ResponseDto
>
responseEntity
=
restTemplate
.
postForObject
(
FEE_STATUS_UPDATE_ENDPOINT
,
entity
,
ResponseEntity
.
class
);
logger
.
info
(
"Update student fee status - {}"
,
responseEntity
);
if
(
responseEntity
!=
null
&&
responseEntity
.
getStatusCode
()
==
HttpStatus
.
OK
)
{
logger
.
info
(
"Student Fee updated successfully"
);
try
{
ResponseEntity
responseEntity
=
restTemplate
.
postForObject
(
FEE_STATUS_UPDATE_ENDPOINT
,
entity
,
ResponseEntity
.
class
);
logger
.
info
(
"Update student fee status - {}"
,
responseEntity
);
if
(
responseEntity
!=
null
&&
responseEntity
.
getStatusCode
()
==
HttpStatus
.
OK
)
{
logger
.
info
(
"Student Fee updated successfully"
);
}
}
catch
(
Exception
e
)
{
logger
.
error
(
"Error in processing request"
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets