ppapou commented on a change in pull request #542: [DLAB-1447] Verification of
the enpoint url field
URL: https://github.com/apache/incubator-dlab/pull/542#discussion_r371502203
##########
File path:
services/self-service/src/main/java/com/epam/dlab/backendapi/dao/EndpointDAO.java
##########
@@ -23,14 +23,28 @@
import java.util.List;
import java.util.Optional;
+import java.util.regex.Pattern;
+/**
+ * Interface of Endpoint entities.
+ */
public interface EndpointDAO {
List<EndpointDTO> getEndpoints();
List<EndpointDTO> getEndpointsWithStatus(String status);
+ /*** Retrieve the Endpoint entity according required name
+ * @param name - the Endpoint regular title
+ * @return the Optional interface
+ */
Optional<EndpointDTO> get(String name);
+ /*** Retrieve the Endpoint entity according required Endpoint URL
+ * @param url - the Endpoint web address
+ * @return the Optional object
Review comment:
done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]