You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/07/16 14:12:05 UTC

[incubator-dlab] branch feature/projects updated: DLAB-000 added project_name param for check inactivity

This is an automated email from the ASF dual-hosted git repository.

bhliva pushed a commit to branch feature/projects
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/feature/projects by this push:
     new 80827ec  DLAB-000 added project_name param for check inactivity
80827ec is described below

commit 80827ec214421e3eee7df623147a9965fea2bf20
Author: bhliva <bo...@epam.com>
AuthorDate: Tue Jul 16 17:11:55 2019 +0300

    DLAB-000 added project_name param for check inactivity
---
 .../src/main/java/com/epam/dlab/backendapi/util/RequestBuilder.java | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/util/RequestBuilder.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/util/RequestBuilder.java
index cd88930..bcfcd5f 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/util/RequestBuilder.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/util/RequestBuilder.java
@@ -551,7 +551,8 @@ public class RequestBuilder {
 				.withApplicationName(getApplicationNameFromImage(exploratory.getImageName()))
 				.withNotebookImageName(exploratory.getImageName())
 				.withImage(cr.getImageName())
-				.withComputationalId(cr.getComputationalId());
+				.withComputationalId(cr.getComputationalId())
+				.withProject(exploratory.getProject());
 	}
 
 
@@ -614,7 +615,8 @@ public class RequestBuilder {
 		dto.withNotebookInstanceName(userInstance.getExploratoryId())
 				.withNotebookImage(userInstance.getImageName())
 				.withExploratoryName(userInstance.getExploratoryName())
-				.withReuploadKeyRequired(userInstance.isReuploadKeyRequired());
+				.withReuploadKeyRequired(userInstance.isReuploadKeyRequired())
+				.withProject(userInstance.getProject());
 		return dto;
 	}
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org