You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by of...@apache.org on 2020/07/23 13:58:08 UTC
[incubator-dlab] branch develop updated: [DLAB-1963] Fixed issue
with creating notebook from image
This is an automated email from the ASF dual-hosted git repository.
ofuks 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 40f90e4 [DLAB-1963] Fixed issue with creating notebook from image
40f90e4 is described below
commit 40f90e4a9334947ad9820f033aba420372888f3a
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Thu Jul 23 16:57:51 2020 +0300
[DLAB-1963] Fixed issue with creating notebook from image
---
.../src/main/java/com/epam/dlab/dto/exploratory/LibStatus.java | 1 +
.../com/epam/dlab/backendapi/service/impl/ExploratoryServiceImpl.java | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/services/dlab-model/src/main/java/com/epam/dlab/dto/exploratory/LibStatus.java b/services/dlab-model/src/main/java/com/epam/dlab/dto/exploratory/LibStatus.java
index c5d0016..77993ca 100644
--- a/services/dlab-model/src/main/java/com/epam/dlab/dto/exploratory/LibStatus.java
+++ b/services/dlab-model/src/main/java/com/epam/dlab/dto/exploratory/LibStatus.java
@@ -26,6 +26,7 @@ import com.fasterxml.jackson.annotation.JsonCreator;
public enum LibStatus {
INSTALLING,
INSTALLED,
+ INVALID_VERSION,
FAILED;
@JsonCreator
diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/ExploratoryServiceImpl.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/ExploratoryServiceImpl.java
index e89eda3..55a03c9 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/ExploratoryServiceImpl.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/ExploratoryServiceImpl.java
@@ -460,7 +460,7 @@ public class ExploratoryServiceImpl implements ExploratoryService {
private LibInstallDTO toLibInstallDto(Library l) {
return new LibInstallDTO(l.getGroup(), l.getName(), l.getVersion())
- .withStatus(l.getStatus().toString())
+ .withStatus(String.valueOf(l.getStatus()))
.withErrorMessage(l.getErrorMessage());
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org