diff --git a/ozhera-log/log-stream/src/main/resources/config.properties b/ozhera-log/log-stream/src/main/resources/config.properties index 67d9da30d..a73e3569e 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 1c46f5edd..ae2ba6c20 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 4216cdbbb..6d2940d09 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 @@ + 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 9f3860292..92db21d12 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 app.nacos=@app.nacos@ \ 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 4026c179f..047498b01 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 7ed6eacc9..939d4327f 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 5a7ed99db..d07a0d6fa 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