Skip to content

Commit

Permalink
EPMRPP-891986 organizations routing refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
grabsefx committed Feb 8, 2024
1 parent c800793 commit 62f4803
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ public enum ErrorType {
*/
CLUSTER_NOT_FOUND(40428, "Cluster '{}' not found"),

/**
* If specified by id Organization not found
*/
ORGANIZATION_NOT_FOUND(40429, "Organization '{}' not found. Did you use correct Organization ID?"),

/**
* Common error in case if object not found
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ public class ValidationConstraints {
public static final int MIN_NUMBER_OF_LOG_LINES = -1;
public static final String HEX_COLOR_REGEXP = "#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$";
public static final String PROJECT_NAME_REGEXP = "[a-zA-Z0-9-_]+";
public static final String PROJECT_SLUG_REGEXP = "^[a-z0-9-_]+$";

private ValidationConstraints() {
private ValidationConstraints() {

}

Expand Down

0 comments on commit 62f4803

Please sign in to comment.