This is an automated email from the ASF dual-hosted git repository.
wangtao29 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozhera.git
The following commit(s) were added to refs/heads/master by this push:
new 66402b2a fix: add header to files missing copyright notice (#517)
66402b2a is described below
commit 66402b2a2b33712fa060efe7aa2f254bb32922cb
Author: gaoxh <[email protected]>
AuthorDate: Thu Nov 21 19:45:40 2024 +0800
fix: add header to files missing copyright notice (#517)
---
.../log-stream/src/main/resources/config.properties | 15 +++++++++++++++
.../src/main/resources/config/open.properties | 15 +++++++++++++++
ozhera-log/log-stream/src/main/resources/logback.xml | 20 ++++++++++++++++++++
.../src/main/resources/META-INF/app.properties | 15 +++++++++++++++
.../src/main/resources/META-INF/spring.factories | 15 +++++++++++++++
.../src/main/resources/sql/create_table.sql | 19 +++++++++++++++++++
trace-etl/trace-etl-manager/dockerfile | 15 +++++++++++++++
7 files changed, 114 insertions(+)
diff --git a/ozhera-log/log-stream/src/main/resources/config.properties
b/ozhera-log/log-stream/src/main/resources/config.properties
index 67d9da30..a73e3569 100644
--- a/ozhera-log/log-stream/src/main/resources/config.properties
+++ b/ozhera-log/log-stream/src/main/resources/config.properties
@@ -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.
+
app_name=${app_name}
nacos_config_dataid=${nacos_config_dataid}
nacos_config_group=DEFAULT_GROUP
diff --git a/ozhera-log/log-stream/src/main/resources/config/open.properties
b/ozhera-log/log-stream/src/main/resources/config/open.properties
index 1c46f5ed..ae2ba6c2 100644
--- a/ozhera-log/log-stream/src/main/resources/config/open.properties
+++ b/ozhera-log/log-stream/src/main/resources/config/open.properties
@@ -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.
+
app_name=hera_log_stream
nacos_config_dataid=log_stream_dataId_open
diff --git a/ozhera-log/log-stream/src/main/resources/logback.xml
b/ozhera-log/log-stream/src/main/resources/logback.xml
index 4216cdbb..6d2940d0 100644
--- a/ozhera-log/log-stream/src/main/resources/logback.xml
+++ b/ozhera-log/log-stream/src/main/resources/logback.xml
@@ -1,4 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
<configuration scan="false" debug="false">
<property resource="config.properties"></property>
diff --git
a/ozhera-monitor/ozhera-monitor-server/src/main/resources/META-INF/app.properties
b/ozhera-monitor/ozhera-monitor-server/src/main/resources/META-INF/app.properties
index 9f386029..92db21d1 100644
---
a/ozhera-monitor/ozhera-monitor-server/src/main/resources/META-INF/app.properties
+++
b/ozhera-monitor/ozhera-monitor-server/src/main/resources/META-INF/app.properties
@@ -1,2 +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=mimonitor
[email protected]@
\ No newline at end of file
diff --git
a/ozhera-monitor/ozhera-monitor-server/src/main/resources/META-INF/spring.factories
b/ozhera-monitor/ozhera-monitor-server/src/main/resources/META-INF/spring.factories
index 4026c179..047498b0 100644
---
a/ozhera-monitor/ozhera-monitor-server/src/main/resources/META-INF/spring.factories
+++
b/ozhera-monitor/ozhera-monitor-server/src/main/resources/META-INF/spring.factories
@@ -1 +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.
+
org.springframework.context.ApplicationListener=org.apache.ozhera.monitor.listener.ApplicationStartedListener
\ No newline at end of file
diff --git
a/ozhera-monitor/ozhera-monitor-service/src/main/resources/sql/create_table.sql
b/ozhera-monitor/ozhera-monitor-service/src/main/resources/sql/create_table.sql
index 7ed6eacc..939d4327 100644
---
a/ozhera-monitor/ozhera-monitor-service/src/main/resources/sql/create_table.sql
+++
b/ozhera-monitor/ozhera-monitor-service/src/main/resources/sql/create_table.sql
@@ -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.
+*/
+
CREATE TABLE `app_grafana_mapping` (
`id` int(10) unsigned NOT NULL
AUTO_INCREMENT,
`app_name` varchar(100) NOT NULL,
diff --git a/trace-etl/trace-etl-manager/dockerfile
b/trace-etl/trace-etl-manager/dockerfile
index 5a7ed99d..d07a0d6f 100644
--- a/trace-etl/trace-etl-manager/dockerfile
+++ b/trace-etl/trace-etl-manager/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
COPY ./target/trace-etl-manager-1.0.1-jdk21.jar
/home/work/trace-etl-manager-1.0.0-SNAPSHOT.jar
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]