bhliva commented on a change in pull request #355: [DLAB-1201] Fixed scheduler
issue with token expiration
URL: https://github.com/apache/incubator-dlab/pull/355#discussion_r338019270
##########
File path:
services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/SchedulerJobServiceImpl.java
##########
@@ -243,7 +243,7 @@ private void startExploratory(SchedulerJobData
schedulerJobData) {
final String user = schedulerJobData.getUser();
final String exploratoryName =
schedulerJobData.getExploratoryName();
log.debug("Starting exploratory {} for user {} by scheduler",
exploratoryName, user);
-
exploratoryService.start(securityService.getUserInfoOffline(user),
exploratoryName, ""); //TODO chagne empty
+
exploratoryService.start(securityService.getServiceAccountInfo(user),
exploratoryName, ""); //TODO chagne empty
Review comment:
Pls fix todo as well
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]