Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb6ea32eae | ||
|
|
fea6bf5803 | ||
|
|
8818385d65 | ||
|
|
4d072b4417 | ||
|
|
db4e1df92d | ||
|
|
25749d6fa3 | ||
|
|
6c2281ad09 | ||
|
|
a4bedb2b5d | ||
|
|
cc1808187d | ||
|
|
c88b0b50ce | ||
|
|
8033e81e2e |
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
github:
|
||||
description: Apache HertzBeat(incubating) is a real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities.
|
||||
description: Real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities.
|
||||
homepage: https://hertzbeat.apache.org/
|
||||
labels:
|
||||
- monitoring
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
Apache HertzBeat (incubating) is an effort undergoing incubation at the Apache
|
||||
Software Foundation (ASF), sponsored by the Apache Incubator PMC.
|
||||
|
||||
Incubation is required of all newly accepted projects until a further review
|
||||
indicates that the infrastructure, communications, and decision making process
|
||||
have stabilized in a manner consistent with other successful ASF projects.
|
||||
|
||||
While incubation status is not necessarily a reflection of the completeness
|
||||
or stability of the code, it does indicate that the project has yet to be
|
||||
fully endorsed by the ASF.
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
## 🎡 <font color="green">Introduction</font>
|
||||
|
||||
[Apache HertzBeat](https://github.com/apache/hertzbeat) (incubating) is an easy-to-use, open source, real-time monitoring system with agentless, high performance cluster, prometheus-compatible, offers powerful custom monitoring and status page building capabilities.
|
||||
[Apache HertzBeat](https://github.com/apache/hertzbeat) is an easy-to-use, open source, real-time monitoring system with agentless, high performance cluster, prometheus-compatible, offers powerful custom monitoring and status page building capabilities.
|
||||
|
||||
### Features
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
## 🎡 <font color="green">介绍</font>
|
||||
|
||||
[Apache HertzBeat](https://github.com/apache/hertzbeat) (incubating)是一个易用友好的开源实时监控告警系统,无需 Agent,高性能集群,兼容 Prometheus,提供强大的自定义监控和状态页构建能力。
|
||||
[Apache HertzBeat](https://github.com/apache/hertzbeat) 是一个易用友好的开源实时监控告警系统,无需 Agent,高性能集群,兼容 Prometheus,提供强大的自定义监控和状态页构建能力。
|
||||
|
||||
### 特点
|
||||
|
||||
|
||||
@@ -293,6 +293,21 @@
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>make-docker-zip</id>
|
||||
<!--Bound maven operation-->
|
||||
<phase>package</phase>
|
||||
<!--Run once-->
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<outputDirectory>../dist</outputDirectory>
|
||||
<descriptors>
|
||||
<descriptor>../script/assembly/server/assembly-docker.xml</descriptor>
|
||||
</descriptors>
|
||||
</configuration>
|
||||
</execution>
|
||||
<execution>
|
||||
<id>make-docker-compose-script</id>
|
||||
<!--Bound maven operation-->
|
||||
|
||||
@@ -22,7 +22,7 @@ We warmly welcome everyone to join the HertzBeat community. The community accept
|
||||
|
||||
## What is HertzBeat
|
||||
|
||||
[Apache HertzBeat](https://github.com/apache/hertzbeat) (incubating) is an easy-to-use, open source, real-time monitoring system with agentless, high performance cluster, prometheus-compatible, offers powerful custom monitoring and status page building capabilities.
|
||||
[Apache HertzBeat](https://github.com/apache/hertzbeat) is an easy-to-use, open source, real-time monitoring system with agentless, high performance cluster, prometheus-compatible, offers powerful custom monitoring and status page building capabilities.
|
||||
|
||||
### Features
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ Upgrade Guide: <https://hertzbeat.apache.org/blog/2024/06/11/hertzbeat-v1.6.0-up
|
||||
|
||||
## What is HertzBeat?
|
||||
|
||||
[Apache HertzBeat](https://github.com/apache/hertzbeat) (incubating) is an easy-to-use, open source, real-time monitoring system with agentless, high performance cluster, prometheus-compatible, offers powerful custom monitoring and status page building capabilities.
|
||||
[Apache HertzBeat](https://github.com/apache/hertzbeat) is an easy-to-use, open source, real-time monitoring system with agentless, high performance cluster, prometheus-compatible, offers powerful custom monitoring and status page building capabilities.
|
||||
|
||||
## Features
|
||||
|
||||
|
||||
@@ -213,9 +213,9 @@ mvn clean package -Pcluster
|
||||
|
||||
The release package are here:
|
||||
|
||||
- `dist/apache-hertzbeat-{version}-incubating-bin.tar.gz`
|
||||
- `dist/apache-hertzbeat-collector-{version}-incubating-bin.tar.gz`
|
||||
- `dist/apache-hertzbeat-{version}-incubating-docker-compose.tar.gz`
|
||||
- `dist/apache-hertzbeat-{version}-bin.tar.gz`
|
||||
- `dist/apache-hertzbeat-collector-{version}-bin.tar.gz`
|
||||
- `dist/apache-hertzbeat-{version}-docker-compose.tar.gz`
|
||||
|
||||
#### 3.4 Package the source code
|
||||
|
||||
@@ -224,12 +224,12 @@ The release package are here:
|
||||
```shell
|
||||
git archive \
|
||||
--format=tar.gz \
|
||||
--output="dist/apache-hertzbeat-1.6.0-incubating-src.tar.gz" \
|
||||
--prefix=apache-hertzbeat-1.6.0-incubating-src/ \
|
||||
--output="dist/apache-hertzbeat-1.6.0-src.tar.gz" \
|
||||
--prefix=apache-hertzbeat-1.6.0-src/ \
|
||||
release-1.6.0-rc1
|
||||
```
|
||||
|
||||
The archive package is here `dist/apache-hertzbeat-1.6.0-incubating-src.tar.gz`
|
||||
The archive package is here `dist/apache-hertzbeat-1.6.0-src.tar.gz`
|
||||
|
||||
### Sign package
|
||||
|
||||
@@ -252,18 +252,18 @@ for i in *.tar.gz; do echo $i; sha512sum $i > $i.sha512 ; done
|
||||
> The final file list is as follows
|
||||
|
||||
```text
|
||||
apache-hertzbeat-1.6.0-incubating-src.tar.gz
|
||||
apache-hertzbeat-1.6.0-incubating-src.tar.gz.asc
|
||||
apache-hertzbeat-1.6.0-incubating-src.tar.gz.sha512
|
||||
apache-hertzbeat-1.6.0-incubating-bin.tar.gz
|
||||
apache-hertzbeat-1.6.0-incubating-bin.tar.gz.asc
|
||||
apache-hertzbeat-1.6.0-incubating-bin.tar.gz.sha512
|
||||
apache-hertzbeat-1.6.0-incubating-docker-compose.tar.gz
|
||||
apache-hertzbeat-1.6.0-incubating-docker-compose.tar.gz.asc
|
||||
apache-hertzbeat-1.6.0-incubating-docker-compose.tar.gz.sha512
|
||||
apache-hertzbeat-collector-1.6.0-incubating-bin.tar.gz
|
||||
apache-hertzbeat-collector-1.6.0-incubating-bin.tar.gz.asc
|
||||
apache-hertzbeat-collector-1.6.0-incubating-bin.tar.gz.sha512
|
||||
apache-hertzbeat-1.6.0-src.tar.gz
|
||||
apache-hertzbeat-1.6.0-src.tar.gz.asc
|
||||
apache-hertzbeat-1.6.0-src.tar.gz.sha512
|
||||
apache-hertzbeat-1.6.0-bin.tar.gz
|
||||
apache-hertzbeat-1.6.0-bin.tar.gz.asc
|
||||
apache-hertzbeat-1.6.0-bin.tar.gz.sha512
|
||||
apache-hertzbeat-1.6.0-docker-compose.tar.gz
|
||||
apache-hertzbeat-1.6.0-docker-compose.tar.gz.asc
|
||||
apache-hertzbeat-1.6.0-docker-compose.tar.gz.sha512
|
||||
apache-hertzbeat-collector-1.6.0-bin.tar.gz
|
||||
apache-hertzbeat-collector-1.6.0-bin.tar.gz.asc
|
||||
apache-hertzbeat-collector-1.6.0-bin.tar.gz.sha512
|
||||
```
|
||||
|
||||
#### 3.6 Verify signature
|
||||
@@ -274,15 +274,15 @@ $ cd dist
|
||||
# Verify signature
|
||||
$ for i in *.tar.gz; do echo $i; gpg --verify $i.asc $i ; done
|
||||
|
||||
apache-hertzbeat-1.6.0-incubating-src.tar.gz
|
||||
apache-hertzbeat-1.6.0-src.tar.gz
|
||||
gpg: Signature made Tue May 2 12:16:35 2023 CST
|
||||
gpg: using RSA key 85778A4CE4DD04B7E07813ABACFB69E705016886
|
||||
gpg: Good signature from "muchunjin (apache key) <muchunjin@apache.org>" [ultimate]
|
||||
apache-hertzbeat_2.11-1.6.0-incubating-bin.tar.gz
|
||||
apache-hertzbeat_2.11-1.6.0-bin.tar.gz
|
||||
gpg: Signature made Tue May 2 12:16:36 2023 CST
|
||||
gpg: using RSA key 85778A4CE4DD04B7E07813ABACFB69E705016886
|
||||
gpg: Good signature from "muchunjin (apache key) <muchunjin@apache.org>" [ultimate]
|
||||
apache-hertzbeat_2.12-1.6.0-incubating-bin.tar.gz
|
||||
apache-hertzbeat_2.12-1.6.0-bin.tar.gz
|
||||
gpg: Signature made Tue May 2 12:16:37 2023 CST
|
||||
gpg: using RSA key 85778A4CE4DD04B7E07813ABACFB69E705016886
|
||||
gpg: BAD signature from "muchunjin (apache key) <muchunjin@apache.org>" [ultimate]
|
||||
@@ -290,14 +290,14 @@ gpg: BAD signature from "muchunjin (apache key) <muchunjin@apache.org>" [ultimat
|
||||
# Verify SHA512
|
||||
$ for i in *.tar.gz; do echo $i; sha512sum --check $i.sha512; done
|
||||
|
||||
apache-hertzbeat-1.6.0-incubating-src.tar.gz
|
||||
apache-hertzbeat-1.6.0-incubating-src.tar.gz: OK
|
||||
apache-hertzbeat-1.6.0-incubating-bin.tar.gz
|
||||
apache-hertzbeat-1.6.0-incubating-bin.tar.gz: OK
|
||||
apache-hertzbeat-1.6.0-incubating-docker-compose.tar.gz
|
||||
apache-hertzbeat-1.6.0-incubating-docker-compose.tar.gz: OK
|
||||
apache-hertzbeat-collector-1.6.0-incubating-bin.tar.gz
|
||||
apache-hertzbeat-collector-1.6.0-incubating-bin.tar.gz: OK
|
||||
apache-hertzbeat-1.6.0-src.tar.gz
|
||||
apache-hertzbeat-1.6.0-src.tar.gz: OK
|
||||
apache-hertzbeat-1.6.0-bin.tar.gz
|
||||
apache-hertzbeat-1.6.0-bin.tar.gz: OK
|
||||
apache-hertzbeat-1.6.0-docker-compose.tar.gz
|
||||
apache-hertzbeat-1.6.0-docker-compose.tar.gz: OK
|
||||
apache-hertzbeat-collector-1.6.0-bin.tar.gz
|
||||
apache-hertzbeat-collector-1.6.0-bin.tar.gz: OK
|
||||
```
|
||||
|
||||
#### 3.7 Publish the dev directory of the Apache SVN material package
|
||||
|
||||
@@ -91,7 +91,7 @@ check result
|
||||
> If something like the following appears, it means the signature is correct. Keyword: **`Good signature`**
|
||||
|
||||
```shell
|
||||
apache-hertzbeat-xxx-incubating-src.tar.gz
|
||||
apache-hertzbeat-xxx-src.tar.gz
|
||||
gpg: Signature made XXXX
|
||||
gpg: using RSA key XXXXX
|
||||
gpg: Good signature from "xxx @apache.org>"
|
||||
@@ -105,18 +105,16 @@ for i in *.tar.gz; do echo $i; sha512sum --check $i.sha512; done
|
||||
|
||||
#### 2.4 Check the binary package
|
||||
|
||||
unzip `apache-hertzbeat-${release.version}-incubating-bin.tar.gz`
|
||||
unzip `apache-hertzbeat-${release.version}-bin.tar.gz`
|
||||
|
||||
```shell
|
||||
tar -xzvf apache-hertzbeat-${release.version}-incubating-bin.tar.gz
|
||||
tar -xzvf apache-hertzbeat-${release.version}-bin.tar.gz
|
||||
```
|
||||
|
||||
check as follows:
|
||||
|
||||
- [ ] Check whether the source package contains unnecessary files, which makes the tar package too large
|
||||
- [ ] Folder contains the word `incubating`
|
||||
- [ ] There are `LICENSE` and `NOTICE` files
|
||||
- [ ] There is a `DISCLAIMER` or `DISCLAIMER-WIP` file
|
||||
- [ ] The year in the `NOTICE` file is correct
|
||||
- [ ] Only text files exist, not binary files
|
||||
- [ ] All files have ASF license at the beginning
|
||||
@@ -127,10 +125,10 @@ check as follows:
|
||||
|
||||
> If the binary/web-binary package is uploaded, check the binary package.
|
||||
|
||||
Unzip `apache-hertzbeat-${release_version}-incubating-src.tar.gz`
|
||||
Unzip `apache-hertzbeat-${release_version}-src.tar.gz`
|
||||
|
||||
```shell
|
||||
cd apache-hertzbeat-${release_version}-incubating-src
|
||||
cd apache-hertzbeat-${release_version}-src
|
||||
```
|
||||
|
||||
compile the source code: [Build HertzBeat Binary Package](https://hertzbeat.apache.org/docs/community/development/#build-hertzbeat-binary-package)
|
||||
@@ -138,7 +136,6 @@ compile the source code: [Build HertzBeat Binary Package](https://hertzbeat.apac
|
||||
and check as follows:
|
||||
|
||||
- [ ] There are `LICENSE` and `NOTICE` files
|
||||
- [ ] There is a `DISCLAIMER` or `DISCLAIMER-WIP` file
|
||||
- [ ] The year in the `NOTICE` file is correct
|
||||
- [ ] All text files have ASF license at the beginning
|
||||
- [ ] Check the third-party dependent license:
|
||||
|
||||
@@ -11,7 +11,7 @@ slug: /
|
||||
|
||||
## 🎡 <font color="green">Introduction</font>
|
||||
|
||||
[Apache HertzBeat](https://github.com/apache/hertzbeat) (incubating) is an easy-to-use, open source, real-time monitoring system with agentless, high performance cluster, prometheus-compatible, offers powerful custom monitoring and status page building capabilities.
|
||||
[Apache HertzBeat](https://github.com/apache/hertzbeat) is an easy-to-use, open source, real-time monitoring system with agentless, high performance cluster, prometheus-compatible, offers powerful custom monitoring and status page building capabilities.
|
||||
|
||||
### Features
|
||||
|
||||
|
||||
@@ -15,13 +15,13 @@ Run the `docker compose version` command to check if you have a Docker Compose e
|
||||
|
||||
1. Download the startup script package
|
||||
|
||||
Download the installation script package `apache-hertzbeat-xxx-incubating-docker-compose.tar.gz` from the [download](/docs/download)
|
||||
Download the installation script package `apache-hertzbeat-xxx-docker-compose.tar.gz` from the [download](/docs/download)
|
||||
|
||||
2. Choose to use the HertzBeat + PostgreSQL + VictoriaMetrics solution
|
||||
|
||||
:::tip
|
||||
|
||||
- `apache-hertzbeat-xxx-incubating-docker-compose.tar.gz` contains multiple deployment solutions after decompression. Here we recommend choosing the `hertzbeat-postgresql-victoria-metrics` solution.
|
||||
- `apache-hertzbeat-xxx-docker-compose.tar.gz` contains multiple deployment solutions after decompression. Here we recommend choosing the `hertzbeat-postgresql-victoria-metrics` solution.
|
||||
- Other deployment methods, please read the README.md file of each deployment solution in detail. The MySQL solution requires you to prepare the MySQL driver package yourself.
|
||||
|
||||
:::
|
||||
@@ -29,13 +29,13 @@ Run the `docker compose version` command to check if you have a Docker Compose e
|
||||
- Unzip the script package
|
||||
|
||||
```shell
|
||||
tar zxvf apache-hertzbeat-1.6.0-incubating-docker-compose.tar.gz
|
||||
tar zxvf apache-hertzbeat-1.6.0-docker-compose.tar.gz
|
||||
```
|
||||
|
||||
- Enter the decompression directory and select `HertzBeat + PostgreSQL + VictoriaMetrics` for one-click deployment
|
||||
|
||||
```shell
|
||||
cd apache-hertzbeat-1.6.0-incubating-docker-compose
|
||||
cd apache-hertzbeat-1.6.0-docker-compose
|
||||
cd hertzbeat-postgresql-victoria-metrics
|
||||
```
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ Since version 1.6.0 uses `Java 17` and the installation package no longer provid
|
||||
|
||||
1. Download installation package
|
||||
|
||||
Download installation package `apache-hertzbeat-xxx-incubating-bin.tar.gz` corresponding to your system environment
|
||||
Download installation package `apache-hertzbeat-xxx-bin.tar.gz` corresponding to your system environment
|
||||
- [Download Page](/docs/download)
|
||||
|
||||
2. Configure HertzBeat's configuration file(optional)
|
||||
@@ -26,7 +26,7 @@ Since version 1.6.0 uses `Java 17` and the installation package no longer provid
|
||||
Unzip the installation package to the host eg: /opt/hertzbeat
|
||||
|
||||
```shell
|
||||
tar zxvf apache-hertzbeat-xxx-incubating-bin.tar.gz
|
||||
tar zxvf apache-hertzbeat-xxx-bin.tar.gz
|
||||
```
|
||||
|
||||
:::tip
|
||||
@@ -68,7 +68,7 @@ Deploying multiple HertzBeat Collectors can achieve high availability, load bala
|
||||
|
||||
1. Download installation package
|
||||
|
||||
Download installation package `apache-hertzbeat-collector-xxx-incubating-bin.tar.gz` corresponding to your system environment
|
||||
Download installation package `apache-hertzbeat-collector-xxx-bin.tar.gz` corresponding to your system environment
|
||||
- [Download Page](/docs/download)
|
||||
|
||||
2. Configure the collector configuration file
|
||||
@@ -76,7 +76,7 @@ Deploying multiple HertzBeat Collectors can achieve high availability, load bala
|
||||
Unzip the installation package to the host eg: /opt/hertzbeat-collector
|
||||
|
||||
```shell
|
||||
tar zxvf apache-hertzbeat-collector-xxx-incubating-bin.tar.gz
|
||||
tar zxvf apache-hertzbeat-collector-xxx-bin.tar.gz
|
||||
```
|
||||
|
||||
Configure the collector configuration yml file `config/application.yml`: unique `identity` name, running `mode` (public or private), hertzbeat `manager-host`, hertzbeat `manager-port`
|
||||
|
||||
@@ -288,7 +288,7 @@ module.exports = {
|
||||
</div>
|
||||
<div style="margin-left: 40px">
|
||||
<p style="font-size: 14px;line-height: 25px;">
|
||||
Apache HertzBeat (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
|
||||
Apache HertzBeat is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"description": "The label of footer link with label=contact linking to /docs/community/contact"
|
||||
},
|
||||
"copyright": {
|
||||
"message": "\n <div style=\"text-align: left;margin-top:30px\">\n <div style=\"align-items: center; display: flex\">\n <div style=\"width: 1200px; background-color: #282c77; padding: 10px; border-radius: 6px\">\n <a href=\"https://incubator.apache.org/\">\n <img src=\"/img/icons/apache-incubator.svg\" alt=\"Apache Incubator logo\">\n </a>\n </div>\n <div style=\"margin-left: 40px\">\n <p style=\"font-size: 14px;line-height: 25px;\">\n Apache HertzBeat (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.\n </p>\n </div>\n </div>\n\n <div style=\"border-top: 1px solid #525252;min-height: 60px;line-height: 25px;text-align: left;font-size: 14px;display: flex;align-items: center;\">\n <span>\n Copyright © 2024-2025 The Apache Software Foundation. Apache HertzBeat, HertzBeat, and its feather logo are trademarks of The Apache Software Foundation.\n </span>\n </div>\n </div>",
|
||||
"message": "\n <div style=\"text-align: left;margin-top:30px\">\n <div style=\"align-items: center; display: flex\">\n <div style=\"width: 1200px; background-color: #282c77; padding: 10px; border-radius: 6px\">\n <a href=\"https://incubator.apache.org/\">\n <img src=\"/img/icons/apache-incubator.svg\" alt=\"Apache Incubator logo\">\n </a>\n </div>\n <div style=\"margin-left: 40px\">\n <p style=\"font-size: 14px;line-height: 25px;\">\n Apache HertzBeat is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.\n </p>\n </div>\n </div>\n\n <div style=\"border-top: 1px solid #525252;min-height: 60px;line-height: 25px;text-align: left;font-size: 14px;display: flex;align-items: center;\">\n <span>\n Copyright © 2024-2025 The Apache Software Foundation. Apache HertzBeat, HertzBeat, and its feather logo are trademarks of The Apache Software Foundation.\n </span>\n </div>\n </div>",
|
||||
"description": "The footer copyright"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -110,9 +110,7 @@ tar -xzvf apache-hertzbeat-${release.version}-incubating-bin.tar.gz
|
||||
|
||||
进行如下检查:
|
||||
|
||||
- [ ] 文件夹包含单词`incubating`
|
||||
- [ ] 存在`LICENSE`和`NOTICE`文件
|
||||
- [ ] 存在`DISCLAIMER`或`DISCLAIMER-WIP`文件
|
||||
- [ ] `NOTICE`文件中的年份正确
|
||||
- [ ] 所有文本文件开头都有ASF许可证
|
||||
- [ ] 检查第三方依赖许可证:
|
||||
@@ -136,9 +134,7 @@ cd apache-hertzbeat-${release_version}-incubating-src
|
||||
进行如下检查:
|
||||
|
||||
- [ ] 检查源码包是否包含由于包含不必要文件,致使tar包过于庞大
|
||||
- [ ] 文件夹包含单词`incubating`
|
||||
- [ ] 存在`LICENSE`和`NOTICE`文件
|
||||
- [ ] 存在`DISCLAIMER`或`DISCLAIMER-WIP`文件
|
||||
- [ ] `NOTICE`文件中的年份正确
|
||||
- [ ] 只存在文本文件,不存在二进制文件
|
||||
- [ ] 所有文件的开头都有ASF许可证
|
||||
|
||||
@@ -110,9 +110,7 @@ tar -xzvf apache-hertzbeat-${release.version}-incubating-bin.tar.gz
|
||||
|
||||
进行如下检查:
|
||||
|
||||
- [ ] 文件夹包含单词`incubating`
|
||||
- [ ] 存在`LICENSE`和`NOTICE`文件
|
||||
- [ ] 存在`DISCLAIMER`或`DISCLAIMER-WIP`文件
|
||||
- [ ] `NOTICE`文件中的年份正确
|
||||
- [ ] 所有文本文件开头都有ASF许可证
|
||||
- [ ] 检查第三方依赖许可证:
|
||||
@@ -136,9 +134,7 @@ cd apache-hertzbeat-${release_version}-incubating-src
|
||||
进行如下检查:
|
||||
|
||||
- [ ] 检查源码包是否包含由于包含不必要文件,致使tar包过于庞大
|
||||
- [ ] 文件夹包含单词`incubating`
|
||||
- [ ] 存在`LICENSE`和`NOTICE`文件
|
||||
- [ ] 存在`DISCLAIMER`或`DISCLAIMER-WIP`文件
|
||||
- [ ] `NOTICE`文件中的年份正确
|
||||
- [ ] 只存在文本文件,不存在二进制文件
|
||||
- [ ] 所有文件的开头都有ASF许可证
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
"description": "The label of footer link with label=contact linking to /docs/community/contact"
|
||||
},
|
||||
"copyright": {
|
||||
"message": "\n <div style=\"text-align: left;margin-top:30px\">\n <div style=\"align-items: center; display: flex\">\n <div style=\"width: 1200px; background-color: #282c77; padding: 10px; border-radius: 6px\">\n <a href=\"https://incubator.apache.org/\">\n <img src=\"/img/icons/apache-incubator.svg\" alt=\"Apache Incubator logo\">\n </a>\n </div>\n <div style=\"margin-left: 40px\">\n <p style=\"font-size: 14px;line-height: 25px;\">\n Apache HertzBeat (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.\n </p>\n </div>\n </div>\n\n <div style=\"border-top: 1px solid #525252;min-height: 60px;line-height: 25px;text-align: left;font-size: 14px;display: flex;align-items: center;\">\n <span>\n Copyright © 2024-2025 The Apache Software Foundation. Apache HertzBeat, HertzBeat, and its feather logo are trademarks of The Apache Software Foundation.\n </span>\n </div>\n </div>",
|
||||
"message": "\n <div style=\"text-align: left;margin-top:30px\">\n <div style=\"align-items: center; display: flex\">\n <div style=\"width: 1200px; background-color: #282c77; padding: 10px; border-radius: 6px\">\n <a href=\"https://incubator.apache.org/\">\n <img src=\"/img/icons/apache-incubator.svg\" alt=\"Apache Incubator logo\">\n </a>\n </div>\n <div style=\"margin-left: 40px\">\n <p style=\"font-size: 14px;line-height: 25px;\">\n Apache HertzBeat is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.\n </p>\n </div>\n </div>\n\n <div style=\"border-top: 1px solid #525252;min-height: 60px;line-height: 25px;text-align: left;font-size: 14px;display: flex;align-items: center;\">\n <span>\n Copyright © 2024-2025 The Apache Software Foundation. Apache HertzBeat, HertzBeat, and its feather logo are trademarks of The Apache Software Foundation.\n </span>\n </div>\n </div>",
|
||||
"description": "The footer copyright"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,35 +39,9 @@ export default function () {
|
||||
<h3><Translate>team.name</Translate></h3>
|
||||
<hr style={{maxWidth: "10rem"}}></hr>
|
||||
<p className="team_desc team_indent"><Translate>team.desc</Translate></p>
|
||||
<h3 className="team_title">
|
||||
Mentor
|
||||
<span className="desc"><Translate>team.tip</Translate></span>
|
||||
</h3>
|
||||
<div className="team-row">
|
||||
{
|
||||
dataSource.mentor.map((item, i) => (
|
||||
<div className='team-box' key={i} data-aos="fade-up" data-aos-delay={i * 100}>
|
||||
<div style={{textAlign: "center"}}>
|
||||
<div style={{overflow: "hidden", zIndex: 1}}>
|
||||
<img className="team-user-img" src={avatarUrl(item.githubId)} title="" alt=""/>
|
||||
</div>
|
||||
<div className="bg-team">
|
||||
<h6 className="team-name">{item.name}</h6>
|
||||
<small>{getGitName(item.gitUrl)}</small>
|
||||
<div>
|
||||
<a className="team-link" href={item.gitUrl}>
|
||||
<Github className="github-icon"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
))
|
||||
}
|
||||
</div>
|
||||
|
||||
<h3 className="team_title">
|
||||
PPMC
|
||||
PMC
|
||||
<span className="desc"><Translate>team.tip</Translate></span>
|
||||
</h3>
|
||||
<div className="team-row">
|
||||
@@ -120,7 +94,7 @@ export default function () {
|
||||
}
|
||||
</div>
|
||||
<h3 className="team_title">
|
||||
Contributors
|
||||
Contributor
|
||||
</h3>
|
||||
<span className="desc"><Translate>team.thanks</Translate></span>
|
||||
|
||||
|
||||
@@ -1,31 +1,9 @@
|
||||
{
|
||||
"mentor" : [
|
||||
{
|
||||
"githubId": "24643893",
|
||||
"gitUrl": "https://github.com/tuohai666",
|
||||
"name": "Yonglun Zhang"
|
||||
},
|
||||
{
|
||||
"githubId": "9673503",
|
||||
"gitUrl": "https://github.com/yu199195",
|
||||
"name": "Yu Xiao"
|
||||
},
|
||||
{
|
||||
"githubId": "144504",
|
||||
"gitUrl": "https://github.com/justinmclean",
|
||||
"name": "Justin Mclean"
|
||||
},
|
||||
{
|
||||
"githubId": "2263040",
|
||||
"gitUrl": "https://github.com/F21",
|
||||
"name": "Francis Chuang"
|
||||
}
|
||||
],
|
||||
"pmc": [
|
||||
{
|
||||
"githubId": "24788200",
|
||||
"gitUrl": "https://github.com/tomsun28",
|
||||
"name": "Tom"
|
||||
"name": "Tom (V.P.)"
|
||||
},
|
||||
{
|
||||
"githubId": "48920254",
|
||||
@@ -91,6 +69,26 @@
|
||||
"githubId": "25810623",
|
||||
"gitUrl": "https://github.com/Aias00",
|
||||
"name": "Aias00"
|
||||
},
|
||||
{
|
||||
"githubId": "24643893",
|
||||
"gitUrl": "https://github.com/tuohai666",
|
||||
"name": "Yonglun Zhang"
|
||||
},
|
||||
{
|
||||
"githubId": "9673503",
|
||||
"gitUrl": "https://github.com/yu199195",
|
||||
"name": "Yu Xiao"
|
||||
},
|
||||
{
|
||||
"githubId": "144504",
|
||||
"gitUrl": "https://github.com/justinmclean",
|
||||
"name": "Justin Mclean"
|
||||
},
|
||||
{
|
||||
"githubId": "2263040",
|
||||
"gitUrl": "https://github.com/F21",
|
||||
"name": "Francis Chuang"
|
||||
}
|
||||
],
|
||||
"committer" : [
|
||||
|
||||
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 8.9 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 8.2 KiB After Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 13 KiB |
@@ -114,9 +114,7 @@ tar -xzvf apache-hertzbeat-${release.version}-incubating-bin.tar.gz
|
||||
check as follows:
|
||||
|
||||
- [ ] Check whether the source package contains unnecessary files, which makes the tar package too large
|
||||
- [ ] Folder contains the word `incubating`
|
||||
- [ ] There are `LICENSE` and `NOTICE` files
|
||||
- [ ] There is a `DISCLAIMER` or `DISCLAIMER-WIP` file
|
||||
- [ ] The year in the `NOTICE` file is correct
|
||||
- [ ] Only text files exist, not binary files
|
||||
- [ ] All files have ASF license at the beginning
|
||||
@@ -138,7 +136,6 @@ compile the source code: [Build HertzBeat Binary Package](https://hertzbeat.apac
|
||||
and check as follows:
|
||||
|
||||
- [ ] There are `LICENSE` and `NOTICE` files
|
||||
- [ ] There is a `DISCLAIMER` or `DISCLAIMER-WIP` file
|
||||
- [ ] The year in the `NOTICE` file is correct
|
||||
- [ ] All text files have ASF license at the beginning
|
||||
- [ ] Check the third-party dependent license:
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin-linux_amd64</id>
|
||||
<id>bin-linux_amd64</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}-incubating</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -92,7 +92,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin-linux_arm64</id>
|
||||
<id>bin-linux_arm64</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}-incubating</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -92,7 +92,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin-macos_amd64</id>
|
||||
<id>bin-macos_amd64</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}-incubating</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -92,7 +92,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin-macos_arm64</id>
|
||||
<id>bin-macos_arm64</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}-incubating</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -92,7 +92,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin-windows64</id>
|
||||
<id>bin-windows64</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}-incubating</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
@@ -92,7 +92,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -22,9 +22,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin</id>
|
||||
<id>bin</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}-incubating-bin</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-collector-${hzb.version}-bin</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -86,7 +86,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -29,10 +29,10 @@ echo Start shutdown HertzBeat %SERVER_NAME%
|
||||
for /f "tokens=1-5" %%i in ('netstat -ano^|findstr ":%SERVER_PORT%"') do (
|
||||
echo kill the process %%m who use the port
|
||||
taskkill /pid %%m -t -f
|
||||
echo Shutdown HertzBeat %SERVER_NAME% Success!
|
||||
echo Shutdown Apache HertzBeat %SERVER_NAME% Success!
|
||||
goto q
|
||||
)
|
||||
echo Failed shutdown HertzBeat %SERVER_NAME%
|
||||
echo Failed shutdown Apache HertzBeat %SERVER_NAME%
|
||||
|
||||
:q
|
||||
pause
|
||||
|
||||
@@ -25,9 +25,9 @@ APPLICATION_JAR="${project.build.finalName}.jar"
|
||||
PID=$(ps -ef | grep java | grep "${APPLICATION_JAR}" | grep -v grep | awk '{ print $2 }')
|
||||
if [[ -z "$PID" ]]
|
||||
then
|
||||
echo HertzBeat ${APPLICATION} is already stopped
|
||||
echo Apache HertzBeat ${APPLICATION} is already stopped
|
||||
else
|
||||
echo kill ${PID}
|
||||
kill -9 ${PID}
|
||||
echo Shutdown HertzBeat ${APPLICATION} Success!
|
||||
echo Shutdown Apache HertzBeat ${APPLICATION} Success!
|
||||
fi
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-docker-compose</id>
|
||||
<id>docker-compose</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}-incubating-docker-compose</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}-docker-compose</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -87,7 +87,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>LICENSE</include>
|
||||
<include>NOTICE</include>
|
||||
</includes>
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
<!--
|
||||
~ Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
~ contributor license agreements. See the NOTICE file distributed with
|
||||
~ this work for additional information regarding copyright ownership.
|
||||
~ The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
~ (the "License"); you may not use this 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.
|
||||
-->
|
||||
<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>docker-bin</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>hertzbeat</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
</formats>
|
||||
<!--Third-party dependency settings-->
|
||||
<dependencySets>
|
||||
<dependencySet>
|
||||
<!--Use artifacts in the project, third-party packages packaged into the lib directory of the tar.gz file-->
|
||||
<useProjectArtifact>true</useProjectArtifact>
|
||||
<outputDirectory>lib</outputDirectory>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
|
||||
<!--File-related settings-->
|
||||
<fileSets>
|
||||
<!--All script files under the bin directory are output to the bin directory after packaging-->
|
||||
<fileSet>
|
||||
<directory>../script/assembly/server/bin</directory>
|
||||
<!-- Whether to perform property replacement, that is, use ${project.artifactId} -->
|
||||
<filtered>true</filtered>
|
||||
<outputDirectory>bin</outputDirectory>
|
||||
<fileMode>0755</fileMode>
|
||||
</fileSet>
|
||||
|
||||
<!-- Configuration files under the src/main/resources directory are packaged to the config directory-->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>application.yml</include>
|
||||
<include>logback-spring.xml</include>
|
||||
<include>sureness.yml</include>
|
||||
</includes>
|
||||
<filtered>true</filtered>
|
||||
<outputDirectory>${file.separator}config</outputDirectory>
|
||||
</fileSet>
|
||||
|
||||
<!-- Configuration files under the src/main/resources/define directory are packaged to the define directory -->
|
||||
<fileSet>
|
||||
<directory>src/main/resources</directory>
|
||||
<includes>
|
||||
<include>define/**</include>
|
||||
</includes>
|
||||
<filtered>true</filtered>
|
||||
<outputDirectory>${file.separator}</outputDirectory>
|
||||
</fileSet>
|
||||
|
||||
<!-- Pack the startup jar in the target directory to the directory-->
|
||||
<fileSet>
|
||||
<directory>target</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>*.jar</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
<!-- Pack the static resources of the web app into the dist directory-->
|
||||
<fileSet>
|
||||
<directory>../web-app/dist</directory>
|
||||
<outputDirectory>dist</outputDirectory>
|
||||
</fileSet>
|
||||
|
||||
<!-- external lib -->
|
||||
<fileSet>
|
||||
<directory>../script/ext-lib</directory>
|
||||
<includes>
|
||||
<include>**/*</include>
|
||||
</includes>
|
||||
<outputDirectory>ext-lib</outputDirectory>
|
||||
</fileSet>
|
||||
|
||||
<!-- license -->
|
||||
<fileSet>
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../material/licenses</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>LICENSE</include>
|
||||
<include>NOTICE</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../material/licenses/backend</directory>
|
||||
<outputDirectory>licenses</outputDirectory>
|
||||
<includes>
|
||||
<include>LICENSE-*</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>../material/licenses/frontend</directory>
|
||||
<outputDirectory>licenses</outputDirectory>
|
||||
<includes>
|
||||
<include>LICENSE-*</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
</fileSets>
|
||||
</assembly>
|
||||
@@ -19,9 +19,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin-linux_amd64</id>
|
||||
<id>bin-linux_amd64</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}-incubating</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -104,7 +104,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin-linux_arm64</id>
|
||||
<id>bin-linux_arm64</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}-incubating</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -104,7 +104,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin-macos_amd64</id>
|
||||
<id>bin-macos_amd64</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}-incubating</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -104,7 +104,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin-macos_arm64</id>
|
||||
<id>bin-macos_arm64</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}-incubating</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -103,7 +103,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin-windows64</id>
|
||||
<id>bin-windows64</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}-incubating</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>zip</format>
|
||||
@@ -104,7 +104,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd
|
||||
http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<!--Required, will be appended to the end of the packaged file name-->
|
||||
<id>incubating-bin</id>
|
||||
<id>bin</id>
|
||||
<includeBaseDirectory>true</includeBaseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}-incubating-bin</baseDirectory>
|
||||
<baseDirectory>apache-hertzbeat-${hzb.version}-bin</baseDirectory>
|
||||
<!--Packaging type, multiple types can be set, different types will be packaged when packaging-->
|
||||
<formats>
|
||||
<format>tar.gz</format>
|
||||
@@ -97,7 +97,6 @@ http://maven.apache.org/ASSEMBLY/2.0.0 ">
|
||||
<directory>../</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>DISCLAIMER</include>
|
||||
<include>README.md</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
|
||||
@@ -29,10 +29,10 @@ echo Start shutdown HertzBeat %SERVER_NAME%
|
||||
for /f "tokens=1-5" %%i in ('netstat -ano^|findstr ":%SERVER_PORT%"') do (
|
||||
echo kill the process %%m who use the port
|
||||
taskkill /pid %%m -t -f
|
||||
echo Shutdown HertzBeat %SERVER_NAME% Success!
|
||||
echo Shutdown Apache HertzBeat %SERVER_NAME% Success!
|
||||
goto q
|
||||
)
|
||||
echo Failed shutdown HertzBeat %SERVER_NAME%
|
||||
echo Failed shutdown Apache HertzBeat %SERVER_NAME%
|
||||
|
||||
:q
|
||||
pause
|
||||
pause
|
||||
|
||||
@@ -25,9 +25,9 @@ APPLICATION_JAR="${project.build.finalName}.jar"
|
||||
PID=$(ps -ef | grep java | grep "${APPLICATION_JAR}" | grep -v grep | awk '{ print $2 }')
|
||||
if [[ -z "$PID" ]]
|
||||
then
|
||||
echo HertzBeat ${APPLICATION} is already stopped
|
||||
echo Apache HertzBeat ${APPLICATION} is already stopped
|
||||
else
|
||||
echo kill ${PID}
|
||||
kill -9 ${PID}
|
||||
echo Shutdown HertzBeat ${APPLICATION} Success!
|
||||
fi
|
||||
echo Shutdown Apache HertzBeat ${APPLICATION} Success!
|
||||
fi
|
||||
|
||||
@@ -25,12 +25,12 @@ ARG VERSION
|
||||
RUN apt-get update && apt-get install -y openssh-server
|
||||
RUN mkdir /var/run/sshd
|
||||
|
||||
ADD apache-hertzbeat-collector-*-incubating-bin.tar.gz /opt/
|
||||
ADD apache-hertzbeat-collector-*-bin.tar.gz /opt/
|
||||
|
||||
ENV JAVA_OPTS ""
|
||||
ENV TZ=Asia/Shanghai
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
||||
WORKDIR /opt/apache-hertzbeat-collector-${VERSION}-incubating-bin/
|
||||
WORKDIR /opt/apache-hertzbeat-collector-${VERSION}-bin/
|
||||
|
||||
ENTRYPOINT ["./bin/entrypoint.sh"]
|
||||
|
||||
@@ -22,7 +22,7 @@ CURRENT_DIR=`pwd`
|
||||
# cd dist dir
|
||||
cd ../../../dist
|
||||
# auto detect hertzbeat version
|
||||
VERSION=`ls apache-hertzbeat-collector-*-incubating-bin.tar.gz| awk -F"-" '{print $4}'`
|
||||
VERSION=`ls apache-hertzbeat-collector-*-bin.tar.gz| awk -F"-" '{print $4}'`
|
||||
# use the version param
|
||||
if [ -n "$1" ]; then
|
||||
VERSION="$1";
|
||||
|
||||
@@ -29,9 +29,7 @@ RUN localedef -c -f UTF-8 -i en_US en_US.UTF-8
|
||||
ENV TZ=Asia/Shanghai
|
||||
ENV LANG=en_US.UTF-8
|
||||
|
||||
ADD apache-hertzbeat-1.*-incubating-bin.tar.gz /opt/
|
||||
|
||||
RUN mv /opt/apache-hertzbeat-*-incubating-bin /opt/hertzbeat
|
||||
ADD apache-hertzbeat-1.*-docker-bin.tar.gz /opt/
|
||||
|
||||
EXPOSE 1157 1158 22
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ CURRENT_DIR=`pwd`
|
||||
# cd dist dir
|
||||
cd ../../../dist
|
||||
# auto detect hertzbeat version
|
||||
VERSION=`ls apache-hertzbeat-*-incubating-docker-compose.tar.gz| awk -F"-" '{print $3}'`
|
||||
VERSION=`ls apache-hertzbeat-*-docker-compose.tar.gz| awk -F"-" '{print $3}'`
|
||||
|
||||
# compile context dir
|
||||
CONTEXT_DIR=`pwd`
|
||||
|
||||
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 13 KiB |