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
uphrh-smf-user
Commits
6c7c35c8
Commit
6c7c35c8
authored
3 years ago
by
nivetha
Browse files
Options
Download
Patches
Plain Diff
removed stacktrace
parent
145d31e4
master
bulkupload
delete-user
delete-user-fix
increase_timeout
institute-district
maney-test
sessionTimeout
updateEmailContentforOTP
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/main/java/com/tarento/retail/controller/RoleActionController.java
+5
-1
...a/com/tarento/retail/controller/RoleActionController.java
src/main/java/com/tarento/retail/dao/impl/UserDaoImpl.java
+0
-1
src/main/java/com/tarento/retail/dao/impl/UserDaoImpl.java
src/main/java/com/tarento/retail/service/impl/UserServiceImpl.java
+1
-1
...java/com/tarento/retail/service/impl/UserServiceImpl.java
src/main/java/com/tarento/retail/util/NotificationService.java
+0
-1
...ain/java/com/tarento/retail/util/NotificationService.java
with
6 additions
and
4 deletions
+6
-4
src/main/java/com/tarento/retail/controller/RoleActionController.java
+
5
−
1
View file @
6c7c35c8
...
...
@@ -4,6 +4,8 @@ import java.util.ArrayList;
import
java.util.List
;
import
org.apache.commons.lang3.StringUtils
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.http.HttpStatus
;
import
org.springframework.http.ResponseEntity
;
...
...
@@ -36,6 +38,8 @@ import com.tarento.retail.util.ResponseMessages;
@RequestMapping
(
PathRoutes
.
USER_ACTIONS_URL
)
public
class
RoleActionController
{
public
static
final
Logger
LOGGER
=
LoggerFactory
.
getLogger
(
RoleActionController
.
class
);
@Autowired
private
RoleActionService
roleActionService
;
...
...
@@ -66,7 +70,7 @@ public class RoleActionController {
try
{
return
ResponseGenerator
.
successResponse
(
roleActionService
.
getAllRolesByDomain
(
orgDomain
));
}
catch
(
JsonProcessingException
e
)
{
e
.
printStackTrac
e
();
LOGGER
.
error
(
"Exception in listRolesByDomain :"
+
e
.
getMessag
e
()
)
;
}
return
ResponseGenerator
.
failureResponse
(
ResponseMessages
.
ErrorMessages
.
ORG_DOMAIN_CODE_UNAVAILABLE
);
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/tarento/retail/dao/impl/UserDaoImpl.java
+
0
−
1
View file @
6c7c35c8
...
...
@@ -398,7 +398,6 @@ public class UserDaoImpl implements UserDao {
}
},
keyHolder
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
LOGGER
.
error
(
String
.
format
(
Constants
.
EXCEPTION_METHOD
,
"saveUserProfile"
,
e
.
getMessage
()));
return
null
;
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/tarento/retail/service/impl/UserServiceImpl.java
+
1
−
1
View file @
6c7c35c8
...
...
@@ -313,7 +313,7 @@ public class UserServiceImpl implements UserDetailsService, UserService {
return
false
;
}
catch
(
IOException
e
)
{
e
.
printStackTrace
(
);
LOGGER
.
error
(
String
.
format
(
Constants
.
EXCEPTION_METHOD
,
"uploadFile"
,
e
.
getMessage
())
);
return
false
;
}
}
...
...
This diff is collapsed.
Click to expand it.
src/main/java/com/tarento/retail/util/NotificationService.java
+
0
−
1
View file @
6c7c35c8
...
...
@@ -77,7 +77,6 @@ public class NotificationService {
transport
.
close
();
return
Boolean
.
TRUE
;
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
LOGGER
.
error
(
String
.
format
(
"Exception in %s : %s"
,
"sendMail"
,
e
.
getMessage
()));
}
return
Boolean
.
FALSE
;
...
...
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