From 5cdcd64faaf41b38d8f6c638a692eb713d688a4a Mon Sep 17 00:00:00 2001 From: wodiwudi <40229449+wodiwudi@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:33:05 +0800 Subject: [PATCH 1/2] refactor: add apache header (#511) --- ozhera-prometheus-agent/aliAlertMessage.txt | 46 ----------- .../ozhera-prometheus-agent-server/Dockerfile | 15 ++++ .../ozhera-prometheus-agent-server/build.sh | 15 ++++ .../deploy/manifests/config.pp.template | 60 -------------- .../src/main/resources/Dockerfile | 15 ++++ .../src/main/resources/ddl.sql | 79 ------------------- .../resources/dingding/dingdingbasicCart.ftl | 19 +++++ .../dingding/dingdingbasicUpdateCart.ftl | 19 +++++ .../main/resources/feishu/feishuBasicCart.ftl | 19 +++++ .../src/main/resources/feishu/feishuCart.ftl | 19 +++++ .../resources/feishu/feishuInterfalCart.ftl | 19 +++++ .../src/main/resources/mail/mailBasic.ftl | 19 +++++ .../src/main/resources/mail/mailCart.ftl | 19 +++++ .../src/main/resources/mail/mailInterfal.ftl | 19 +++++ 14 files changed, 197 insertions(+), 185 deletions(-) delete mode 100644 ozhera-prometheus-agent/aliAlertMessage.txt delete mode 100644 ozhera-prometheus-agent/ozhera-prometheus-agent-server/deploy/manifests/config.pp.template delete mode 100644 ozhera-prometheus-agent/ozhera-prometheus-agent-server/src/main/resources/ddl.sql diff --git a/ozhera-prometheus-agent/aliAlertMessage.txt b/ozhera-prometheus-agent/aliAlertMessage.txt deleted file mode 100644 index 8975c91a2..000000000 --- a/ozhera-prometheus-agent/aliAlertMessage.txt +++ /dev/null @@ -1,46 +0,0 @@ -{ - "alerts":[ - {{ for .alerts }} - { - "annotations": { - "title": "{{ .annotations.title }}" - }, - "endsAt": "{{ .endsAt }}", - "fingerprint": "{{ .fingerprint }}", - "labels": { - "alert_op": "{{ .labels.alert_op }}", - "alert_value": "{{ .labels.alert_value }}", - "alertname": "{{ .labels.alertname }}", - "application": "{{ .labels.application }}", - "methodName": "{{ .labels.methodName }}", - "metrics": "{{ .labels.metrics }}", - "metrics_flag": "{{ .labels.metrics_flag }}", - "serverEnv": "{{ .labels.serverEnv }}", - "serverIp": "{{ .labels.serverIp }}", - "ip": "{{ .labels.ip }}", - "job": "{{ .labels.job }}", - "namespace": "{{ .labels.namespace }}", - "pod": "{{ .labels.pod }}", - "detailRedirectUrl": "{{ .labels.detailRedirectUrl }}", - "serviceName":"{{ .labels.serviceName }}", - "send_interval":"{{ .labels.send_interval }}" - }, - "startsAt": "{{ .startsAt }}", - "status": "{{ .status }}" - } - {{ end }} - ], -"commonAnnotations": { - "title": "{{ .commonAnnotations.title }}" -}, -"groupKey":null, -"receiver":null, -"truncatedAlerts":0, -"version":4, - "status": "{{ .status }}", - "startTime":"{{ .startTime }}", - "endTime":"{{ .endTime }}", - "level":"{{ .level }}", - "dispatchRuleName":"{{ .dispatchRuleName }}", - "alarmId":"{{ .alarmId }}" -} \ No newline at end of file diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-server/Dockerfile b/ozhera-prometheus-agent/ozhera-prometheus-agent-server/Dockerfile index 37222bad3..dca5085fb 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-server/Dockerfile +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-server/Dockerfile @@ -1,3 +1,18 @@ +# 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. + FROM openjdk:21-jdk-bookworm MAINTAINER youpin-biz-arch@xiaomi.com RUN mkdir -p /home/work/prometheus-agent/ diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-server/build.sh b/ozhera-prometheus-agent/ozhera-prometheus-agent-server/build.sh index 58764f433..b147d3a94 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-server/build.sh +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-server/build.sh @@ -1,5 +1,20 @@ #!/bin/bash +# 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. + # Extract the cluster from the job name job=$1 cluster=$(echo $job | sed -n 's/.*_cluster\.\([^._]*\)_.*/\1/p') diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-server/deploy/manifests/config.pp.template b/ozhera-prometheus-agent/ozhera-prometheus-agent-server/deploy/manifests/config.pp.template deleted file mode 100644 index c13de97da..000000000 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-server/deploy/manifests/config.pp.template +++ /dev/null @@ -1,60 +0,0 @@ -class base { -#Default configuration,Required,Uneditable。 - $basedir = "$" - $user = "$< user >" - $mod_ver = "$< version >" - $pkg_dir = "$< pkg_dir >" - $mod_name = "$< name >" - $tag = "$< tag >" - - $prog_name = "prometheus-agent" - $prog_logdir = "/home/work/log/${prog_name}/" - $mod_proc_log = "${prog_logdir}/${prog_name}.log" - $mod_run_log = "${basedir}/run.log" - - $to_email = "" - $mod_start = "/opt/soft/openjdk1.8.0_202/bin/java -Xms2g -Xmx2g -XX:MaxDirectMemorySize=500M -XX:+UseG1GC -XX:MaxGCPauseMillis=20 \ - -XX:+PrintReferenceGC -XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintHeapAtGC -verbose:gc \ - -Xloggc:/home/work/log/prometheus-agent/gc.log -jar ${basedir}/prometheus-agent-server-1.0.0-SNAPSHOT.jar -r" - - - $run_dir = "${basedir}" - $run_env= {"JAVA_HOME" => "/opt/soft/openjdk1.8.0_202", "CLASSPATH" => ".:/opt/soft/openjdk1.8.0_202/jre/lib:/opt/soft/openjdk1.8.0_202/lib:/opt/soft/openjdk1.8.0_202/lib/tools.jar:/opt/soft/openjdk1.8.0_202/lib/dt.jar", "JAVA_OPTS" => ""} - } -class preview inherits base { -} - -class production-sd inherits base { -} - -class production-lg inherits base { -} - -class production-hh inherits base { -} - -class c3 inherits base { -} - -class c4 inherits base { -} - -class aws-sgp inherits base { -} - -class aws-de inherits base { -} - -class aws-mb inherits base { -} - -class ali-sgp inherits base { -} - -class staging inherits base { -} - -class onebox inherits base { -} - -class config inherits $ {} diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-server/src/main/resources/Dockerfile b/ozhera-prometheus-agent/ozhera-prometheus-agent-server/src/main/resources/Dockerfile index 820412293..bbe48be72 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-server/src/main/resources/Dockerfile +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-server/src/main/resources/Dockerfile @@ -1,3 +1,18 @@ +# 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. + FROM openjdk:8-jre MAINTAINER youpin-biz-arch@xiaomi.com RUN mkdir -p /home/work/prometheus-agent/ diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-server/src/main/resources/ddl.sql b/ozhera-prometheus-agent/ozhera-prometheus-agent-server/src/main/resources/ddl.sql deleted file mode 100644 index 425273b5e..000000000 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-server/src/main/resources/ddl.sql +++ /dev/null @@ -1,79 +0,0 @@ -CREATE TABLE `scrape_config` -( - `id` int unsigned NOT NULL AUTO_INCREMENT, - `prom_cluster` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'public' COMMENT 'prometheus cluster name', - `region` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '' COMMENT 'region', - `zone` varchar(128) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '' COMMENT 'availability zone', - `env` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '' COMMENT 'config env:staging,preview,production', - `status` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'pending' COMMENT 'current status of the task (whether the delivery was successful):pending、success', - `instances` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT '' COMMENT 'instances of collection tasks: comma separated', - `job_name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '' COMMENT 'name of the collection task', - `body` text CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'scrape_config struct json string', - `created_by` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '' COMMENT 'creator', - `created_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'created time', - `updated_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'updated time', - `deleted_by` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT 'deleter', - `deleted_time` timestamp NULL DEFAULT NULL COMMENT 'deleted time', - PRIMARY KEY (`id`), - UNIQUE KEY `unq_job_name` (`job_name`,`deleted_by`) USING BTREE, - KEY `idx_prom_cluster` (`prom_cluster`), - KEY `idx_region` (`region`), - KEY `idx_zone` (`zone`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci; - -CREATE TABLE `prometheus_alert` -( - `id` int NOT NULL AUTO_INCREMENT COMMENT 'alert id', - `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'alert name', - `cname` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT 'alert cname', - `expr` varchar(4096) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'expr', - `labels` varchar(4096) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'labels', - `alert_for` varchar(20) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'for', - `env` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT 'config environment', - `enabled` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'enabled', - `priority` tinyint NOT NULL COMMENT 'priority', - `created_by` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'creator', - `created_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'created time', - `updated_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT 'updated time', - `deleted_by` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'delete user', - `deleted_time` timestamp NULL DEFAULT NULL COMMENT 'deleted time', - `prom_cluster` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT 'public' COMMENT 'prometheus cluster name', - `status` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'pending' COMMENT 'Whether the configuration is successfully delivered:pending、success', - `instances` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT '' COMMENT 'instances of collection tasks: comma separated', - `thresholds_op` varchar(8) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT NULL COMMENT 'Multi-threshold operator, supports [or] , [and]', - `thresholds` mediumtext CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci COMMENT 'Alarm threshold array (use this field in simple mode)', - `type` int DEFAULT NULL COMMENT 'Mode, simple mode is 0, complex mode is 1', - `alert_member` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '' COMMENT 'alert_member', - `alert_at_people` varchar(1024) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'alert at people', - `annotations` varchar(4096) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT '' COMMENT 'Comment', - `alert_group` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT '' COMMENT 'group', - PRIMARY KEY (`id`), - UNIQUE KEY `uniq_name` (`name`) USING BTREE -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci; - - -CREATE TABLE `silence_matcher` -( - `silence_id` int NOT NULL COMMENT 'silence id', - `name` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'name', - `value` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'value', - `is_regex` tinyint(1) NOT NULL COMMENT 'if is regex matcher', - `is_equal` tinyint(1) NOT NULL COMMENT ' if is equal matcher' -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci; - - -CREATE TABLE `silence` -( - `id` int NOT NULL AUTO_INCREMENT COMMENT 'silence id', - `uuid` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'silence uuid', - `comment` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'creator', - `start_time` timestamp NOT NULL COMMENT 'silence start time', - `end_time` timestamp NOT NULL COMMENT 'silence end time', - `created_by` varchar(255) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL COMMENT 'creator', - `created_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'created time', - `updated_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'updated time', - `prom_cluster` varchar(100) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci DEFAULT 'public' COMMENT 'prometheus cluster name', - `status` varchar(32) CHARACTER SET utf8mb3 COLLATE utf8mb3_unicode_ci NOT NULL DEFAULT 'pending' COMMENT 'Whether the configuration is successfully delivered:pending、success', - `alert_id` int NOT NULL DEFAULT '0' COMMENT 'alert id', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci; \ No newline at end of file diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/dingding/dingdingbasicCart.ftl b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/dingding/dingdingbasicCart.ftl index 1b1206043..65534ff57 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/dingding/dingdingbasicCart.ftl +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/dingding/dingdingbasicCart.ftl @@ -1,3 +1,22 @@ +<#-- + 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. +--> + { "config": { "autoLayout": true, diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/dingding/dingdingbasicUpdateCart.ftl b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/dingding/dingdingbasicUpdateCart.ftl index 8433850ea..f5972b49c 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/dingding/dingdingbasicUpdateCart.ftl +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/dingding/dingdingbasicUpdateCart.ftl @@ -1,3 +1,22 @@ +<#-- + 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. +--> + { "config": { "autoLayout": true, diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuBasicCart.ftl b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuBasicCart.ftl index b365ca69d..09c7d5493 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuBasicCart.ftl +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuBasicCart.ftl @@ -1,3 +1,22 @@ +<#-- + 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. +--> + { "config": { "wide_screen_mode": true diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuCart.ftl b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuCart.ftl index df566d2e3..90bd621a2 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuCart.ftl +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuCart.ftl @@ -1,3 +1,22 @@ +<#-- + 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. +--> + { "config": { "wide_screen_mode": true diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuInterfalCart.ftl b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuInterfalCart.ftl index 6cba6f12e..4f6f0ef68 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuInterfalCart.ftl +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/feishu/feishuInterfalCart.ftl @@ -1,3 +1,22 @@ +<#-- + 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. +--> + { "config": { "wide_screen_mode": true diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailBasic.ftl b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailBasic.ftl index e5394006f..18984e7d3 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailBasic.ftl +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailBasic.ftl @@ -1,3 +1,22 @@ +<#-- + 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. +--> + diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailCart.ftl b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailCart.ftl index 4ef2aedb5..855c05054 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailCart.ftl +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailCart.ftl @@ -1,3 +1,22 @@ +<#-- + 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. +--> + diff --git a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailInterfal.ftl b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailInterfal.ftl index 0875d3fff..31025260b 100644 --- a/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailInterfal.ftl +++ b/ozhera-prometheus-agent/ozhera-prometheus-agent-service/src/main/resources/mail/mailInterfal.ftl @@ -1,3 +1,22 @@ +<#-- + 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. +--> + From 617fbd2c6de0d5e4562e1aee8031cbdb3f194ba5 Mon Sep 17 00:00:00 2001 From: wtt <30461027+wtt40122@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:39:17 +0800 Subject: [PATCH 2/2] fix: update hera-log and hera-operator file header (#508) * refactor: update hera-log and hera-operator header * refactor: update yaml header * fix: update sh file header * fix: update maven repository --------- Co-authored-by: gaoxh <32359336+gaoxh@users.noreply.github.com> --- ozhera-log/.dockerignore | 7 - ozhera-log/Ozhera_log_optimization.md | 20 ++ ...45\345\277\227\344\274\230\345\214\226.md" | 20 ++ ozhera-log/README.md | 20 ++ ozhera-log/README_cn.md | 20 ++ ozhera-log/log-agent-server/Dockerfile | 14 ++ ozhera-log/log-agent-server/README.md | 20 ++ ozhera-log/log-agent-server/pom.xml | 20 ++ .../log/server/LogAgentServerBootstrap.java | 25 +- .../log/server/common/ServerConstant.java | 25 +- .../ozhera/log/server/common/Version.java | 25 +- .../AgentCollectProgressProcessor.java | 25 +- .../porcessor/AgentConfigProcessor.java | 26 +- .../log/server/porcessor/PingProcessor.java | 25 +- .../service/ApplicationShutdownHook.java | 25 +- .../service/DefaultAgentConfigAcquirer.java | 26 +- .../service/DefaultLogProcessCollector.java | 25 +- .../service/DefaultPublishConfigService.java | 25 +- .../src/main/resources/config.properties | 14 ++ .../src/main/resources/config/open.properties | 14 ++ .../src/main/resources/logback.xml | 20 ++ .../DefaultAgentConfigAcquirerTest.java | 109 ++++----- .../DefaultLogProcessCollectorTest.java | 148 ++++++----- .../apache/ozhera/log/server/DubboTest.java | 80 +++--- ozhera-log/log-agent/Dockerfile | 14 ++ ozhera-log/log-agent/pom.xml | 20 ++ .../agent/bootstrap/MiLogAgentBootstrap.java | 25 +- .../agent/channel/AbstractChannelService.java | 25 +- .../log/agent/channel/ChannelDefine.java | 25 +- .../log/agent/channel/ChannelEngine.java | 25 +- .../log/agent/channel/ChannelService.java | 25 +- .../log/agent/channel/ChannelServiceImpl.java | 25 +- .../log/agent/channel/ChannelState.java | 25 +- .../ozhera/log/agent/channel/Closeable.java | 25 +- .../channel/WildcardChannelServiceImpl.java | 25 +- .../comparator/AppSimilarComparator.java | 25 +- .../comparator/FilterSimilarComparator.java | 25 +- .../comparator/InputSimilarComparator.java | 25 +- .../comparator/OutputSimilarComparator.java | 25 +- .../channel/comparator/SimilarComparator.java | 25 +- .../log/agent/channel/conf/AgentTailConf.java | 25 +- .../log/agent/channel/file/FileListener.java | 25 +- .../log/agent/channel/file/FileMonitor.java | 25 +- .../log/agent/channel/file/FileWatcher.java | 25 +- .../channel/file/InodeFileComparator.java | 25 +- .../file/LogFileAlterationObserver.java | 25 +- .../log/agent/channel/file/MonitorFile.java | 25 +- .../listener/DefaultFileMonitorListener.java | 25 +- .../channel/listener/FileMonitorListener.java | 25 +- .../locator/ChannelDefineJsonLocator.java | 25 +- .../channel/locator/ChannelDefineLocator.java | 25 +- .../locator/ChannelDefineRpcLocator.java | 25 +- .../channel/memory/AgentMemoryService.java | 25 +- .../memory/AgentMemoryServiceImpl.java | 25 +- .../agent/channel/memory/ChannelMemory.java | 25 +- .../agent/common/AbstractElementAdapter.java | 25 +- .../ozhera/log/agent/common/ChannelUtil.java | 25 +- .../ozhera/log/agent/common/ExecutorUtil.java | 25 +- .../ozhera/log/agent/common/HashUtil.java | 25 +- .../ozhera/log/agent/common/Version.java | 25 +- .../log/agent/common/trace/MessageUtil.java | 25 +- .../log/agent/common/trace/TraceUtil.java | 25 +- .../log/agent/exception/AgentException.java | 25 +- .../ozhera/log/agent/export/MsgExporter.java | 25 +- .../log/agent/extension/KafkaExporter.java | 25 +- .../log/agent/extension/KafkaOutput.java | 25 +- .../log/agent/extension/KafkaService.java | 25 +- .../log/agent/extension/RmqExporter.java | 25 +- .../ozhera/log/agent/extension/RmqOutput.java | 25 +- .../log/agent/extension/RocketMQService.java | 25 +- .../agent/factory/OutPutServiceFactory.java | 25 +- .../ozhera/log/agent/filter/FilterChain.java | 25 +- .../ozhera/log/agent/filter/FilterTrans.java | 25 +- .../ozhera/log/agent/filter/Invoker.java | 25 +- .../ozhera/log/agent/filter/MilogFilter.java | 25 +- .../filter/ratelimit/RatelimitFilter.java | 25 +- .../ozhera/log/agent/input/AppLogInput.java | 25 +- .../ozhera/log/agent/input/FreeLogInput.java | 25 +- .../apache/ozhera/log/agent/input/Input.java | 25 +- .../log/agent/input/MisAppLogInput.java | 25 +- .../ozhera/log/agent/input/NginxInput.java | 25 +- .../log/agent/input/OpentelemetryInput.java | 25 +- .../log/agent/input/OriginLogInput.java | 25 +- .../ozhera/log/agent/output/Output.java | 25 +- .../log/agent/rpc/processor/IService.java | 25 +- .../log/agent/rpc/processor/LogProcessor.java | 25 +- .../agent/rpc/processor/ProcessorInit.java | 25 +- .../ozhera/log/agent/rpc/task/PingTask.java | 25 +- .../ChannelDefineLocatorExtension.java | 25 +- .../log/agent/service/OutPutService.java | 25 +- .../agent/service/ServiceRegistryService.java | 26 +- ...uterChannelDefineLocatorExtensionImpl.java | 25 +- .../impl/ServiceRegistryServiceImpl.java | 26 +- .../src/main/resources/config.properties | 14 ++ .../src/main/resources/config/dev.properties | 14 ++ .../src/main/resources/config/open.properties | 14 ++ .../log-agent/src/main/resources/logback.xml | 20 ++ .../apache/ozhera/log/agent/Comparator.java | 25 +- .../agent/DefaultFileMonitorListenerTest.java | 25 +- .../ozhera/log/agent/FileInodeTest.java | 25 +- .../ozhera/log/agent/FilterMonitorTest.java | 25 +- .../ozhera/log/agent/LogProcessorTest.java | 25 +- .../log/agent/channel/ChannelServiceTest.java | 25 +- .../log/agent/common/ExecutorUtilTest.java | 25 +- .../log/agent/common/trace/TraceUtilTest.java | 25 +- .../agent/extension/RocketMQServiceTest.java | 25 +- .../log/agent/filter/ComparatorTest.java | 25 +- .../log/agent/filter/FilterTransTest.java | 25 +- .../ozhera/log/agent/lock/LockTest.java | 25 +- .../service/ChannelDefineRpcLocatorTest.java | 25 +- .../rpc/processor/service/LimitTest.java | 25 +- .../agent/rpc/processor/service/RpcTest.java | 25 +- ozhera-log/log-api/pom.xml | 20 ++ .../ozhera/log/api/enums/AppTypeEnum.java | 25 +- .../ozhera/log/api/enums/DeployWayEnum.java | 25 +- .../ozhera/log/api/enums/ESClusterEnum.java | 25 +- .../ozhera/log/api/enums/EsOperatorEnum.java | 25 +- .../log/api/enums/EsOperatorMatchEnum.java | 25 +- .../log/api/enums/FavouriteSearchEnum.java | 25 +- .../ozhera/log/api/enums/K8sPodTypeEnum.java | 25 +- .../log/api/enums/LogStorageTypeEnum.java | 26 +- .../log/api/enums/LogStructureEnum.java | 25 +- .../ozhera/log/api/enums/LogTypeEnum.java | 25 +- .../ozhera/log/api/enums/MQSourceEnum.java | 25 +- .../log/api/enums/MachineRegionEnum.java | 25 +- .../ozhera/log/api/enums/MachineTypeEnum.java | 25 +- .../ozhera/log/api/enums/MiddlewareEnum.java | 25 +- .../ozhera/log/api/enums/OperateEnum.java | 25 +- .../log/api/enums/ProjectSourceEnum.java | 25 +- .../ozhera/log/api/enums/ProjectTypeEnum.java | 25 +- .../ozhera/log/api/enums/RateLimitEnum.java | 25 +- .../ozhera/log/api/enums/ResourceEnum.java | 25 +- .../apache/ozhera/log/api/filter/Common.java | 25 +- .../log/api/filter/RateLimitStrategy.java | 25 +- .../ozhera/log/api/model/bo/AlertInfo.java | 25 +- .../log/api/model/bo/MiLogMoneTransfer.java | 25 +- .../log/api/model/bo/MiLogResource.java | 25 +- .../ozhera/log/api/model/bo/ResourcePage.java | 25 +- .../log/api/model/dto/MontorAppDTO.java | 25 +- .../ozhera/log/api/model/dto/TraceLogDTO.java | 25 +- .../log/api/model/meta/AgentDefine.java | 25 +- .../ozhera/log/api/model/meta/AppLogMeta.java | 25 +- .../ozhera/log/api/model/meta/FilterConf.java | 25 +- .../log/api/model/meta/FilterDefine.java | 25 +- .../ozhera/log/api/model/meta/FilterName.java | 25 +- .../ozhera/log/api/model/meta/FilterType.java | 25 +- .../log/api/model/meta/LogCollectMeta.java | 25 +- .../ozhera/log/api/model/meta/LogPattern.java | 25 +- .../ozhera/log/api/model/meta/MQConfig.java | 25 +- .../log/api/model/meta/package-info.java | 25 +- .../ozhera/log/api/model/msg/LineMessage.java | 25 +- .../log/api/model/vo/AgentLogProcessDTO.java | 25 +- .../ozhera/log/api/model/vo/AlarmPattern.java | 25 +- .../ozhera/log/api/model/vo/CommonVo.java | 25 +- .../ozhera/log/api/model/vo/EsIndexVo.java | 25 +- .../ozhera/log/api/model/vo/LogCmd.java | 25 +- .../log/api/model/vo/LogRecordConfig.java | 25 +- .../ozhera/log/api/model/vo/MiLogMoneEnv.java | 25 +- .../ozhera/log/api/model/vo/PingReq.java | 25 +- .../ozhera/log/api/model/vo/ResourceInfo.java | 25 +- .../log/api/model/vo/ResourceUserSimple.java | 25 +- .../log/api/model/vo/TailLogProcessDTO.java | 25 +- .../log/api/model/vo/TraceLogQuery.java | 25 +- .../log/api/model/vo/UpdateLogProcessCmd.java | 25 +- .../ozhera/log/api/model/vo/ValueKeyObj.java | 25 +- .../log/api/service/AgentConfigService.java | 25 +- .../log/api/service/LogCountService.java | 25 +- .../log/api/service/LogDataService.java | 25 +- .../log/api/service/LogProcessCollector.java | 25 +- .../log/api/service/LogProcessService.java | 25 +- .../log/api/service/MilogOpenService.java | 25 +- .../log/api/service/PublishConfigService.java | 25 +- .../log/api/LogStorageTypeEnumTest.java | 25 +- ozhera-log/log-common/pom.xml | 20 ++ .../log/annotation/UnifiedResponse.java | 25 +- .../org/apache/ozhera/log/common/Config.java | 25 +- .../apache/ozhera/log/common/Constant.java | 25 +- .../java/org/apache/ozhera/log/common/Es.java | 25 +- .../ozhera/log/common/HeraLocalCache.java | 25 +- .../apache/ozhera/log/common/MiLogCmd.java | 25 +- .../apache/ozhera/log/common/NetUtils.java | 25 +- .../apache/ozhera/log/common/PathUtils.java | 25 +- .../org/apache/ozhera/log/common/Result.java | 25 +- .../ozhera/log/exception/CommonError.java | 26 +- .../ozhera/log/exception/CommonException.java | 25 +- .../ozhera/log/model/LogtailConfig.java | 25 +- .../ozhera/log/model/MiLogStreamConfig.java | 25 +- .../ozhera/log/model/MilogSpaceData.java | 25 +- .../ozhera/log/model/MilogStreamData.java | 25 +- .../apache/ozhera/log/model/SinkConfig.java | 25 +- .../apache/ozhera/log/model/StorageInfo.java | 25 +- .../ozhera/log/parse/AbstractLogParser.java | 25 +- .../ozhera/log/parse/CustomLogParser.java | 25 +- .../ozhera/log/parse/FieldInterceptor.java | 25 +- .../ozhera/log/parse/JsonLogParser.java | 25 +- .../apache/ozhera/log/parse/LogParser.java | 25 +- .../ozhera/log/parse/LogParserData.java | 25 +- .../ozhera/log/parse/LogParserFactory.java | 25 +- .../ozhera/log/parse/NginxLogParser.java | 25 +- .../apache/ozhera/log/parse/RawLogParser.java | 25 +- .../ozhera/log/parse/RegexLogParser.java | 25 +- .../ozhera/log/parse/SeparatorLogParser.java | 25 +- .../apache/ozhera/log/utils/ConfigUtils.java | 25 +- .../apache/ozhera/log/utils/DateUtils.java | 25 +- .../apache/ozhera/log/utils/IndexUtils.java | 25 +- .../apache/ozhera/log/utils/KafkaUtils.java | 25 +- .../org/apache/ozhera/log/utils/NetUtil.java | 25 +- .../ozhera/log/utils/PinYin4jUtils.java | 25 +- .../apache/ozhera/log/utils/SimilarUtils.java | 25 +- .../ozhera/log/common/DateUtilsTest.java | 25 +- .../ozhera/log/common/IndexUtilsTest.java | 25 +- .../apache/ozhera/log/common/LineMessage.java | 25 +- .../log/common/LogParserFactoryTest.java | 25 +- .../ozhera/log/common/LogParserTest.java | 25 +- .../ozhera/log/common/NetUtilsTest.java | 26 +- .../ozhera/log/common/PathUtilsTest.java | 25 +- .../ozhera/log/common/PinYin4jUtilsTest.java | 25 +- .../ozhera/log/common/SimilarityTest.java | 25 +- ozhera-log/log-manager/Dockerfile | 14 ++ ozhera-log/log-manager/pom.xml | 21 ++ .../ozhera/log/manager/bootstrap/Cache.java | 25 +- .../manager/bootstrap/LogStoragePlugin.java | 25 +- .../bootstrap/MiLogManagerBootstrap.java | 25 +- .../ozhera/log/manager/common/ErrorCode.java | 25 +- .../log/manager/common/ExceptionCode.java | 25 +- .../log/manager/common/ManagerConstant.java | 25 +- .../log/manager/common/MilogConfig.java | 25 +- .../ozhera/log/manager/common/Result.java | 25 +- .../ozhera/log/manager/common/Utils.java | 25 +- .../ozhera/log/manager/common/Version.java | 25 +- .../manager/common/context/MilogUserUtil.java | 25 +- .../common/context/MoneUserContext.java | 25 +- .../exception/MilogManageException.java | 25 +- .../common/helper/MilogAccessHelper.java | 25 +- .../log/manager/common/utils/ExportUtils.java | 25 +- .../log/manager/common/utils/ManagerUtil.java | 25 +- .../common/validation/HeraConfigValid.java | 25 +- .../common/validation/OpenSourceValid.java | 25 +- .../common/validation/ResourceValidation.java | 25 +- .../validation/StoreSpaceAuthValid.java | 25 +- .../common/validation/StoreValidation.java | 25 +- .../manager/controller/EsDataController.java | 25 +- .../controller/LogAnalyseController.java | 25 +- .../controller/LogTemplateController.java | 25 +- .../MIlogAgentManageController.java | 25 +- .../controller/MiLogMetaManageController.java | 25 +- .../controller/MiLogResourceController.java | 25 +- .../controller/MilogConfigController.java | 25 +- .../controller/MilogDictionaryController.java | 25 +- .../controller/MilogLoginController.java | 25 +- .../MilogMiddlewareConfigController.java | 25 +- .../controller/MilogStatisticController.java | 26 +- .../MilogStoreSpaceAuthController.java | 25 +- .../controller/MilogStreamController.java | 25 +- .../controller/StreamPartitionController.java | 25 +- .../interceptor/HttpRequestInterceptor.java | 25 +- .../dao/LogStreamBalanceConfigDao.java | 25 +- .../manager/dao/MilogAppMiddlewareRelDao.java | 25 +- .../log/manager/dao/MilogAppTopicRelDao.java | 25 +- .../ozhera/log/manager/dao/MilogLockDao.java | 25 +- .../log/manager/dao/MilogLogProcessDao.java | 25 +- .../log/manager/dao/MilogLogTailDao.java | 25 +- .../log/manager/dao/MilogLogstoreDao.java | 25 +- .../log/manager/dao/MilogMachineDao.java | 25 +- .../manager/dao/MilogMiddlewareConfigDao.java | 25 +- .../dao/MilogRegionAvailableZoneDao.java | 25 +- .../ozhera/log/manager/dao/MilogSpaceDao.java | 25 +- .../manager/dao/MilogStoreSpaceAuthDao.java | 25 +- .../ozhera/log/manager/domain/AnalyseLog.java | 25 +- .../log/manager/domain/ClusterIndexVO.java | 25 +- .../ozhera/log/manager/domain/Down.java | 25 +- .../ozhera/log/manager/domain/EsCluster.java | 25 +- .../log/manager/domain/EsIndexTemplate.java | 35 +-- .../ozhera/log/manager/domain/LogProcess.java | 25 +- .../ozhera/log/manager/domain/LogStore.java | 25 +- .../ozhera/log/manager/domain/LogTail.java | 25 +- .../log/manager/domain/LogTemplate.java | 25 +- .../ozhera/log/manager/domain/SearchLog.java | 25 +- .../ozhera/log/manager/domain/Store.java | 25 +- .../apache/ozhera/log/manager/domain/Tpc.java | 25 +- .../ozhera/log/manager/domain/TraceLog.java | 25 +- .../log/manager/domain/analyse/AggrCalcu.java | 25 +- .../domain/analyse/AggrCalcuStrategy.java | 25 +- .../domain/analyse/DateGroupStrategy.java | 25 +- .../manager/domain/analyse/FieldStrategy.java | 25 +- .../ozhera/log/manager/job/EsIndexJob.java | 25 +- .../log/manager/job/TailLogCountJob.java | 25 +- .../MilogAnalyseDashboardGraphRefMapper.java | 25 +- .../mapper/MilogAnalyseDashboardMapper.java | 25 +- .../mapper/MilogAnalyseGraphMapper.java | 25 +- .../mapper/MilogAnalyseGraphTypeMapper.java | 25 +- .../manager/mapper/MilogEsClusterMapper.java | 25 +- .../manager/mapper/MilogEsIndexMapper.java | 25 +- .../manager/mapper/MilogLogCountMapper.java | 25 +- .../mapper/MilogLogNumAlertMapper.java | 25 +- .../manager/mapper/MilogLogProcessMapper.java | 25 +- .../mapper/MilogLogSearchSaveMapper.java | 25 +- .../mapper/MilogLogTemplateDetailMapper.java | 25 +- .../mapper/MilogLogTemplateMapper.java | 25 +- .../manager/mapper/MilogLogstailMapper.java | 25 +- .../manager/model/bo/AccessMilogParam.java | 25 +- .../log/manager/model/bo/AppTopicParam.java | 25 +- .../manager/model/bo/AutoAccessLogParam.java | 25 +- .../log/manager/model/bo/BatchQueryParam.java | 25 +- .../log/manager/model/bo/CalcuAggrParam.java | 25 +- .../manager/model/bo/EsStatisticParam.java | 25 +- .../manager/model/bo/IpPartitionBalance.java | 25 +- .../log/manager/model/bo/LogTailParam.java | 25 +- .../manager/model/bo/MachineParamParam.java | 25 +- .../model/bo/MachinePartitionBalance.java | 25 +- .../manager/model/bo/MachineQueryParam.java | 25 +- .../manager/model/bo/MiddlewareAddParam.java | 25 +- .../model/bo/MiddlewareQueryParam.java | 25 +- .../model/bo/MiddlewareUpdateParam.java | 25 +- .../manager/model/bo/MilogAgentIpParam.java | 25 +- .../model/bo/MilogDictionaryParam.java | 25 +- .../log/manager/model/bo/MilogLogstoreBo.java | 25 +- .../log/manager/model/bo/MilogPageParam.java | 25 +- .../log/manager/model/bo/MlogParseParam.java | 25 +- .../log/manager/model/bo/RegionZoneBo.java | 25 +- .../model/bo/RocketMqStatisticParam.java | 25 +- .../model/bo/SpacePartitionBalance.java | 25 +- .../log/manager/model/bo/StoreSpaceAuth.java | 25 +- .../ozhera/log/manager/model/vo/LogQuery.java | 1 + .../log/manager/service/BaseService.java | 25 +- .../service/CommonRocketMqService.java | 25 +- .../manager/service/EsDataBaseService.java | 25 +- .../log/manager/service/EsDataService.java | 25 +- .../service/EsIndexOperateService.java | 25 +- .../service/EsIndexTemplateService.java | 25 +- .../manager/service/HeraAppEnvService.java | 25 +- .../log/manager/service/HeraAppService.java | 25 +- .../service/HeralogHomePageService.java | 26 +- .../service/IMilogEsClusterService.java | 25 +- .../manager/service/IMilogEsIndexService.java | 25 +- .../service/IMilogLogSearchSaveService.java | 25 +- .../manager/service/LogAnalyseService.java | 25 +- .../log/manager/service/LogCountService.java | 25 +- .../log/manager/service/LogQueryService.java | 25 +- .../manager/service/LogSearchSaveService.java | 25 +- .../log/manager/service/LogSpaceService.java | 25 +- .../log/manager/service/LogStoreService.java | 25 +- .../log/manager/service/LogTailService.java | 25 +- .../manager/service/LogTemplateService.java | 25 +- .../service/MiLogMetaManageService.java | 25 +- .../service/MilogAppMiddlewareRelService.java | 25 +- .../service/MilogConfigNacosService.java | 25 +- .../service/MilogDictionaryService.java | 25 +- .../manager/service/MilogMachineService.java | 25 +- .../service/MilogMiddlewareConfigService.java | 25 +- .../service/MilogStoreSpaceAuthService.java | 25 +- .../manager/service/MilogStreamService.java | 25 +- .../log/manager/service/MqConfigService.java | 25 +- .../log/manager/service/SpaceAuthService.java | 25 +- .../manager/service/StatisticsService.java | 26 +- .../service/StreamPartitionService.java | 25 +- .../service/bind/ConfigLogTypeProcessor.java | 25 +- .../bind/DataSourceLogTypeProcessor.java | 25 +- .../service/bind/LogTypeProcessor.java | 25 +- .../service/bind/LogTypeProcessorFactory.java | 25 +- .../log/manager/service/bind/Processor.java | 25 +- .../manager/service/bind/package-info.java | 25 +- .../consumer/MioneRocketMqConsumer.java | 25 +- .../service/consumer/RocketMqConsumer.java | 25 +- .../manager/service/env/HeraEnvIpService.java | 25 +- .../service/env/HeraEnvIpServiceFactory.java | 25 +- .../service/env/MoneHeraEnvIpService.java | 25 +- .../extension/agent/MilogAgentService.java | 25 +- .../agent/MilogAgentServiceFactory.java | 25 +- .../agent/MilogAgentServiceImpl.java | 25 +- .../common/CommonExtensionService.java | 25 +- .../common/CommonExtensionServiceFactory.java | 25 +- .../common/DefaultCommonExtensionService.java | 25 +- .../DefaultDictionaryExtensionService.java | 25 +- .../DictionaryExtensionService.java | 25 +- .../DictionaryExtensionServiceFactory.java | 25 +- .../DefaultResourceExtensionService.java | 25 +- .../resource/ResourceExtensionService.java | 25 +- .../ResourceExtensionServiceFactory.java | 25 +- .../store/DefaultStoreExtensionService.java | 25 +- .../store/DorisLogStorageService.java | 25 +- .../extension/store/EsLogStorageService.java | 25 +- .../extension/store/LogStorageService.java | 25 +- .../store/StoreExtensionService.java | 25 +- .../store/StoreExtensionServiceFactory.java | 25 +- .../tail/DefaultTailExtensionService.java | 25 +- .../extension/tail/TailExtensionService.java | 25 +- .../tail/TailExtensionServiceFactory.java | 25 +- .../service/impl/AgentConfigServiceImpl.java | 25 +- .../service/impl/EsDataServiceImpl.java | 25 +- .../impl/EsIndexOperateServiceImpl.java | 25 +- .../impl/EsIndexTemplateServiceImpl.java | 25 +- .../service/impl/HeraAppEnvServiceImpl.java | 25 +- .../service/impl/HeraAppServiceImpl.java | 25 +- .../impl/HeralogHomePageServiceImpl.java | 26 +- .../service/impl/KafkaMqConfigService.java | 25 +- .../service/impl/LogAnalyseService.java | 25 +- .../service/impl/LogCountServiceImpl.java | 25 +- .../service/impl/LogProcessServiceImpl.java | 25 +- .../service/impl/LogQueryServiceImpl.java | 25 +- .../impl/LogSearchSaveServiceImpl.java | 25 +- .../service/impl/LogSpaceServiceImpl.java | 25 +- .../service/impl/LogStoreServiceImpl.java | 25 +- .../service/impl/LogTailServiceImpl.java | 25 +- .../service/impl/LogTemplateServiceImpl.java | 25 +- .../impl/MiLogMetaManageServiceImpl.java | 25 +- .../MilogAppMiddlewareRelServiceImpl.java | 25 +- .../impl/MilogConfigNacosServiceImpl.java | 25 +- .../impl/MilogDictionaryServiceImpl.java | 25 +- .../impl/MilogEsClusterServiceImpl.java | 25 +- .../service/impl/MilogEsIndexServiceImpl.java | 25 +- .../impl/MilogLogSearchSaveServiceImpl.java | 25 +- .../service/impl/MilogMachineServiceImpl.java | 25 +- .../MilogMiddlewareConfigServiceImpl.java | 25 +- .../service/impl/MilogOpenServiceImpl.java | 25 +- .../impl/MilogStoreSpaceAuthServiceImpl.java | 25 +- .../service/impl/MilogStreamServiceImpl.java | 25 +- .../service/impl/RocketMqConfigService.java | 25 +- .../service/impl/StatisticsServiceImpl.java | 25 +- .../impl/StreamPartitionServiceImpl.java | 25 +- .../service/impl/TpcSpaceAuthService.java | 25 +- .../init_sql/AnalyseGraphTypeService.java | 25 +- .../init_sql/HeraLogTemplateService.java | 25 +- .../init_sql/NcosConfigSqlService.java | 25 +- .../service/init_sql/package-info.java | 25 +- .../listener/AutoLogAccessListener.java | 25 +- .../log/manager/service/nacos/Converter.java | 25 +- .../service/nacos/DynamicConfigProvider.java | 25 +- .../service/nacos/DynamicConfigPublisher.java | 25 +- .../nacos/FetchStreamMachineService.java | 25 +- .../manager/service/nacos/InitService.java | 25 +- .../service/nacos/MultipleNacosConfig.java | 25 +- .../impl/NacosFetchStreamMachineService.java | 25 +- .../nacos/impl/SpaceConfigNacosProvider.java | 25 +- .../nacos/impl/SpaceConfigNacosPublisher.java | 25 +- .../nacos/impl/StreamConfigNacosProvider.java | 25 +- .../impl/StreamConfigNacosPublisher.java | 25 +- .../manager/service/path/LogPathMapping.java | 25 +- .../service/path/LogPathMappingFactory.java | 25 +- .../service/path/MoneLogPathMapping.java | 25 +- .../statement/AndAllStatementMatchParse.java | 25 +- .../statement/MustNotStatementMatchParse.java | 25 +- .../statement/MustStatementMatchParse.java | 25 +- .../statement/NotAllStatementMatchParse.java | 25 +- .../service/statement/OperatorData.java | 25 +- .../service/statement/OperatorSlice.java | 25 +- .../statement/OrAllStatementMatchParse.java | 25 +- .../statement/OrStatementMatchParse.java | 25 +- .../service/statement/QueryEntity.java | 25 +- .../statement/StatementMatchParse.java | 25 +- .../statement/StatementMatchParseFactory.java | 25 +- .../ozhera/log/manager/user/MoneUser.java | 25 +- .../manager/user/MoneUserDetailService.java | 25 +- .../ozhera/log/manager/user/MoneUtil.java | 25 +- .../log/manager/user/UseDetailInfo.java | 25 +- .../log/manager/user/UserIDService.java | 25 +- .../src/main/resources/config.properties | 14 ++ .../src/main/resources/config/open.properties | 14 ++ .../log-manager/src/main/resources/log.sql | 19 +- .../src/main/resources/logback.xml | 20 ++ .../MilogAnalyseDashboardGraphRefMapper.xml | 20 ++ .../mapper/MilogAnalyseDashboardMapper.xml | 20 ++ .../mapper/MilogAnalyseGraphMapper.xml | 20 ++ .../mapper/MilogAnalyseGraphTypeMapper.xml | 20 ++ .../resources/mapper/MilogEsClusterMapper.xml | 20 ++ .../resources/mapper/MilogEsIndexMapper.xml | 20 ++ .../resources/mapper/MilogLogCountMapper.xml | 20 ++ .../mapper/MilogLogNumAlertMapper.xml | 20 ++ .../mapper/MilogLogProcessMapper.xml | 20 ++ .../mapper/MilogLogSearchSaveMapper.xml | 20 ++ .../mapper/MilogLogTemplateDetailMapper.xml | 20 ++ .../mapper/MilogLogTemplateMapper.xml | 20 ++ .../resources/mapper/MilogLogstailMapper.xml | 20 ++ .../src/main/resources/sql/log-data.sql | 31 +-- .../src/main/resources/sql/log.sql | 31 +-- .../ozhera/log/manager/AgentHearJobTest.java | 25 +- .../ozhera/log/manager/CodeGenerator.java | 25 +- .../apache/ozhera/log/manager/CommonTest.java | 25 +- .../ozhera/log/manager/DevoraFlinkTest.java | 25 +- .../log/manager/FunctionalInterfaceTest.java | 25 +- .../ozhera/log/manager/HttpClientTest.java | 25 +- .../ozhera/log/manager/ManagerUtilTest.java | 25 +- .../log/manager/MilogAccessHelperTest.java | 25 +- .../ozhera/log/manager/RateLimiterTest.java | 25 +- .../ozhera/log/manager/TestHttpClient.java | 96 ++++++++ .../bootstrap/LogStoragePluginTest.java | 25 +- .../log/manager/dao/LogStoreDaoTest.java | 25 +- .../log/manager/domain/AnalyseLogTest.java | 93 +++---- .../log/manager/domain/EsClusterTest.java | 87 +++---- .../log/manager/domain/LogProcessTest.java | 127 +++++----- .../log/manager/domain/LogTemplateTest.java | 30 ++- .../log/manager/domain/analyse/TopTest.java | 25 +- .../StatementMatchParseFactoryTest.java | 25 +- .../esParse/StatementMatchParseTest.java | 25 +- .../filter/cons/RateLimitConsTest.java | 25 +- .../mapper/MilogLogProcessMapperTest.java | 25 +- .../manager/service/AlertProcessorTest.java | 25 +- .../service/DorisLogStorageServiceTest.java | 194 +++++++-------- .../manager/service/EsDataServiceTest.java | 121 ++++----- .../service/FlinkAlphaServiceTest.java | 25 +- .../service/KafkaMqConfigServiceTest.java | 25 +- .../service/MilogAppMiddlewareRelDaoTest.java | 25 +- .../manager/service/SendAlertLinkTest.java | 25 +- .../service/StatisticsServiceTest.java | 132 +++++----- .../ozhera/log/manager/service/TpcTest.java | 25 +- .../impl/EsIndexTemplateServiceImplTest.java | 25 +- .../impl/LogProcessServiceImplTest.java | 25 +- .../service/impl/LogStoreServiceImplTest.java | 114 ++++----- .../service/impl/LogTailServiceImplTest.java | 147 ++++++----- .../impl/LogTemplateServiceImplTest.java | 106 ++++---- .../impl/MiLogMetaManageServiceImplTest.java | 25 +- .../impl/MilogAgentServiceImplTest.java | 25 +- .../service/impl/MilogLogTailServiceTest.java | 117 +++++---- .../MilogMiddlewareConfigServiceImplTest.java | 25 +- .../service/impl/MilogOpenServiceTest.java | 25 +- .../service/impl/MqConfigServiceTest.java | 229 ++++++++---------- .../service/impl/TraceLogServiceTest.java | 25 +- .../manager/test/ConfigNacosServiceTest.java | 25 +- .../manager/test/CustomObjectTypeAdapter.java | 25 +- .../log/manager/test/IntrospectorTest.java | 25 +- .../manager/test/MilogConfigServiceTest.java | 25 +- .../ozhera/log/manager/test/SimpleTest.java | 25 +- .../ozhera/log/manager/test/StreamTest.java | 25 +- ozhera-log/log-stream/Dockerfile | 14 ++ ozhera-log/log-stream/pom.xml | 21 ++ .../bootstrap/MiLogStreamBootstrap.java | 25 +- .../log/stream/bootstrap/StreamManage.java | 25 +- .../log/stream/common/LogStreamConstants.java | 25 +- .../ozhera/log/stream/common/SinkJobEnum.java | 25 +- .../log/stream/common/util/StreamUtils.java | 25 +- .../log/stream/config/ConfigManager.java | 25 +- .../stream/config/MilogConfigListener.java | 25 +- .../log/stream/exception/StreamException.java | 25 +- .../ozhera/log/stream/job/JobManager.java | 25 +- .../ozhera/log/stream/job/LogConfig.java | 25 +- .../log/stream/job/LogDataTransfer.java | 25 +- .../ozhera/log/stream/job/LogSendFilter.java | 25 +- .../ozhera/log/stream/job/PullConfigJob.java | 25 +- .../stream/job/ServiceRegistryService.java | 25 +- .../ozhera/log/stream/job/SinkJobConfig.java | 25 +- .../stream/job/compensate/MqMessageDTO.java | 25 +- .../job/compensate/StreamCompensateTask.java | 25 +- .../job/extension/CompensateMsgConsume.java | 25 +- .../CompensateMsgConsumeProvider.java | 25 +- .../job/extension/DefaultLogSendFilter.java | 25 +- .../log/stream/job/extension/MQConfig.java | 25 +- .../log/stream/job/extension/MQPlugin.java | 25 +- .../extension/MessageLifecycleManager.java | 25 +- .../stream/job/extension/MessageSender.java | 25 +- .../job/extension/MessageSenderFactory.java | 25 +- .../job/extension/MessageSenderProvider.java | 25 +- .../extension/MqMessagePostProcessing.java | 25 +- .../job/extension/MqMessageProduct.java | 25 +- .../log/stream/job/extension/SinkJob.java | 25 +- .../stream/job/extension/SinkJobProvider.java | 25 +- .../job/extension/StreamCommonExtension.java | 25 +- .../impl/DefaultMessageLifecycleManager.java | 25 +- .../impl/DefaultStreamCommonExtension.java | 25 +- .../extension/impl/DorisMessageSender.java | 25 +- .../job/extension/impl/EsMessageSender.java | 25 +- .../impl/RocketCompensateMsgConsume.java | 25 +- .../RocketMqCompensateMsgConsumeProvider.java | 25 +- .../impl/RocketMqMessagePostProcessing.java | 25 +- .../impl/RocketMqMessageProduct.java | 25 +- .../job/extension/kafka/KafkaConfig.java | 25 +- .../extension/kafka/KafkaConsumerRunner.java | 25 +- .../kafka/KafkaMqMessagePostProcessing.java | 25 +- .../job/extension/kafka/KafkaPlugin.java | 25 +- .../job/extension/kafka/KafkaSinkJob.java | 25 +- .../extension/kafka/KafkaSinkJobProvider.java | 25 +- .../extension/rocketmq/RocketMqSinkJob.java | 25 +- .../rocketmq/RocketMqSinkJobProvider.java | 25 +- .../extension/rocketmq/RocketmqConfig.java | 25 +- .../extension/rocketmq/RocketmqPlugin.java | 25 +- .../ozhera/log/stream/plugin/es/EsConfig.java | 25 +- .../ozhera/log/stream/plugin/es/EsPlugin.java | 25 +- .../nacos/LevelFilterConfigListener.java | 25 +- .../stream/plugin/nacos/LogFilterConfig.java | 25 +- .../ozhera/log/stream/sink/SinkChain.java | 25 +- .../ozhera/log/stream/sink/SinkProcessor.java | 25 +- .../apache/ozhera/log/stream/DorisTest.java | 216 +++++++++-------- .../ozhera/log/stream/EsPluginTest.java | 25 +- .../ozhera/log/stream/LogParserTest.java | 25 +- .../ozhera/log/stream/MessageConsumeTest.java | 25 +- .../log/stream/MessageSenderFactoryTest.java | 178 +++++++------- .../log/stream/MqMessageCompensateTest.java | 25 +- .../apache/ozhera/log/stream/PatterTest.java | 25 +- .../apache/ozhera/log/stream/StreamTest.java | 25 +- .../ozhera/log/stream/TestSinkChain.java | 25 +- .../ozhera/log/stream/TestSomething.java | 25 +- ozhera-log/pom.xml | 54 +++-- ozhera-operator/README.md | 20 ++ ozhera-operator/README_CN.md | 20 ++ .../ozhera-operator-common/pom.xml | 20 ++ .../ozhera/operator/common/ESIndexConst.java | 25 +- .../ozhera/operator/common/ErrorCode.java | 25 +- .../ozhera/operator/common/FileUtils.java | 25 +- .../ozhera/operator/common/HoConstant.java | 25 +- .../operator/common/HttpClientUtil.java | 25 +- .../operator/common/ResourceTypeEnum.java | 25 +- .../ozhera-operator-server/Dockerfile | 14 ++ .../ozhera-operator-server/pom.xml | 20 ++ .../apache/ozhera/operator/HeraBootstrap.java | 25 +- .../controller/OzHeraOperatorController.java | 25 +- .../src/main/resources/config.properties | 14 ++ .../src/main/resources/logback.xml | 20 ++ .../operator/ozhera_operator_auth.yaml | 14 ++ .../operator/ozhera_operator_crd.yaml | 14 ++ .../operator/ozhera_operator_deployment.yaml | 14 ++ .../alertManager/ozhera_alertmanager.yaml | 14 ++ .../ozhera_init/cadvisor/ozhera_cadvisor.yaml | 14 ++ .../ozhera_init/demo/ozhera_demo_client.yml | 14 ++ .../ozhera_init/demo/ozhera_demo_server.yml | 14 ++ .../resources/ozhera_init/es/ozhera_es.yaml | 14 ++ .../ozhera_init/grafana/ozhera_grafana.yaml | 14 ++ .../ozhera_init/hera-app/ozhera_app.yml | 14 ++ .../ozhera_init/hera-fe/ozhera_fe.yml | 14 ++ .../ozhera_log_agent-server.yml | 14 ++ .../log-manager/ozhera_log_manager.yml | 14 ++ .../log-stream/ozhera_log_stream.yml | 14 ++ .../mimonitor/ozhera_mimonitor.yml | 14 ++ .../ozhera_init/mysql/ozhera_mysql.yaml | 14 ++ .../ozhera_init/mysql/sql/grafana.sql | 18 ++ .../resources/ozhera_init/mysql/sql/hera.sql | 18 ++ .../resources/ozhera_init/mysql/sql/nacos.sql | 18 ++ .../resources/ozhera_init/mysql/sql/tpc.sql | 18 ++ ...hera_app_config_#_DEFAULT_GROUP.properties | 14 ++ ...og_manager_open_#_DEFAULT_GROUP.properties | 14 ++ ...ra_trace_config_#_DEFAULT_GROUP.properties | 14 ++ ...eam_dataId_open_#_DEFAULT_GROUP.properties | 14 ++ .../config/mi_tpc_#_DEFAULT_GROUP.properties | 14 ++ .../mi_tpc_login_#_DEFAULT_GROUP.properties | 14 ++ ...tor_open_config_#_DEFAULT_GROUP.properties | 14 ++ ...ook_open_config_#_DEFAULT_GROUP.properties | 14 ++ ...ent_open_config_#_DEFAULT_GROUP.properties | 14 ++ .../ozhera_init/nacos/ozhera_nacos.yml | 14 ++ .../node-exporter/ozhera_node-exporter.yaml | 14 ++ .../resources/ozhera_init/outer/ozhera_lb.yml | 14 ++ .../ozhera_init/outer/ozhera_nodeport.yml | 14 ++ .../prometheus/ozhera_prometheus.yaml | 14 ++ .../prometheus/ozhera_prometheus_agent.yaml | 14 ++ .../ozhera_init/redis/ozhera_redis.yaml | 14 ++ .../ozhera_init/rocketmq/ozhera_rocketmq.yaml | 14 ++ .../sentinel/sentinbel-dashboard-ingress.yml | 14 ++ .../sentinel/sentinel-dashboard.yml | 14 ++ .../ozhera_init/tpc-fe/ozhera_tpc_fe.yml | 14 ++ .../tpc-login-fe/ozhera_tpc_login_fe.yml | 14 ++ .../tpc-login/ozhera_tpc_login.yml | 14 ++ .../resources/ozhera_init/tpc/ozhera_tpc.yml | 14 ++ .../trace-etl-es/ozhera_trace_etl_es.yml | 14 ++ .../ozhera_trace_etl_manager.yml | 14 ++ .../ozhera_trace_etl_server.yml | 14 ++ .../alertManagerClusterDockerfile | 14 ++ .../alertmanager-cluster.yaml | 14 ++ .../startAlertManagerCluster.sh | 14 ++ .../vmCluster/vm-k8s-yaml/vmAgent.yaml | 14 ++ .../vmCluster/vm-k8s-yaml/vmAlert.yaml | 14 ++ .../vmCluster/vm-k8s-yaml/vmInsert.yaml | 14 ++ .../vmCluster/vm-k8s-yaml/vmSelect.yaml | 14 ++ .../vmCluster/vm-k8s-yaml/vmStorage-pv.yaml | 14 ++ .../vmCluster/vm-k8s-yaml/vmStorage.yaml | 14 ++ .../webhook/ozhera_webhook_server.yaml | 14 ++ .../ozhera/operator/test/SidecarTest.java | 25 +- .../ozhera-operator-service/pom.xml | 20 ++ .../ozhera/operator/bo/HeraBootstrap.java | 25 +- .../ozhera/operator/bo/HeraBootstrapList.java | 25 +- .../ozhera/operator/bo/HeraObjectMeta.java | 25 +- .../ozhera/operator/bo/HeraResource.java | 25 +- .../apache/ozhera/operator/bo/HeraSpec.java | 25 +- .../apache/ozhera/operator/bo/HeraStatus.java | 25 +- .../apache/ozhera/operator/bo/PropConf.java | 25 +- .../bo/dashboard/GrafanaApiKeyReq.java | 25 +- .../bo/dashboard/GrafanaApiKeyRes.java | 25 +- .../ozhera/operator/common/K8sUtilBean.java | 25 +- .../ozhera/operator/dto/DashboardDTO.java | 25 +- .../ozhera/operator/dto/DeployStateDTO.java | 25 +- .../operator/dto/HeraOperatorDefineDTO.java | 25 +- .../ozhera/operator/dto/OperatorStateDTO.java | 25 +- .../ozhera/operator/dto/PodStateDTO.java | 25 +- .../operator/dto/ServiceCheckResource.java | 25 +- .../handler/HeraResourceEventHandler.java | 25 +- .../ozhera/operator/service/ESService.java | 25 +- .../service/HeraBootstrapInitService.java | 25 +- .../ozhera/operator/service/IResource.java | 25 +- .../ozhera/operator/service/NacosService.java | 25 +- .../operator/service/RocketMQService.java | 25 +- .../ozhera/operator/test/PlaceholderTest.java | 25 +- ozhera-operator/pom.xml | 20 ++ 688 files changed, 10791 insertions(+), 7386 deletions(-) delete mode 100644 ozhera-log/.dockerignore create mode 100644 ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/TestHttpClient.java diff --git a/ozhera-log/.dockerignore b/ozhera-log/.dockerignore deleted file mode 100644 index 2ca156b27..000000000 --- a/ozhera-log/.dockerignore +++ /dev/null @@ -1,7 +0,0 @@ - -.dockerignore -.gitlab-ci.yml -.gitignore -.git/ -README.md -.DS_Store diff --git a/ozhera-log/Ozhera_log_optimization.md b/ozhera-log/Ozhera_log_optimization.md index 429269c6e..ba9bbd40c 100644 --- a/ozhera-log/Ozhera_log_optimization.md +++ b/ozhera-log/Ozhera_log_optimization.md @@ -1,3 +1,23 @@ + ## 1.Log Agent Optimization - ### 1.1 Background diff --git "a/ozhera-log/Ozhera\346\227\245\345\277\227\344\274\230\345\214\226.md" "b/ozhera-log/Ozhera\346\227\245\345\277\227\344\274\230\345\214\226.md" index 8346f5841..054d0bcb0 100644 --- "a/ozhera-log/Ozhera\346\227\245\345\277\227\344\274\230\345\214\226.md" +++ "b/ozhera-log/Ozhera\346\227\245\345\277\227\344\274\230\345\214\226.md" @@ -1,3 +1,23 @@ + ## 1、日志agent采集优化 ### 1.1 背景 diff --git a/ozhera-log/README.md b/ozhera-log/README.md index 95e3f7b09..4d3741c33 100644 --- a/ozhera-log/README.md +++ b/ozhera-log/README.md @@ -1,3 +1,23 @@ + # ozhera-log # log-agent supports JDK20 (2023-08-29) diff --git a/ozhera-log/README_cn.md b/ozhera-log/README_cn.md index b795616db..6faf02791 100644 --- a/ozhera-log/README_cn.md +++ b/ozhera-log/README_cn.md @@ -1,3 +1,23 @@ + # ozhera-log # log-agent支持jdk20(2023-08-29) diff --git a/ozhera-log/log-agent-server/Dockerfile b/ozhera-log/log-agent-server/Dockerfile index 95cf8304e..2ba1d3a97 100644 --- a/ozhera-log/log-agent-server/Dockerfile +++ b/ozhera-log/log-agent-server/Dockerfile @@ -1,3 +1,17 @@ +# 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. FROM openjdk:21-jdk-bookworm ENV APP_HOME /opt/app diff --git a/ozhera-log/log-agent-server/README.md b/ozhera-log/log-agent-server/README.md index 580b5248b..92af7f6f3 100644 --- a/ozhera-log/log-agent-server/README.md +++ b/ozhera-log/log-agent-server/README.md @@ -1 +1,21 @@ + This module is responsible for RPC communication with the agent and Dubbo communication with the manager. It can only be deployed on a single machine. \ No newline at end of file diff --git a/ozhera-log/log-agent-server/pom.xml b/ozhera-log/log-agent-server/pom.xml index aa1a0abb4..e2e452483 100644 --- a/ozhera-log/log-agent-server/pom.xml +++ b/ozhera-log/log-agent-server/pom.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/LogAgentServerBootstrap.java b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/LogAgentServerBootstrap.java index 4e1fc2041..9162b9447 100644 --- a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/LogAgentServerBootstrap.java +++ b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/LogAgentServerBootstrap.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server; diff --git a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/common/ServerConstant.java b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/common/ServerConstant.java index f92e3237a..5f3987fc7 100644 --- a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/common/ServerConstant.java +++ b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/common/ServerConstant.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server.common; diff --git a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/common/Version.java b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/common/Version.java index bdfe31e03..b1978f537 100644 --- a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/common/Version.java +++ b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/common/Version.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server.common; diff --git a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/AgentCollectProgressProcessor.java b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/AgentCollectProgressProcessor.java index dee3f6ca1..af9339e03 100644 --- a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/AgentCollectProgressProcessor.java +++ b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/AgentCollectProgressProcessor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server.porcessor; diff --git a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/AgentConfigProcessor.java b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/AgentConfigProcessor.java index b5521b10a..6d201c400 100644 --- a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/AgentConfigProcessor.java +++ b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/AgentConfigProcessor.java @@ -1,19 +1,21 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server.porcessor; import com.xiaomi.data.push.rpc.netty.NettyRequestProcessor; diff --git a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/PingProcessor.java b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/PingProcessor.java index b528ec047..4c81748da 100644 --- a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/PingProcessor.java +++ b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/porcessor/PingProcessor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server.porcessor; diff --git a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/ApplicationShutdownHook.java b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/ApplicationShutdownHook.java index 02efbcf2e..e94eb53fd 100644 --- a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/ApplicationShutdownHook.java +++ b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/ApplicationShutdownHook.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server.service; diff --git a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultAgentConfigAcquirer.java b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultAgentConfigAcquirer.java index 6ba63b7b2..c6bd00e2c 100644 --- a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultAgentConfigAcquirer.java +++ b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultAgentConfigAcquirer.java @@ -1,19 +1,21 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server.service; import org.apache.ozhera.log.api.model.meta.LogCollectMeta; diff --git a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultLogProcessCollector.java b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultLogProcessCollector.java index ee890b3d5..64803fda4 100644 --- a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultLogProcessCollector.java +++ b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultLogProcessCollector.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server.service; diff --git a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultPublishConfigService.java b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultPublishConfigService.java index 7e5871a96..81850a79c 100644 --- a/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultPublishConfigService.java +++ b/ozhera-log/log-agent-server/src/main/java/org/apache/ozhera/log/server/service/DefaultPublishConfigService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server.service; diff --git a/ozhera-log/log-agent-server/src/main/resources/config.properties b/ozhera-log/log-agent-server/src/main/resources/config.properties index 507b52bcf..0c37c401b 100644 --- a/ozhera-log/log-agent-server/src/main/resources/config.properties +++ b/ozhera-log/log-agent-server/src/main/resources/config.properties @@ -1,3 +1,17 @@ +# 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. nacosAddr=${nacosAddr} serverName=${serverName} diff --git a/ozhera-log/log-agent-server/src/main/resources/config/open.properties b/ozhera-log/log-agent-server/src/main/resources/config/open.properties index 2c65fbbfa..35f47d5ea 100644 --- a/ozhera-log/log-agent-server/src/main/resources/config/open.properties +++ b/ozhera-log/log-agent-server/src/main/resources/config/open.properties @@ -1,3 +1,17 @@ +# 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. nacosAddr=nacos:80 serverName=milog_manager_server #dubbo config diff --git a/ozhera-log/log-agent-server/src/main/resources/logback.xml b/ozhera-log/log-agent-server/src/main/resources/logback.xml index 62f9cf557..8af1050a7 100644 --- a/ozhera-log/log-agent-server/src/main/resources/logback.xml +++ b/ozhera-log/log-agent-server/src/main/resources/logback.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DefaultAgentConfigAcquirerTest.java b/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DefaultAgentConfigAcquirerTest.java index 0affdef9e..4256d4074 100644 --- a/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DefaultAgentConfigAcquirerTest.java +++ b/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DefaultAgentConfigAcquirerTest.java @@ -1,67 +1,54 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.xiaomi.youpin.docean.Ioc; +import lombok.extern.slf4j.Slf4j; +import org.apache.ozhera.log.server.service.DefaultAgentConfigAcquirer; +import org.junit.Before; +import org.junit.Test; + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2022/12/21 10:56 */ -///* -// * Copyright (C) 2020 Xiaomi Corporation -// * -// * Licensed 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 com.xiaomi.mone.log.server; -// -//import com.google.gson.Gson; -//import com.google.gson.GsonBuilder; -//import com.xiaomi.mone.log.api.model.meta.LogCollectMeta; -//import com.xiaomi.mone.log.server.service.DefaultAgentConfigAcquirer; -//import com.xiaomi.youpin.docean.Ioc; -//import lombok.extern.slf4j.Slf4j; -//import org.junit.Before; -//import org.junit.Test; -// -///** -// * @author wtt -// * @version 1.0 -// * @description -// * @date 2022/12/21 10:56 -// */ -//@Slf4j -//public class DefaultAgentConfigAcquirerTest { -// -// DefaultAgentConfigAcquirer configAcquirer; -// Gson gson; -// -// @Before -// public void buildBean() { -// Ioc.ins().init("com.xiaomi"); -// configAcquirer = Ioc.ins().getBean(DefaultAgentConfigAcquirer.class); -// gson = new GsonBuilder().create(); -// } -// -// @Test -// public void testGetConfig() { -// String ip = "127.0.0.1:1"; +@Slf4j +public class DefaultAgentConfigAcquirerTest { + + DefaultAgentConfigAcquirer configAcquirer; + Gson gson; + + @Before + public void buildBean() { + Ioc.ins().init("com.xiaomi"); + configAcquirer = Ioc.ins().getBean(DefaultAgentConfigAcquirer.class); + gson = new GsonBuilder().create(); + } + + @Test + public void testGetConfig() { + String ip = "127.0.0.1:1"; // LogCollectMeta logCollectMetaFromManager = configAcquirer.getLogCollectMetaFromManager(ip); // log.info("config:{}", gson.toJson(logCollectMetaFromManager)); -// } -//} + } +} diff --git a/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DefaultLogProcessCollectorTest.java b/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DefaultLogProcessCollectorTest.java index b0c35feef..034fd7d51 100644 --- a/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DefaultLogProcessCollectorTest.java +++ b/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DefaultLogProcessCollectorTest.java @@ -1,88 +1,76 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server; + +import com.google.common.collect.Lists; +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.xiaomi.youpin.docean.Ioc; +import lombok.extern.slf4j.Slf4j; +import org.apache.ozhera.log.api.model.vo.UpdateLogProcessCmd; +import org.apache.ozhera.log.server.service.DefaultLogProcessCollector; +import org.junit.Before; +import org.junit.Test; + +import java.util.List; + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2023/1/4 11:14 */ -///* -// * Copyright (C) 2020 Xiaomi Corporation -// * -// * Licensed 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 com.xiaomi.mone.log.server; -// -//import com.google.common.collect.Lists; -//import com.google.gson.Gson; -//import com.google.gson.GsonBuilder; -//import com.xiaomi.mone.log.api.model.vo.UpdateLogProcessCmd; -//import com.xiaomi.mone.log.server.service.DefaultLogProcessCollector; -//import com.xiaomi.youpin.docean.Ioc; -//import lombok.extern.slf4j.Slf4j; -//import org.junit.Before; -//import org.junit.Test; -// -//import java.util.List; -// -///** -// * @author wtt -// * @version 1.0 -// * @description -// * @date 2023/1/4 11:14 -// */ -//@Slf4j -//public class DefaultLogProcessCollectorTest { -// -// DefaultLogProcessCollector processCollector; -// Gson gson; -// -// @Before -// public void buildBean() { -// Ioc.ins().init("com.xiaomi"); -// processCollector = Ioc.ins().getBean(DefaultLogProcessCollector.class); -// gson = new GsonBuilder().create(); -// } -// -// @Test -// public void testCollectLogProcess() { -// UpdateLogProcessCmd updateLogProcessCmd = new UpdateLogProcessCmd(); -// List collectList = Lists.newArrayList(); -// UpdateLogProcessCmd.CollectDetail collectDetail = new UpdateLogProcessCmd.CollectDetail(); -// List fileProgressDetails = Lists.newArrayList(); -// UpdateLogProcessCmd.FileProgressDetail progressDetail = new UpdateLogProcessCmd.FileProgressDetail(); -// progressDetail.setPattern("/home/work/log/test/server.log"); -// progressDetail.setCollectPercentage("98%"); -// fileProgressDetails.add(progressDetail); -// collectDetail.setFileProgressDetails(fileProgressDetails); -// collectList.add(collectDetail); -// updateLogProcessCmd.setCollectList(collectList); -// updateLogProcessCmd.setIp("127.0.0.1"); -// processCollector.collectLogProcess(updateLogProcessCmd); +@Slf4j +public class DefaultLogProcessCollectorTest { + + DefaultLogProcessCollector processCollector; + Gson gson; + + @Before + public void buildBean() { + Ioc.ins().init("com.xiaomi"); + processCollector = Ioc.ins().getBean(DefaultLogProcessCollector.class); + gson = new GsonBuilder().create(); + } + + @Test + public void testCollectLogProcess() { + UpdateLogProcessCmd updateLogProcessCmd = new UpdateLogProcessCmd(); + List collectList = Lists.newArrayList(); + UpdateLogProcessCmd.CollectDetail collectDetail = new UpdateLogProcessCmd.CollectDetail(); + List fileProgressDetails = Lists.newArrayList(); + UpdateLogProcessCmd.FileProgressDetail progressDetail = new UpdateLogProcessCmd.FileProgressDetail(); + progressDetail.setPattern("/home/work/log/test/server.log"); + progressDetail.setCollectPercentage("98%"); + fileProgressDetails.add(progressDetail); + collectDetail.setFileProgressDetails(fileProgressDetails); + collectList.add(collectDetail); + updateLogProcessCmd.setCollectList(collectList); + updateLogProcessCmd.setIp("127.0.0.1"); + processCollector.collectLogProcess(updateLogProcessCmd); // List colProcessImperfect = processCollector.getColProcessImperfect(0.97); // log.info("result:{}", gson.toJson(colProcessImperfect)); -// } -// -// @Test -// public void testGetColProcessImperfect() { + } + + @Test + public void testGetColProcessImperfect() { // List colProcessImperfect = processCollector.getColProcessImperfect(0.98); // log.info("result:{}", gson.toJson(colProcessImperfect)); -// } -//} + } +} diff --git a/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DubboTest.java b/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DubboTest.java index 393d3dc6e..fa66ba5a3 100644 --- a/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DubboTest.java +++ b/ozhera-log/log-agent-server/src/test/java/org/apache/ozhera/log/server/DubboTest.java @@ -1,21 +1,29 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.server; import lombok.extern.slf4j.Slf4j; +import org.apache.dubbo.config.ApplicationConfig; +import org.apache.dubbo.config.ReferenceConfig; +import org.apache.dubbo.config.RegistryConfig; +import org.apache.dubbo.config.utils.ReferenceConfigCache; +import org.apache.dubbo.rpc.service.GenericService; import org.junit.Test; /** @@ -29,31 +37,31 @@ public class DubboTest { @Test public void test() { -// ApplicationConfig application = new ApplicationConfig(); -// application.setName("api-gateway-test"); -// application.setQosEnable(false); -// -// RegistryConfig registry = new RegistryConfig(); -// registry.setAddress("nacos://127.0.0.1:80"); -// registry.setRegister(false); -// -// ReferenceConfig reference = new ReferenceConfig<>(); -// reference.setInterface("com.xiaomi.mone.log.api.service.PublishConfigService"); -// reference.setVersion(""); -// reference.setGroup("staging"); -// reference.setGeneric("true"); -// -// reference.setApplication(application); -// reference.setRegistry(registry); -// -//// DubboBootstrap bootstrap = DubboBootstrap.getInstance(); -//// bootstrap.application(application) -//// .registry(registry) -//// .reference(reference) -//// .start(); -// -// ReferenceConfigCache cache = ReferenceConfigCache.getCache(); -// GenericService genericService = cache.get(reference); + ApplicationConfig application = new ApplicationConfig(); + application.setName("api-gateway-test"); + application.setQosEnable(false); + + RegistryConfig registry = new RegistryConfig(); + registry.setAddress("nacos://127.0.0.1:80"); + registry.setRegister(false); + + ReferenceConfig reference = new ReferenceConfig<>(); + reference.setInterface("org.apache.ozhera.log.api.service.PublishConfigService"); + reference.setVersion(""); + reference.setGroup("staging"); + reference.setGeneric("true"); + + reference.setApplication(application); + reference.setRegistry(registry); + +// DubboBootstrap bootstrap = DubboBootstrap.getInstance(); +// bootstrap.application(application) +// .registry(registry) +// .reference(reference) +// .start(); + + ReferenceConfigCache cache = ReferenceConfigCache.getCache(); + GenericService genericService = cache.get(reference); // // Object result = genericService.$invoke("getAllAgentList", new String[]{}, new Object[]{}); // log.info("result:{}", GSON.toJson(result)); diff --git a/ozhera-log/log-agent/Dockerfile b/ozhera-log/log-agent/Dockerfile index 3830c1e12..fad1e12b6 100644 --- a/ozhera-log/log-agent/Dockerfile +++ b/ozhera-log/log-agent/Dockerfile @@ -1,3 +1,17 @@ +# 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. FROM openjdk:21-jdk-bookworm ENV APP_HOME /opt/app diff --git a/ozhera-log/log-agent/pom.xml b/ozhera-log/log-agent/pom.xml index 981f28b48..715b361a7 100644 --- a/ozhera-log/log-agent/pom.xml +++ b/ozhera-log/log-agent/pom.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/bootstrap/MiLogAgentBootstrap.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/bootstrap/MiLogAgentBootstrap.java index fc5d759f7..d68c096bf 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/bootstrap/MiLogAgentBootstrap.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/bootstrap/MiLogAgentBootstrap.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.bootstrap; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/AbstractChannelService.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/AbstractChannelService.java index 817fb456f..2dd95a474 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/AbstractChannelService.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/AbstractChannelService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelDefine.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelDefine.java index 9f6d57e70..7299267e2 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelDefine.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelDefine.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelEngine.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelEngine.java index fc28f6731..a860f1c72 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelEngine.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelEngine.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelService.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelService.java index 61ffef04b..905653a07 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelService.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelServiceImpl.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelServiceImpl.java index b2cf4d6c2..65ccd27c1 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelServiceImpl.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelState.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelState.java index d76acd169..bd4c40d98 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelState.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/ChannelState.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/Closeable.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/Closeable.java index c7793d06c..f59dfdf11 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/Closeable.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/Closeable.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/WildcardChannelServiceImpl.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/WildcardChannelServiceImpl.java index c98292a1e..b1efef22f 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/WildcardChannelServiceImpl.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/WildcardChannelServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/AppSimilarComparator.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/AppSimilarComparator.java index 12980a015..f9b0a6300 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/AppSimilarComparator.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/AppSimilarComparator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.comparator; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/FilterSimilarComparator.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/FilterSimilarComparator.java index 53a30f915..b598a3e89 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/FilterSimilarComparator.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/FilterSimilarComparator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.comparator; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/InputSimilarComparator.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/InputSimilarComparator.java index fb8df158a..452180197 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/InputSimilarComparator.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/InputSimilarComparator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.comparator; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/OutputSimilarComparator.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/OutputSimilarComparator.java index a8b84c87b..84c0ca5b1 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/OutputSimilarComparator.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/OutputSimilarComparator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.comparator; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/SimilarComparator.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/SimilarComparator.java index 0283dfd2a..fa838dfb6 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/SimilarComparator.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/comparator/SimilarComparator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.comparator; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/conf/AgentTailConf.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/conf/AgentTailConf.java index b8816ee4f..9ee49d260 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/conf/AgentTailConf.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/conf/AgentTailConf.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.conf; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileListener.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileListener.java index 736ec9713..67768a346 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileListener.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileListener.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.file; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileMonitor.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileMonitor.java index 98f301099..f6b31c766 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileMonitor.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileMonitor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.file; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileWatcher.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileWatcher.java index 0e0ca1401..c8ca7d1c2 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileWatcher.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/FileWatcher.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.file; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/InodeFileComparator.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/InodeFileComparator.java index 757651138..117cbb531 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/InodeFileComparator.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/InodeFileComparator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.file; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/LogFileAlterationObserver.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/LogFileAlterationObserver.java index d4e863548..42d5a0bb9 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/LogFileAlterationObserver.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/LogFileAlterationObserver.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.file; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/MonitorFile.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/MonitorFile.java index 21a6c8217..81d6073c8 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/MonitorFile.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/file/MonitorFile.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.file; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/listener/DefaultFileMonitorListener.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/listener/DefaultFileMonitorListener.java index 2d2450dd4..ab56b1297 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/listener/DefaultFileMonitorListener.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/listener/DefaultFileMonitorListener.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.listener; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/listener/FileMonitorListener.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/listener/FileMonitorListener.java index b6d1fd5f3..ea8726ac9 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/listener/FileMonitorListener.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/listener/FileMonitorListener.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.listener; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineJsonLocator.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineJsonLocator.java index 6a775e66f..937e1897c 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineJsonLocator.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineJsonLocator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.locator; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineLocator.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineLocator.java index 3e9540bf6..04ce1497f 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineLocator.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineLocator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.locator; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineRpcLocator.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineRpcLocator.java index 639b3f411..a0e23432b 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineRpcLocator.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/locator/ChannelDefineRpcLocator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.locator; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/AgentMemoryService.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/AgentMemoryService.java index 116aabcd9..c62da72b8 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/AgentMemoryService.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/AgentMemoryService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.memory; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/AgentMemoryServiceImpl.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/AgentMemoryServiceImpl.java index c38f2ce3a..0a479995e 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/AgentMemoryServiceImpl.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/AgentMemoryServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.memory; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/ChannelMemory.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/ChannelMemory.java index b999cbc19..0a5523b14 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/ChannelMemory.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/channel/memory/ChannelMemory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel.memory; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/AbstractElementAdapter.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/AbstractElementAdapter.java index 1af066109..7af24b4da 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/AbstractElementAdapter.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/AbstractElementAdapter.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.common; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/ChannelUtil.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/ChannelUtil.java index 45b874dc3..bce4362a0 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/ChannelUtil.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/ChannelUtil.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.common; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/ExecutorUtil.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/ExecutorUtil.java index 1f88209d9..c7c78ffea 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/ExecutorUtil.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/ExecutorUtil.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.common; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/HashUtil.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/HashUtil.java index 9a31ee9ec..61db23dd2 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/HashUtil.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/HashUtil.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.common; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/Version.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/Version.java index 09f047692..27e45d050 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/Version.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/Version.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.common; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/trace/MessageUtil.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/trace/MessageUtil.java index f3f29bb1b..1f5261dcc 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/trace/MessageUtil.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/trace/MessageUtil.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.common.trace; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/trace/TraceUtil.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/trace/TraceUtil.java index 5baf1bfbc..518b118c7 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/trace/TraceUtil.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/common/trace/TraceUtil.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.common.trace; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/exception/AgentException.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/exception/AgentException.java index e9e68a58f..7ca5d69ce 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/exception/AgentException.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/exception/AgentException.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.exception; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/export/MsgExporter.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/export/MsgExporter.java index 3072f0462..fd7498116 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/export/MsgExporter.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/export/MsgExporter.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.export; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaExporter.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaExporter.java index 65bf84696..59bf6b66f 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaExporter.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaExporter.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.extension; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaOutput.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaOutput.java index a2195ea8d..b1a411939 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaOutput.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaOutput.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.extension; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaService.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaService.java index 7d97ecb14..07ddd33f7 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaService.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/KafkaService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.extension; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RmqExporter.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RmqExporter.java index 8e9f76e5f..52af87376 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RmqExporter.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RmqExporter.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.extension; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RmqOutput.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RmqOutput.java index 768046150..cfc073117 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RmqOutput.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RmqOutput.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.extension; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RocketMQService.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RocketMQService.java index 67457ea9a..45f4b246b 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RocketMQService.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/extension/RocketMQService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.extension; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/factory/OutPutServiceFactory.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/factory/OutPutServiceFactory.java index e11a6d120..ea1c3aae7 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/factory/OutPutServiceFactory.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/factory/OutPutServiceFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.factory; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/FilterChain.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/FilterChain.java index 7fc0366ef..09d0bbee1 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/FilterChain.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/FilterChain.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.filter; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/FilterTrans.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/FilterTrans.java index f8f778f8a..2da03682b 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/FilterTrans.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/FilterTrans.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.filter; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/Invoker.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/Invoker.java index 4a3446626..511ae1b0b 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/Invoker.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/Invoker.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.filter; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/MilogFilter.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/MilogFilter.java index 20a1f16eb..aa834a11e 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/MilogFilter.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/MilogFilter.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.filter; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/ratelimit/RatelimitFilter.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/ratelimit/RatelimitFilter.java index 7c1e00014..153f2b4db 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/ratelimit/RatelimitFilter.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/filter/ratelimit/RatelimitFilter.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.filter.ratelimit; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/AppLogInput.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/AppLogInput.java index 85c656f96..ab940378a 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/AppLogInput.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/AppLogInput.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.input; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/FreeLogInput.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/FreeLogInput.java index 18756356c..5b2f6c5dc 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/FreeLogInput.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/FreeLogInput.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.input; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/Input.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/Input.java index 8a2ee73e6..23925bbfa 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/Input.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/Input.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.input; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/MisAppLogInput.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/MisAppLogInput.java index ed7a7f270..8fb56f5a9 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/MisAppLogInput.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/MisAppLogInput.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.input; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/NginxInput.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/NginxInput.java index 493041f30..2d0946898 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/NginxInput.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/NginxInput.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.input; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/OpentelemetryInput.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/OpentelemetryInput.java index 638162ab6..0f9c5adea 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/OpentelemetryInput.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/OpentelemetryInput.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.input; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/OriginLogInput.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/OriginLogInput.java index 0c1cd1d11..5cdeba496 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/OriginLogInput.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/input/OriginLogInput.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.input; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/output/Output.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/output/Output.java index f5cdcf086..bf95f91e4 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/output/Output.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/output/Output.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.output; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/IService.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/IService.java index f81f093c9..6646fed22 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/IService.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/IService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.rpc.processor; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/LogProcessor.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/LogProcessor.java index c14c498c4..3e54c2772 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/LogProcessor.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/LogProcessor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.rpc.processor; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/ProcessorInit.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/ProcessorInit.java index 3e106d438..c630947b6 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/ProcessorInit.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/processor/ProcessorInit.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.rpc.processor; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/task/PingTask.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/task/PingTask.java index 1258c7444..37ad68b1b 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/task/PingTask.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/rpc/task/PingTask.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.rpc.task; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/ChannelDefineLocatorExtension.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/ChannelDefineLocatorExtension.java index 02450919b..53373c6fb 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/ChannelDefineLocatorExtension.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/ChannelDefineLocatorExtension.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.service; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/OutPutService.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/OutPutService.java index ef9858aa2..2ac159088 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/OutPutService.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/OutPutService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.service; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/ServiceRegistryService.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/ServiceRegistryService.java index 1127fc566..7e871a37c 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/ServiceRegistryService.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/ServiceRegistryService.java @@ -1,19 +1,21 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.service; import com.alibaba.nacos.api.naming.pojo.Instance; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/impl/OuterChannelDefineLocatorExtensionImpl.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/impl/OuterChannelDefineLocatorExtensionImpl.java index 37ca2dc08..542b92efb 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/impl/OuterChannelDefineLocatorExtensionImpl.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/impl/OuterChannelDefineLocatorExtensionImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.service.impl; diff --git a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/impl/ServiceRegistryServiceImpl.java b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/impl/ServiceRegistryServiceImpl.java index caa955304..5ed2f526f 100644 --- a/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/impl/ServiceRegistryServiceImpl.java +++ b/ozhera-log/log-agent/src/main/java/org/apache/ozhera/log/agent/service/impl/ServiceRegistryServiceImpl.java @@ -1,19 +1,21 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.service.impl; import com.alibaba.nacos.api.exception.NacosException; diff --git a/ozhera-log/log-agent/src/main/resources/config.properties b/ozhera-log/log-agent/src/main/resources/config.properties index 9637dd259..de72fe5f4 100644 --- a/ozhera-log/log-agent/src/main/resources/config.properties +++ b/ozhera-log/log-agent/src/main/resources/config.properties @@ -1,3 +1,17 @@ +# 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. app_name=${app_name} app_max_index=30 diff --git a/ozhera-log/log-agent/src/main/resources/config/dev.properties b/ozhera-log/log-agent/src/main/resources/config/dev.properties index 7c91d70d3..79e5407b7 100644 --- a/ozhera-log/log-agent/src/main/resources/config/dev.properties +++ b/ozhera-log/log-agent/src/main/resources/config/dev.properties @@ -1,3 +1,17 @@ +# 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. app_name=log_agent_dev nacosAddr=127.0.0.1:80 serviceName=milog_manager_server diff --git a/ozhera-log/log-agent/src/main/resources/config/open.properties b/ozhera-log/log-agent/src/main/resources/config/open.properties index 499dd95c5..71f50d84f 100644 --- a/ozhera-log/log-agent/src/main/resources/config/open.properties +++ b/ozhera-log/log-agent/src/main/resources/config/open.properties @@ -1,3 +1,17 @@ +# 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. app_name=log_agent nacosAddr=nacos:80 serviceName=milog_manager_server diff --git a/ozhera-log/log-agent/src/main/resources/logback.xml b/ozhera-log/log-agent/src/main/resources/logback.xml index 103a6c961..fbd0a1621 100644 --- a/ozhera-log/log-agent/src/main/resources/logback.xml +++ b/ozhera-log/log-agent/src/main/resources/logback.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/Comparator.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/Comparator.java index 71d1eb9ef..3a5ed42f1 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/Comparator.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/Comparator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/DefaultFileMonitorListenerTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/DefaultFileMonitorListenerTest.java index 24830ff01..fc293993f 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/DefaultFileMonitorListenerTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/DefaultFileMonitorListenerTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/FileInodeTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/FileInodeTest.java index 26bd978f6..871536232 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/FileInodeTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/FileInodeTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/FilterMonitorTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/FilterMonitorTest.java index 7234b0dd7..2e61fd89f 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/FilterMonitorTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/FilterMonitorTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/LogProcessorTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/LogProcessorTest.java index 1d8b895a9..438d89c63 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/LogProcessorTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/LogProcessorTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/channel/ChannelServiceTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/channel/ChannelServiceTest.java index 155a826af..62daa614d 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/channel/ChannelServiceTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/channel/ChannelServiceTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.channel; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/common/ExecutorUtilTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/common/ExecutorUtilTest.java index dcdf98037..63a833d9f 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/common/ExecutorUtilTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/common/ExecutorUtilTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.common; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/common/trace/TraceUtilTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/common/trace/TraceUtilTest.java index 33ecf9c30..0d7a7409a 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/common/trace/TraceUtilTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/common/trace/TraceUtilTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.common.trace; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/extension/RocketMQServiceTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/extension/RocketMQServiceTest.java index 37cef2d97..a1d0b7830 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/extension/RocketMQServiceTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/extension/RocketMQServiceTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.extension; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/filter/ComparatorTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/filter/ComparatorTest.java index 23e9ec08a..aef500bb6 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/filter/ComparatorTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/filter/ComparatorTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.filter; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/filter/FilterTransTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/filter/FilterTransTest.java index 1da5a40d8..98c409b7e 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/filter/FilterTransTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/filter/FilterTransTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.filter; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/lock/LockTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/lock/LockTest.java index 312715d0b..04a32056a 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/lock/LockTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/lock/LockTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.lock; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/ChannelDefineRpcLocatorTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/ChannelDefineRpcLocatorTest.java index 80579932b..0efc7beef 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/ChannelDefineRpcLocatorTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/ChannelDefineRpcLocatorTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.rpc.processor.service; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/LimitTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/LimitTest.java index 0485b20b2..3061666e7 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/LimitTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/LimitTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.rpc.processor.service; diff --git a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/RpcTest.java b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/RpcTest.java index bed4100dd..924a5097f 100644 --- a/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/RpcTest.java +++ b/ozhera-log/log-agent/src/test/java/org/apache/ozhera/log/agent/rpc/processor/service/RpcTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.agent.rpc.processor.service; diff --git a/ozhera-log/log-api/pom.xml b/ozhera-log/log-api/pom.xml index 78585d485..81a36684c 100644 --- a/ozhera-log/log-api/pom.xml +++ b/ozhera-log/log-api/pom.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/AppTypeEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/AppTypeEnum.java index 6e0be25eb..df7493a4c 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/AppTypeEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/AppTypeEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/DeployWayEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/DeployWayEnum.java index ff94de8c2..64c25b931 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/DeployWayEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/DeployWayEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ESClusterEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ESClusterEnum.java index 8278d03d7..6ee6403b9 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ESClusterEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ESClusterEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/EsOperatorEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/EsOperatorEnum.java index 430595118..67a09cf1d 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/EsOperatorEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/EsOperatorEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/EsOperatorMatchEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/EsOperatorMatchEnum.java index cce33fd81..1ba36eb28 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/EsOperatorMatchEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/EsOperatorMatchEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/FavouriteSearchEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/FavouriteSearchEnum.java index 1b6d689f8..ac392d2d6 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/FavouriteSearchEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/FavouriteSearchEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/K8sPodTypeEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/K8sPodTypeEnum.java index 5e0976bba..1e2b20be9 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/K8sPodTypeEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/K8sPodTypeEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogStorageTypeEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogStorageTypeEnum.java index 86ef58ada..2982282ca 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogStorageTypeEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogStorageTypeEnum.java @@ -1,19 +1,21 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; /** diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogStructureEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogStructureEnum.java index 6834e38d4..70accc5c0 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogStructureEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogStructureEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogTypeEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogTypeEnum.java index 2098f939b..5f52f9ba4 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogTypeEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/LogTypeEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MQSourceEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MQSourceEnum.java index 6bb1931b4..245ca3a67 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MQSourceEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MQSourceEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MachineRegionEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MachineRegionEnum.java index 0038704bf..d57a4326b 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MachineRegionEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MachineRegionEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MachineTypeEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MachineTypeEnum.java index d93bd5d48..882ef48fa 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MachineTypeEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MachineTypeEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MiddlewareEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MiddlewareEnum.java index 4b7f3295c..5f6fac438 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MiddlewareEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/MiddlewareEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/OperateEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/OperateEnum.java index 9cb1b1d41..565e98610 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/OperateEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/OperateEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ProjectSourceEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ProjectSourceEnum.java index 0c3d455bf..9c9b84536 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ProjectSourceEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ProjectSourceEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ProjectTypeEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ProjectTypeEnum.java index ed0d3892a..f37732253 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ProjectTypeEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ProjectTypeEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/RateLimitEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/RateLimitEnum.java index a38f1eefd..391640b68 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/RateLimitEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/RateLimitEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ResourceEnum.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ResourceEnum.java index 10ba64d5d..125e5398f 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ResourceEnum.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/enums/ResourceEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.enums; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/filter/Common.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/filter/Common.java index 6901fb863..2348be650 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/filter/Common.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/filter/Common.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.filter; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/filter/RateLimitStrategy.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/filter/RateLimitStrategy.java index e55c9ba6b..6ffb006dd 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/filter/RateLimitStrategy.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/filter/RateLimitStrategy.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.filter; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/AlertInfo.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/AlertInfo.java index f17a2e835..c723fc649 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/AlertInfo.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/AlertInfo.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.bo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/MiLogMoneTransfer.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/MiLogMoneTransfer.java index e996b617e..1e71c3f4c 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/MiLogMoneTransfer.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/MiLogMoneTransfer.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.bo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/MiLogResource.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/MiLogResource.java index 06e90ac9c..935573b92 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/MiLogResource.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/MiLogResource.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.bo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/ResourcePage.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/ResourcePage.java index b3a792f98..895d174b8 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/ResourcePage.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/bo/ResourcePage.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.bo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/dto/MontorAppDTO.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/dto/MontorAppDTO.java index f6080fc22..8874177ea 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/dto/MontorAppDTO.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/dto/MontorAppDTO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.dto; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/dto/TraceLogDTO.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/dto/TraceLogDTO.java index 699bc9b02..514aeb4b8 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/dto/TraceLogDTO.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/dto/TraceLogDTO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.dto; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/AgentDefine.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/AgentDefine.java index cb5d52011..d123b4995 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/AgentDefine.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/AgentDefine.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.meta; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/AppLogMeta.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/AppLogMeta.java index 31c9b4721..5e0a39d85 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/AppLogMeta.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/AppLogMeta.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.meta; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterConf.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterConf.java index 31365500b..9d47d999b 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterConf.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterConf.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.meta; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterDefine.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterDefine.java index 003121e71..98387994f 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterDefine.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterDefine.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.meta; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterName.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterName.java index 19752a1e2..514f70cb4 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterName.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterName.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.meta; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterType.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterType.java index 419897d72..7f028e56c 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterType.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/FilterType.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.meta; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/LogCollectMeta.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/LogCollectMeta.java index fad0ef715..274c6184d 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/LogCollectMeta.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/LogCollectMeta.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.meta; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/LogPattern.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/LogPattern.java index 549e0d496..c3f1c6e0c 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/LogPattern.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/LogPattern.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.meta; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/MQConfig.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/MQConfig.java index 7151241c9..3fbbdd292 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/MQConfig.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/MQConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.meta; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/package-info.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/package-info.java index e47e40784..632d5424c 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/package-info.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/meta/package-info.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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. */ /** * @author shanwb diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/msg/LineMessage.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/msg/LineMessage.java index 783bba9b9..119cafa3e 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/msg/LineMessage.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/msg/LineMessage.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.msg; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/AgentLogProcessDTO.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/AgentLogProcessDTO.java index 47fc41a3a..fd80b4d28 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/AgentLogProcessDTO.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/AgentLogProcessDTO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/AlarmPattern.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/AlarmPattern.java index fd65ad9ef..c4f7b615b 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/AlarmPattern.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/AlarmPattern.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/CommonVo.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/CommonVo.java index 90eb36fd5..9c8f3a375 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/CommonVo.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/CommonVo.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/EsIndexVo.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/EsIndexVo.java index 091dedcf5..684772c83 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/EsIndexVo.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/EsIndexVo.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/LogCmd.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/LogCmd.java index c0b734818..df4cb30c8 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/LogCmd.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/LogCmd.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/LogRecordConfig.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/LogRecordConfig.java index 425fac59a..cacd5e4cd 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/LogRecordConfig.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/LogRecordConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/MiLogMoneEnv.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/MiLogMoneEnv.java index d977a4a84..5e2f77fb1 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/MiLogMoneEnv.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/MiLogMoneEnv.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/PingReq.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/PingReq.java index 987934564..aad904aed 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/PingReq.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/PingReq.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ResourceInfo.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ResourceInfo.java index 1cad0e911..46b46b08a 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ResourceInfo.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ResourceInfo.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ResourceUserSimple.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ResourceUserSimple.java index c5be360bc..48befba1b 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ResourceUserSimple.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ResourceUserSimple.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/TailLogProcessDTO.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/TailLogProcessDTO.java index d68237460..ec846f37b 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/TailLogProcessDTO.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/TailLogProcessDTO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/TraceLogQuery.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/TraceLogQuery.java index 951d38980..bbe83deca 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/TraceLogQuery.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/TraceLogQuery.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/UpdateLogProcessCmd.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/UpdateLogProcessCmd.java index 69dec0c52..67ed9b292 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/UpdateLogProcessCmd.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/UpdateLogProcessCmd.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ValueKeyObj.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ValueKeyObj.java index deb997517..7f990e3ec 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ValueKeyObj.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/model/vo/ValueKeyObj.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.model.vo; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/AgentConfigService.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/AgentConfigService.java index 081c51487..0c0388412 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/AgentConfigService.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/AgentConfigService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.service; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogCountService.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogCountService.java index cfe22a5f4..a03b94571 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogCountService.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogCountService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.service; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogDataService.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogDataService.java index acf973759..abf9e894a 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogDataService.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogDataService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.service; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogProcessCollector.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogProcessCollector.java index 6af7e48aa..72dfa2e97 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogProcessCollector.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogProcessCollector.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.service; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogProcessService.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogProcessService.java index 31716c7ef..75bdb55de 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogProcessService.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/LogProcessService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.service; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/MilogOpenService.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/MilogOpenService.java index 1e0f1a433..9cae908b7 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/MilogOpenService.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/MilogOpenService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.service; diff --git a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/PublishConfigService.java b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/PublishConfigService.java index 73565810c..8095a68a8 100644 --- a/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/PublishConfigService.java +++ b/ozhera-log/log-api/src/main/java/org/apache/ozhera/log/api/service/PublishConfigService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api.service; diff --git a/ozhera-log/log-api/src/test/java/org/apache/ozhera/log/api/LogStorageTypeEnumTest.java b/ozhera-log/log-api/src/test/java/org/apache/ozhera/log/api/LogStorageTypeEnumTest.java index 3a03ea00d..e40b08171 100644 --- a/ozhera-log/log-api/src/test/java/org/apache/ozhera/log/api/LogStorageTypeEnumTest.java +++ b/ozhera-log/log-api/src/test/java/org/apache/ozhera/log/api/LogStorageTypeEnumTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.api; diff --git a/ozhera-log/log-common/pom.xml b/ozhera-log/log-common/pom.xml index 1299283d9..700465666 100644 --- a/ozhera-log/log-common/pom.xml +++ b/ozhera-log/log-common/pom.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/annotation/UnifiedResponse.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/annotation/UnifiedResponse.java index 4ba718325..775bb650f 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/annotation/UnifiedResponse.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/annotation/UnifiedResponse.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.annotation; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Config.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Config.java index 86e9d8c5c..e479b0d06 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Config.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Config.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Constant.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Constant.java index 3bef29713..cc98f849e 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Constant.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Constant.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Es.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Es.java index 9c8742563..e7a1acb92 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Es.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Es.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/HeraLocalCache.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/HeraLocalCache.java index fb9e39641..2f08da75f 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/HeraLocalCache.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/HeraLocalCache.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/MiLogCmd.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/MiLogCmd.java index 9a608380d..c478c7871 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/MiLogCmd.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/MiLogCmd.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/NetUtils.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/NetUtils.java index e5a29c958..b77bbe875 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/NetUtils.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/NetUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/PathUtils.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/PathUtils.java index a174ebafe..b3524c7cb 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/PathUtils.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/PathUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Result.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Result.java index 2daf80c6e..15f63bc9b 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Result.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Result.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/exception/CommonError.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/exception/CommonError.java index ac2b945f0..4d9e98cff 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/exception/CommonError.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/exception/CommonError.java @@ -1,24 +1,26 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.exception; /** * @author milog */ - public enum CommonError { Success(0, "success"), diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/exception/CommonException.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/exception/CommonException.java index 3e28a86cc..eb7aba7f7 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/exception/CommonException.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/exception/CommonException.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.exception; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/LogtailConfig.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/LogtailConfig.java index b36324518..68a3c6d53 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/LogtailConfig.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/LogtailConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.model; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MiLogStreamConfig.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MiLogStreamConfig.java index d0bb9db46..a71f4d111 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MiLogStreamConfig.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MiLogStreamConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.model; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MilogSpaceData.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MilogSpaceData.java index 9ee146904..8876d666a 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MilogSpaceData.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MilogSpaceData.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.model; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MilogStreamData.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MilogStreamData.java index 45be1df2f..522527bb9 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MilogStreamData.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/MilogStreamData.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.model; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/SinkConfig.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/SinkConfig.java index 53c79e137..d04e5031b 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/SinkConfig.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/SinkConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.model; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/StorageInfo.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/StorageInfo.java index 2cda6319c..a0120855f 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/StorageInfo.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/model/StorageInfo.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.model; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/AbstractLogParser.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/AbstractLogParser.java index c8d8d631e..b500173a9 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/AbstractLogParser.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/AbstractLogParser.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/CustomLogParser.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/CustomLogParser.java index 4033ce1e6..a74b51ce9 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/CustomLogParser.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/CustomLogParser.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/FieldInterceptor.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/FieldInterceptor.java index d389fdb63..07ac44ff2 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/FieldInterceptor.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/FieldInterceptor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/JsonLogParser.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/JsonLogParser.java index b77164d51..9e744c11d 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/JsonLogParser.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/JsonLogParser.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParser.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParser.java index 3c9001eac..946bbdae8 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParser.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParser.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParserData.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParserData.java index 87ac449ef..211d3cea9 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParserData.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParserData.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParserFactory.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParserFactory.java index 7364fb9a7..36edef25d 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParserFactory.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/LogParserFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/NginxLogParser.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/NginxLogParser.java index 2f9314968..9915f2f3e 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/NginxLogParser.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/NginxLogParser.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/RawLogParser.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/RawLogParser.java index 391f6df96..8a43bf416 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/RawLogParser.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/RawLogParser.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/RegexLogParser.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/RegexLogParser.java index b89d9f220..8ae9ea691 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/RegexLogParser.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/RegexLogParser.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/SeparatorLogParser.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/SeparatorLogParser.java index 07bcb6da3..9c5e142d5 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/SeparatorLogParser.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/parse/SeparatorLogParser.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.parse; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/ConfigUtils.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/ConfigUtils.java index 325352917..0e98b3b71 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/ConfigUtils.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/ConfigUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.utils; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/DateUtils.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/DateUtils.java index ec3c77653..8dd1019a3 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/DateUtils.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/DateUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.utils; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/IndexUtils.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/IndexUtils.java index 67080ecf9..ac60bd101 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/IndexUtils.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/IndexUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.utils; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/KafkaUtils.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/KafkaUtils.java index 104fcd7a0..180f893f7 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/KafkaUtils.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/KafkaUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.utils; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/NetUtil.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/NetUtil.java index 4586725a0..019253da2 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/NetUtil.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/NetUtil.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.utils; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/PinYin4jUtils.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/PinYin4jUtils.java index 74da5985b..93075b502 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/PinYin4jUtils.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/PinYin4jUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.utils; diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/SimilarUtils.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/SimilarUtils.java index 686c8a91f..3a3c3e1ee 100644 --- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/SimilarUtils.java +++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/utils/SimilarUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.utils; diff --git a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/DateUtilsTest.java b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/DateUtilsTest.java index 193c0f5f2..62ae51f6e 100644 --- a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/DateUtilsTest.java +++ b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/DateUtilsTest.java @@ -1,16 +1,19 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; \ No newline at end of file diff --git a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/IndexUtilsTest.java b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/IndexUtilsTest.java index a89e927cb..d20a3d67b 100644 --- a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/IndexUtilsTest.java +++ b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/IndexUtilsTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LineMessage.java b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LineMessage.java index 48e5391c3..7723fed88 100644 --- a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LineMessage.java +++ b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LineMessage.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LogParserFactoryTest.java b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LogParserFactoryTest.java index ac03dbeda..c7842868a 100644 --- a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LogParserFactoryTest.java +++ b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LogParserFactoryTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LogParserTest.java b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LogParserTest.java index 8601bedfe..9026b5352 100644 --- a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LogParserTest.java +++ b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/LogParserTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/NetUtilsTest.java b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/NetUtilsTest.java index f90e24b82..c807ac877 100644 --- a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/NetUtilsTest.java +++ b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/NetUtilsTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; @@ -30,7 +33,6 @@ public class NetUtilsTest { @Test public void testQueryIpWithDomain(){ -// String domain = "blog.csdn.net"; String domain = "open"; List ips = NetUtils.queryIpWithDomain(domain); log.info("result:{}",ips); diff --git a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/PathUtilsTest.java b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/PathUtilsTest.java index 690264c8d..022f04de6 100644 --- a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/PathUtilsTest.java +++ b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/PathUtilsTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/PinYin4jUtilsTest.java b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/PinYin4jUtilsTest.java index dfa76fc94..f39fc7d66 100644 --- a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/PinYin4jUtilsTest.java +++ b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/PinYin4jUtilsTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/SimilarityTest.java b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/SimilarityTest.java index 59cf8ed45..eafb934d7 100644 --- a/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/SimilarityTest.java +++ b/ozhera-log/log-common/src/test/java/org/apache/ozhera/log/common/SimilarityTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.common; diff --git a/ozhera-log/log-manager/Dockerfile b/ozhera-log/log-manager/Dockerfile index 6cc6ea101..fb28a0880 100644 --- a/ozhera-log/log-manager/Dockerfile +++ b/ozhera-log/log-manager/Dockerfile @@ -1,3 +1,17 @@ +# 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. FROM openjdk:21-jdk-bookworm ENV APP_HOME /opt/app diff --git a/ozhera-log/log-manager/pom.xml b/ozhera-log/log-manager/pom.xml index 1cd4d073e..9015576d2 100644 --- a/ozhera-log/log-manager/pom.xml +++ b/ozhera-log/log-manager/pom.xml @@ -1,4 +1,24 @@ + @@ -10,6 +30,7 @@ 4.0.0 log-manager + 1.3.3-SNAPSHOT 21 diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/Cache.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/Cache.java index 617f5097e..6b4d76d99 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/Cache.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/Cache.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.bootstrap; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/LogStoragePlugin.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/LogStoragePlugin.java index e49569952..22eb9a384 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/LogStoragePlugin.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/LogStoragePlugin.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.bootstrap; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/MiLogManagerBootstrap.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/MiLogManagerBootstrap.java index 5efdde94e..878e72036 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/MiLogManagerBootstrap.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/bootstrap/MiLogManagerBootstrap.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.bootstrap; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ErrorCode.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ErrorCode.java index e37cea687..f43252a38 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ErrorCode.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ErrorCode.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ExceptionCode.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ExceptionCode.java index 29d13757f..2f0ac1964 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ExceptionCode.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ExceptionCode.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ManagerConstant.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ManagerConstant.java index 53f3d1dbc..b0e138833 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ManagerConstant.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/ManagerConstant.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/MilogConfig.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/MilogConfig.java index 7236cc482..7ad7b96f4 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/MilogConfig.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/MilogConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Result.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Result.java index c285300a5..6fcbe5957 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Result.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Result.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Utils.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Utils.java index 2790236ef..548ab2833 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Utils.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Utils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Version.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Version.java index 56eef070d..cd50366ca 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Version.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/Version.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/context/MilogUserUtil.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/context/MilogUserUtil.java index 29732137d..5bb0128c9 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/context/MilogUserUtil.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/context/MilogUserUtil.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.context; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/context/MoneUserContext.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/context/MoneUserContext.java index f7e9c2976..9bad53228 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/context/MoneUserContext.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/context/MoneUserContext.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.context; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/exception/MilogManageException.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/exception/MilogManageException.java index 338af4ddd..a083be83f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/exception/MilogManageException.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/exception/MilogManageException.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.exception; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/helper/MilogAccessHelper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/helper/MilogAccessHelper.java index 070f8a128..c51e2a77a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/helper/MilogAccessHelper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/helper/MilogAccessHelper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.helper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/utils/ExportUtils.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/utils/ExportUtils.java index 26464fc03..7fe6e8ee3 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/utils/ExportUtils.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/utils/ExportUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.utils; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/utils/ManagerUtil.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/utils/ManagerUtil.java index 750f79fa9..c0a7d647f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/utils/ManagerUtil.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/utils/ManagerUtil.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.utils; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/HeraConfigValid.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/HeraConfigValid.java index 6fa6a77dc..a65427b31 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/HeraConfigValid.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/HeraConfigValid.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.validation; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/OpenSourceValid.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/OpenSourceValid.java index 2dbfcff97..f9ddf501d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/OpenSourceValid.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/OpenSourceValid.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.validation; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/ResourceValidation.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/ResourceValidation.java index de236f87c..4b4d497e9 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/ResourceValidation.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/ResourceValidation.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.validation; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/StoreSpaceAuthValid.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/StoreSpaceAuthValid.java index fa999fc3a..c26948183 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/StoreSpaceAuthValid.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/StoreSpaceAuthValid.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.validation; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/StoreValidation.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/StoreValidation.java index f4d7df374..da54b4ff5 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/StoreValidation.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/common/validation/StoreValidation.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.common.validation; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/EsDataController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/EsDataController.java index 86a626127..582eb9c5e 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/EsDataController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/EsDataController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/LogAnalyseController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/LogAnalyseController.java index e9a3fd713..56d3ab6c5 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/LogAnalyseController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/LogAnalyseController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/LogTemplateController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/LogTemplateController.java index f4ab337c1..c38aa8aba 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/LogTemplateController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/LogTemplateController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MIlogAgentManageController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MIlogAgentManageController.java index 8bfd8d375..23e68062a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MIlogAgentManageController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MIlogAgentManageController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MiLogMetaManageController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MiLogMetaManageController.java index 08e98ae76..7817643c7 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MiLogMetaManageController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MiLogMetaManageController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MiLogResourceController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MiLogResourceController.java index 47c10a045..21d14dd8c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MiLogResourceController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MiLogResourceController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogConfigController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogConfigController.java index bb6f4e201..a43e60267 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogConfigController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogConfigController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogDictionaryController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogDictionaryController.java index edeea462d..3abe06007 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogDictionaryController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogDictionaryController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogLoginController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogLoginController.java index 092b9184e..1d38953fb 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogLoginController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogLoginController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogMiddlewareConfigController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogMiddlewareConfigController.java index 447a11583..27173e371 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogMiddlewareConfigController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogMiddlewareConfigController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStatisticController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStatisticController.java index dc6ff144c..31069a787 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStatisticController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStatisticController.java @@ -1,19 +1,21 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; import org.apache.ozhera.log.common.Result; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStoreSpaceAuthController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStoreSpaceAuthController.java index d41123796..ae8babb8a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStoreSpaceAuthController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStoreSpaceAuthController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStreamController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStreamController.java index c645b1123..cdeb4ef56 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStreamController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/MilogStreamController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/StreamPartitionController.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/StreamPartitionController.java index efc161e98..df62f69ff 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/StreamPartitionController.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/StreamPartitionController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/interceptor/HttpRequestInterceptor.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/interceptor/HttpRequestInterceptor.java index d793914cc..6eb196ace 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/interceptor/HttpRequestInterceptor.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/controller/interceptor/HttpRequestInterceptor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.controller.interceptor; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/LogStreamBalanceConfigDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/LogStreamBalanceConfigDao.java index c2b390af5..896ada7c6 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/LogStreamBalanceConfigDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/LogStreamBalanceConfigDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogAppMiddlewareRelDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogAppMiddlewareRelDao.java index 69f4b9811..3896bf61d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogAppMiddlewareRelDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogAppMiddlewareRelDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogAppTopicRelDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogAppTopicRelDao.java index f532c9e86..2df3b6ab1 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogAppTopicRelDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogAppTopicRelDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLockDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLockDao.java index 2faa0794c..5af870d4b 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLockDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLockDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogProcessDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogProcessDao.java index b59c08ff5..e4457a0f5 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogProcessDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogProcessDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogTailDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogTailDao.java index 8ff915681..5594aa4de 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogTailDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogTailDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogstoreDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogstoreDao.java index 0f002d642..e4515ee61 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogstoreDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogLogstoreDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogMachineDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogMachineDao.java index c3254f084..b2d09d0b3 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogMachineDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogMachineDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogMiddlewareConfigDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogMiddlewareConfigDao.java index 6d5dc242a..3be2fc04b 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogMiddlewareConfigDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogMiddlewareConfigDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogRegionAvailableZoneDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogRegionAvailableZoneDao.java index 0132a3956..a05284702 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogRegionAvailableZoneDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogRegionAvailableZoneDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogSpaceDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogSpaceDao.java index 3a492f8b6..1aab395a4 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogSpaceDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogSpaceDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogStoreSpaceAuthDao.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogStoreSpaceAuthDao.java index d2eb5416a..dc8af7c29 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogStoreSpaceAuthDao.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/dao/MilogStoreSpaceAuthDao.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/AnalyseLog.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/AnalyseLog.java index 33cfaf8e0..9a93fe862 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/AnalyseLog.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/AnalyseLog.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/ClusterIndexVO.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/ClusterIndexVO.java index 21d9aff61..375897b1d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/ClusterIndexVO.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/ClusterIndexVO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Down.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Down.java index 27c720f98..037dcea28 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Down.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Down.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/EsCluster.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/EsCluster.java index 3d72c1044..84343732c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/EsCluster.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/EsCluster.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/EsIndexTemplate.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/EsIndexTemplate.java index 2ae1c9b88..3cb191586 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/EsIndexTemplate.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/EsIndexTemplate.java @@ -1,22 +1,30 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.xiaomi.youpin.docean.anno.Service; +import com.xiaomi.youpin.docean.common.StringUtils; +import com.xiaomi.youpin.docean.plugin.es.EsService; +import lombok.extern.slf4j.Slf4j; +import org.apache.commons.collections.CollectionUtils; import org.apache.ozhera.log.api.enums.LogTypeEnum; import org.apache.ozhera.log.common.Es; import org.apache.ozhera.log.manager.common.exception.MilogManageException; @@ -28,11 +36,6 @@ import org.apache.ozhera.log.manager.model.vo.CreateIndexTemplatePropertyCommand; import org.apache.ozhera.log.manager.model.vo.CreateOrUpdateLogStoreCmd; import org.apache.ozhera.log.manager.model.vo.UpdateIndexTemplateCommand; -import com.xiaomi.youpin.docean.anno.Service; -import com.xiaomi.youpin.docean.common.StringUtils; -import com.xiaomi.youpin.docean.plugin.es.EsService; -import lombok.extern.slf4j.Slf4j; -import org.apache.commons.collections.CollectionUtils; import org.elasticsearch.action.admin.indices.alias.Alias; import org.elasticsearch.client.indices.CreateIndexRequest; import org.elasticsearch.client.indices.CreateIndexResponse; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogProcess.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogProcess.java index 6c361189d..d2a443d77 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogProcess.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogProcess.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogStore.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogStore.java index 0396024f5..d01cebdd9 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogStore.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogStore.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogTail.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogTail.java index 22af200b2..960fed54d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogTail.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogTail.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogTemplate.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogTemplate.java index 37a21c219..f23fce0d0 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogTemplate.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/LogTemplate.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/SearchLog.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/SearchLog.java index a78ae60df..f06dd3384 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/SearchLog.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/SearchLog.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Store.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Store.java index 371e6f674..d453f1efd 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Store.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Store.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Tpc.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Tpc.java index 950aeaac1..39657110e 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Tpc.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/Tpc.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/TraceLog.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/TraceLog.java index 4181f2b2a..ad1fc4aa5 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/TraceLog.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/TraceLog.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/AggrCalcu.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/AggrCalcu.java index b2aa97303..6d9666313 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/AggrCalcu.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/AggrCalcu.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain.analyse; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/AggrCalcuStrategy.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/AggrCalcuStrategy.java index 36c5bc73a..beb3cf7c1 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/AggrCalcuStrategy.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/AggrCalcuStrategy.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain.analyse; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/DateGroupStrategy.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/DateGroupStrategy.java index 8fe2822d9..8ec0fdc60 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/DateGroupStrategy.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/DateGroupStrategy.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain.analyse; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/FieldStrategy.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/FieldStrategy.java index 52cee0304..28b0192ac 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/FieldStrategy.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/domain/analyse/FieldStrategy.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain.analyse; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/job/EsIndexJob.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/job/EsIndexJob.java index 5d9e704c2..f30dfe34c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/job/EsIndexJob.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/job/EsIndexJob.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.job; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/job/TailLogCountJob.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/job/TailLogCountJob.java index 2d5a08dbf..ca77cc5a4 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/job/TailLogCountJob.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/job/TailLogCountJob.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.job; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseDashboardGraphRefMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseDashboardGraphRefMapper.java index e1dbe7bbd..880169ec3 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseDashboardGraphRefMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseDashboardGraphRefMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseDashboardMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseDashboardMapper.java index f6028967a..e133533b9 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseDashboardMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseDashboardMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseGraphMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseGraphMapper.java index 84400ef80..537344fb4 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseGraphMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseGraphMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseGraphTypeMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseGraphTypeMapper.java index 82b730709..9dd192b27 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseGraphTypeMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogAnalyseGraphTypeMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogEsClusterMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogEsClusterMapper.java index 35e6af156..40eb2ed70 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogEsClusterMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogEsClusterMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogEsIndexMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogEsIndexMapper.java index f9a21375b..abc60aa97 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogEsIndexMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogEsIndexMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogCountMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogCountMapper.java index 7e78b461d..90eba4c40 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogCountMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogCountMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogNumAlertMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogNumAlertMapper.java index ab2b247e8..c70968f98 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogNumAlertMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogNumAlertMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogProcessMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogProcessMapper.java index a8883bd63..6bd5d9dd0 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogProcessMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogProcessMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogSearchSaveMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogSearchSaveMapper.java index af87f6b18..181ec4cac 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogSearchSaveMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogSearchSaveMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogTemplateDetailMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogTemplateDetailMapper.java index da5044d78..719747e8a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogTemplateDetailMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogTemplateDetailMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogTemplateMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogTemplateMapper.java index 850a692ea..3569e30a9 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogTemplateMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogTemplateMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogstailMapper.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogstailMapper.java index 4aac724df..63f895735 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogstailMapper.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/mapper/MilogLogstailMapper.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AccessMilogParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AccessMilogParam.java index f644f5876..c43a759ce 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AccessMilogParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AccessMilogParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AppTopicParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AppTopicParam.java index b58328e17..3fe75682e 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AppTopicParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AppTopicParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AutoAccessLogParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AutoAccessLogParam.java index 291556393..442f9dda7 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AutoAccessLogParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/AutoAccessLogParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/BatchQueryParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/BatchQueryParam.java index e5dc012d3..381a13bf1 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/BatchQueryParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/BatchQueryParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/CalcuAggrParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/CalcuAggrParam.java index d7f5e7872..efcbb4f99 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/CalcuAggrParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/CalcuAggrParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/EsStatisticParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/EsStatisticParam.java index 127d0b868..ea968d446 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/EsStatisticParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/EsStatisticParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/IpPartitionBalance.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/IpPartitionBalance.java index b9b0c1cf2..ebcdd3ba3 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/IpPartitionBalance.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/IpPartitionBalance.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/LogTailParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/LogTailParam.java index 5161deb7a..42ae870bd 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/LogTailParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/LogTailParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachineParamParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachineParamParam.java index adbea63f7..19a8e6330 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachineParamParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachineParamParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachinePartitionBalance.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachinePartitionBalance.java index ac1616f73..06fbee9ec 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachinePartitionBalance.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachinePartitionBalance.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachineQueryParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachineQueryParam.java index df929c2b2..6455479e1 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachineQueryParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MachineQueryParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareAddParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareAddParam.java index 9c0c0b4a6..bc442215a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareAddParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareAddParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareQueryParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareQueryParam.java index 8e9987057..dcad442c6 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareQueryParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareQueryParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareUpdateParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareUpdateParam.java index 56f8d6680..0ed34c017 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareUpdateParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MiddlewareUpdateParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogAgentIpParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogAgentIpParam.java index ddb213fba..8ce0d0312 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogAgentIpParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogAgentIpParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogDictionaryParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogDictionaryParam.java index 616dbe2d6..52338e802 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogDictionaryParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogDictionaryParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogLogstoreBo.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogLogstoreBo.java index ddef8abb6..07ae9ffca 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogLogstoreBo.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogLogstoreBo.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogPageParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogPageParam.java index 2844c6f60..4c9c67f6c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogPageParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MilogPageParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MlogParseParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MlogParseParam.java index ffe3b35b1..6df2e571c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MlogParseParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/MlogParseParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/RegionZoneBo.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/RegionZoneBo.java index b871e54bd..d927985af 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/RegionZoneBo.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/RegionZoneBo.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/RocketMqStatisticParam.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/RocketMqStatisticParam.java index 542a4e6e9..e38f00f00 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/RocketMqStatisticParam.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/RocketMqStatisticParam.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/SpacePartitionBalance.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/SpacePartitionBalance.java index 412ae8616..0e783fbc7 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/SpacePartitionBalance.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/SpacePartitionBalance.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/StoreSpaceAuth.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/StoreSpaceAuth.java index d7b381756..31ff53799 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/StoreSpaceAuth.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/bo/StoreSpaceAuth.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.model.bo; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/vo/LogQuery.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/vo/LogQuery.java index 77bdc3121..d6f8a21a9 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/vo/LogQuery.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/model/vo/LogQuery.java @@ -37,6 +37,7 @@ public class LogQuery implements Serializable { private String sortKey = "timestamp"; private Boolean asc = false; private Long[] appIds; + private String statField; public LogQuery() { } diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/BaseService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/BaseService.java index 5f4da1c58..f588cd26b 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/BaseService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/BaseService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/CommonRocketMqService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/CommonRocketMqService.java index 8552377ce..dc33530cc 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/CommonRocketMqService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/CommonRocketMqService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsDataBaseService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsDataBaseService.java index 8a610fdb9..7a66bdc8d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsDataBaseService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsDataBaseService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsDataService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsDataService.java index a434b2dbd..5938f4fd8 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsDataService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsDataService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsIndexOperateService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsIndexOperateService.java index a49cb156f..9d1d36082 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsIndexOperateService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsIndexOperateService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsIndexTemplateService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsIndexTemplateService.java index d5afa247f..6edf9d7d3 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsIndexTemplateService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/EsIndexTemplateService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeraAppEnvService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeraAppEnvService.java index e58d51754..9d8fd0e6a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeraAppEnvService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeraAppEnvService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeraAppService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeraAppService.java index f8183fb24..6757ecfbb 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeraAppService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeraAppService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeralogHomePageService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeralogHomePageService.java index f954abc17..c48bf3cec 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeralogHomePageService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/HeralogHomePageService.java @@ -1,19 +1,21 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; import org.apache.ozhera.log.common.Result; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogEsClusterService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogEsClusterService.java index 0d3f9e3c0..bb6776496 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogEsClusterService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogEsClusterService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogEsIndexService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogEsIndexService.java index fb973d4bc..43dce9965 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogEsIndexService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogEsIndexService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogLogSearchSaveService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogLogSearchSaveService.java index f3744e8d4..c958ca134 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogLogSearchSaveService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/IMilogLogSearchSaveService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogAnalyseService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogAnalyseService.java index bb010b417..3e4e57830 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogAnalyseService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogAnalyseService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogCountService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogCountService.java index 045e1015f..d6ce882b0 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogCountService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogCountService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogQueryService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogQueryService.java index 270d35e13..f4b8ef8dc 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogQueryService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogQueryService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogSearchSaveService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogSearchSaveService.java index e4ab32ecc..699a7723f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogSearchSaveService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogSearchSaveService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogSpaceService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogSpaceService.java index 50532b8c4..02fd8fc1f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogSpaceService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogSpaceService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogStoreService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogStoreService.java index b0c4eb2c3..83b4098eb 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogStoreService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogStoreService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogTailService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogTailService.java index 99aef3d5a..f9d2f60aa 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogTailService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogTailService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogTemplateService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogTemplateService.java index 3cba68701..64c3cc36f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogTemplateService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/LogTemplateService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MiLogMetaManageService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MiLogMetaManageService.java index 85bb1dc0b..53a136a75 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MiLogMetaManageService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MiLogMetaManageService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogAppMiddlewareRelService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogAppMiddlewareRelService.java index 2d49aa197..d655776a5 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogAppMiddlewareRelService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogAppMiddlewareRelService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogConfigNacosService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogConfigNacosService.java index 2f5f62ec9..b18440f8c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogConfigNacosService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogConfigNacosService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogDictionaryService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogDictionaryService.java index e464698b4..97902ab2c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogDictionaryService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogDictionaryService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogMachineService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogMachineService.java index fa1e18b51..2cd9dbe78 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogMachineService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogMachineService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogMiddlewareConfigService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogMiddlewareConfigService.java index 857288148..0c42ff0f0 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogMiddlewareConfigService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogMiddlewareConfigService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogStoreSpaceAuthService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogStoreSpaceAuthService.java index 50e643c84..7685d2e51 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogStoreSpaceAuthService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogStoreSpaceAuthService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogStreamService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogStreamService.java index 6e299459e..2a84e5e14 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogStreamService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MilogStreamService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MqConfigService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MqConfigService.java index 3732c7a6d..44f3cd069 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MqConfigService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/MqConfigService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/SpaceAuthService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/SpaceAuthService.java index 000ca23bc..79559c115 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/SpaceAuthService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/SpaceAuthService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/StatisticsService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/StatisticsService.java index 4525d944d..2ef158a06 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/StatisticsService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/StatisticsService.java @@ -1,19 +1,21 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; import org.apache.ozhera.log.common.Result; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/StreamPartitionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/StreamPartitionService.java index d0ef65756..04029af37 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/StreamPartitionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/StreamPartitionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/ConfigLogTypeProcessor.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/ConfigLogTypeProcessor.java index be2ab2291..7567ef195 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/ConfigLogTypeProcessor.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/ConfigLogTypeProcessor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.bind; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/DataSourceLogTypeProcessor.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/DataSourceLogTypeProcessor.java index ef06d0c19..30f3809f5 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/DataSourceLogTypeProcessor.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/DataSourceLogTypeProcessor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.bind; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/LogTypeProcessor.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/LogTypeProcessor.java index a5f435a6a..1c7c38eea 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/LogTypeProcessor.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/LogTypeProcessor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.bind; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/LogTypeProcessorFactory.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/LogTypeProcessorFactory.java index e46cc81d3..dbdf73bc4 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/LogTypeProcessorFactory.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/LogTypeProcessorFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.bind; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/Processor.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/Processor.java index f8b55cf00..28be2e17d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/Processor.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/Processor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.bind; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/package-info.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/package-info.java index 39394b26e..16f055245 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/package-info.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/bind/package-info.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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. */ /** * @description diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/consumer/MioneRocketMqConsumer.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/consumer/MioneRocketMqConsumer.java index b6a2a3fcc..52ca5be13 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/consumer/MioneRocketMqConsumer.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/consumer/MioneRocketMqConsumer.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.consumer; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/consumer/RocketMqConsumer.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/consumer/RocketMqConsumer.java index c634ea398..0f7edd941 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/consumer/RocketMqConsumer.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/consumer/RocketMqConsumer.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.consumer; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/HeraEnvIpService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/HeraEnvIpService.java index 09128f5d0..5b74938ce 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/HeraEnvIpService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/HeraEnvIpService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.env; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/HeraEnvIpServiceFactory.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/HeraEnvIpServiceFactory.java index d3a31babf..53c4c1281 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/HeraEnvIpServiceFactory.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/HeraEnvIpServiceFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.env; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/MoneHeraEnvIpService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/MoneHeraEnvIpService.java index be675fdcd..1f03c4078 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/MoneHeraEnvIpService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/env/MoneHeraEnvIpService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.env; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentService.java index db7a437a0..2e950e121 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.agent; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentServiceFactory.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentServiceFactory.java index 109c0f446..bb5ec5d11 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentServiceFactory.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentServiceFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.agent; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentServiceImpl.java index fd2552e6e..79d5e16fb 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/agent/MilogAgentServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.agent; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/CommonExtensionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/CommonExtensionService.java index 49e702958..f0e1086be 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/CommonExtensionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/CommonExtensionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.common; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/CommonExtensionServiceFactory.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/CommonExtensionServiceFactory.java index a7b13f332..02efa952c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/CommonExtensionServiceFactory.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/CommonExtensionServiceFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.common; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/DefaultCommonExtensionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/DefaultCommonExtensionService.java index 27baf57b4..947782d56 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/DefaultCommonExtensionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/common/DefaultCommonExtensionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.common; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DefaultDictionaryExtensionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DefaultDictionaryExtensionService.java index f6415d5c1..aed5c6ca2 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DefaultDictionaryExtensionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DefaultDictionaryExtensionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.dictionary; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DictionaryExtensionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DictionaryExtensionService.java index fd112e06d..ffdc11f5a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DictionaryExtensionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DictionaryExtensionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.dictionary; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DictionaryExtensionServiceFactory.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DictionaryExtensionServiceFactory.java index 3edc2a41e..cb4941f56 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DictionaryExtensionServiceFactory.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/dictionary/DictionaryExtensionServiceFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.dictionary; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/DefaultResourceExtensionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/DefaultResourceExtensionService.java index 4cdceb042..b686aee68 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/DefaultResourceExtensionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/DefaultResourceExtensionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.resource; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/ResourceExtensionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/ResourceExtensionService.java index e618812a7..939bf6444 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/ResourceExtensionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/ResourceExtensionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.resource; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/ResourceExtensionServiceFactory.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/ResourceExtensionServiceFactory.java index 462dc7ae7..fb44d3577 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/ResourceExtensionServiceFactory.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/resource/ResourceExtensionServiceFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.resource; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/DefaultStoreExtensionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/DefaultStoreExtensionService.java index b0bd993c3..c7b48938f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/DefaultStoreExtensionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/DefaultStoreExtensionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.store; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/DorisLogStorageService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/DorisLogStorageService.java index a4bc0960b..2bdc2d815 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/DorisLogStorageService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/DorisLogStorageService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.store; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/EsLogStorageService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/EsLogStorageService.java index a6c963fc2..30863970e 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/EsLogStorageService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/EsLogStorageService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.store; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/LogStorageService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/LogStorageService.java index a964f4678..bb08d1597 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/LogStorageService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/LogStorageService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.store; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/StoreExtensionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/StoreExtensionService.java index 4a4f2f809..057e04466 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/StoreExtensionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/StoreExtensionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.store; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/StoreExtensionServiceFactory.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/StoreExtensionServiceFactory.java index ea8c0da79..a2d2ef8dd 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/StoreExtensionServiceFactory.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/store/StoreExtensionServiceFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.store; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/DefaultTailExtensionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/DefaultTailExtensionService.java index 50ebb3640..42a77b714 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/DefaultTailExtensionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/DefaultTailExtensionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.tail; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/TailExtensionService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/TailExtensionService.java index 6b1fd2f9d..3f81fafda 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/TailExtensionService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/TailExtensionService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.tail; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/TailExtensionServiceFactory.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/TailExtensionServiceFactory.java index 7b9fa49bc..db4b18c8f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/TailExtensionServiceFactory.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/extension/tail/TailExtensionServiceFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.extension.tail; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/AgentConfigServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/AgentConfigServiceImpl.java index f4ba6e415..d14e7857d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/AgentConfigServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/AgentConfigServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsDataServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsDataServiceImpl.java index 290da7853..601c8e4c0 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsDataServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsDataServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsIndexOperateServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsIndexOperateServiceImpl.java index 5cbed9058..092e2b5cb 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsIndexOperateServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsIndexOperateServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsIndexTemplateServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsIndexTemplateServiceImpl.java index 5a4049ea3..b909c0193 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsIndexTemplateServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/EsIndexTemplateServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeraAppEnvServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeraAppEnvServiceImpl.java index c5f0f1d77..0c6f6e703 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeraAppEnvServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeraAppEnvServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeraAppServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeraAppServiceImpl.java index 6cb59741c..08e4ab518 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeraAppServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeraAppServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeralogHomePageServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeralogHomePageServiceImpl.java index 34420eb41..d4c8373fb 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeralogHomePageServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/HeralogHomePageServiceImpl.java @@ -1,19 +1,21 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; import com.google.common.collect.Lists; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/KafkaMqConfigService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/KafkaMqConfigService.java index 307422399..748bf3fc2 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/KafkaMqConfigService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/KafkaMqConfigService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogAnalyseService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogAnalyseService.java index a30f6162f..fa5a41290 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogAnalyseService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogAnalyseService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogCountServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogCountServiceImpl.java index 823cb34ac..c828b2ba1 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogCountServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogCountServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogProcessServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogProcessServiceImpl.java index ec1963e72..c07cd6465 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogProcessServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogProcessServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogQueryServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogQueryServiceImpl.java index 413c35342..292ebd19a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogQueryServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogQueryServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogSearchSaveServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogSearchSaveServiceImpl.java index 9e8dfc4de..2fa00c94a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogSearchSaveServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogSearchSaveServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogSpaceServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogSpaceServiceImpl.java index 8d9940ec6..abaf72aaf 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogSpaceServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogSpaceServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogStoreServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogStoreServiceImpl.java index 0d08b4fae..5a9b99ebf 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogStoreServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogStoreServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImpl.java index 227e3a2ec..7d975ce02 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTemplateServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTemplateServiceImpl.java index d10eade49..9d2187af8 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTemplateServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTemplateServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MiLogMetaManageServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MiLogMetaManageServiceImpl.java index 73c9c13a2..034d7a744 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MiLogMetaManageServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MiLogMetaManageServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogAppMiddlewareRelServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogAppMiddlewareRelServiceImpl.java index 022c80a67..185c77562 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogAppMiddlewareRelServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogAppMiddlewareRelServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogConfigNacosServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogConfigNacosServiceImpl.java index b1db78bcb..eb22b7c94 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogConfigNacosServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogConfigNacosServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogDictionaryServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogDictionaryServiceImpl.java index 87bea5e7b..5bc9fd303 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogDictionaryServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogDictionaryServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogEsClusterServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogEsClusterServiceImpl.java index 5d794be10..89047cb07 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogEsClusterServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogEsClusterServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogEsIndexServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogEsIndexServiceImpl.java index 7c8594066..2f136ec5c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogEsIndexServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogEsIndexServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogLogSearchSaveServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogLogSearchSaveServiceImpl.java index ef60bfb0e..95378745d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogLogSearchSaveServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogLogSearchSaveServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogMachineServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogMachineServiceImpl.java index 2a8a94b1e..8dd717dea 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogMachineServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogMachineServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogMiddlewareConfigServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogMiddlewareConfigServiceImpl.java index ab54833f1..7a765fb9d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogMiddlewareConfigServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogMiddlewareConfigServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogOpenServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogOpenServiceImpl.java index 66f22cb7d..ab0f1790a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogOpenServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogOpenServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogStoreSpaceAuthServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogStoreSpaceAuthServiceImpl.java index fad7b9e2d..61064d180 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogStoreSpaceAuthServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogStoreSpaceAuthServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogStreamServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogStreamServiceImpl.java index 8d5af6bba..76e2a6c76 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogStreamServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/MilogStreamServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/RocketMqConfigService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/RocketMqConfigService.java index 8dfb54cc0..f7ddd7168 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/RocketMqConfigService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/RocketMqConfigService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/StatisticsServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/StatisticsServiceImpl.java index f10066924..87f6b9f5d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/StatisticsServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/StatisticsServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/StreamPartitionServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/StreamPartitionServiceImpl.java index 567f38a12..64a1b26f7 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/StreamPartitionServiceImpl.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/StreamPartitionServiceImpl.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/TpcSpaceAuthService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/TpcSpaceAuthService.java index b833c3a0e..2a8d0a6f6 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/TpcSpaceAuthService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/TpcSpaceAuthService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/AnalyseGraphTypeService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/AnalyseGraphTypeService.java index 4bb9c0d39..9c90bd6cd 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/AnalyseGraphTypeService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/AnalyseGraphTypeService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.init_sql; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/HeraLogTemplateService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/HeraLogTemplateService.java index 5dc97282b..0731a49e3 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/HeraLogTemplateService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/HeraLogTemplateService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.init_sql; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/NcosConfigSqlService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/NcosConfigSqlService.java index 859372a00..90a1a672c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/NcosConfigSqlService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/NcosConfigSqlService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.init_sql; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/package-info.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/package-info.java index 237261837..3a6b9fe64 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/package-info.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/init_sql/package-info.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.init_sql; /** diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/listener/AutoLogAccessListener.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/listener/AutoLogAccessListener.java index 9ca5b66c2..67a006293 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/listener/AutoLogAccessListener.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/listener/AutoLogAccessListener.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.listener; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/Converter.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/Converter.java index 2f8160a9b..9c2905289 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/Converter.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/Converter.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/DynamicConfigProvider.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/DynamicConfigProvider.java index eceea5663..3c70150d9 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/DynamicConfigProvider.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/DynamicConfigProvider.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/DynamicConfigPublisher.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/DynamicConfigPublisher.java index 34690cb31..a0f057837 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/DynamicConfigPublisher.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/DynamicConfigPublisher.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/FetchStreamMachineService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/FetchStreamMachineService.java index 0d82098e1..9877cc208 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/FetchStreamMachineService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/FetchStreamMachineService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/InitService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/InitService.java index 8f6a84681..89d04e8b9 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/InitService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/InitService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/MultipleNacosConfig.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/MultipleNacosConfig.java index 87ff78d3e..54388f4fd 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/MultipleNacosConfig.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/MultipleNacosConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/NacosFetchStreamMachineService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/NacosFetchStreamMachineService.java index fe54f941f..5bc60cb40 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/NacosFetchStreamMachineService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/NacosFetchStreamMachineService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/SpaceConfigNacosProvider.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/SpaceConfigNacosProvider.java index f8c555b2f..ee69ce30f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/SpaceConfigNacosProvider.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/SpaceConfigNacosProvider.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/SpaceConfigNacosPublisher.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/SpaceConfigNacosPublisher.java index a540f001e..4298c02dd 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/SpaceConfigNacosPublisher.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/SpaceConfigNacosPublisher.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/StreamConfigNacosProvider.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/StreamConfigNacosProvider.java index 2265d6020..2768249ce 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/StreamConfigNacosProvider.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/StreamConfigNacosProvider.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/StreamConfigNacosPublisher.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/StreamConfigNacosPublisher.java index 8a6876daf..ca7509d64 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/StreamConfigNacosPublisher.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/nacos/impl/StreamConfigNacosPublisher.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.nacos.impl; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/LogPathMapping.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/LogPathMapping.java index cf99ea1d1..111a61431 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/LogPathMapping.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/LogPathMapping.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.path; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/LogPathMappingFactory.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/LogPathMappingFactory.java index b253acc64..6ee66726f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/LogPathMappingFactory.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/LogPathMappingFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.path; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/MoneLogPathMapping.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/MoneLogPathMapping.java index ade84a2f6..feef1c8e3 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/MoneLogPathMapping.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/path/MoneLogPathMapping.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.path; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/AndAllStatementMatchParse.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/AndAllStatementMatchParse.java index 32ba400c2..03b165b15 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/AndAllStatementMatchParse.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/AndAllStatementMatchParse.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/MustNotStatementMatchParse.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/MustNotStatementMatchParse.java index 663c2d140..c5b05bd0c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/MustNotStatementMatchParse.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/MustNotStatementMatchParse.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/MustStatementMatchParse.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/MustStatementMatchParse.java index 12c415e5f..4f52ecc1d 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/MustStatementMatchParse.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/MustStatementMatchParse.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/NotAllStatementMatchParse.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/NotAllStatementMatchParse.java index a55ead632..660c33bbf 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/NotAllStatementMatchParse.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/NotAllStatementMatchParse.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OperatorData.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OperatorData.java index 64e5b44da..9adc39462 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OperatorData.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OperatorData.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OperatorSlice.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OperatorSlice.java index 4eb873266..7a517dc9f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OperatorSlice.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OperatorSlice.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OrAllStatementMatchParse.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OrAllStatementMatchParse.java index e54dc9696..dac011275 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OrAllStatementMatchParse.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OrAllStatementMatchParse.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OrStatementMatchParse.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OrStatementMatchParse.java index 31458ef34..4be552ee0 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OrStatementMatchParse.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/OrStatementMatchParse.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/QueryEntity.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/QueryEntity.java index 14c44dcae..0931b2510 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/QueryEntity.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/QueryEntity.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/StatementMatchParse.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/StatementMatchParse.java index b7084dc67..800fdcb5a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/StatementMatchParse.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/StatementMatchParse.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/StatementMatchParseFactory.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/StatementMatchParseFactory.java index fff6061cf..f5cf4e10c 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/StatementMatchParseFactory.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/statement/StatementMatchParseFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.statement; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUser.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUser.java index 1fcf28258..6a71310e9 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUser.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUser.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.user; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUserDetailService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUserDetailService.java index 47b5d6bfe..dac8880e9 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUserDetailService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUserDetailService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.user; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUtil.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUtil.java index 00a9e34e0..2d565ef2a 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUtil.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/MoneUtil.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.user; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/UseDetailInfo.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/UseDetailInfo.java index 4cf981a5d..10feed6d6 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/UseDetailInfo.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/UseDetailInfo.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.user; diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/UserIDService.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/UserIDService.java index 16937e2f0..6ee9b241f 100644 --- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/UserIDService.java +++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/user/UserIDService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.user; diff --git a/ozhera-log/log-manager/src/main/resources/config.properties b/ozhera-log/log-manager/src/main/resources/config.properties index 122546ccc..f5559794a 100644 --- a/ozhera-log/log-manager/src/main/resources/config.properties +++ b/ozhera-log/log-manager/src/main/resources/config.properties @@ -1,3 +1,17 @@ +# 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. nacosAddr=${nacosAddr} defaultNacosAddres=${defaultNacosAddres} nacos_config_dataid=${nacos_config_dataid} diff --git a/ozhera-log/log-manager/src/main/resources/config/open.properties b/ozhera-log/log-manager/src/main/resources/config/open.properties index 4b7a2636e..c1827fefd 100644 --- a/ozhera-log/log-manager/src/main/resources/config/open.properties +++ b/ozhera-log/log-manager/src/main/resources/config/open.properties @@ -1,3 +1,17 @@ +# 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. nacosAddr=nacos:80 defaultNacosAddres=nacos:80 diff --git a/ozhera-log/log-manager/src/main/resources/log.sql b/ozhera-log/log-manager/src/main/resources/log.sql index f97a51d11..01df753c3 100644 --- a/ozhera-log/log-manager/src/main/resources/log.sql +++ b/ozhera-log/log-manager/src/main/resources/log.sql @@ -1,4 +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. + */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; diff --git a/ozhera-log/log-manager/src/main/resources/logback.xml b/ozhera-log/log-manager/src/main/resources/logback.xml index 26a914d6e..2b5ddab07 100644 --- a/ozhera-log/log-manager/src/main/resources/logback.xml +++ b/ozhera-log/log-manager/src/main/resources/logback.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseDashboardGraphRefMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseDashboardGraphRefMapper.xml index 53b491a95..21e46941e 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseDashboardGraphRefMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseDashboardGraphRefMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseDashboardMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseDashboardMapper.xml index 60f01cc17..64f5ff02b 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseDashboardMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseDashboardMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseGraphMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseGraphMapper.xml index 8398f13b8..aacb82074 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseGraphMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseGraphMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseGraphTypeMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseGraphTypeMapper.xml index a0c17e45c..db88167ca 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseGraphTypeMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogAnalyseGraphTypeMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogEsClusterMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogEsClusterMapper.xml index b71e13732..cb5af4934 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogEsClusterMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogEsClusterMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogEsIndexMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogEsIndexMapper.xml index 463e9628d..fb8808838 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogEsIndexMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogEsIndexMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogCountMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogCountMapper.xml index fbd25d047..651c4c25f 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogCountMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogCountMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogNumAlertMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogNumAlertMapper.xml index fd8b365c4..50fb7226c 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogNumAlertMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogNumAlertMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogProcessMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogProcessMapper.xml index ff243f680..483a0300c 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogProcessMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogProcessMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogSearchSaveMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogSearchSaveMapper.xml index c1d6e4274..b7c118791 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogSearchSaveMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogSearchSaveMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogTemplateDetailMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogTemplateDetailMapper.xml index 4cc68d4bc..2f6c85513 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogTemplateDetailMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogTemplateDetailMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogTemplateMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogTemplateMapper.xml index 893c9a528..ff3e16de7 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogTemplateMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogTemplateMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogstailMapper.xml b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogstailMapper.xml index c2448b7df..d5132e59c 100644 --- a/ozhera-log/log-manager/src/main/resources/mapper/MilogLogstailMapper.xml +++ b/ozhera-log/log-manager/src/main/resources/mapper/MilogLogstailMapper.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-log/log-manager/src/main/resources/sql/log-data.sql b/ozhera-log/log-manager/src/main/resources/sql/log-data.sql index 3ac9c60f6..d06cb66a4 100644 --- a/ozhera-log/log-manager/src/main/resources/sql/log-data.sql +++ b/ozhera-log/log-manager/src/main/resources/sql/log-data.sql @@ -1,18 +1,21 @@ /* - Navicat Premium Data Transfer - - Source Server : milog - Source Server Type : MySQL - Source Server Version : 50725 - Source Host : 127.0.0.1:4100 - Source Schema : milog - - Target Server Type : MySQL - Target Server Version : 50725 - File Encoding : 65001 - - Date: 29/11/2022 11:36:55 -*/ + * 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. + */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; diff --git a/ozhera-log/log-manager/src/main/resources/sql/log.sql b/ozhera-log/log-manager/src/main/resources/sql/log.sql index c306fa037..5b0076a55 100644 --- a/ozhera-log/log-manager/src/main/resources/sql/log.sql +++ b/ozhera-log/log-manager/src/main/resources/sql/log.sql @@ -1,18 +1,21 @@ /* - Navicat Premium Data Transfer - - Source Server : milog - Source Server Type : MySQL - Source Server Version : 50725 - Source Host : 127.0.0.1:4100 - Source Schema : milog - - Target Server Type : MySQL - Target Server Version : 50725 - File Encoding : 65001 - - Date: 29/11/2022 11:36: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. + */ SET NAMES utf8mb4; SET diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/AgentHearJobTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/AgentHearJobTest.java index df838e6fb..4032a6eb2 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/AgentHearJobTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/AgentHearJobTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/CodeGenerator.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/CodeGenerator.java index 01b286691..dbc429709 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/CodeGenerator.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/CodeGenerator.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/CommonTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/CommonTest.java index 36dada285..477eada56 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/CommonTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/CommonTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/DevoraFlinkTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/DevoraFlinkTest.java index 93cec170c..c2ffda02e 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/DevoraFlinkTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/DevoraFlinkTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/FunctionalInterfaceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/FunctionalInterfaceTest.java index ae4a09c71..8f76ff189 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/FunctionalInterfaceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/FunctionalInterfaceTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/HttpClientTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/HttpClientTest.java index 3d000d383..911b3877f 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/HttpClientTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/HttpClientTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/ManagerUtilTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/ManagerUtilTest.java index 70f3f017d..468433df9 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/ManagerUtilTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/ManagerUtilTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/MilogAccessHelperTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/MilogAccessHelperTest.java index 559799d0f..7cfaa9d08 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/MilogAccessHelperTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/MilogAccessHelperTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/RateLimiterTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/RateLimiterTest.java index 5cc1adf57..bb857122c 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/RateLimiterTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/RateLimiterTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/TestHttpClient.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/TestHttpClient.java new file mode 100644 index 000000000..5cb85b144 --- /dev/null +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/TestHttpClient.java @@ -0,0 +1,96 @@ +/* + * 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.ozhera.log.manager; + +import org.apache.http.HttpEntity; +import org.apache.http.HttpResponse; +import org.apache.http.client.HttpRequestRetryHandler; +import org.apache.http.client.config.RequestConfig; +import org.apache.http.client.methods.CloseableHttpResponse; +import org.apache.http.client.methods.HttpGet; +import org.apache.http.impl.client.CloseableHttpClient; +import org.apache.http.impl.client.HttpClients; +import org.apache.http.impl.client.StandardHttpRequestRetryHandler; +import org.apache.http.impl.conn.PoolingHttpClientConnectionManager; + +import java.io.IOException; +import java.io.InputStream; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2024/2/26 17:03 + */ +public class TestHttpClient { + + public static void main(String[] args) { + // 创建HTTP客户端并配置连接池 + PoolingHttpClientConnectionManager connectionManager = new PoolingHttpClientConnectionManager(); + connectionManager.setMaxTotal(4); + RequestConfig requestConfig = RequestConfig.custom().setConnectTimeout(2000).setConnectionRequestTimeout(2000).setSocketTimeout(4000).build(); + HttpRequestRetryHandler retryHandler = new StandardHttpRequestRetryHandler(); + CloseableHttpClient httpClient = HttpClients.custom().setConnectionManager(connectionManager).setDefaultRequestConfig(requestConfig).setRetryHandler(retryHandler).build(); + + // 创建线程池 + ExecutorService executorService = Executors.newFixedThreadPool(20); + + try { + for (int i = 0; i < 100; i++) { + // 提交任务给线程池 + executorService.execute(() -> { + // 创建GET请求 + HttpGet httpGet = new HttpGet("http://localhost:9905/nacos/#/configeditor?serverId=center&dataId=hera_log_manager_open&group=DEFAULT_GROUP&namespace=&edasAppName=&edasAppId=&searchDataId=&searchGroup="); + + try { + // 执行请求 + CloseableHttpResponse response = httpClient.execute(httpGet); + try { + // 获取响应实体 + HttpEntity entity = response.getEntity(); + if (entity != null) { + // 处理响应内容,这里简单打印响应的状态码和内容 + System.out.println("Response status: " + response.getStatusLine()); + System.out.println("Response content: " + entity.getContent()); + } + } catch (Exception e) { + e.printStackTrace(); + } finally { + try { + if (null != response) { + response.close(); + } + } catch (IOException var19) { + var19.printStackTrace(); + } + + } + } catch (IOException e) { + e.printStackTrace(); + } + }); + } + } finally { + // 关闭线程池 + executorService.shutdown(); + } + } +} diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/bootstrap/LogStoragePluginTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/bootstrap/LogStoragePluginTest.java index b83b66edc..80c713b8c 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/bootstrap/LogStoragePluginTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/bootstrap/LogStoragePluginTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.bootstrap; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/dao/LogStoreDaoTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/dao/LogStoreDaoTest.java index b40f8cdf3..1d4f5c2ad 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/dao/LogStoreDaoTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/dao/LogStoreDaoTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.dao; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/AnalyseLogTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/AnalyseLogTest.java index f4360a90a..e941fe7ac 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/AnalyseLogTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/AnalyseLogTest.java @@ -1,59 +1,46 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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. */ -///* -// * Copyright (C) 2020 Xiaomi Corporation -// * -// * Licensed 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 com.xiaomi.mone.log.manager.domain; -// -//import com.xiaomi.mone.log.manager.model.dto.LogAnalyseDataDTO; -//import com.xiaomi.mone.log.manager.model.vo.LogAnalyseDataQuery; -//import com.xiaomi.youpin.docean.Ioc; -//import org.junit.Before; -//import org.junit.Test; -// -//import java.io.IOException; -// -//public class AnalyseLogTest { -// private AnalyseLog analyseLog; -// -// @Before -// public void pushBean() { -// Ioc.ins().init("com.xiaomi"); -// analyseLog = Ioc.ins().getBean(AnalyseLog.class); -// } -// -// @Test -// public void getData() throws IOException { -// LogAnalyseDataQuery query = new LogAnalyseDataQuery(); -// query.setGraphId(1l); -// query.setStartTime(1661858725000l); -// query.setEndTime(1661862325000l); +package org.apache.ozhera.log.manager.domain; + +import com.xiaomi.youpin.docean.Ioc; +import org.apache.ozhera.log.manager.model.vo.LogAnalyseDataQuery; +import org.junit.Before; +import org.junit.Test; + +import java.io.IOException; + +public class AnalyseLogTest { + private AnalyseLog analyseLog; + + @Before + public void pushBean() { + Ioc.ins().init("com.xiaomi"); + analyseLog = Ioc.ins().getBean(AnalyseLog.class); + } + + @Test + public void getData() throws IOException { + LogAnalyseDataQuery query = new LogAnalyseDataQuery(); + query.setGraphId(1l); + query.setStartTime(1661858725000l); + query.setEndTime(1661862325000l); // LogAnalyseDataDTO data = analyseLog.getData(query); // System.out.println(data); -// } -//} \ No newline at end of file + } +} \ No newline at end of file diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/EsClusterTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/EsClusterTest.java index 82d479e5c..df2417cef 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/EsClusterTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/EsClusterTest.java @@ -1,55 +1,42 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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. */ -///* -// * Copyright (C) 2020 Xiaomi Corporation -// * -// * Licensed 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 com.xiaomi.mone.log.manager.domain; -// -//import com.xiaomi.mone.log.common.Constant; -//import com.xiaomi.youpin.docean.Ioc; -//import org.junit.Assert; -//import org.junit.Before; -//import org.junit.Test; -// -//public class EsClusterTest { -// -// private EsCluster esCluster; -// -// @Before -// public void pushBean() { -// Ioc.ins().init("com.xiaomi"); -// esCluster = Ioc.ins().getBean(EsCluster.class); -// } -// -// @Test -// public void getByRegion() { -// Assert.assertNull(esCluster.getByRegion("")); -// Assert.assertNull(esCluster.getByRegion(null)); +package org.apache.ozhera.log.manager.domain; + +import com.xiaomi.youpin.docean.Ioc; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +public class EsClusterTest { + + private EsCluster esCluster; + + @Before + public void pushBean() { + Ioc.ins().init("com.xiaomi"); + esCluster = Ioc.ins().getBean(EsCluster.class); + } + + @Test + public void getByRegion() { + Assert.assertNull(esCluster.getByRegion("")); + Assert.assertNull(esCluster.getByRegion(null)); // System.out.println(esCluster.getByRegion(Constant.ES_REGION_EROUP)); -// } -//} \ No newline at end of file + } +} \ No newline at end of file diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/LogProcessTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/LogProcessTest.java index 432b5bdaa..18aba1ef2 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/LogProcessTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/LogProcessTest.java @@ -1,77 +1,68 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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. */ -///* -// * Copyright (C) 2020 Xiaomi Corporation -// * -// * Licensed 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 com.xiaomi.mone.log.manager.domain; -// -//import com.xiaomi.mone.log.api.model.vo.UpdateLogProcessCmd; -//import com.xiaomi.youpin.docean.Ioc; -//import org.junit.Before; -//import org.junit.Test; -// -//import java.util.ArrayList; -//import java.util.List; -// -//public class LogProcessTest { -// private LogProcess logProcess; -// -// @Before -// public void pushBean() { -// Ioc.ins().init("com.xiaomi"); -// logProcess = Ioc.ins().getBean(LogProcess.class); -// } -// -// @Test -// public void updateAndGetLogProcess() { -// for (int j = 0; j < 3; j++) { -// String ip = "127.0.0.1." + j; -// UpdateLogProcessCmd cmd = new UpdateLogProcessCmd(); -// List collectDetailList = new ArrayList<>(); -// for (int i = 0; i < 10; i++) { -// UpdateLogProcessCmd.CollectDetail detail = new UpdateLogProcessCmd.CollectDetail(); -// detail.setAppId(i * 1l); -// detail.setAppName("appName"); -//// detail.setCollectTime(System.currentTimeMillis()); -//// detail.setPointer(i * 10l); -//// detail.setPath("home/so/server" + i + ".log"); -//// detail.setFileRowNumber( i * 10l); -//// detail.setPattern("/"); -//// collectDetailList.add(detail); -// } -// cmd.setIp(ip); -// cmd.setCollectList(collectDetailList); -// logProcess.updateLogProcess(cmd); -// } +package org.apache.ozhera.log.manager.domain; + +import com.xiaomi.youpin.docean.Ioc; +import org.apache.ozhera.log.api.model.vo.UpdateLogProcessCmd; +import org.jetbrains.annotations.NotNull; +import org.junit.Before; +import org.junit.Test; + +import java.util.ArrayList; +import java.util.List; + +public class LogProcessTest { + private LogProcess logProcess; + + @Before + public void pushBean() { + Ioc.ins().init("com.xiaomi"); + logProcess = Ioc.ins().getBean(LogProcess.class); + } + + @Test + public void updateAndGetLogProcess() { + for (int j = 0; j < 3; j++) { + UpdateLogProcessCmd cmd = getUpdateLogProcessCmd(j); + logProcess.updateLogProcess(cmd); + } // logProcess.getAgentLogProcess("127.0.0.1").forEach(System.out::println); // System.out.println("======================"); // logProcess.getAgentLogProcess("127.0.0.1").forEach(System.out::println); // System.out.println("======================"); // logProcess.getAgentLogProcess("127.0.0.1").forEach(System.out::println); -// } -//} \ No newline at end of file + } + + @NotNull + private static UpdateLogProcessCmd getUpdateLogProcessCmd(int j) { + String ip = "127.0.0.1." + j; + UpdateLogProcessCmd cmd = new UpdateLogProcessCmd(); + List collectDetailList = new ArrayList<>(); + for (int i = 0; i < 10; i++) { + UpdateLogProcessCmd.CollectDetail detail = new UpdateLogProcessCmd.CollectDetail(); + detail.setAppId(i * 1l); + detail.setAppName("appName"); + detail.setPath("home/so/server" + i + ".log"); + collectDetailList.add(detail); + } + cmd.setIp(ip); + cmd.setCollectList(collectDetailList); + return cmd; + } +} \ No newline at end of file diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/LogTemplateTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/LogTemplateTest.java index 575591ccf..3e326652a 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/LogTemplateTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/LogTemplateTest.java @@ -1,27 +1,31 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain; +import com.xiaomi.youpin.docean.Ioc; import org.junit.Test; public class LogTemplateTest { @Test public void createAppTemplate() { -// Ioc.ins().init("com.xiaomi"); -// LogTemplate logTemplate = Ioc.ins().getBean(LogTemplate.class); + Ioc.ins().init("com.xiaomi"); + LogTemplate logTemplate = Ioc.ins().getBean(LogTemplate.class); // logTemplate.createAppTemplate(); } } \ No newline at end of file diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/analyse/TopTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/analyse/TopTest.java index ebbf44fee..c5a48285d 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/analyse/TopTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/domain/analyse/TopTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.domain.analyse; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/esParse/StatementMatchParseFactoryTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/esParse/StatementMatchParseFactoryTest.java index ae6d152c2..d4c841b29 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/esParse/StatementMatchParseFactoryTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/esParse/StatementMatchParseFactoryTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.esParse; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/esParse/StatementMatchParseTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/esParse/StatementMatchParseTest.java index 4f688a6a1..d33299b21 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/esParse/StatementMatchParseTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/esParse/StatementMatchParseTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.esParse; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/filter/cons/RateLimitConsTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/filter/cons/RateLimitConsTest.java index 8c0dd30c8..b1f3b2106 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/filter/cons/RateLimitConsTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/filter/cons/RateLimitConsTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.filter.cons; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/mapper/MilogLogProcessMapperTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/mapper/MilogLogProcessMapperTest.java index 931c38b9c..0c5b5bd14 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/mapper/MilogLogProcessMapperTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/mapper/MilogLogProcessMapperTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.mapper; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/AlertProcessorTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/AlertProcessorTest.java index 4845bb721..8d4def348 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/AlertProcessorTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/AlertProcessorTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/DorisLogStorageServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/DorisLogStorageServiceTest.java index 47c78e10a..d8d070ba1 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/DorisLogStorageServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/DorisLogStorageServiceTest.java @@ -1,109 +1,111 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; + +import com.google.gson.Gson; +import com.xiaomi.youpin.docean.Ioc; +import lombok.extern.slf4j.Slf4j; +import org.apache.ozhera.log.manager.model.dto.LogStorageData; +import org.apache.ozhera.log.manager.service.extension.store.DorisLogStorageService; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +import static org.apache.ozhera.log.manager.common.utils.ManagerUtil.getConfigFromNanos; + + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2023/11/10 19:16 */ -//package com.xiaomi.mone.log.manager.service; -// -//import com.google.gson.Gson; -//import com.xiaomi.mone.log.manager.model.dto.LogStorageData; -//import com.xiaomi.mone.log.manager.service.extension.store.DorisLogStorageService; -//import com.xiaomi.youpin.docean.Ioc; -//import lombok.extern.slf4j.Slf4j; -//import org.junit.Assert; -//import org.junit.Before; -//import org.junit.Test; -// -//import java.util.Map; -// -//import static com.xiaomi.mone.log.manager.common.utils.ManagerUtil.getConfigFromNanos; -// -///** -// * @author wtt -// * @version 1.0 -// * @description -// * @date 2023/11/10 19:16 -// */ -//@Slf4j -//public class DorisLogStorageServiceTest { -// -// private DorisLogStorageService dorisLogStorageService; -// private Gson gson; -// -// @Before -// public void before() { -// getConfigFromNanos(); -// Ioc.ins().init("com.xiaomi"); -// dorisLogStorageService = Ioc.ins().getBean(DorisLogStorageService.class); -// gson = new Gson(); -// } -// -// @Test -// public void buildTableName(){ -// Long clusterId = 1L; -// Long storeId = null; -// String tableName = dorisLogStorageService.buildTableName(clusterId, storeId); -// Assert.assertNotNull(tableName); -// } -// -// @Test -// public void createTableTest() throws Exception { -// LogStorageData logStorageData = new LogStorageData(); -// logStorageData.setClusterId(120002L); -// logStorageData.setStoreId(1000234L); -// logStorageData.setLogStoreName("测试logStore存储"); -// logStorageData.setKeys("timestamp:1,level:1,traceId:1,threadName:1,className:1,line:1,methodName:1,message:1,podName:1,mid:2,originMid:2,maxRole:2,logstore:3,logsource:3,mqtopic:3,mqtag:3,logip:3,tail:3,linenumber:3"); -// logStorageData.setColumnTypes("date,keyword,keyword,text,text,keyword,keyword,text,keyword,text,text,text,keyword,keyword,keyword,keyword,keyword,keyword,long"); +@Slf4j +public class DorisLogStorageServiceTest { + + private DorisLogStorageService dorisLogStorageService; + private Gson gson; + + @Before + public void before() { + getConfigFromNanos(); + Ioc.ins().init("com.xiaomi"); + dorisLogStorageService = Ioc.ins().getBean(DorisLogStorageService.class); + gson = new Gson(); + } + + @Test + public void buildTableName() { + Long clusterId = 1L; + Long storeId = null; + String tableName = dorisLogStorageService.buildTableName(clusterId, storeId); + Assert.assertNotNull(tableName); + } + + @Test + public void createTableTest() throws Exception { + LogStorageData logStorageData = new LogStorageData(); + logStorageData.setClusterId(120002L); + logStorageData.setStoreId(1000234L); + logStorageData.setLogStoreName("测试logStore存储"); + logStorageData.setKeys("timestamp:1,level:1,traceId:1,threadName:1,className:1,line:1,methodName:1,message:1,podName:1,mid:2,originMid:2,maxRole:2,logstore:3,logsource:3,mqtopic:3,mqtag:3,logip:3,tail:3,linenumber:3"); + logStorageData.setColumnTypes("date,keyword,keyword,text,text,keyword,keyword,text,keyword,text,text,text,keyword,keyword,keyword,keyword,keyword,keyword,long"); // boolean table = dorisLogStorageService.createTable(logStorageData); // Assert.assertTrue(table); -// -// } -// -// @Test -// public void testBuildFieldMap() { -// String keys = "timestamp:1,level:1,traceId:1,threadName:1,className:1,line:1,methodName:1,message:1,podName:1,mid:2,originMid:2,maxRole:2,logstore:3,logsource:3,mqtopic:3,mqtag:3,logip:3,tail:3,linenumber:3"; -// String columnTypes = "date,keyword,keyword,text,text,keyword,keyword,text,keyword,text,text,text,keyword,keyword,keyword,keyword,keyword,keyword,long"; + + } + + @Test + public void testBuildFieldMap() { + String keys = "timestamp:1,level:1,traceId:1,threadName:1,className:1,line:1,methodName:1,message:1,podName:1,mid:2,originMid:2,maxRole:2,logstore:3,logsource:3,mqtopic:3,mqtag:3,logip:3,tail:3,linenumber:3"; + String columnTypes = "date,keyword,keyword,text,text,keyword,keyword,text,keyword,text,text,text,keyword,keyword,keyword,keyword,keyword,keyword,long"; // Map fieldMap = dorisLogStorageService.buildFieldMap(keys, columnTypes); // log.info("result:{}", gson.toJson(fieldMap)); // Assert.assertNotNull(fieldMap); -// } -// -// @Test -// public void updateTableTest() throws Exception { -// String keys = "timestamp:1,level:1,traceId:1,threadName:1,className:1,line:1,methodName:1,message:1,podName:1,mid:2,originMid:2,maxRole:2,logstore:3,logsource:3,mqtopic:3,mqtag:3,logip:3,tail:3,linenumber:3"; -// String columnTypes = "date,keyword,keyword,text,text,keyword,keyword,text,keyword,text,text,text,keyword,keyword,keyword,keyword,keyword,keyword,long"; -// String updateKeys = "timestamp:1,level:1,traceId:1,threadName:1,className:1,line:1,methodName:1,message:1,podName:1,mid:2,originMid:2,maxRole:2,logstore:3,logsource:3,mqtopic:3,mqtag:3,logip:3,tail:3,linenumber:3,test2:1"; -// String updateColumnTypes = "date,keyword,keyword,text,text,keyword,keyword,text,keyword,text,text,text,keyword,keyword,keyword,keyword,keyword,keyword,long,text"; -// LogStorageData logStorageData = new LogStorageData(); -// logStorageData.setClusterId(120002L); -// logStorageData.setStoreId(10005L); -// logStorageData.setLogStoreName("测试logStore存储"); -// logStorageData.setKeys(keys); -// logStorageData.setColumnTypes(columnTypes); -// logStorageData.setUpdateKeys(updateKeys); -// logStorageData.setUpdateColumnTypes(updateColumnTypes); + } + + @Test + public void updateTableTest() throws Exception { + String keys = "timestamp:1,level:1,traceId:1,threadName:1,className:1,line:1,methodName:1,message:1,podName:1,mid:2,originMid:2,maxRole:2,logstore:3,logsource:3,mqtopic:3,mqtag:3,logip:3,tail:3,linenumber:3"; + String columnTypes = "date,keyword,keyword,text,text,keyword,keyword,text,keyword,text,text,text,keyword,keyword,keyword,keyword,keyword,keyword,long"; + String updateKeys = "timestamp:1,level:1,traceId:1,threadName:1,className:1,line:1,methodName:1,message:1,podName:1,mid:2,originMid:2,maxRole:2,logstore:3,logsource:3,mqtopic:3,mqtag:3,logip:3,tail:3,linenumber:3,test2:1"; + String updateColumnTypes = "date,keyword,keyword,text,text,keyword,keyword,text,keyword,text,text,text,keyword,keyword,keyword,keyword,keyword,keyword,long,text"; + LogStorageData logStorageData = new LogStorageData(); + logStorageData.setClusterId(120002L); + logStorageData.setStoreId(10005L); + logStorageData.setLogStoreName("测试logStore存储"); + logStorageData.setKeys(keys); + logStorageData.setColumnTypes(columnTypes); + logStorageData.setUpdateKeys(updateKeys); + logStorageData.setUpdateColumnTypes(updateColumnTypes); // boolean table = dorisLogStorageService.updateTable(logStorageData); // Assert.assertTrue(table); -// } -// -// @Test -// public void deleteTableTest() throws Exception { -// LogStorageData logStorageData = new LogStorageData(); -// logStorageData.setClusterId(120002L); -// logStorageData.setStoreId(10005L); -// logStorageData.setLogStoreName("测试logStore存储"); + } + + @Test + public void deleteTableTest() throws Exception { + LogStorageData logStorageData = new LogStorageData(); + logStorageData.setClusterId(120002L); + logStorageData.setStoreId(10005L); + logStorageData.setLogStoreName("测试logStore存储"); // boolean table = dorisLogStorageService.deleteTable(logStorageData); // Assert.assertTrue(table); -// } -// -//} + } + +} diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/EsDataServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/EsDataServiceTest.java index a4c909785..111106ac5 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/EsDataServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/EsDataServiceTest.java @@ -1,66 +1,67 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; + +import com.google.common.collect.Lists; +import com.google.gson.Gson; +import com.xiaomi.youpin.docean.Ioc; +import lombok.extern.slf4j.Slf4j; +import org.apache.ozhera.log.manager.model.vo.LogQuery; +import org.apache.ozhera.log.manager.service.impl.EsDataServiceImpl; +import org.junit.Before; +import org.junit.Test; + +import static org.apache.ozhera.log.manager.common.utils.ManagerUtil.getConfigFromNanos; + + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2023/11/14 11:24 */ -//package com.xiaomi.mone.log.manager.service; -// -//import com.google.common.collect.Lists; -//import com.google.gson.Gson; -//import com.xiaomi.mone.log.common.Result; -//import com.xiaomi.mone.log.manager.model.dto.LogDTO; -//import com.xiaomi.mone.log.manager.model.vo.LogQuery; -//import com.xiaomi.mone.log.manager.service.impl.EsDataServiceImpl; -//import com.xiaomi.youpin.docean.Ioc; -//import lombok.extern.slf4j.Slf4j; -//import org.junit.Assert; -//import org.junit.Before; -//import org.junit.Test; -// -//import static com.xiaomi.mone.log.manager.common.utils.ManagerUtil.getConfigFromNanos; -// -///** -// * @author wtt -// * @version 1.0 -// * @description -// * @date 2023/11/14 11:24 -// */ -//@Slf4j -//public class EsDataServiceTest { -// private EsDataServiceImpl esDataService; -// private Gson gson; -// -// @Before -// public void before() { -// getConfigFromNanos(); -// Ioc.ins().init("com.xiaomi"); -// esDataService = Ioc.ins().getBean(EsDataServiceImpl.class); -// gson = new Gson(); -// } -// -// @Test -// public void testQuery() { -// LogQuery logQuery = new LogQuery(); -// logQuery.setStoreId(120042L); -// logQuery.setTailIds(Lists.newArrayList(90028L)); -// logQuery.setTail("hera-app"); -// logQuery.setStartTime(1699427646178L); -// logQuery.setEndTime(1699958631197L); -// logQuery.setPage(1); -// logQuery.setPageSize(100); -// logQuery.setFullTextSearch("level=\"ERROR\""); -// +@Slf4j +public class EsDataServiceTest { + private EsDataServiceImpl esDataService; + private Gson gson; + + @Before + public void before() { + getConfigFromNanos(); + Ioc.ins().init("com.xiaomi"); + esDataService = Ioc.ins().getBean(EsDataServiceImpl.class); + gson = new Gson(); + } + + @Test + public void testQuery() { + LogQuery logQuery = new LogQuery(); + logQuery.setStoreId(120042L); + logQuery.setTailIds(Lists.newArrayList(90028L)); + logQuery.setTail("hera-app"); + logQuery.setStartTime(1699427646178L); + logQuery.setEndTime(1699958631197L); + logQuery.setPage(1); + logQuery.setPageSize(100); + logQuery.setFullTextSearch("level=\"ERROR\""); + // Result logDTOResult = esDataService.logQuery(logQuery); // Assert.assertNotNull(logDTOResult); -// } -//} + } +} diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/FlinkAlphaServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/FlinkAlphaServiceTest.java index 91f226d8e..00c8f08ed 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/FlinkAlphaServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/FlinkAlphaServiceTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/KafkaMqConfigServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/KafkaMqConfigServiceTest.java index 22ac6fab3..94f08dc5c 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/KafkaMqConfigServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/KafkaMqConfigServiceTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/MilogAppMiddlewareRelDaoTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/MilogAppMiddlewareRelDaoTest.java index 08af32682..b360fe2ba 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/MilogAppMiddlewareRelDaoTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/MilogAppMiddlewareRelDaoTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/SendAlertLinkTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/SendAlertLinkTest.java index 76d3ed5e2..4f39fd706 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/SendAlertLinkTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/SendAlertLinkTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/StatisticsServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/StatisticsServiceTest.java index 77269dcc0..31b3ef215 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/StatisticsServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/StatisticsServiceTest.java @@ -1,75 +1,65 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; + +import com.google.gson.Gson; +import com.xiaomi.youpin.docean.Ioc; +import lombok.extern.slf4j.Slf4j; +import org.apache.ozhera.log.common.Result; +import org.apache.ozhera.log.manager.model.dto.EsStatisticsKeyWord; +import org.apache.ozhera.log.manager.model.vo.LogQuery; +import org.apache.ozhera.log.manager.service.impl.StatisticsServiceImpl; +import org.junit.Before; +import org.junit.Test; + +import java.util.List; + +import static org.apache.ozhera.log.manager.common.utils.ManagerUtil.getConfigFromNanos; +import static org.apache.ozhera.log.manager.user.MoneUserDetailService.GSON; + + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2023/6/9 14:38 */ -///* -// * Copyright (C) 2020 Xiaomi Corporation -// * -// * Licensed 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 com.xiaomi.mone.log.manager.service; -// -//import com.google.gson.Gson; -//import com.xiaomi.mone.log.common.Result; -//import com.xiaomi.mone.log.manager.model.dto.EsStatisticsKeyWord; -//import com.xiaomi.mone.log.manager.model.vo.LogQuery; -//import com.xiaomi.youpin.docean.Ioc; -//import lombok.extern.slf4j.Slf4j; -//import org.junit.Before; -//import org.junit.Test; -// -//import java.util.List; -// -//import static com.xiaomi.mone.log.common.Constant.GSON; -//import static com.xiaomi.mone.log.manager.common.utils.ManagerUtil.getConfigFromNanos; -// -///** -// * @author wtt -// * @version 1.0 -// * @description -// * @date 2023/6/9 14:38 -// */ -//@Slf4j -//public class StatisticsServiceTest { -// -// private StatisticsServiceImpl statisticsService; -// private Gson gson; -// -// @Before -// public void before() { -// getConfigFromNanos(); -// Ioc.ins().init("com.xiaomi"); -// statisticsService = Ioc.ins().getBean(StatisticsServiceImpl.class); -// gson = new Gson(); -// } -// -// @Test -// public void queryEsStatisticsRationTest() { -// String str = "{\"spaceId\":\"34\",\"storeId\":81,\"area\":\"cn\",\"tail\":\"\",\"logstore\":\"tesla_gateway\",\"startTime\":1686813900596,\"endTime\":1686817500999,\"fullTextSearch\":\"\",\"page\":1,\"pageSize\":20,\"beginSortValue\":null,\"sortKey\":\"timestamp\",\"asc\":\"false\",\"appIds\":[452,1512,1512,754,1512,1512,1512,4,4,4,4,1512,1512]}"; -// LogQuery logQuery = GSON.fromJson(str, LogQuery.class); -// Result> esStatisticsRation = statisticsService.queryEsStatisticsRation(logQuery); -// log.info("result:{}", GSON.toJson(esStatisticsRation)); -// } -// -//} +@Slf4j +public class StatisticsServiceTest { + + private StatisticsServiceImpl statisticsService; + private Gson gson; + + @Before + public void before() { + getConfigFromNanos(); + Ioc.ins().init("com.xiaomi"); + statisticsService = Ioc.ins().getBean(StatisticsServiceImpl.class); + gson = new Gson(); + } + + @Test + public void queryEsStatisticsRationTest() { + String str = "{\"spaceId\":\"34\",\"storeId\":81,\"area\":\"cn\",\"tail\":\"\",\"logstore\":\"tesla_gateway\",\"startTime\":1686813900596,\"endTime\":1686817500999,\"fullTextSearch\":\"\",\"page\":1,\"pageSize\":20,\"beginSortValue\":null,\"sortKey\":\"timestamp\",\"asc\":\"false\",\"appIds\":[452,1512,1512,754,1512,1512,1512,4,4,4,4,1512,1512]}"; + LogQuery logQuery = GSON.fromJson(str, LogQuery.class); + Result> esStatisticsRation = statisticsService.queryEsStatisticsRation(logQuery); + log.info("result:{}", GSON.toJson(esStatisticsRation)); + } + +} diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/TpcTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/TpcTest.java index 93ed4561e..e9e5c6699 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/TpcTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/TpcTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/EsIndexTemplateServiceImplTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/EsIndexTemplateServiceImplTest.java index ba96e19e7..299b8e7d3 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/EsIndexTemplateServiceImplTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/EsIndexTemplateServiceImplTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogProcessServiceImplTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogProcessServiceImplTest.java index 30ce3d978..88854e7d6 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogProcessServiceImplTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogProcessServiceImplTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogStoreServiceImplTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogStoreServiceImplTest.java index db9fe0ea0..85aaa0a71 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogStoreServiceImplTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogStoreServiceImplTest.java @@ -1,59 +1,63 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.xiaomi.youpin.docean.Ioc; +import lombok.extern.slf4j.Slf4j; +import org.apache.ozhera.log.common.Result; +import org.apache.ozhera.log.manager.model.vo.LogStoreParam; +import org.junit.Assert; +import org.junit.Before; +import org.junit.Test; + +import static org.apache.ozhera.log.manager.common.utils.ManagerUtil.getConfigFromNanos; + + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2023/11/14 11:27 */ -//package com.xiaomi.mone.log.manager.service.impl; -// -//import com.google.gson.Gson; -//import com.google.gson.GsonBuilder; -//import com.xiaomi.mone.log.common.Result; -//import com.xiaomi.mone.log.manager.model.vo.LogStoreParam; -//import com.xiaomi.youpin.docean.Ioc; -//import lombok.extern.slf4j.Slf4j; -//import org.junit.Assert; -//import org.junit.Before; -//import org.junit.Test; -// -//import static com.xiaomi.mone.log.manager.common.utils.ManagerUtil.getConfigFromNanos; -// -///** -// * @author wtt -// * @version 1.0 -// * @description -// * @date 2023/11/14 11:27 -// */ -//@Slf4j -//public class LogStoreServiceImplTest { -// -// private LogStoreServiceImpl logStoreService; -// private Gson gson; -// -// @Before -// public void before() { -// getConfigFromNanos(); -// Ioc.ins().init("com.xiaomi"); -// logStoreService = Ioc.ins().getBean(LogStoreServiceImpl.class); -// GsonBuilder gsonBuilder = new GsonBuilder(); -// gsonBuilder.serializeSpecialFloatingPointValues(); -// gson = gsonBuilder.create(); -// } -// -// @Test -// public void createStoreTest() { -// String createStr = "{\"spaceId\":2,\"logType\":1,\"logstoreName\":\"测试创建2doris\",\"shardCnt\":1,\"esResourceId\":120002,\"mqResourceId\":null,\"selectCustomIndex\":false,\"keysName\":\"\",\"storePeriod\":7,\"machineRoom\":\"cn\",\"keyList\":\"timestamp:1,level:1,traceId:1,threadName:1,className:1,line:1,methodName:1,message:1,podName:1,logstore:3,logsource:3,mqtopic:3,mqtag:3,logip:3,tail:3,linenumber:3\",\"columnTypeList\":\"date,keyword,keyword,text,text,keyword,keyword,text,keyword,keyword,keyword,keyword,keyword,keyword,keyword,long\"}"; -// LogStoreParam logStoreParam = gson.fromJson(createStr, LogStoreParam.class); -// Result stringResult = logStoreService.newLogStore(logStoreParam); -// Assert.assertNotNull(stringResult); -// } -//} +@Slf4j +public class LogStoreServiceImplTest { + + private LogStoreServiceImpl logStoreService; + private Gson gson; + + @Before + public void before() { + getConfigFromNanos(); + Ioc.ins().init("com.xiaomi"); + logStoreService = Ioc.ins().getBean(LogStoreServiceImpl.class); + GsonBuilder gsonBuilder = new GsonBuilder(); + gsonBuilder.serializeSpecialFloatingPointValues(); + gson = gsonBuilder.create(); + } + + @Test + public void createStoreTest() { + String createStr = "{\"spaceId\":2,\"logType\":1,\"logstoreName\":\"测试创建2doris\",\"shardCnt\":1,\"esResourceId\":120002,\"mqResourceId\":null,\"selectCustomIndex\":false,\"keysName\":\"\",\"storePeriod\":7,\"machineRoom\":\"cn\",\"keyList\":\"timestamp:1,level:1,traceId:1,threadName:1,className:1,line:1,methodName:1,message:1,podName:1,logstore:3,logsource:3,mqtopic:3,mqtag:3,logip:3,tail:3,linenumber:3\",\"columnTypeList\":\"date,keyword,keyword,text,text,keyword,keyword,text,keyword,keyword,keyword,keyword,keyword,keyword,keyword,long\"}"; + LogStoreParam logStoreParam = gson.fromJson(createStr, LogStoreParam.class); + Result stringResult = logStoreService.newLogStore(logStoreParam); + Assert.assertNotNull(stringResult); + } +} diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImplTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImplTest.java index 32fa9a757..5ac048e8a 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImplTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImplTest.java @@ -1,83 +1,72 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; + +import com.google.gson.Gson; +import com.xiaomi.youpin.docean.Ioc; +import lombok.extern.slf4j.Slf4j; +import org.apache.ozhera.log.api.enums.LogStructureEnum; +import org.apache.ozhera.log.common.Result; +import org.apache.ozhera.log.manager.model.bo.MlogParseParam; +import org.junit.Before; +import org.junit.Test; + +import static org.apache.ozhera.log.manager.common.utils.ManagerUtil.getConfigFromNanos; + + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2023/6/13 15:06 */ -///* -// * Copyright (C) 2020 Xiaomi Corporation -// * -// * Licensed 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 com.xiaomi.mone.log.manager.service.impl; -// -//import com.google.gson.Gson; -//import com.xiaomi.mone.log.api.enums.LogStructureEnum; -//import com.xiaomi.mone.log.common.Result; -//import com.xiaomi.mone.log.manager.model.bo.MlogParseParam; -//import com.xiaomi.youpin.docean.Ioc; -//import lombok.extern.slf4j.Slf4j; -//import org.junit.Before; -//import org.junit.Test; -// -//import static com.xiaomi.mone.log.manager.common.utils.ManagerUtil.getConfigFromNanos; -// -///** -// * @author wtt -// * @version 1.0 -// * @description -// * @date 2023/6/13 15:06 -// */ -//@Slf4j -//public class LogTailServiceImplTest { -// -// private LogTailServiceImpl logTailService; -// private Gson gson; -// -// @Before -// public void before() { -// getConfigFromNanos(); -// Ioc.ins().init("com.xiaomi"); -// logTailService = Ioc.ins().getBean(LogTailServiceImpl.class); -// gson = new Gson(); -// } -// -// @Test -// public void deleteConfigRemoteTest() { -// Long spaceId = 2L; -// Long id = 284L; -// String motorRoomEn = "cn"; -// LogStructureEnum logStructureEnum = LogStructureEnum.TAIL; -// logTailService.deleteConfigRemote(spaceId, id, motorRoomEn, logStructureEnum); -// log.info("deleteConfigRemoteTest"); -// } -// -// @Test -// public void parseExampleTest() { -// MlogParseParam mlogParseParam = new MlogParseParam(); -// mlogParseParam.setParseType(5); -// mlogParseParam.setParseScript("%s-[%s]-[%s]-%s-[%s]-[%s]-[%s]-%s"); -// mlogParseParam.setMsg("2023-07-19 09:48:54.178 [dk-fdf] [127.0.0.1] INFO [http-nio-8051-exec-166] [com.xiaomi.duokan.api.fiction.common.aspect.PerfCountAspectImpl#doAround:57] [f17c2f4e2f1d29d5015931e682abe400] FictionFeignClient.batchQueryFictionScore costTime:4"); -// Result objectResult = logTailService.parseExample(mlogParseParam); -// log.info("result:{}", objectResult); -// } -//} +@Slf4j +public class LogTailServiceImplTest { + + private LogTailServiceImpl logTailService; + private Gson gson; + + @Before + public void before() { + getConfigFromNanos(); + Ioc.ins().init("com.xiaomi"); + logTailService = Ioc.ins().getBean(LogTailServiceImpl.class); + gson = new Gson(); + } + + @Test + public void deleteConfigRemoteTest() { + Long spaceId = 2L; + Long id = 284L; + String motorRoomEn = "cn"; + LogStructureEnum logStructureEnum = LogStructureEnum.TAIL; + logTailService.deleteConfigRemote(spaceId, id, motorRoomEn, logStructureEnum); + log.info("deleteConfigRemoteTest"); + } + + @Test + public void parseExampleTest() { + MlogParseParam mlogParseParam = new MlogParseParam(); + mlogParseParam.setParseType(5); + mlogParseParam.setParseScript("%s-[%s]-[%s]-%s-[%s]-[%s]-[%s]-%s"); + mlogParseParam.setMsg("2023-07-19 09:48:54.178 [dk-fdf] [127.0.0.1] INFO [http-nio-8051-exec-166] [com.xiaomi.duokan.api.fiction.common.aspect.PerfCountAspectImpl#doAround:57] [f17c2f4e2f1d29d5015931e682abe400] FictionFeignClient.batchQueryFictionScore costTime:4"); + Result objectResult = logTailService.parseExample(mlogParseParam); + log.info("result:{}", objectResult); + } +} diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogTemplateServiceImplTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogTemplateServiceImplTest.java index b8993848e..e5a6ede36 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogTemplateServiceImplTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/LogTemplateServiceImplTest.java @@ -1,63 +1,51 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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. */ -///* -// * Copyright (C) 2020 Xiaomi Corporation -// * -// * Licensed 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 com.xiaomi.mone.log.manager.service.impl; -// -//import com.xiaomi.mone.log.common.Result; -//import com.xiaomi.mone.log.manager.model.dto.LogTemplateDTO; -//import com.xiaomi.mone.log.manager.model.dto.LogTemplateDetailDTO; -//import com.xiaomi.youpin.docean.Ioc; -//import org.junit.Before; -//import org.junit.Test; -// -//import java.util.List; -// -//public class LogTemplateServiceImplTest { -// private LogTemplateServiceImpl logTemplateService; -// -// @Before -// public void initFiled() { -// Ioc.ins().init("com.xiaomi"); -// logTemplateService = Ioc.ins().getBean(LogTemplateServiceImpl.class); -// } -// -// @Test -// public void getLogTemplateList() { -// Result> logTemplateList = logTemplateService.getLogTemplateList("cn"); -// System.out.println(logTemplateList.getData()); -// } -// -// @Test -// public void getLogTemplateById() { -// Result logtemplate = logTemplateService.getLogTemplateById(84); -// System.out.println(logtemplate); -// } -// -//} \ No newline at end of file +package org.apache.ozhera.log.manager.service.impl; + +import com.xiaomi.youpin.docean.Ioc; +import org.apache.ozhera.log.common.Result; +import org.apache.ozhera.log.manager.model.dto.LogTemplateDTO; +import org.apache.ozhera.log.manager.model.dto.LogTemplateDetailDTO; +import org.junit.Before; +import org.junit.Test; + +import java.util.List; + +public class LogTemplateServiceImplTest { + private LogTemplateServiceImpl logTemplateService; + + @Before + public void initFiled() { + Ioc.ins().init("com.xiaomi"); + logTemplateService = Ioc.ins().getBean(LogTemplateServiceImpl.class); + } + + @Test + public void getLogTemplateList() { + Result> logTemplateList = logTemplateService.getLogTemplateList("cn"); + System.out.println(logTemplateList.getData()); + } + + @Test + public void getLogTemplateById() { + Result logtemplate = logTemplateService.getLogTemplateById(84); + System.out.println(logtemplate); + } + +} \ No newline at end of file diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MiLogMetaManageServiceImplTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MiLogMetaManageServiceImplTest.java index e2b1ae561..6671e6b4e 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MiLogMetaManageServiceImplTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MiLogMetaManageServiceImplTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogAgentServiceImplTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogAgentServiceImplTest.java index 015e61fcf..b8d26c885 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogAgentServiceImplTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogAgentServiceImplTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogLogTailServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogLogTailServiceTest.java index 4cc195397..49a944a7d 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogLogTailServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogLogTailServiceTest.java @@ -1,64 +1,81 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; +import com.google.common.collect.Lists; +import com.google.gson.Gson; +import com.xiaomi.youpin.docean.Ioc; +import lombok.extern.slf4j.Slf4j; +import org.apache.ozhera.log.manager.mapper.MilogLogTemplateMapper; +import org.apache.ozhera.log.manager.service.bind.LogTypeProcessor; +import org.apache.ozhera.log.manager.service.bind.LogTypeProcessorFactory; +import org.junit.Before; +import org.junit.Test; + +import java.util.List; +import java.util.Objects; +import java.util.stream.Collectors; + /** * @author wtt * @version 1.0 * @description * @date 2022/3/28 20:47 */ -//@Slf4j -//public class MilogLogTailServiceTest { -// -// private Gson gson = new Gson(); -// private LogTailServiceImpl milogLogtailService; -// private LogTypeProcessorFactory logTypeProcessorFactory; -// private MilogLogTemplateMapper milogLogTemplateMapper; -// -// @Before -// public void init() { -// Ioc.ins().init("com.xiaomi"); -// milogLogtailService = Ioc.ins().getBean(LogTailServiceImpl.class); -// logTypeProcessorFactory = Ioc.ins().getBean(LogTypeProcessorFactory.class); -// milogLogTemplateMapper = Ioc.ins().getBean(MilogLogTemplateMapper.class); -// } -// -// -// @Test -// public void testFactory() { -// logTypeProcessorFactory.setMilogLogTemplateMapper(milogLogTemplateMapper); -// LogTypeProcessor logTypeProcessor = logTypeProcessorFactory.getLogTypeProcessor(); +@Slf4j +public class MilogLogTailServiceTest { + + private Gson gson = new Gson(); + private LogTailServiceImpl milogLogtailService; + private LogTypeProcessorFactory logTypeProcessorFactory; + private MilogLogTemplateMapper milogLogTemplateMapper; + + @Before + public void init() { + Ioc.ins().init("com.xiaomi"); + milogLogtailService = Ioc.ins().getBean(LogTailServiceImpl.class); + logTypeProcessorFactory = Ioc.ins().getBean(LogTypeProcessorFactory.class); + milogLogTemplateMapper = Ioc.ins().getBean(MilogLogTemplateMapper.class); + } + + + @Test + public void testFactory() { + logTypeProcessorFactory.setMilogLogTemplateMapper(milogLogTemplateMapper); + LogTypeProcessor logTypeProcessor = logTypeProcessorFactory.getLogTypeProcessor(); // boolean supportedConsume = logTypeProcessor.supportedConsume(LogTypeEnum.APP_LOG_MULTI.getType()); // log.info("supportedConsume:{}", supportedConsume); -// } -// -// @Test -// public void getList() { -// Ioc.ins().init("com.xiaomi"); -// Long tailId = 620L; -// List podList = Lists.newArrayList("127.0.0.1", "127.0.0.1"); -//// milogLogtailService.k8sPodIpsSend(tailId, podList, Collections.EMPTY_LIST, 1); -// } -// -// @Test -// public void test_stream() { -// List list = Lists.newArrayList("1", "2", "3", "4", "10"); -// List newList = list.stream().filter(s -> !Objects.equals(s, "3")).collect(Collectors.toList()); -// System.out.println(list); -// } -// -//} + } + + @Test + public void getList() { + Ioc.ins().init("com.xiaomi"); + Long tailId = 620L; + List podList = Lists.newArrayList("127.0.0.1", "127.0.0.1"); +// milogLogtailService.k8sPodIpsSend(tailId, podList, Collections.EMPTY_LIST, 1); + } + + @Test + public void test_stream() { + List list = Lists.newArrayList("1", "2", "3", "4", "10"); + List newList = list.stream().filter(s -> !Objects.equals(s, "3")).collect(Collectors.toList()); + System.out.println(list); + } + +} diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogMiddlewareConfigServiceImplTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogMiddlewareConfigServiceImplTest.java index 61e77043a..82c4df72c 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogMiddlewareConfigServiceImplTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogMiddlewareConfigServiceImplTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogOpenServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogOpenServiceTest.java index 3910b0bdd..a34053dc3 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogOpenServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MilogOpenServiceTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MqConfigServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MqConfigServiceTest.java index 5ba021855..37c2b465c 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MqConfigServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/MqConfigServiceTest.java @@ -1,140 +1,123 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; + +import com.google.gson.Gson; +import com.xiaomi.youpin.docean.Ioc; +import lombok.extern.slf4j.Slf4j; +import org.junit.Test; + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2021/9/23 15:11 */ -///* -// * Copyright (C) 2020 Xiaomi Corporation -// * -// * Licensed 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 com.xiaomi.mone.log.manager.service.impl; -// -//import com.google.gson.Gson; -//import com.xiaomi.mone.log.manager.model.dto.DictionaryDTO; -//import com.xiaomi.mone.log.manager.model.dto.RocketMqResponseDTO; -//import com.xiaomi.mone.log.manager.model.pojo.MilogAppMiddlewareRel; -//import com.xiaomi.youpin.docean.Ioc; -//import lombok.extern.slf4j.Slf4j; -//import org.junit.Test; -// -//import java.util.List; -// -///** -// * @author wtt -// * @version 1.0 -// * @description -// * @date 2021/9/23 15:11 -// */ -//@Slf4j -//public class MqConfigServiceTest { -// -// private Gson gson = new Gson(); -// -// String ak = ""; -// String sk = "/"; -// String serviceUrl = "http://127.0.0.1"; -// String nameServer = "127.0.0.1:9876"; -// String authorization = ""; -// String orgId = ""; -// String teamId = ""; -// Long appId = 23L; -// String appName = "wudalang"; -// String source = "china"; -// Long spaceId = 234L; -// Long storeId = 456L; -// Long tailId = 789L; -// -// @Test -// public void testTalosCreateTopic() { -// Ioc.ins().init("com.xiaomi"); -// } -// -// -// @Test -// public void testTalosCreateTopicTag() { -// Ioc.ins().init("com.xiaomi"); -// } -// -// @Test -// public void testRocketmqCreateTopicTag() { -// Ioc.ins().init("com.xiaomi"); -// RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); -// String nameServer = "127.0.0.1:9876"; +@Slf4j +public class MqConfigServiceTest { + + private Gson gson = new Gson(); + + String ak = ""; + String sk = "/"; + String serviceUrl = "http://127.0.0.1"; + String nameServer = "127.0.0.1:9876"; + String authorization = ""; + String orgId = ""; + String teamId = ""; + Long appId = 23L; + String appName = "wudalang"; + String source = "china"; + Long spaceId = 234L; + Long storeId = 456L; + Long tailId = 789L; + + @Test + public void testTalosCreateTopic() { + Ioc.ins().init("com.xiaomi"); + } + + + @Test + public void testTalosCreateTopicTag() { + Ioc.ins().init("com.xiaomi"); + } + + @Test + public void testRocketmqCreateTopicTag() { + Ioc.ins().init("com.xiaomi"); + RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); + String nameServer = "127.0.0.1:9876"; // List commonTagTopic = mqConfigService.createCommonTagTopic( // ak, sk, nameServer, serviceUrl, "", orgId, teamId); // log.info("assemble common topic tag:{}", gson.toJson(commonTagTopic)); -// } -// -// @Test -// public void testTalosQueryTopic() { -// Ioc.ins().init("com.xiaomi"); -// } -// -// @Test -// public void testRockerMqQueryTopic() { -// Ioc.ins().init("com.xiaomi"); -// RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); + } + + @Test + public void testTalosQueryTopic() { + Ioc.ins().init("com.xiaomi"); + } + + @Test + public void testRockerMqQueryTopic() { + Ioc.ins().init("com.xiaomi"); + RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); // List dictionaryDTOS = mqConfigService.queryExistsTopic(ak, sk, "", serviceUrl, "", orgId, teamId); // System.out.println(dictionaryDTOS); -// } -// -// @Test -// public void testMqChooseTopic() { -// Ioc.ins().init("com.xiaomi"); -// RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); + } + + @Test + public void testMqChooseTopic() { + Ioc.ins().init("com.xiaomi"); + RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); // MilogAppMiddlewareRel.Config config = mqConfigService.generateConfig(ak, sk, nameServer, serviceUrl, authorization, orgId, teamId, appId, appName, source, 12L); // System.out.println(config); -// } -// -// -// @Test -// public void testMqCreateGroup() { -// Ioc.ins().init("com.xiaomi"); -// RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); + } + + + @Test + public void testMqCreateGroup() { + Ioc.ins().init("com.xiaomi"); + RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); // boolean isSuccess = mqConfigService.createSubscribeGroup(serviceUrl, authorization, orgId, spaceId, storeId, tailId, null); // System.out.println(isSuccess); -// } -// -// @Test -// public void testQuerySubGroup() { -// Ioc.ins().init("com.xiaomi"); -// RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); + } + + @Test + public void testQuerySubGroup() { + Ioc.ins().init("com.xiaomi"); + RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); // List subGroupList = mqConfigService.querySubGroupList(serviceUrl, authorization, orgId); // System.out.println(gson.toJson(subGroupList)); -// } -// -// @Test -// public void testMqDeleteGroup() { -// Ioc.ins().init("com.xiaomi"); -// RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); + } + + @Test + public void testMqDeleteGroup() { + Ioc.ins().init("com.xiaomi"); + RocketMqConfigService mqConfigService = Ioc.ins().getBean(RocketMqConfigService.class); // boolean isSuccess = mqConfigService.deleteSubscribeGroup(serviceUrl, authorization, orgId, spaceId, storeId, tailId); // System.out.println(isSuccess); -// } -// -// @Test -// public void testTalosDeleteTopic() { -// String topicName = ""; -// Ioc.ins().init("com.xiaomi"); -// } -//} + } + + @Test + public void testTalosDeleteTopic() { + String topicName = ""; + Ioc.ins().init("com.xiaomi"); + } +} diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/TraceLogServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/TraceLogServiceTest.java index 73b231d8a..623eca140 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/TraceLogServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/service/impl/TraceLogServiceTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.service.impl; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/ConfigNacosServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/ConfigNacosServiceTest.java index 7ed6ceed4..b6afcffd6 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/ConfigNacosServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/ConfigNacosServiceTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.test; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/CustomObjectTypeAdapter.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/CustomObjectTypeAdapter.java index 23ab26506..25376c42e 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/CustomObjectTypeAdapter.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/CustomObjectTypeAdapter.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.test; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/IntrospectorTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/IntrospectorTest.java index 54e77600c..088953cb5 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/IntrospectorTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/IntrospectorTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.test; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/MilogConfigServiceTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/MilogConfigServiceTest.java index 95dc8377b..7a2f49895 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/MilogConfigServiceTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/MilogConfigServiceTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.test; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/SimpleTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/SimpleTest.java index aaf65b5d9..8cb97b5ea 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/SimpleTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/SimpleTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.test; diff --git a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/StreamTest.java b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/StreamTest.java index 27a2d978a..2b0b434a8 100644 --- a/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/StreamTest.java +++ b/ozhera-log/log-manager/src/test/java/org/apache/ozhera/log/manager/test/StreamTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.manager.test; diff --git a/ozhera-log/log-stream/Dockerfile b/ozhera-log/log-stream/Dockerfile index 552188e17..37673c747 100644 --- a/ozhera-log/log-stream/Dockerfile +++ b/ozhera-log/log-stream/Dockerfile @@ -1,3 +1,17 @@ +# 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. FROM openjdk:21-jdk-bookworm ENV APP_HOME /opt/app diff --git a/ozhera-log/log-stream/pom.xml b/ozhera-log/log-stream/pom.xml index 1442fa04c..3f584e93d 100644 --- a/ozhera-log/log-stream/pom.xml +++ b/ozhera-log/log-stream/pom.xml @@ -1,4 +1,24 @@ + @@ -10,6 +30,7 @@ 4.0.0 log-stream + 1.3-SNAPSHOT 21 diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/bootstrap/MiLogStreamBootstrap.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/bootstrap/MiLogStreamBootstrap.java index 8f7790f19..83eab9885 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/bootstrap/MiLogStreamBootstrap.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/bootstrap/MiLogStreamBootstrap.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.bootstrap; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/bootstrap/StreamManage.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/bootstrap/StreamManage.java index 82f81a9f8..4810d9f0b 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/bootstrap/StreamManage.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/bootstrap/StreamManage.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.bootstrap; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/LogStreamConstants.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/LogStreamConstants.java index fc9be0785..5923260e9 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/LogStreamConstants.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/LogStreamConstants.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.common; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/SinkJobEnum.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/SinkJobEnum.java index c25d0eda0..1961a1434 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/SinkJobEnum.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/SinkJobEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.common; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/util/StreamUtils.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/util/StreamUtils.java index 11a3f5944..9700d7630 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/util/StreamUtils.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/common/util/StreamUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.common.util; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/config/ConfigManager.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/config/ConfigManager.java index 8dce18c90..0e97d9b32 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/config/ConfigManager.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/config/ConfigManager.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.config; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/config/MilogConfigListener.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/config/MilogConfigListener.java index 345fcda30..e9bf51568 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/config/MilogConfigListener.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/config/MilogConfigListener.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.config; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/exception/StreamException.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/exception/StreamException.java index 0dfc729b7..3f8be4282 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/exception/StreamException.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/exception/StreamException.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.exception; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/JobManager.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/JobManager.java index 869dc4e03..447419d56 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/JobManager.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/JobManager.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogConfig.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogConfig.java index 35c7e42f2..7a714ee69 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogConfig.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogDataTransfer.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogDataTransfer.java index cc79718e0..1bcdb0b06 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogDataTransfer.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogDataTransfer.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogSendFilter.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogSendFilter.java index 3231002e2..04cc7d289 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogSendFilter.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/LogSendFilter.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/PullConfigJob.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/PullConfigJob.java index 9609c9a30..58717a350 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/PullConfigJob.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/PullConfigJob.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/ServiceRegistryService.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/ServiceRegistryService.java index d2e4cffaa..a73790e99 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/ServiceRegistryService.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/ServiceRegistryService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/SinkJobConfig.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/SinkJobConfig.java index 751245450..ec41152a7 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/SinkJobConfig.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/SinkJobConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/compensate/MqMessageDTO.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/compensate/MqMessageDTO.java index 25d1b2357..182ded364 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/compensate/MqMessageDTO.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/compensate/MqMessageDTO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.compensate; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/compensate/StreamCompensateTask.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/compensate/StreamCompensateTask.java index 64a3db8fd..0619473b2 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/compensate/StreamCompensateTask.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/compensate/StreamCompensateTask.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.compensate; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/CompensateMsgConsume.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/CompensateMsgConsume.java index d8072cc61..a44711e48 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/CompensateMsgConsume.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/CompensateMsgConsume.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/CompensateMsgConsumeProvider.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/CompensateMsgConsumeProvider.java index eff3306aa..7fae32231 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/CompensateMsgConsumeProvider.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/CompensateMsgConsumeProvider.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/DefaultLogSendFilter.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/DefaultLogSendFilter.java index d8cae72f8..427aa0346 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/DefaultLogSendFilter.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/DefaultLogSendFilter.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MQConfig.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MQConfig.java index f0163a6d3..1179f5dd4 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MQConfig.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MQConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MQPlugin.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MQPlugin.java index 23a3f5805..bf2edf44d 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MQPlugin.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MQPlugin.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageLifecycleManager.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageLifecycleManager.java index e105e11d4..cbadc5a5d 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageLifecycleManager.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageLifecycleManager.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSender.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSender.java index ae1ec5cf6..b3e81e54c 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSender.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSender.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSenderFactory.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSenderFactory.java index ea33f5ad5..00dbff4b3 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSenderFactory.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSenderFactory.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSenderProvider.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSenderProvider.java index 4f3c99625..a6ae6ed41 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSenderProvider.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MessageSenderProvider.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MqMessagePostProcessing.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MqMessagePostProcessing.java index 5a473d07d..99223c91d 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MqMessagePostProcessing.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MqMessagePostProcessing.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MqMessageProduct.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MqMessageProduct.java index 28461809b..052e44fbb 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MqMessageProduct.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/MqMessageProduct.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/SinkJob.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/SinkJob.java index 620da7b68..b0ba1a791 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/SinkJob.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/SinkJob.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/SinkJobProvider.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/SinkJobProvider.java index 71448d8bd..2c3af8c8e 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/SinkJobProvider.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/SinkJobProvider.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/StreamCommonExtension.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/StreamCommonExtension.java index e1f5c844d..69b639755 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/StreamCommonExtension.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/StreamCommonExtension.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DefaultMessageLifecycleManager.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DefaultMessageLifecycleManager.java index b2b978a34..bc42237d9 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DefaultMessageLifecycleManager.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DefaultMessageLifecycleManager.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.impl; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DefaultStreamCommonExtension.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DefaultStreamCommonExtension.java index 9dd41103b..07047a8e9 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DefaultStreamCommonExtension.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DefaultStreamCommonExtension.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.impl; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DorisMessageSender.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DorisMessageSender.java index d51b4acdf..c079c8497 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DorisMessageSender.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/DorisMessageSender.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.impl; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/EsMessageSender.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/EsMessageSender.java index 9aa4f2ba9..2e53d620d 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/EsMessageSender.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/EsMessageSender.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.impl; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketCompensateMsgConsume.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketCompensateMsgConsume.java index 3cf6596a9..c1c0d762d 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketCompensateMsgConsume.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketCompensateMsgConsume.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.impl; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqCompensateMsgConsumeProvider.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqCompensateMsgConsumeProvider.java index 9a6f5310d..91e0778db 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqCompensateMsgConsumeProvider.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqCompensateMsgConsumeProvider.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.impl; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqMessagePostProcessing.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqMessagePostProcessing.java index 9d8d5883e..bad0a3cdd 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqMessagePostProcessing.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqMessagePostProcessing.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.impl; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqMessageProduct.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqMessageProduct.java index 4e0215695..d3f3c4cc2 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqMessageProduct.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/impl/RocketMqMessageProduct.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.impl; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaConfig.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaConfig.java index 340ac0a29..b9776d782 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaConfig.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.kafka; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaConsumerRunner.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaConsumerRunner.java index dceecd23d..08f036f9f 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaConsumerRunner.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaConsumerRunner.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.kafka; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaMqMessagePostProcessing.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaMqMessagePostProcessing.java index 99f74dfa9..23d901cf6 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaMqMessagePostProcessing.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaMqMessagePostProcessing.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.kafka; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaPlugin.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaPlugin.java index f1a6c321c..5ca068be3 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaPlugin.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaPlugin.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.kafka; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaSinkJob.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaSinkJob.java index d106ffaf1..32a1cb571 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaSinkJob.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaSinkJob.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.kafka; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaSinkJobProvider.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaSinkJobProvider.java index dead0738f..aaea9c174 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaSinkJobProvider.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/kafka/KafkaSinkJobProvider.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.kafka; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketMqSinkJob.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketMqSinkJob.java index 1fb9da829..93ef346b3 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketMqSinkJob.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketMqSinkJob.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.rocketmq; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketMqSinkJobProvider.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketMqSinkJobProvider.java index 851f21075..268c47230 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketMqSinkJobProvider.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketMqSinkJobProvider.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.rocketmq; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketmqConfig.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketmqConfig.java index df4ae2f99..6511c1ffc 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketmqConfig.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketmqConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.rocketmq; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketmqPlugin.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketmqPlugin.java index 424e25ca1..a714226fa 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketmqPlugin.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/job/extension/rocketmq/RocketmqPlugin.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.job.extension.rocketmq; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/es/EsConfig.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/es/EsConfig.java index f6716060e..54bb98834 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/es/EsConfig.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/es/EsConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.plugin.es; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/es/EsPlugin.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/es/EsPlugin.java index f3cb8ec34..0f50f4933 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/es/EsPlugin.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/es/EsPlugin.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.plugin.es; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/nacos/LevelFilterConfigListener.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/nacos/LevelFilterConfigListener.java index 0f6b49a24..1d376cf29 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/nacos/LevelFilterConfigListener.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/nacos/LevelFilterConfigListener.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.plugin.nacos; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/nacos/LogFilterConfig.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/nacos/LogFilterConfig.java index 706e6398d..bdf30e501 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/nacos/LogFilterConfig.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/plugin/nacos/LogFilterConfig.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.plugin.nacos; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/sink/SinkChain.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/sink/SinkChain.java index f40414caa..a068052d9 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/sink/SinkChain.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/sink/SinkChain.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.sink; diff --git a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/sink/SinkProcessor.java b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/sink/SinkProcessor.java index 38466777a..dddda5996 100644 --- a/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/sink/SinkProcessor.java +++ b/ozhera-log/log-stream/src/main/java/org/apache/ozhera/log/stream/sink/SinkProcessor.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream.sink; diff --git a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/DorisTest.java b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/DorisTest.java index 72b60f50b..299da127d 100644 --- a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/DorisTest.java +++ b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/DorisTest.java @@ -1,72 +1,78 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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 com.xiaomi.mone.log.stream; -// -//import lombok.extern.slf4j.Slf4j; -//import org.junit.After; -//import org.junit.Before; -//import org.junit.Test; -// -//import java.sql.*; -//import java.time.Instant; -// -///** -// * @author wtt -// * @version 1.0 -// * @description -// * @date 2023/11/7 10:25 -// */ -//@Slf4j -//public class DorisTest { -// -// private String driverUrl = "org.mariadb.jdbc.Driver"; -// private String url = "jdbc:mariadb://127.0.0.1:9030/demo"; -// private String user = "root"; -// private String password = ""; -// private String insertSQL = "INSERT INTO log_doris_test (date, message,timestamp) VALUES (?, ?,?)"; -// private Connection connection; -// private PreparedStatement preparedStatement; -// private Statement statement; -// -// @Before -// public void init() throws SQLException, ClassNotFoundException { -// Class.forName(driverUrl); +package org.apache.ozhera.log.stream; + +import lombok.extern.slf4j.Slf4j; +import org.junit.After; +import org.junit.Before; +import org.junit.Test; + +import java.sql.Connection; +import java.sql.PreparedStatement; +import java.sql.SQLException; +import java.sql.Statement; +import java.time.Instant; + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2023/11/7 10:25 + */ +@Slf4j +public class DorisTest { + + private String driverUrl = "org.mariadb.jdbc.Driver"; + private String url = "jdbc:mariadb://127.0.0.1:9030/demo"; + private String user = "root"; + private String password = ""; + private String insertSQL = "INSERT INTO log_doris_test (date, message,timestamp) VALUES (?, ?,?)"; + private Connection connection; + private PreparedStatement preparedStatement; + private Statement statement; + + @Before + public void init() throws SQLException, ClassNotFoundException { + Class.forName(driverUrl); // connection = DriverManager.getConnection(url, user, password); // // 创建一个Statement对象 // statement = connection.createStatement(); // // preparedStatement = connection.prepareStatement(insertSQL); -// } -// -// @Test -// public void addData() throws SQLException { -// Long date = Instant.now().toEpochMilli(); -// for (int i = 0; i < 1000; i++) { -// preparedStatement.setInt(1, i); -// preparedStatement.setString(2, "2023-11-07 02:27:33,464|INFO ||Thread-6|com.xiaomi.data.push.rpc.RpcClient|?|serverIp:127.0.0.1 serverPort:9899"); -// preparedStatement.setLong(3, date); + } + + @Test + public void addData() throws SQLException { + Long date = Instant.now().toEpochMilli(); + for (int i = 0; i < 1000; i++) { + preparedStatement.setInt(1, i); + preparedStatement.setString(2, "2023-11-07 02:27:33,464|INFO ||Thread-6|com.xiaomi.data.push.rpc.RpcClient|?|serverIp:127.0.0.1 serverPort:9899"); + preparedStatement.setLong(3, date); // int rowsInserted = preparedStatement.executeUpdate(); // System.out.println("result:" + rowsInserted); -// } -// } -// -// @Test -// public void queryData() throws SQLException { -// // Execute SQL query -// String query = "SELECT * FROM log_doris_test"; + } + } + + @Test + public void queryData() throws SQLException { + // Execute SQL query + String query = "SELECT * FROM log_doris_test"; // ResultSet resultSet = statement.executeQuery(query); // // ResultSetMetaData metaData = resultSet.getMetaData(); @@ -86,54 +92,54 @@ // } // System.out.println("------"); // } -// } -// -// /** -// * Table creation test -// * -// * @throws SQLException -// */ -// @Test -// public void createTable() throws SQLException { -// -// String createTableSQL = "CREATE TABLE example_tbl3\n" + -// "(\n" + -// " `user_id` LARGEINT NOT NULL COMMENT \"user id\",\n" + -// " `date` DATE NOT NULL COMMENT \"\",\n" + -// " `city` VARCHAR(20) COMMENT \"\",\n" + -// " `age` SMALLINT COMMENT \"\",\n" + -// " `sex` TINYINT COMMENT \"\",\n" + -// " `last_visit_date` DATETIME REPLACE DEFAULT \"1970-01-01 00:00:00\" COMMENT \"\",\n" + -// " `cost` BIGINT SUM DEFAULT \"0\" COMMENT \"\",\n" + -// " `max_dwell_time` INT MAX DEFAULT \"0\" COMMENT \"\",\n" + -// " `min_dwell_time` INT MIN DEFAULT \"99999\" COMMENT \"\"\n" + -// ")\n" + -// "AGGREGATE KEY(`user_id`, `date`, `city`, `age`, `sex`)\n" + -// "DISTRIBUTED BY HASH(`user_id`) BUCKETS 1\n" + -// "PROPERTIES (\n" + -// " \"replication_allocation\" = \"tag.location.default: 1\"\n" + -// ");"; -// + } + + /** + * Table creation test + * + * @throws SQLException + */ + @Test + public void createTable() throws SQLException { + + String createTableSQL = "CREATE TABLE example_tbl3\n" + + "(\n" + + " `user_id` LARGEINT NOT NULL COMMENT \"user id\",\n" + + " `date` DATE NOT NULL COMMENT \"\",\n" + + " `city` VARCHAR(20) COMMENT \"\",\n" + + " `age` SMALLINT COMMENT \"\",\n" + + " `sex` TINYINT COMMENT \"\",\n" + + " `last_visit_date` DATETIME REPLACE DEFAULT \"1970-01-01 00:00:00\" COMMENT \"\",\n" + + " `cost` BIGINT SUM DEFAULT \"0\" COMMENT \"\",\n" + + " `max_dwell_time` INT MAX DEFAULT \"0\" COMMENT \"\",\n" + + " `min_dwell_time` INT MIN DEFAULT \"99999\" COMMENT \"\"\n" + + ")\n" + + "AGGREGATE KEY(`user_id`, `date`, `city`, `age`, `sex`)\n" + + "DISTRIBUTED BY HASH(`user_id`) BUCKETS 1\n" + + "PROPERTIES (\n" + + " \"replication_allocation\" = \"tag.location.default: 1\"\n" + + ");"; + // statement.execute(createTableSQL); -// log.info("Table created successfully."); -// } -// -// @Test -// public void deleteTable() throws SQLException { -// String tableName = "example_tbl2"; -// // construct SQL statements and delete tables -// String sql = "DROP TABLE " + tableName; -// -// // execute SQL statement to delete table + log.info("Table created successfully."); + } + + @Test + public void deleteTable() throws SQLException { + String tableName = "example_tbl2"; + // construct SQL statements and delete tables + String sql = "DROP TABLE " + tableName; + + // execute SQL statement to delete table // statement.executeUpdate(sql); -// -// log.info("Table " + tableName + " deleted successfully."); -// -// } -// -// @After -// public void shutDown() throws SQLException { + + log.info("Table " + tableName + " deleted successfully."); + + } + + @After + public void shutDown() throws SQLException { // preparedStatement.close(); // connection.close(); -// } -//} + } +} diff --git a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/EsPluginTest.java b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/EsPluginTest.java index 853fd955f..7f7e6f9c1 100644 --- a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/EsPluginTest.java +++ b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/EsPluginTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream; diff --git a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/LogParserTest.java b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/LogParserTest.java index 1a891d876..7c9a86449 100644 --- a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/LogParserTest.java +++ b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/LogParserTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream; diff --git a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MessageConsumeTest.java b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MessageConsumeTest.java index 675f34d54..9890b8d90 100644 --- a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MessageConsumeTest.java +++ b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MessageConsumeTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream; diff --git a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MessageSenderFactoryTest.java b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MessageSenderFactoryTest.java index 8bad061ef..5b19fe22c 100644 --- a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MessageSenderFactoryTest.java +++ b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MessageSenderFactoryTest.java @@ -1,95 +1,99 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream; + +import com.xiaomi.youpin.docean.Ioc; +import lombok.extern.slf4j.Slf4j; +import org.apache.ozhera.log.model.LogtailConfig; +import org.apache.ozhera.log.model.StorageInfo; +import org.apache.ozhera.log.stream.common.SinkJobEnum; +import org.apache.ozhera.log.stream.job.JobManager; +import org.apache.ozhera.log.stream.job.SinkJobConfig; +import org.junit.Before; +import org.junit.Test; + +import java.io.IOException; + +import static org.apache.ozhera.log.stream.common.util.StreamUtils.getConfigFromNacos; + + +/** + * @author wtt + * @version 1.0 + * @description + * @date 2023/11/14 17:02 */ -//package com.xiaomi.mone.log.stream; -// -//import com.xiaomi.mone.log.model.LogtailConfig; -//import com.xiaomi.mone.log.model.StorageInfo; -//import com.xiaomi.mone.log.stream.common.SinkJobEnum; -//import com.xiaomi.mone.log.stream.job.JobManager; -//import com.xiaomi.mone.log.stream.job.SinkJobConfig; -//import com.xiaomi.youpin.docean.Ioc; -//import lombok.extern.slf4j.Slf4j; -//import org.junit.Before; -//import org.junit.Test; -// -//import java.io.IOException; -// -//import static com.xiaomi.mone.log.stream.common.util.StreamUtils.getConfigFromNacos; -// -///** -// * @author wtt -// * @version 1.0 -// * @description -// * @date 2023/11/14 17:02 -// */ -//@Slf4j -//public class MessageSenderFactoryTest { -// -// @Before -// public void init() { -// getConfigFromNacos(); -// Ioc.ins().init("com.xiaomi.mone.log.stream", "com.xiaomi.youpin.docean"); -// } -// -// @Test -// public void addDorisTest() throws IOException { -// SinkJobConfig sinkJobConfig = new SinkJobConfig(); -// sinkJobConfig.setLogSpaceId(2L); -// sinkJobConfig.setLogStoreId(120042L); -// sinkJobConfig.setLogTailId(90028L); -// sinkJobConfig.setTail("china_zzytest"); -// sinkJobConfig.setMqType("rocketmq"); -// sinkJobConfig.setAk(""); -// sinkJobConfig.setSk(""); -// sinkJobConfig.setClusterInfo(""); -// sinkJobConfig.setTopic("market-393-topic"); -// sinkJobConfig.setTag("test_server_log"); -// sinkJobConfig.setIndex("hera_log_doris_table_120002_120042"); -// sinkJobConfig.setKeyList("timestamp:date,level:keyword,traceId:keyword,threadName:text,className:text,line:keyword,methodName:keyword,message:keyword,logstore:keyword,logsource:keyword,mqtopic:keyword,mqtag:keyword,logip:keyword,tail:keyword,linenumber:long"); -// sinkJobConfig.setValueList("0,1,2,3,4,5,-1,6"); -// sinkJobConfig.setParseScript("|"); -// sinkJobConfig.setLogStoreName("测试创建dorfdgdfg"); -// sinkJobConfig.setTail("hera-app"); -// sinkJobConfig.setStorageType("doris"); -// sinkJobConfig.setParseType(2); -// sinkJobConfig.setJobType(SinkJobEnum.NORMAL_JOB.name()); -// StorageInfo storageInfo = new StorageInfo(); -// storageInfo.setAddr("jdbc:mysql://127.0.0.1:9030/demo"); -// storageInfo.setUser("root"); -// storageInfo.setPwd(""); -// sinkJobConfig.setStorageInfo(storageInfo); -// -// LogtailConfig logtailConfig = new LogtailConfig(); -// logtailConfig.setLogtailId(sinkJobConfig.getLogTailId()); -// logtailConfig.setTail(sinkJobConfig.getTail()); -// logtailConfig.setAk(sinkJobConfig.getAk()); -// logtailConfig.setSk(sinkJobConfig.getSk()); -// logtailConfig.setClusterInfo(sinkJobConfig.getClusterInfo()); -// logtailConfig.setConsumerGroup("subGroup_tags_2_125_90174"); -// logtailConfig.setTopic(sinkJobConfig.getTopic()); -// logtailConfig.setTag(sinkJobConfig.getTag()); -// logtailConfig.setParseType(sinkJobConfig.getParseType()); -// logtailConfig.setParseScript(sinkJobConfig.getParseScript()); -// logtailConfig.setValueList(sinkJobConfig.getValueList()); -// logtailConfig.setType(sinkJobConfig.getMqType()); -// -// JobManager jobManager = new JobManager(); +@Slf4j +public class MessageSenderFactoryTest { + + @Before + public void init() { + getConfigFromNacos(); + Ioc.ins().init("com.xiaomi.mone.log.stream", "com.xiaomi.youpin.docean"); + } + + @Test + public void addDorisTest() throws IOException { + SinkJobConfig sinkJobConfig = new SinkJobConfig(); + sinkJobConfig.setLogSpaceId(2L); + sinkJobConfig.setLogStoreId(120042L); + sinkJobConfig.setLogTailId(90028L); + sinkJobConfig.setTail("china_zzytest"); + sinkJobConfig.setMqType("rocketmq"); + sinkJobConfig.setAk(""); + sinkJobConfig.setSk(""); + sinkJobConfig.setClusterInfo(""); + sinkJobConfig.setTopic("market-393-topic"); + sinkJobConfig.setTag("test_server_log"); + sinkJobConfig.setIndex("hera_log_doris_table_120002_120042"); + sinkJobConfig.setKeyList("timestamp:date,level:keyword,traceId:keyword,threadName:text,className:text,line:keyword,methodName:keyword,message:keyword,logstore:keyword,logsource:keyword,mqtopic:keyword,mqtag:keyword,logip:keyword,tail:keyword,linenumber:long"); + sinkJobConfig.setValueList("0,1,2,3,4,5,-1,6"); + sinkJobConfig.setParseScript("|"); + sinkJobConfig.setLogStoreName("测试创建dorfdgdfg"); + sinkJobConfig.setTail("hera-app"); + sinkJobConfig.setStorageType("doris"); + sinkJobConfig.setParseType(2); + sinkJobConfig.setJobType(SinkJobEnum.NORMAL_JOB.name()); + StorageInfo storageInfo = new StorageInfo(); + storageInfo.setAddr("jdbc:mysql://127.0.0.1:9030/demo"); + storageInfo.setUser("root"); + storageInfo.setPwd(""); + sinkJobConfig.setStorageInfo(storageInfo); + + LogtailConfig logtailConfig = new LogtailConfig(); + logtailConfig.setLogtailId(sinkJobConfig.getLogTailId()); + logtailConfig.setTail(sinkJobConfig.getTail()); + logtailConfig.setAk(sinkJobConfig.getAk()); + logtailConfig.setSk(sinkJobConfig.getSk()); + logtailConfig.setClusterInfo(sinkJobConfig.getClusterInfo()); + logtailConfig.setConsumerGroup("subGroup_tags_2_125_90174"); + logtailConfig.setTopic(sinkJobConfig.getTopic()); + logtailConfig.setTag(sinkJobConfig.getTag()); + logtailConfig.setParseType(sinkJobConfig.getParseType()); + logtailConfig.setParseScript(sinkJobConfig.getParseScript()); + logtailConfig.setValueList(sinkJobConfig.getValueList()); + logtailConfig.setType(sinkJobConfig.getMqType()); + + JobManager jobManager = new JobManager(); // jobManager.startJob(logtailConfig, sinkJobConfig.getIndex(), sinkJobConfig.getKeyList(), // sinkJobConfig.getLogStoreName(), storageInfo, sinkJobConfig.getLogStoreId(), // sinkJobConfig.getLogSpaceId(), sinkJobConfig.getStorageType()); // System.in.read(); -// } -//} + } +} diff --git a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MqMessageCompensateTest.java b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MqMessageCompensateTest.java index 7ceedb9a7..924fbd33b 100644 --- a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MqMessageCompensateTest.java +++ b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/MqMessageCompensateTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream; diff --git a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/PatterTest.java b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/PatterTest.java index 23f805653..2ba3d5085 100644 --- a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/PatterTest.java +++ b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/PatterTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream; diff --git a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/StreamTest.java b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/StreamTest.java index ce41ad6ba..da74ae835 100644 --- a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/StreamTest.java +++ b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/StreamTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream; diff --git a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/TestSinkChain.java b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/TestSinkChain.java index f5420ad24..11dd2d83c 100644 --- a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/TestSinkChain.java +++ b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/TestSinkChain.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream; diff --git a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/TestSomething.java b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/TestSomething.java index a28c241cb..090c42c22 100644 --- a/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/TestSomething.java +++ b/ozhera-log/log-stream/src/test/java/org/apache/ozhera/log/stream/TestSomething.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.log.stream; diff --git a/ozhera-log/pom.xml b/ozhera-log/pom.xml index f5b508320..392fcbb0f 100644 --- a/ozhera-log/pom.xml +++ b/ozhera-log/pom.xml @@ -1,4 +1,24 @@ + @@ -170,23 +190,23 @@ - - org.apache.maven.plugins - maven-gpg-plugin - 1.6 - - - sign-artifacts - deploy - - sign - - - your key name - - - - + + + + + + + + + + + + + + + + + diff --git a/ozhera-operator/README.md b/ozhera-operator/README.md index f5c3ef830..c88eff6da 100644 --- a/ozhera-operator/README.md +++ b/ozhera-operator/README.md @@ -1,3 +1,23 @@ + # OzHeraOperator Overview OzHeraOperator is used to deploy the entire Apache OzHera(incubating) system with one click. diff --git a/ozhera-operator/README_CN.md b/ozhera-operator/README_CN.md index 003ae096b..560baffd1 100644 --- a/ozhera-operator/README_CN.md +++ b/ozhera-operator/README_CN.md @@ -1,3 +1,23 @@ + # OzHeraOperator概述 OzHeraOperator用于一键部署整个Apache OzHera(incubating)系统。 diff --git a/ozhera-operator/ozhera-operator-common/pom.xml b/ozhera-operator/ozhera-operator-common/pom.xml index a1e769304..6a30933f6 100644 --- a/ozhera-operator/ozhera-operator-common/pom.xml +++ b/ozhera-operator/ozhera-operator-common/pom.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ESIndexConst.java b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ESIndexConst.java index 828a0446b..88375f0b3 100644 --- a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ESIndexConst.java +++ b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ESIndexConst.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.common; diff --git a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ErrorCode.java b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ErrorCode.java index 08d247cf4..9d21a2bce 100644 --- a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ErrorCode.java +++ b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ErrorCode.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.common; diff --git a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/FileUtils.java b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/FileUtils.java index efdc6747e..d1c95fe11 100644 --- a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/FileUtils.java +++ b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/FileUtils.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.common; diff --git a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/HoConstant.java b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/HoConstant.java index 98b64551e..df59529a1 100644 --- a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/HoConstant.java +++ b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/HoConstant.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.common; diff --git a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/HttpClientUtil.java b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/HttpClientUtil.java index 05c8bac90..b31114099 100755 --- a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/HttpClientUtil.java +++ b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/HttpClientUtil.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.common; diff --git a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ResourceTypeEnum.java b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ResourceTypeEnum.java index 0da050c16..c74c8d5bb 100644 --- a/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ResourceTypeEnum.java +++ b/ozhera-operator/ozhera-operator-common/src/main/java/org/apache/ozhera/operator/common/ResourceTypeEnum.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.common; diff --git a/ozhera-operator/ozhera-operator-server/Dockerfile b/ozhera-operator/ozhera-operator-server/Dockerfile index 7121ffead..adf39a897 100644 --- a/ozhera-operator/ozhera-operator-server/Dockerfile +++ b/ozhera-operator/ozhera-operator-server/Dockerfile @@ -1,3 +1,17 @@ +# 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. FROM openjdk:21-jdk-bookworm COPY ./target/ozhera-operator-server-1.0-jdk21.jar /home/work/ozhera-operator-server-1.0-SNAPSHOT.jar diff --git a/ozhera-operator/ozhera-operator-server/pom.xml b/ozhera-operator/ozhera-operator-server/pom.xml index 357af0b98..a11707c03 100644 --- a/ozhera-operator/ozhera-operator-server/pom.xml +++ b/ozhera-operator/ozhera-operator-server/pom.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-operator/ozhera-operator-server/src/main/java/org/apache/ozhera/operator/HeraBootstrap.java b/ozhera-operator/ozhera-operator-server/src/main/java/org/apache/ozhera/operator/HeraBootstrap.java index 0318e6375..ba0f066b0 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/java/org/apache/ozhera/operator/HeraBootstrap.java +++ b/ozhera-operator/ozhera-operator-server/src/main/java/org/apache/ozhera/operator/HeraBootstrap.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator; diff --git a/ozhera-operator/ozhera-operator-server/src/main/java/org/apache/ozhera/operator/controller/OzHeraOperatorController.java b/ozhera-operator/ozhera-operator-server/src/main/java/org/apache/ozhera/operator/controller/OzHeraOperatorController.java index 2a22162a9..d87020fe6 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/java/org/apache/ozhera/operator/controller/OzHeraOperatorController.java +++ b/ozhera-operator/ozhera-operator-server/src/main/java/org/apache/ozhera/operator/controller/OzHeraOperatorController.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.controller; diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/config.properties b/ozhera-operator/ozhera-operator-server/src/main/resources/config.properties index d0176f2dd..a4cddeee2 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/config.properties +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/config.properties @@ -1,2 +1,16 @@ +# 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. log.path=/home/work/log/ozhera-operator crd=mone:run.mone.hera.operator.bo.HeraBootstrap:run.mone.hera.operator.bo.HeraBootstrapList:heraClient:HeraResourceEventHandler \ No newline at end of file diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/logback.xml b/ozhera-operator/ozhera-operator-server/src/main/resources/logback.xml index 447751d98..a01801722 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/logback.xml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/logback.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_auth.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_auth.yaml index b8e049cdb..ced21f5b1 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_auth.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_auth.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: Namespace metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_crd.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_crd.yaml index 974558431..29acda287 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_crd.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_crd.yaml @@ -1,3 +1,17 @@ +# 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. # mone bootstrap Custom resources # apply Install the entire mione system directly. apiVersion: apiextensions.k8s.io/v1 diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_deployment.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_deployment.yaml index 31e84edbd..1e53bd391 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_deployment.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/operator/ozhera_operator_deployment.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: Service metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/alertManager/ozhera_alertmanager.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/alertManager/ozhera_alertmanager.yaml index 785f0bfaf..af123efe3 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/alertManager/ozhera_alertmanager.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/alertManager/ozhera_alertmanager.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: ConfigMap metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/cadvisor/ozhera_cadvisor.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/cadvisor/ozhera_cadvisor.yaml index 3777542b9..96e38f6ee 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/cadvisor/ozhera_cadvisor.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/cadvisor/ozhera_cadvisor.yaml @@ -1,3 +1,17 @@ +# 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. kind: DaemonSet apiVersion: apps/v1 metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/demo/ozhera_demo_client.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/demo/ozhera_demo_client.yml index 95b22d495..91b7ea845 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/demo/ozhera_demo_client.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/demo/ozhera_demo_client.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/demo/ozhera_demo_server.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/demo/ozhera_demo_server.yml index ea2a44051..b6608791a 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/demo/ozhera_demo_server.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/demo/ozhera_demo_server.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/es/ozhera_es.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/es/ozhera_es.yaml index 2ac44aae8..f35ef9471 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/es/ozhera_es.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/es/ozhera_es.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: ConfigMap metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/grafana/ozhera_grafana.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/grafana/ozhera_grafana.yaml index 1a67f3a9b..edcab4150 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/grafana/ozhera_grafana.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/grafana/ozhera_grafana.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: ConfigMap metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/hera-app/ozhera_app.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/hera-app/ozhera_app.yml index abf62d432..e2768ec52 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/hera-app/ozhera_app.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/hera-app/ozhera_app.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/hera-fe/ozhera_fe.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/hera-fe/ozhera_fe.yml index 829c5420d..b231711c3 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/hera-fe/ozhera_fe.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/hera-fe/ozhera_fe.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-agent-server/ozhera_log_agent-server.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-agent-server/ozhera_log_agent-server.yml index b4db63806..12a813af7 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-agent-server/ozhera_log_agent-server.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-agent-server/ozhera_log_agent-server.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-manager/ozhera_log_manager.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-manager/ozhera_log_manager.yml index 6483f3739..4064215c6 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-manager/ozhera_log_manager.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-manager/ozhera_log_manager.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-stream/ozhera_log_stream.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-stream/ozhera_log_stream.yml index bd1fee9fe..59c0c4868 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-stream/ozhera_log_stream.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/log-stream/ozhera_log_stream.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: StatefulSet metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mimonitor/ozhera_mimonitor.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mimonitor/ozhera_mimonitor.yml index ab91da199..7f3e6a7d2 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mimonitor/ozhera_mimonitor.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mimonitor/ozhera_mimonitor.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/ozhera_mysql.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/ozhera_mysql.yaml index 7301d9d75..cbcf244a9 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/ozhera_mysql.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/ozhera_mysql.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: PersistentVolume metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/grafana.sql b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/grafana.sql index ba05028b1..d4d52963c 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/grafana.sql +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/grafana.sql @@ -1,2 +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. + */ CREATE DATABASE IF NOT EXISTS `mione_hera_grafana` DEFAULT CHARACTER SET utf8mb4 ; \ No newline at end of file diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/hera.sql b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/hera.sql index 5ddc5584a..480178530 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/hera.sql +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/hera.sql @@ -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. + */ CREATE DATABASE IF NOT EXISTS `hera` DEFAULT CHARACTER SET utf8mb4 ; diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/nacos.sql b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/nacos.sql index bbf8b83e9..de9253749 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/nacos.sql +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/nacos.sql @@ -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. + */ CREATE DATABASE IF NOT EXISTS `nacos_standalone` DEFAULT CHARACTER SET utf8mb4 ; USE `nacos_standalone`; diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/tpc.sql b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/tpc.sql index c1bb738db..953a7ed07 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/tpc.sql +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/mysql/sql/tpc.sql @@ -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. + */ CREATE DATABASE IF NOT EXISTS `mi_tpc` DEFAULT CHARACTER SET utf8mb4 ; diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_app_config_#_DEFAULT_GROUP.properties b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_app_config_#_DEFAULT_GROUP.properties index 59b9b8d73..6bff461fe 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_app_config_#_DEFAULT_GROUP.properties +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_app_config_#_DEFAULT_GROUP.properties @@ -1,3 +1,17 @@ +# 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. spring.datasource.url=jdbc:mysql://${hera.datasource.url}/hera?characterEncoding=utf8&useSSL=false spring.datasource.username=${hera.datasource.username} spring.datasource.password=${hera.datasource.password} diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_log_manager_open_#_DEFAULT_GROUP.properties b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_log_manager_open_#_DEFAULT_GROUP.properties index 45438bfa6..9579be16e 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_log_manager_open_#_DEFAULT_GROUP.properties +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_log_manager_open_#_DEFAULT_GROUP.properties @@ -1,3 +1,17 @@ +# 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. db_url=jdbc:mysql://${hera.datasource.url}/hera?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true db_user_name=${hera.datasource.username} db_pwd=${hera.datasource.password} diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_trace_config_#_DEFAULT_GROUP.properties b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_trace_config_#_DEFAULT_GROUP.properties index 489811b5a..cf0e20e46 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_trace_config_#_DEFAULT_GROUP.properties +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/hera_trace_config_#_DEFAULT_GROUP.properties @@ -1,3 +1,17 @@ +# 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. query.env=staging query.excludeMethod=favicon.ico|ResourceHttpRequestHandler|ResponseFacade|Controller|Render|/*|EXISTS|PING query.exclude.httpServer=PUT|HTTP diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/log_stream_dataId_open_#_DEFAULT_GROUP.properties b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/log_stream_dataId_open_#_DEFAULT_GROUP.properties index 565036420..88542cbec 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/log_stream_dataId_open_#_DEFAULT_GROUP.properties +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/log_stream_dataId_open_#_DEFAULT_GROUP.properties @@ -1,3 +1,17 @@ +# 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. rocketmq_namesrv_addr=${hera.rocketmq.nameserver} rocketmq_ak=${hera.rocketmq.ak} rocketmq_sk=${hera.rocketmq.sk} diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mi_tpc_#_DEFAULT_GROUP.properties b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mi_tpc_#_DEFAULT_GROUP.properties index 679c3cbc5..af2468bbc 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mi_tpc_#_DEFAULT_GROUP.properties +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mi_tpc_#_DEFAULT_GROUP.properties @@ -1,3 +1,17 @@ +# 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. #0 memory 1 redis cache.type=1 redis.address=${hera.redis.url} diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mi_tpc_login_#_DEFAULT_GROUP.properties b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mi_tpc_login_#_DEFAULT_GROUP.properties index 5bc674c2f..5e718bcd7 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mi_tpc_login_#_DEFAULT_GROUP.properties +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mi_tpc_login_#_DEFAULT_GROUP.properties @@ -1,3 +1,17 @@ +# 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. #0??(redis???????)?1redis cache.type=1 redis.address=${hera.redis.url} diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mimonitor_open_config_#_DEFAULT_GROUP.properties b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mimonitor_open_config_#_DEFAULT_GROUP.properties index acd2e1b64..85bf3ed03 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mimonitor_open_config_#_DEFAULT_GROUP.properties +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/mimonitor_open_config_#_DEFAULT_GROUP.properties @@ -1,3 +1,17 @@ +# 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. # mysql数据源配置 spring.datasource.url=jdbc:mariadb://${hera.datasource.url}/hera?characterEncoding=utf8&useSSL=false spring.datasource.username=${hera.datasource.username} diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/ozhera_webhook_open_config_#_DEFAULT_GROUP.properties b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/ozhera_webhook_open_config_#_DEFAULT_GROUP.properties index d7ae01a03..afaf2d563 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/ozhera_webhook_open_config_#_DEFAULT_GROUP.properties +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/ozhera_webhook_open_config_#_DEFAULT_GROUP.properties @@ -1,3 +1,17 @@ +# 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. nacos.username=nacos nacos.password=nacos tpc.url=http://mi-tpc:8097/backend/node/inner_list diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/prometheus_agent_open_config_#_DEFAULT_GROUP.properties b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/prometheus_agent_open_config_#_DEFAULT_GROUP.properties index 31c077d1b..c25842955 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/prometheus_agent_open_config_#_DEFAULT_GROUP.properties +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/config/prometheus_agent_open_config_#_DEFAULT_GROUP.properties @@ -1,3 +1,17 @@ +# 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. #server dubbo.group=opensource-outer dubbo.protocol.id=dubbo diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/ozhera_nacos.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/ozhera_nacos.yml index e9acf1812..735b65dd1 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/ozhera_nacos.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/nacos/ozhera_nacos.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/node-exporter/ozhera_node-exporter.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/node-exporter/ozhera_node-exporter.yaml index 74e8869bb..b31664211 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/node-exporter/ozhera_node-exporter.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/node-exporter/ozhera_node-exporter.yaml @@ -1,3 +1,17 @@ +# 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. kind: DaemonSet apiVersion: apps/v1 metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/outer/ozhera_lb.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/outer/ozhera_lb.yml index 67ad16eef..61dac30dd 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/outer/ozhera_lb.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/outer/ozhera_lb.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: Service metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/outer/ozhera_nodeport.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/outer/ozhera_nodeport.yml index 5be44d29c..fa86347eb 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/outer/ozhera_nodeport.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/outer/ozhera_nodeport.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: Service metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/prometheus/ozhera_prometheus.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/prometheus/ozhera_prometheus.yaml index daf70d020..ddcdd7f14 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/prometheus/ozhera_prometheus.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/prometheus/ozhera_prometheus.yaml @@ -1,3 +1,17 @@ +# 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. kind: ServiceAccount apiVersion: v1 metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/prometheus/ozhera_prometheus_agent.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/prometheus/ozhera_prometheus_agent.yaml index 7ef9bb7cb..35bdce36f 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/prometheus/ozhera_prometheus_agent.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/prometheus/ozhera_prometheus_agent.yaml @@ -1,3 +1,17 @@ +# 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. # For prometheus service use on the cloud apiVersion: apps/v1 kind: Deployment diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/redis/ozhera_redis.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/redis/ozhera_redis.yaml index 6b2028c5d..b175646c8 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/redis/ozhera_redis.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/redis/ozhera_redis.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: Service metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/rocketmq/ozhera_rocketmq.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/rocketmq/ozhera_rocketmq.yaml index e2fb9aefa..20ef7267a 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/rocketmq/ozhera_rocketmq.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/rocketmq/ozhera_rocketmq.yaml @@ -1,3 +1,17 @@ +# 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. kind: Deployment apiVersion: apps/v1 diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/sentinel/sentinbel-dashboard-ingress.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/sentinel/sentinbel-dashboard-ingress.yml index acca0b6c5..79f844f5f 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/sentinel/sentinbel-dashboard-ingress.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/sentinel/sentinbel-dashboard-ingress.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: networking.k8s.io/v1 kind: Ingress metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/sentinel/sentinel-dashboard.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/sentinel/sentinel-dashboard.yml index 4b4e393b3..138eb8e3a 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/sentinel/sentinel-dashboard.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/sentinel/sentinel-dashboard.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-fe/ozhera_tpc_fe.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-fe/ozhera_tpc_fe.yml index eafe5a5ac..4ee8be663 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-fe/ozhera_tpc_fe.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-fe/ozhera_tpc_fe.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-login-fe/ozhera_tpc_login_fe.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-login-fe/ozhera_tpc_login_fe.yml index 53cc7a4ca..5a57525ca 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-login-fe/ozhera_tpc_login_fe.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-login-fe/ozhera_tpc_login_fe.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-login/ozhera_tpc_login.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-login/ozhera_tpc_login.yml index 1b5bfac8a..cf1d87992 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-login/ozhera_tpc_login.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc-login/ozhera_tpc_login.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc/ozhera_tpc.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc/ozhera_tpc.yml index e76d13344..e444dd6f2 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc/ozhera_tpc.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/tpc/ozhera_tpc.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-es/ozhera_trace_etl_es.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-es/ozhera_trace_etl_es.yml index e3d4c4244..c7398f775 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-es/ozhera_trace_etl_es.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-es/ozhera_trace_etl_es.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-manager/ozhera_trace_etl_manager.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-manager/ozhera_trace_etl_manager.yml index 6ff4a146f..620aa7108 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-manager/ozhera_trace_etl_manager.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-manager/ozhera_trace_etl_manager.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-server/ozhera_trace_etl_server.yml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-server/ozhera_trace_etl_server.yml index acb6e53a6..7942434ec 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-server/ozhera_trace_etl_server.yml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/trace-etl-server/ozhera_trace_etl_server.yml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/alertManagerClusterDockerfile b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/alertManagerClusterDockerfile index dd1aa5a6a..4e785563f 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/alertManagerClusterDockerfile +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/alertManagerClusterDockerfile @@ -1,3 +1,17 @@ +# 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. FROM prom/alertmanager:v0.24.0 as alertmanager FROM selfflying/centos7.2:latest WORKDIR /home/work/alertmanager/bin/ diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/alertmanager-cluster.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/alertmanager-cluster.yaml index 1b36c51ee..6b43d5a2c 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/alertmanager-cluster.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/alertmanager-cluster.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: ConfigMap metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/startAlertManagerCluster.sh b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/startAlertManagerCluster.sh index b4664c04d..35ca4ba77 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/startAlertManagerCluster.sh +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/alertManagerCluster/startAlertManagerCluster.sh @@ -1,4 +1,18 @@ #!/bin/bash +# 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. IFS=',' read -r -a peer_ips <<< "${PEER_ADDRESS}" str="--cluster.peer=" args="" diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmAgent.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmAgent.yaml index f3dd628f9..f600c8d9b 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmAgent.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmAgent.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: StatefulSet metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmAlert.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmAlert.yaml index ed97356a6..01e0bae4f 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmAlert.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmAlert.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmInsert.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmInsert.yaml index 21b4f678a..f699a84f0 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmInsert.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmInsert.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: Service metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmSelect.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmSelect.yaml index 8e00a086f..42aa95f6a 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmSelect.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmSelect.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: Deployment metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmStorage-pv.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmStorage-pv.yaml index 5e2fc9c9b..e0d57331c 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmStorage-pv.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmStorage-pv.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: storage.k8s.io/v1 kind: StorageClass metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmStorage.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmStorage.yaml index 876224f1d..5df789968 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmStorage.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/vmCluster/vm-k8s-yaml/vmStorage.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: apps/v1 kind: StatefulSet metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/webhook/ozhera_webhook_server.yaml b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/webhook/ozhera_webhook_server.yaml index 305f2f6f3..e859e5a14 100644 --- a/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/webhook/ozhera_webhook_server.yaml +++ b/ozhera-operator/ozhera-operator-server/src/main/resources/ozhera_init/webhook/ozhera_webhook_server.yaml @@ -1,3 +1,17 @@ +# 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. apiVersion: v1 kind: ConfigMap metadata: diff --git a/ozhera-operator/ozhera-operator-server/src/test/java/org/apache/ozhera/operator/test/SidecarTest.java b/ozhera-operator/ozhera-operator-server/src/test/java/org/apache/ozhera/operator/test/SidecarTest.java index bf41ec3da..f728cde90 100644 --- a/ozhera-operator/ozhera-operator-server/src/test/java/org/apache/ozhera/operator/test/SidecarTest.java +++ b/ozhera-operator/ozhera-operator-server/src/test/java/org/apache/ozhera/operator/test/SidecarTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.test; diff --git a/ozhera-operator/ozhera-operator-service/pom.xml b/ozhera-operator/ozhera-operator-service/pom.xml index 8a2596530..62a322157 100644 --- a/ozhera-operator/ozhera-operator-service/pom.xml +++ b/ozhera-operator/ozhera-operator-service/pom.xml @@ -1,4 +1,24 @@ + diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraBootstrap.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraBootstrap.java index fc18d9a5d..6dcca828a 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraBootstrap.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraBootstrap.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.bo; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraBootstrapList.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraBootstrapList.java index b76165bf4..6477735b7 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraBootstrapList.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraBootstrapList.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.bo; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraObjectMeta.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraObjectMeta.java index ff958dfc4..42af6890b 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraObjectMeta.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraObjectMeta.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.bo; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraResource.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraResource.java index 4ef948b84..5a6b87e29 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraResource.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraResource.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.bo; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraSpec.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraSpec.java index 640ce687b..34138f348 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraSpec.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraSpec.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.bo; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraStatus.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraStatus.java index f5571db10..d9686fc16 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraStatus.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/HeraStatus.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.bo; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/PropConf.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/PropConf.java index d31d2027e..19fae596e 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/PropConf.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/PropConf.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.bo; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/dashboard/GrafanaApiKeyReq.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/dashboard/GrafanaApiKeyReq.java index 12fd90a6e..815605f3a 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/dashboard/GrafanaApiKeyReq.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/dashboard/GrafanaApiKeyReq.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.bo.dashboard; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/dashboard/GrafanaApiKeyRes.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/dashboard/GrafanaApiKeyRes.java index 685a85e87..fade3b75d 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/dashboard/GrafanaApiKeyRes.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/bo/dashboard/GrafanaApiKeyRes.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.bo.dashboard; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/common/K8sUtilBean.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/common/K8sUtilBean.java index 83c6d8c96..ead5fa1e4 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/common/K8sUtilBean.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/common/K8sUtilBean.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.common; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/DashboardDTO.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/DashboardDTO.java index d575a29bb..bd605f7ae 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/DashboardDTO.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/DashboardDTO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.dto; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/DeployStateDTO.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/DeployStateDTO.java index 5a7c324c4..8163d6b1a 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/DeployStateDTO.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/DeployStateDTO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.dto; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/HeraOperatorDefineDTO.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/HeraOperatorDefineDTO.java index 5b8840d5c..b675e4b96 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/HeraOperatorDefineDTO.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/HeraOperatorDefineDTO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.dto; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/OperatorStateDTO.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/OperatorStateDTO.java index 5862bda5f..085c9231d 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/OperatorStateDTO.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/OperatorStateDTO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.dto; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/PodStateDTO.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/PodStateDTO.java index b8629ed40..360ef1319 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/PodStateDTO.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/PodStateDTO.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.dto; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/ServiceCheckResource.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/ServiceCheckResource.java index 97dcc1459..91ee33b8d 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/ServiceCheckResource.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/dto/ServiceCheckResource.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.dto; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/handler/HeraResourceEventHandler.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/handler/HeraResourceEventHandler.java index 97163b5cd..3c594350e 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/handler/HeraResourceEventHandler.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/handler/HeraResourceEventHandler.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.handler; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/ESService.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/ESService.java index 62a23ad59..097b8a2f8 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/ESService.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/ESService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.service; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/HeraBootstrapInitService.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/HeraBootstrapInitService.java index 2f864b6cd..6e827718e 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/HeraBootstrapInitService.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/HeraBootstrapInitService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.service; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/IResource.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/IResource.java index 174bb1179..100454668 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/IResource.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/IResource.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.service; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/NacosService.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/NacosService.java index 04e995d13..f203922a3 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/NacosService.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/NacosService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.service; diff --git a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/RocketMQService.java b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/RocketMQService.java index 008eb33da..8d883892e 100644 --- a/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/RocketMQService.java +++ b/ozhera-operator/ozhera-operator-service/src/main/java/org/apache/ozhera/operator/service/RocketMQService.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.service; diff --git a/ozhera-operator/ozhera-operator-service/src/test/java/org/apache/ozhera/operator/test/PlaceholderTest.java b/ozhera-operator/ozhera-operator-service/src/test/java/org/apache/ozhera/operator/test/PlaceholderTest.java index 26eabd99b..231bf8887 100644 --- a/ozhera-operator/ozhera-operator-service/src/test/java/org/apache/ozhera/operator/test/PlaceholderTest.java +++ b/ozhera-operator/ozhera-operator-service/src/test/java/org/apache/ozhera/operator/test/PlaceholderTest.java @@ -1,17 +1,20 @@ /* - * Copyright (C) 2020 Xiaomi Corporation + * 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 * - * Licensed 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 * - * 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. + * 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.ozhera.operator.test; diff --git a/ozhera-operator/pom.xml b/ozhera-operator/pom.xml index 34c540c59..25eeab712 100644 --- a/ozhera-operator/pom.xml +++ b/ozhera-operator/pom.xml @@ -1,4 +1,24 @@ +