fuweng11 commented on code in PR #7891:
URL: https://github.com/apache/inlong/pull/7891#discussion_r1174903186
##########
inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/node/DataNodeRequest.java:
##########
@@ -48,11 +48,11 @@ public abstract class DataNodeRequest {
private Integer id;
@ApiModelProperty(value = "Data node name")
- @NotBlank(groups = {SaveValidation.class, UpdateByKeyValidation.class},
message = "node name cannot be blank")
- @Length(min = 1, max = 128, message = "length must be between 1 and 128")
- @Pattern(regexp = "^[A-Za-z0-9_-]{1,128}$", message = "only supports
letters, numbers, '-', or '_'")
Review Comment:
Because name should not need to be filled in by the user, the background
automatically generated.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]