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

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


The following commit(s) were added to refs/heads/DLAB-1321 by this push:
     new 876ab4a  Updated default value for query param
876ab4a is described below

commit 876ab4ace611f14815408096db26cd0b46e53e33
Author: Oleh Fuks <olegfuk...@gmail.com>
AuthorDate: Fri Dec 13 17:15:03 2019 +0200

    Updated default value for query param
---
 .../main/java/com/epam/dlab/backendapi/resources/EndpointResource.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/EndpointResource.java
 
b/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/EndpointResource.java
index d3ccf57..9aebfc4 100644
--- 
a/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/EndpointResource.java
+++ 
b/services/self-service/src/main/java/com/epam/dlab/backendapi/resources/EndpointResource.java
@@ -103,7 +103,7 @@ public class EndpointResource {
                                                                   
@Parameter(description = "Endpoint name")
                                                                   
@PathParam("name") String name,
                                                                   
@Parameter(description = "Delete endpoint only or with related resources")
-                                                                  
@QueryParam("with-resources") @DefaultValue("true") boolean withResources) {
+                                                                  
@QueryParam("with-resources") @DefaultValue("false") boolean withResources) {
                endpointService.remove(userInfo, name, withResources);
                return Response.ok().build();
        }


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

Reply via email to