Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 29a7091

Browse files
author
ljn
committed
hotfix:add the licenses
1 parent 893c934 commit 29a7091

27 files changed

Lines changed: 473 additions & 100 deletions

backend/src/main/java/org/apache/iotdb/admin/controller/MetricsController.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@
3838
import java.util.ArrayList;
3939
import java.util.List;
4040

41-
/**
42-
* @author Erickin
43-
* @create 2022-04-22-上午 9:55
44-
*/
4541
@RestController
4642
@Api(value = "metrics related")
4743
public class MetricsController {
Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,28 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
119
package org.apache.iotdb.admin.mapper;
220

321
import org.apache.iotdb.admin.model.entity.ViewMode;
422

523
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
624
import org.springframework.stereotype.Component;
725

8-
/**
9-
* @author Erickin
10-
* @create 2022-04-22-上午 10:32
11-
*/
26+
1227
@Component
1328
public interface ViewModeMapper extends BaseMapper<ViewMode> {}

backend/src/main/java/org/apache/iotdb/admin/model/dto/DataModelDetailDTO.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
119
package org.apache.iotdb.admin.model.dto;
220

321
import org.apache.iotdb.admin.model.vo.DataModelVO;

backend/src/main/java/org/apache/iotdb/admin/model/dto/QueryInfoDTO.java

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
119
package org.apache.iotdb.admin.model.dto;
220

321
import org.apache.iotdb.admin.model.vo.QueryDataStrVO;
@@ -6,10 +24,7 @@
624

725
import java.util.List;
826

9-
/**
10-
* @author Erickin
11-
* @create 2022-04-25-下午 5:12
12-
*/
27+
1328
@Data
1429
public class QueryInfoDTO {
1530
private Long latestRunningTime;

backend/src/main/java/org/apache/iotdb/admin/model/entity/ViewMode.java

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
119
package org.apache.iotdb.admin.model.entity;
220

321
import com.baomidou.mybatisplus.annotation.IdType;
@@ -11,10 +29,6 @@
1129

1230
import java.io.Serializable;
1331

14-
/**
15-
* @author Erickin
16-
* @create 2022-04-22-上午 10:35
17-
*/
1832
@Data
1933
@TableName("view_mode")
2034
public class ViewMode implements Serializable {

backend/src/main/java/org/apache/iotdb/admin/model/metricsDo/QueryDataDo.java

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
119
package org.apache.iotdb.admin.model.metricsDo;
220

321
import org.apache.iotdb.admin.model.vo.QueryDataVO;
@@ -6,10 +24,6 @@
624

725
import java.util.List;
826

9-
/**
10-
* @author Erickin
11-
* @create 2022-04-26-上午 9:28
12-
*/
1327
@Data
1428
public class QueryDataDo {
1529
private List<QueryDataVO> QueryDataVOs;

backend/src/main/java/org/apache/iotdb/admin/model/vo/GroupInfo.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
119
package org.apache.iotdb.admin.model.vo;
220

321
import lombok.AllArgsConstructor;

backend/src/main/java/org/apache/iotdb/admin/model/vo/JVMMetricsListDataVO.java

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
119
package org.apache.iotdb.admin.model.vo;
220

321
import lombok.Data;
422

523
import java.io.Serializable;
624

7-
/**
8-
* @author Erickin
9-
* @create 2022-04-26-下午 5:26
10-
*/
1125
@Data
1226
public class JVMMetricsListDataVO extends MetricsListDataVO implements Serializable {
1327
private String metricType;

backend/src/main/java/org/apache/iotdb/admin/model/vo/MetircsQueryClassificationVO.java

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,27 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
119
package org.apache.iotdb.admin.model.vo;
220

321
import lombok.Data;
422

523
import java.util.List;
624

7-
/**
8-
* @author Erickin
9-
* @create 2022-04-25-上午 10:00
10-
*/
1125
@Data
1226
public class MetircsQueryClassificationVO {
1327
private Integer serverId;

backend/src/main/java/org/apache/iotdb/admin/model/vo/MetricsChartDataVO.java

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
119
package org.apache.iotdb.admin.model.vo;
220

321
import lombok.Data;
@@ -6,10 +24,6 @@
624
import java.util.HashMap;
725
import java.util.List;
826

9-
/**
10-
* @author Erickin
11-
* @create 2022-04-26-上午 10:15
12-
*/
1327
@Data
1428
public class MetricsChartDataVO implements Serializable {
1529
private List<String> timeList;

0 commit comments

Comments
 (0)