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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 5668e30  DLAB-000 added project param for spark reconfiguration
5668e30 is described below

commit 5668e30c0c3487c45c80ea2c7bd242ccf54d701b
Author: bhliva <[email protected]>
AuthorDate: Tue Aug 6 16:28:59 2019 +0300

    DLAB-000 added project param for spark reconfiguration
---
 .../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 a357e27..7349305 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
@@ -584,7 +584,8 @@ public class RequestBuilder {
                                
.withExploratoryName(userInstanceDTO.getExploratoryName())
                                
.withNotebookInstanceName(userInstanceDTO.getExploratoryId())
                                
.withComputationalName(compRes.getComputationalName())
-                               .withApplicationName(compRes.getImageName());
+                               .withApplicationName(compRes.getImageName())
+                               .withProject(userInstanceDTO.getProject());
                
clusterConfigDTO.setCopmutationalId(compRes.getComputationalId());
                clusterConfigDTO.setConfig(config);
                if (cloudProvider() == AZURE && 
settingsDAO.isAzureDataLakeEnabled()) {
@@ -604,7 +605,8 @@ public class RequestBuilder {
                                                
.withExploratoryName(userInstance.getExploratoryName())
                                                
.withApplicationName(getApplicationNameFromImage(userInstance.getImageName()))
                                                
.withNotebookImage(userInstance.getImageName())
-                                               .withConfig(config);
+                                               .withConfig(config)
+                                               
.withProject(userInstance.getProject());
                if (cloudProvider() == AZURE && 
settingsDAO.isAzureDataLakeEnabled()) {
                        
dto.withAzureUserRefreshToken(userInfo.getKeys().get(AZURE_REFRESH_TOKEN_KEY));
                }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to