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/06/03 08:19:30 UTC
[incubator-dlab] branch develop updated: [DLAB-1852] Fixed issue
with creation of data engine
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 c552d23 [DLAB-1852] Fixed issue with creation of data engine
c552d23 is described below
commit c552d239cc115bb2e05d8083c740a2b9aefe94c2
Author: Oleh Fuks <ol...@gmail.com>
AuthorDate: Wed Jun 3 11:17:23 2020 +0300
[DLAB-1852] Fixed issue with creation of data engine
---
.../dlab/backendapi/resources/azure/ComputationalResourceAzure.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/azure/ComputationalResourceAzure.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/azure/ComputationalResourceAzure.java
index 29f9794..ca18d14 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/azure/ComputationalResourceAzure.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/azure/ComputationalResourceAzure.java
@@ -20,7 +20,6 @@
package com.epam.dlab.backendapi.resources.azure;
import com.epam.dlab.auth.UserInfo;
-import com.epam.dlab.auth.rest.UserSessionDurationAuthorizer;
import com.epam.dlab.backendapi.resources.dto.SparkStandaloneClusterCreateForm;
import com.epam.dlab.backendapi.roles.RoleType;
import com.epam.dlab.backendapi.roles.UserRoles;
@@ -32,7 +31,6 @@ import io.dropwizard.auth.Auth;
import io.swagger.v3.oas.annotations.Parameter;
import lombok.extern.slf4j.Slf4j;
-import javax.annotation.security.RolesAllowed;
import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.ws.rs.Consumes;
@@ -78,7 +76,6 @@ public class ComputationalResourceAzure {
*/
@PUT
@Path("dataengine")
- @RolesAllowed(UserSessionDurationAuthorizer.SHORT_USER_SESSION_DURATION)
public Response createDataEngine(@Auth UserInfo userInfo,
@Valid @NotNull SparkStandaloneClusterCreateForm form) {
log.debug("Create computational resources for {} | form is {}", userInfo.getName(), form);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org