You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by he...@apache.org on 2022/08/23 09:46:18 UTC

[inlong] branch master updated: [INLONG-5650][Manager] Remove the non-null check of the Pulsar adminURL (#5651)

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

healchow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong.git


The following commit(s) were added to refs/heads/master by this push:
     new 8f26932c8 [INLONG-5650][Manager] Remove the non-null check of the Pulsar adminURL (#5651)
8f26932c8 is described below

commit 8f26932c8422b7d289e28c979fa154e3add274d7
Author: healchow <he...@gmail.com>
AuthorDate: Tue Aug 23 17:46:13 2022 +0800

    [INLONG-5650][Manager] Remove the non-null check of the Pulsar adminURL (#5651)
---
 .../inlong/manager/pojo/cluster/pulsar/PulsarClusterRequest.java       | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/cluster/pulsar/PulsarClusterRequest.java b/inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/cluster/pulsar/PulsarClusterRequest.java
index 71369c8b7..d574efde4 100644
--- a/inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/cluster/pulsar/PulsarClusterRequest.java
+++ b/inlong-manager/manager-pojo/src/main/java/org/apache/inlong/manager/pojo/cluster/pulsar/PulsarClusterRequest.java
@@ -26,8 +26,6 @@ import org.apache.inlong.manager.common.enums.ClusterType;
 import org.apache.inlong.manager.common.util.JsonTypeDefine;
 import org.apache.inlong.manager.pojo.cluster.ClusterRequest;
 
-import javax.validation.constraints.NotBlank;
-
 /**
  * Inlong cluster request for Pulsar
  */
@@ -38,7 +36,6 @@ import javax.validation.constraints.NotBlank;
 @ApiModel("Inlong cluster request for Pulsar")
 public class PulsarClusterRequest extends ClusterRequest {
 
-    @NotBlank(message = "adminUrl cannot be blank")
     @ApiModelProperty(value = "Pulsar admin URL, such as: http://127.0.0.1:8080",
             notes = "Pulsar service URL is the 'url' field of the cluster")
     private String adminUrl;