This is an automated email from the ASF dual-hosted git repository. ykinash pushed a commit to branch DATALAB-2317 in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 902ead415d392abc0c0c7dc6aeaae814159da9ef Author: KinashYurii <[email protected]> AuthorDate: Thu Jun 17 12:37:59 2021 +0300 [DATALAB] -- fixed bugs --- services/self-service/pom.xml | 2 +- .../backendapi/resources/gcp/ComputationalResourceGcp.java | 12 +++--------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/services/self-service/pom.xml b/services/self-service/pom.xml index d16f920..c84847e 100644 --- a/services/self-service/pom.xml +++ b/services/self-service/pom.xml @@ -53,7 +53,7 @@ <dependency> <groupId>com.novemberain</groupId> <artifactId>quartz-mongodb</artifactId> - <version>2.2.0-rc2</version> + <version>2.1.0</version> </dependency> <dependency> diff --git a/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/gcp/ComputationalResourceGcp.java b/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/gcp/ComputationalResourceGcp.java index 2b6c719..a8d61bf 100644 --- a/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/gcp/ComputationalResourceGcp.java +++ b/services/self-service/src/main/java/com/epam/datalab/backendapi/resources/gcp/ComputationalResourceGcp.java @@ -39,13 +39,7 @@ import lombok.extern.slf4j.Slf4j; import javax.validation.Valid; import javax.validation.constraints.NotNull; -import javax.ws.rs.Consumes; -import javax.ws.rs.DELETE; -import javax.ws.rs.GET; -import javax.ws.rs.PUT; -import javax.ws.rs.Path; -import javax.ws.rs.PathParam; -import javax.ws.rs.Produces; +import javax.ws.rs.*; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import java.util.List; @@ -101,8 +95,8 @@ public class ComputationalResourceGcp implements ComputationalAPI { .imageName(form.getImage()) .templateName(form.getTemplateName()) .status(CREATING.toString()) - .masterGPUType(form.getMasterGpuCount()) - .masterGPUCount(form.getMasterGpuType()) + .masterGPUCount(form.getMasterGpuCount()) + .masterGPUType(form.getMasterGpuType()) .slaveGPUCount(form.getSlaveGpuCount()) .slaveGPUType(form.getSlaveGpuType()) .enabledGPU(form.getEnabledGPU()) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
