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 1a0c0d7 DLAB-000 fixed project key regex
1a0c0d7 is described below
commit 1a0c0d71b3ee8137d12d7e732726a43a81f8896a
Author: bhliva <[email protected]>
AuthorDate: Thu Jun 27 16:06:16 2019 +0300
DLAB-000 fixed project key regex
---
.../src/main/java/com/epam/dlab/backendapi/domain/ProjectDTO.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectDTO.java
b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectDTO.java
index 4d836cc..8490bd3 100644
---
a/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectDTO.java
+++
b/services/self-service/src/main/java/com/epam/dlab/backendapi/domain/ProjectDTO.java
@@ -17,7 +17,7 @@ public class ProjectDTO {
@NotNull
private final Set<String> groups;
@NotNull
- @Pattern(regexp = "^ssh-", message = "Wrong key format. Key should be
in openSSH format")
+ @Pattern(regexp = "^ssh-.*", message = "Wrong key format. Key should be
in openSSH format")
private final String key;
@NotNull
private final String tag;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]