This is an automated email from the ASF dual-hosted git repository. shown pushed a commit to branch yuluo-yx/0301-fix-sd in repository https://gitbox.apache.org/repos/asf/hertzbeat.git
commit 30304a9d3161e9ceb10904a92220c954c0452b7e Author: yuluo-yx <[email protected]> AuthorDate: Sun Mar 1 19:41:24 2026 +0800 fix[protocol-sd]: add register center params check Signed-off-by: yuluo-yx <[email protected]> --- .../discovery/impl/NacosDiscoveryClientTest.java | 28 ++++++++++++++++++++++ .../entity/job/protocol/RegistryProtocolTest.java | 4 ++++ 2 files changed, 32 insertions(+) diff --git a/hertzbeat-collector/hertzbeat-collector-basic/src/test/java/org/apache/hertzbeat/collector/collect/registry/discovery/impl/NacosDiscoveryClientTest.java b/hertzbeat-collector/hertzbeat-collector-basic/src/test/java/org/apache/hertzbeat/collector/collect/registry/discovery/impl/NacosDiscoveryClientTest.java new file mode 100644 index 0000000000..933bb30e3a --- /dev/null +++ b/hertzbeat-collector/hertzbeat-collector-basic/src/test/java/org/apache/hertzbeat/collector/collect/registry/discovery/impl/NacosDiscoveryClientTest.java @@ -0,0 +1,28 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hertzbeat.collector.collect.registry.discovery.impl; + +/** + * @author yuluo + * @author <a href="mailto:[email protected]">yuluo</a> + */ + +public class NacosDiscoveryClient { +} diff --git a/hertzbeat-common-core/src/test/java/org/apache/hertzbeat/common/entity/job/protocol/RegistryProtocolTest.java b/hertzbeat-common-core/src/test/java/org/apache/hertzbeat/common/entity/job/protocol/RegistryProtocolTest.java new file mode 100644 index 0000000000..9077a8946a --- /dev/null +++ b/hertzbeat-common-core/src/test/java/org/apache/hertzbeat/common/entity/job/protocol/RegistryProtocolTest.java @@ -0,0 +1,4 @@ +import static org.junit.jupiter.api.Assertions.*; +class RegistryProtocolTest { + +} --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
