You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/08/03 12:31:25 UTC
[iotdb-web-workbench] 30/34: hotfix:add the licenses
This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb-web-workbench.git
commit 29a70910a87b2adfa4c4f992904b8e5340baf381
Author: ljn <>
AuthorDate: Wed Jun 1 11:07:47 2022 +0800
hotfix:add the licenses
---
.../iotdb/admin/controller/MetricsController.java | 4 ----
.../apache/iotdb/admin/mapper/ViewModeMapper.java | 23 ++++++++++++++++++----
.../iotdb/admin/model/dto/DataModelDetailDTO.java | 18 +++++++++++++++++
.../apache/iotdb/admin/model/dto/QueryInfoDTO.java | 23 ++++++++++++++++++----
.../apache/iotdb/admin/model/entity/ViewMode.java | 22 +++++++++++++++++----
.../iotdb/admin/model/metricsDo/QueryDataDo.java | 22 +++++++++++++++++----
.../org/apache/iotdb/admin/model/vo/GroupInfo.java | 18 +++++++++++++++++
.../iotdb/admin/model/vo/JVMMetricsListDataVO.java | 22 +++++++++++++++++----
.../model/vo/MetircsQueryClassificationVO.java | 22 +++++++++++++++++----
.../iotdb/admin/model/vo/MetricsChartDataVO.java | 22 +++++++++++++++++----
.../iotdb/admin/model/vo/MetricsConnectionVO.java | 23 ++++++++++++++++++----
.../iotdb/admin/model/vo/MetricsDataCountVO.java | 22 +++++++++++++++++----
.../admin/model/vo/MetricsDataForDiagramVO.java | 22 +++++++++++++++++----
.../iotdb/admin/model/vo/MetricsDataForListVO.java | 22 +++++++++++++++++----
.../iotdb/admin/model/vo/MetricsListDataVO.java | 23 ++++++++++++++++++----
.../admin/model/vo/QueryClassificationVO.java | 23 ++++++++++++++++++----
.../apache/iotdb/admin/model/vo/QueryData1VO.java | 22 +++++++++++++++++----
.../iotdb/admin/model/vo/QueryDataForListVO.java | 22 +++++++++++++++++----
.../iotdb/admin/model/vo/QueryDataStrVO.java | 22 +++++++++++++++++----
.../iotdb/admin/model/vo/QueryDataStrVO1.java | 22 +++++++++++++++++----
.../apache/iotdb/admin/model/vo/QueryDataVO.java | 22 +++++++++++++++++----
.../apache/iotdb/admin/model/vo/QueryInfoVO.java | 22 +++++++++++++++++----
.../iotdb/admin/model/vo/QueryMetricsVO.java | 22 +++++++++++++++++----
.../iotdb/admin/service/MetricsResultService.java | 22 +++++++++++++++++----
.../apache/iotdb/admin/service/MetricsService.java | 22 +++++++++++++++++----
.../service/impl/MetricsResultServiceImpl.java | 22 +++++++++++++++++----
.../admin/service/impl/MetricsServiceImpl.java | 22 +++++++++++++++++----
27 files changed, 473 insertions(+), 100 deletions(-)
diff --git a/backend/src/main/java/org/apache/iotdb/admin/controller/MetricsController.java b/backend/src/main/java/org/apache/iotdb/admin/controller/MetricsController.java
index 5c5a968..30fda57 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/controller/MetricsController.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/controller/MetricsController.java
@@ -38,10 +38,6 @@ import javax.servlet.http.HttpServletRequest;
import java.util.ArrayList;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-22-上午 9:55
- */
@RestController
@Api(value = "metrics related")
public class MetricsController {
diff --git a/backend/src/main/java/org/apache/iotdb/admin/mapper/ViewModeMapper.java b/backend/src/main/java/org/apache/iotdb/admin/mapper/ViewModeMapper.java
index 66f9ea3..dd3bc58 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/mapper/ViewModeMapper.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/mapper/ViewModeMapper.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.mapper;
import org.apache.iotdb.admin.model.entity.ViewMode;
@@ -5,9 +23,6 @@ import org.apache.iotdb.admin.model.entity.ViewMode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Component;
-/**
- * @author Erickin
- * @create 2022-04-22-上午 10:32
- */
+
@Component
public interface ViewModeMapper extends BaseMapper<ViewMode> {}
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/dto/DataModelDetailDTO.java b/backend/src/main/java/org/apache/iotdb/admin/model/dto/DataModelDetailDTO.java
index 58463b0..e60abea 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/dto/DataModelDetailDTO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/dto/DataModelDetailDTO.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.model.dto;
import org.apache.iotdb.admin.model.vo.DataModelVO;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/dto/QueryInfoDTO.java b/backend/src/main/java/org/apache/iotdb/admin/model/dto/QueryInfoDTO.java
index 7f3210b..e69ad38 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/dto/QueryInfoDTO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/dto/QueryInfoDTO.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.model.dto;
import org.apache.iotdb.admin.model.vo.QueryDataStrVO;
@@ -6,10 +24,7 @@ import lombok.Data;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-25-下午 5:12
- */
+
@Data
public class QueryInfoDTO {
private Long latestRunningTime;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/entity/ViewMode.java b/backend/src/main/java/org/apache/iotdb/admin/model/entity/ViewMode.java
index 56c9ae6..bc0b450 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/entity/ViewMode.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/entity/ViewMode.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.model.entity;
import com.baomidou.mybatisplus.annotation.IdType;
@@ -11,10 +29,6 @@ import javax.validation.constraints.Pattern;
import java.io.Serializable;
-/**
- * @author Erickin
- * @create 2022-04-22-上午 10:35
- */
@Data
@TableName("view_mode")
public class ViewMode implements Serializable {
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/metricsDo/QueryDataDo.java b/backend/src/main/java/org/apache/iotdb/admin/model/metricsDo/QueryDataDo.java
index 2be1e09..81e8bde 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/metricsDo/QueryDataDo.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/metricsDo/QueryDataDo.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.model.metricsDo;
import org.apache.iotdb.admin.model.vo.QueryDataVO;
@@ -6,10 +24,6 @@ import lombok.Data;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-26-上午 9:28
- */
@Data
public class QueryDataDo {
private List<QueryDataVO> QueryDataVOs;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/GroupInfo.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/GroupInfo.java
index 62e3cb2..f95fd50 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/GroupInfo.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/GroupInfo.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.model.vo;
import lombok.AllArgsConstructor;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/JVMMetricsListDataVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/JVMMetricsListDataVO.java
index 3661555..146635d 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/JVMMetricsListDataVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/JVMMetricsListDataVO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.io.Serializable;
-/**
- * @author Erickin
- * @create 2022-04-26-下午 5:26
- */
@Data
public class JVMMetricsListDataVO extends MetricsListDataVO implements Serializable {
private String metricType;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetircsQueryClassificationVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetircsQueryClassificationVO.java
index 851c833..26a2bed 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetircsQueryClassificationVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetircsQueryClassificationVO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-25-上午 10:00
- */
@Data
public class MetircsQueryClassificationVO {
private Integer serverId;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsChartDataVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsChartDataVO.java
index 9bfa81f..f211b54 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsChartDataVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsChartDataVO.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.model.vo;
import lombok.Data;
@@ -6,10 +24,6 @@ import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-26-上午 10:15
- */
@Data
public class MetricsChartDataVO implements Serializable {
private List<String> timeList;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsConnectionVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsConnectionVO.java
index 8045fdb..e433ff9 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsConnectionVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsConnectionVO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.io.Serializable;
-/**
- * @author Erickin
- * @create 2022-04-25-上午 9:12
- */
+
@Data
public class MetricsConnectionVO implements Serializable {
Integer id;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataCountVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataCountVO.java
index 82f6337..9849648 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataCountVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataCountVO.java
@@ -1,11 +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.iotdb.admin.model.vo;
import lombok.Data;
-/**
- * @author Erickin
- * @create 2022-04-25-上午 9:38
- */
@Data
public class MetricsDataCountVO {
private Integer serverId;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataForDiagramVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataForDiagramVO.java
index 08135e3..0a27d00 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataForDiagramVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataForDiagramVO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.io.Serializable;
-/**
- * @author Erickin
- * @create 2022-04-26-上午 10:12
- */
@Data
public class MetricsDataForDiagramVO implements Serializable {
private Integer serverId;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataForListVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataForListVO.java
index 269cde1..7a763fb 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataForListVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsDataForListVO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-26-下午 8:12
- */
@Data
public class MetricsDataForListVO {
private Integer serverId;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsListDataVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsListDataVO.java
index 7bde7ca..bb62171 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsListDataVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsListDataVO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.io.Serializable;
-/**
- * @author Erickin
- * @create 2022-04-26-下午 5:24
- */
+
@Data
public class MetricsListDataVO implements Serializable {
private String name;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryClassificationVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryClassificationVO.java
index 17993c0..1864a0a 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryClassificationVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryClassificationVO.java
@@ -1,11 +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.iotdb.admin.model.vo;
import lombok.Data;
-/**
- * @author Erickin
- * @create 2022-04-25-上午 10:02
- */
+
@Data
public class QueryClassificationVO {
private Integer id;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryData1VO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryData1VO.java
index b14e3c4..1e5102c 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryData1VO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryData1VO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.io.Serializable;
-/**
- * @author Erickin
- * @create 2022-04-25-下午 3:56
- */
@Data
public class QueryData1VO extends QueryDataVO implements Serializable {
private Integer precompiledTime;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataForListVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataForListVO.java
index b200a0d..1f86fc3 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataForListVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataForListVO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-26-下午 9:22
- */
@Data
public class QueryDataForListVO {
private Integer serverId;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataStrVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataStrVO.java
index 5aecf44..f9511b4 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataStrVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataStrVO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.io.Serializable;
-/**
- * @author Erickin
- * @create 2022-04-28-下午 10:02
- */
@Data
public class QueryDataStrVO implements Serializable {
private Integer id;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataStrVO1.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataStrVO1.java
index a14537a..b74408e 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataStrVO1.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataStrVO1.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.io.Serializable;
-/**
- * @author Erickin
- * @create 2022-04-29-下午 2:10
- */
@Data
public class QueryDataStrVO1 extends QueryDataStrVO implements Serializable {
private Integer precompiledTime;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataVO.java
index 081be81..ca62db3 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryDataVO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.io.Serializable;
-/**
- * @author Erickin
- * @create 2022-04-25-下午 8:36
- */
@Data
public class QueryDataVO implements Serializable {
private Integer id;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryInfoVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryInfoVO.java
index e2b3529..007f9aa 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryInfoVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryInfoVO.java
@@ -1,13 +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.iotdb.admin.model.vo;
import lombok.Data;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-25-下午 5:13
- */
@Data
public class QueryInfoVO {
private Integer queryClassificationId;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryMetricsVO.java b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryMetricsVO.java
index cdf3e12..fba6a4f 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryMetricsVO.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/model/vo/QueryMetricsVO.java
@@ -1,11 +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.iotdb.admin.model.vo;
import lombok.Data;
-/**
- * @author Erickin
- * @create 2022-04-26-下午 9:20
- */
@Data
public class QueryMetricsVO {
private String SQLStatement;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/service/MetricsResultService.java b/backend/src/main/java/org/apache/iotdb/admin/service/MetricsResultService.java
index 1180f23..811c8ec 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/service/MetricsResultService.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/service/MetricsResultService.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.service;
import org.apache.iotdb.admin.common.exception.BaseException;
@@ -6,10 +24,6 @@ import org.apache.iotdb.admin.model.vo.MetricsListDataVO;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-26-下午 4:07
- */
public interface MetricsResultService {
List<MetricsListDataVO> getJVMMetricsDataList(Connection connection) throws BaseException;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/service/MetricsService.java b/backend/src/main/java/org/apache/iotdb/admin/service/MetricsService.java
index 50f8663..0acd5b7 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/service/MetricsService.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/service/MetricsService.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.service;
import org.apache.iotdb.admin.common.exception.BaseException;
@@ -6,10 +24,6 @@ import org.apache.iotdb.admin.model.vo.*;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-26-下午 4:07
- */
public interface MetricsService {
List<MetricsListDataVO> getJVMMetricsDataList(Connection connection) throws BaseException;
diff --git a/backend/src/main/java/org/apache/iotdb/admin/service/impl/MetricsResultServiceImpl.java b/backend/src/main/java/org/apache/iotdb/admin/service/impl/MetricsResultServiceImpl.java
index de26ba5..4137090 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/service/impl/MetricsResultServiceImpl.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/service/impl/MetricsResultServiceImpl.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.service.impl;
import org.apache.iotdb.admin.common.exception.BaseException;
@@ -12,10 +30,6 @@ import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-26-下午 4:41
- */
@Service
public class MetricsResultServiceImpl implements MetricsResultService {
diff --git a/backend/src/main/java/org/apache/iotdb/admin/service/impl/MetricsServiceImpl.java b/backend/src/main/java/org/apache/iotdb/admin/service/impl/MetricsServiceImpl.java
index 5dd025d..47ef9cb 100644
--- a/backend/src/main/java/org/apache/iotdb/admin/service/impl/MetricsServiceImpl.java
+++ b/backend/src/main/java/org/apache/iotdb/admin/service/impl/MetricsServiceImpl.java
@@ -1,3 +1,21 @@
+/*
+ * 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.iotdb.admin.service.impl;
import org.apache.iotdb.admin.common.exception.BaseException;
@@ -27,10 +45,6 @@ import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.List;
-/**
- * @author Erickin
- * @create 2022-04-26-下午 4:41
- */
@Service
public class MetricsServiceImpl implements MetricsService {