You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@eventmesh.apache.org by xi...@apache.org on 2026/09/11 19:25:24 UTC
(eventmesh-dashboard) branch dev-maven-release updated: fix: resolve license and Checkstyle violations
This is an automated email from the ASF dual-hosted git repository.
Pil0tXia pushed a commit to branch dev-maven-release
in repository https://gitbox.apache.org/repos/asf/eventmesh-dashboard.git
The following commit(s) were added to refs/heads/dev-maven-release by this push:
new 828a0d53 fix: resolve license and Checkstyle violations
828a0d53 is described below
commit 828a0d533b3fd4394082d55eb7c28a3148f9a06a
Author: Pil0tXia <xi...@apache.org>
AuthorDate: Sat Sep 12 03:18:59 2026 +0800
fix: resolve license and Checkstyle violations
---
.../console/model/DO/metadata/BaseFullDO.java | 17 +++++++++++++++++
.../console/model/DO/metadata/ClusterFullDO.java | 17 +++++++++++++++++
.../model/DO/metadata/ClusterFullMetadataDO.java | 21 +++++++++++++++++++--
.../console/model/DO/metadata/ConfigDO.java | 17 +++++++++++++++++
.../console/model/DO/metadata/GroupDO.java | 17 +++++++++++++++++
.../console/model/DO/metadata/RuntimeFullDO.java | 17 +++++++++++++++++
.../console/model/DO/metadata/TopicDO.java | 17 +++++++++++++++++
.../spring/support/DBRemotingResultHook.java | 17 +++++++++++++++++
.../support/MockJvmRemotingServiceHandler.java | 17 +++++++++++++++++
.../console/utils/data/adaptation/Adaptation.java | 19 ++++++++++++++++++-
.../adaptation/eventmesh/EventmeshMQAdaptation.java | 19 ++++++++++++++++++-
.../eventmesh/topic/AdaptationService.java | 17 +++++++++++++++++
.../topic/EventMeshCreateTopicAdaptation.java | 21 +++++++++++++++++++--
.../topic/EventMeshCreateUpdateAdaptation.java | 21 +++++++++++++++++++--
.../data/adaptation/operation/CreateAdaptation.java | 19 ++++++++++++++++++-
.../data/adaptation/operation/UpdateAdaptation.java | 19 ++++++++++++++++++-
.../adaptation/rocketmq/RocketMQAdaptation.java | 20 ++++++++++++++++++++
.../topic/RocketMQCreateTopicAdaptation.java | 19 ++++++++++++++++++-
.../topic/RocketMQCreateUpdateAdaptation.java | 19 ++++++++++++++++++-
.../utils/data/adaptation/type/TopicAdaptation.java | 20 ++++++++++++++++++++
.../src/main/resources/eventmesh-dashboard.jmx | 16 ++++++++++++++++
.../dashboard/core/remoting/RemotingResultHook.java | 21 +++++++++++++++++++--
.../core/remoting/RemotingServiceHandler.java | 20 ++++++++++++++++++++
.../core/remoting/jvm/AbstractJvmService.java | 17 +++++++++++++++++
24 files changed, 430 insertions(+), 14 deletions(-)
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/BaseFullDO.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/BaseFullDO.java
index 439f117a..f36a4824 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/BaseFullDO.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/BaseFullDO.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.model.DO.full;
public class BaseFullDO {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ClusterFullDO.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ClusterFullDO.java
index 305c571c..86ed9f9e 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ClusterFullDO.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ClusterFullDO.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.model.DO.metadata;
import org.apache.eventmesh.dashboard.console.entity.cluster.ClusterEntity;
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ClusterFullMetadataDO.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ClusterFullMetadataDO.java
index f42ea3ae..f2801925 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ClusterFullMetadataDO.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ClusterFullMetadataDO.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.model.DO.metadata;
import org.apache.eventmesh.dashboard.console.entity.cluster.ClusterEntity;
@@ -12,10 +29,10 @@ import java.util.List;
import lombok.Data;
/**
- * @author hahaha
+ * Cluster metadata and its related resources.
*/
@Data
-public class ClusterFullMatedataDO {
+public class ClusterFullMetadataDO {
private List<ClusterEntity> clusterEntityList;
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ConfigDO.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ConfigDO.java
index 68ed546a..dce8d7d9 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ConfigDO.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/ConfigDO.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.model.DO.metadata;
public class ConfigDO {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/GroupDO.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/GroupDO.java
index d9990576..95b35678 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/GroupDO.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/GroupDO.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.model.DO.metadata;
public class GroupDO {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/RuntimeFullDO.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/RuntimeFullDO.java
index 57320b55..5631dcf9 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/RuntimeFullDO.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/RuntimeFullDO.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.model.DO.full;
public class RuntimeFullDO {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/TopicDO.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/TopicDO.java
index c434d68d..98388861 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/TopicDO.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/model/DO/metadata/TopicDO.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.model.DO.metadata;
public class TopicDO {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/spring/support/DBRemotingResultHook.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/spring/support/DBRemotingResultHook.java
index 8ad6f374..b0dfba2e 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/spring/support/DBRemotingResultHook.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/spring/support/DBRemotingResultHook.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.spring.support;
public class DBRemotingResultHook {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/spring/support/MockJvmRemotingServiceHandler.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/spring/support/MockJvmRemotingServiceHandler.java
index 2a9d0c5c..71a79abf 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/spring/support/MockJvmRemotingServiceHandler.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/spring/support/MockJvmRemotingServiceHandler.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.spring.support;
public class MockJvmRemotingServiceHandler {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/Adaptation.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/Adaptation.java
index c36f6b40..e902c9fd 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/Adaptation.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/Adaptation.java
@@ -1,7 +1,24 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation;
/**
- * @author hahaha
+ * Adapts source values to target values.
*/
public interface Adaptation<T, V> {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/EventmeshMQAdaptation.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/EventmeshMQAdaptation.java
index 6ce093d0..e259d99d 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/EventmeshMQAdaptation.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/EventmeshMQAdaptation.java
@@ -1,10 +1,27 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation.eventmesh.topic;
import org.apache.eventmesh.dashboard.common.enums.ClusterType;
import org.apache.eventmesh.dashboard.console.utils.data.adaptation.Adaptation;
/**
- * @author hahaha
+ * Adaptation for EventMesh clusters.
*/
public interface EventmeshMQAdaptation<T, V> extends Adaptation<T, V> {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/AdaptationService.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/AdaptationService.java
index 44a15895..e92a4013 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/AdaptationService.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/AdaptationService.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation.eventmesh.topic;
public class AdaptationService {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/EventMeshCreateTopicAdaptation.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/EventMeshCreateTopicAdaptation.java
index e50965fd..07fdb877 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/EventMeshCreateTopicAdaptation.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/EventMeshCreateTopicAdaptation.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation.eventmesh.topic;
import org.apache.eventmesh.dashboard.console.entity.message.TopicEntity;
@@ -7,9 +24,9 @@ import org.apache.eventmesh.dashboard.console.utils.data.adaptation.rocketmq.Roc
import org.apache.eventmesh.dashboard.console.utils.data.adaptation.type.TopicAdaptation;
/**
- * @author hahaha
+ * EventMesh topic creation adaptation.
*/
-public class RocketMQCreateTopicAdaptation implements TopicAdaptation<TopicEntity, CreateTopicDTO>, RocketMQAdaptation<TopicEntity, CreateTopicDTO>,
+public class EventMeshCreateTopicAdaptation implements TopicAdaptation<TopicEntity, CreateTopicDTO>, RocketMQAdaptation<TopicEntity, CreateTopicDTO>,
CreateAdaptation<TopicEntity, CreateTopicDTO> {
@Override
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/EventMeshCreateUpdateAdaptation.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/EventMeshCreateUpdateAdaptation.java
index e1e5597a..348b0ec4 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/EventMeshCreateUpdateAdaptation.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/eventmesh/topic/EventMeshCreateUpdateAdaptation.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation.eventmesh.topic;
import org.apache.eventmesh.dashboard.console.entity.message.TopicEntity;
@@ -7,9 +24,9 @@ import org.apache.eventmesh.dashboard.console.utils.data.adaptation.rocketmq.Roc
import org.apache.eventmesh.dashboard.console.utils.data.adaptation.type.TopicAdaptation;
/**
- * @author hahaha
+ * EventMesh topic update adaptation.
*/
-public class RocketMQCreateUpdateAdaptation implements TopicAdaptation<TopicEntity, CreateTopicDTO>, RocketMQAdaptation<TopicEntity, CreateTopicDTO>,
+public class EventMeshCreateUpdateAdaptation implements TopicAdaptation<TopicEntity, CreateTopicDTO>, RocketMQAdaptation<TopicEntity, CreateTopicDTO>,
UpdateAdaptation<TopicEntity, CreateTopicDTO> {
@Override
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/operation/CreateAdaptation.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/operation/CreateAdaptation.java
index a417ca42..d0fda0cb 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/operation/CreateAdaptation.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/operation/CreateAdaptation.java
@@ -1,8 +1,25 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation;
/**
- * @author hahaha
+ * Adaptation for create operations.
*/
public interface CreateAdaptation<T, V> extends Adaptation<T, V> {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/operation/UpdateAdaptation.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/operation/UpdateAdaptation.java
index f40c6351..b3252b35 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/operation/UpdateAdaptation.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/operation/UpdateAdaptation.java
@@ -1,10 +1,27 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation.operation;
import org.apache.eventmesh.dashboard.console.utils.data.adaptation.Adaptation;
/**
- * @author hahaha
+ * Adaptation for update operations.
*/
public interface UpdateAdaptation<T, V> extends Adaptation<T, V> {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/RocketMQAdaptation.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/RocketMQAdaptation.java
index b80ae939..a792a101 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/RocketMQAdaptation.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/RocketMQAdaptation.java
@@ -1,5 +1,25 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation.rocketmq;
+/**
+ * Marks adaptations for RocketMQ.
+ */
public interface RocketMQAdaptation {
}
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/topic/RocketMQCreateTopicAdaptation.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/topic/RocketMQCreateTopicAdaptation.java
index 8200542c..47426c7c 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/topic/RocketMQCreateTopicAdaptation.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/topic/RocketMQCreateTopicAdaptation.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation.rocketmq;
import org.apache.eventmesh.dashboard.console.entity.message.TopicEntity;
@@ -6,7 +23,7 @@ import org.apache.eventmesh.dashboard.console.utils.data.adaptation.operation.Cr
import org.apache.eventmesh.dashboard.console.utils.data.adaptation.type.TopicAdaptation;
/**
- * @author hahaha
+ * RocketMQ topic creation adaptation.
*/
public class RocketMQCreateTopicAdaptation implements TopicAdaptation<TopicEntity, CreateTopicDTO>, RocketMQAdaptation<TopicEntity, CreateTopicDTO>,
CreateAdaptation<TopicEntity, CreateTopicDTO> {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/topic/RocketMQCreateUpdateAdaptation.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/topic/RocketMQCreateUpdateAdaptation.java
index 4a240060..c955fdfd 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/topic/RocketMQCreateUpdateAdaptation.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/rocketmq/topic/RocketMQCreateUpdateAdaptation.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation.rocketmq.topic;
import org.apache.eventmesh.dashboard.console.entity.message.TopicEntity;
@@ -7,7 +24,7 @@ import org.apache.eventmesh.dashboard.console.utils.data.adaptation.rocketmq.Roc
import org.apache.eventmesh.dashboard.console.utils.data.adaptation.type.TopicAdaptation;
/**
- * @author hahaha
+ * RocketMQ topic update adaptation.
*/
public class RocketMQCreateUpdateAdaptation implements TopicAdaptation<TopicEntity, CreateTopicDTO>, RocketMQAdaptation<TopicEntity, CreateTopicDTO>,
CreateAdaptation<TopicEntity, CreateTopicDTO> {
diff --git a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/type/TopicAdaptation.java b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/type/TopicAdaptation.java
index 43484632..f580b76e 100644
--- a/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/type/TopicAdaptation.java
+++ b/eventmesh-dashboard-console/src/main/java/org/apache/eventmesh/dashboard/console/utils/data/adaptation/type/TopicAdaptation.java
@@ -1,5 +1,25 @@
+/*
+ * 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.eventmesh.dashboard.console.utils.data.adaptation.type;
+/**
+ * Marks adaptations for topic data.
+ */
public interface TopicAdaptation {
}
diff --git a/eventmesh-dashboard-console/src/main/resources/eventmesh-dashboard.jmx b/eventmesh-dashboard-console/src/main/resources/eventmesh-dashboard.jmx
index 2e5c2b35..f17d7719 100644
--- a/eventmesh-dashboard-console/src/main/resources/eventmesh-dashboard.jmx
+++ b/eventmesh-dashboard-console/src/main/resources/eventmesh-dashboard.jmx
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ 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.
+ -->
<jmeterTestPlan version="1.2" properties="5.0" jmeter="5.6.3">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="测试计划">
diff --git a/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/RemotingResultHook.java b/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/RemotingResultHook.java
index 278d1b65..72473ef6 100644
--- a/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/RemotingResultHook.java
+++ b/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/RemotingResultHook.java
@@ -1,9 +1,26 @@
+/*
+ * 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.eventmesh.dashboard.core.remoting;
/**
- * @author hahaha
+ * Hook for remoting results.
*/
-public interface RemotingRequestHook {
+public interface RemotingResultHook {
diff --git a/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/RemotingServiceHandler.java b/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/RemotingServiceHandler.java
index 90a5d79b..4af6a442 100644
--- a/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/RemotingServiceHandler.java
+++ b/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/RemotingServiceHandler.java
@@ -1,4 +1,24 @@
+/*
+ * 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.eventmesh.dashboard.core.remoting;
+/**
+ * Handles remoting service requests.
+ */
public interface RemotingServiceHandler {
}
diff --git a/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/jvm/AbstractJvmService.java b/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/jvm/AbstractJvmService.java
index 14e5511c..9b410df6 100644
--- a/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/jvm/AbstractJvmService.java
+++ b/eventmesh-dashboard-core/src/main/java/org/apache/eventmesh/dashboard/core/remoting/jvm/AbstractJvmService.java
@@ -1,3 +1,20 @@
+/*
+ * 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.eventmesh.dashboard.core.remoting.jvm;
public class AbstractJvmService {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@eventmesh.apache.org
For additional commands, e-mail: commits-help@eventmesh.apache.org