You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/07/12 14:12:40 UTC

[incubator-dlab] branch feature/projects updated: DLAB-000 fixed error message in case of dublicated endpoint

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

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


The following commit(s) were added to refs/heads/feature/projects by this push:
     new fb4e80d  DLAB-000 fixed error message in case of dublicated endpoint
fb4e80d is described below

commit fb4e80d1bda8184117061045801738d9996cb431
Author: bhliva <bo...@epam.com>
AuthorDate: Fri Jul 12 17:12:31 2019 +0300

    DLAB-000 fixed error message in case of dublicated endpoint
---
 .../java/com/epam/dlab/backendapi/service/impl/EndpointServiceImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImpl.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImpl.java
index 47377cd..fd9273c 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImpl.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EndpointServiceImpl.java
@@ -33,7 +33,7 @@ public class EndpointServiceImpl implements EndpointService {
 		if (!endpointDAO.get(endpointDTO.getName()).isPresent()) {
 			endpointDAO.create(endpointDTO);
 		} else {
-			throw new ResourceConflictException("Project with passed name already exist in system");
+			throw new ResourceConflictException("Endpoint with passed name already exist in system");
 		}
 	}
 


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