Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/bruce-pang/ob-samples int…
Browse files Browse the repository at this point in the history
…o spring-jdbc-oceanbase

# Conflicts:
#	.github/workflows/ci.yml
  • Loading branch information
bruce-pang committed May 20, 2024
2 parents b966dc6 + dd2d635 commit 607d5be
Show file tree
Hide file tree
Showing 1,203 changed files with 160,977 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci-hertzbeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: HertzBeat CI
on:
pull_request:
paths:
- 'applications/hertzbeat/**'

jobs:
application-hertzbeat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Java Env
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'zulu'
cache: 'maven'
- name: Start OceanBase container
uses: oceanbase/[email protected]
with:
network: 'host'
- name: Build and Test
run: |
cd applications/hertzbeat
mvn clean test
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ jobs:
- name: 'mybatis-plus'
language: 'java'
with_oceanbase_container: false
- name: 'mybatis'
language: 'java'
with_oceanbase_container: true
- name: 'spring-jdbc'
language: 'java'
with_oceanbase_container: true
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ build/Release

# Dependency directories
node_modules/
config/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
Expand Down Expand Up @@ -311,4 +310,4 @@ venv.bak/
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
dmypy.json
60 changes: 60 additions & 0 deletions applications/hertzbeat/.asf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this 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.
#

github:
description: Apache HertzBeat(incubating) is a real-time monitoring system with agentless, performance cluster, prometheus-compatible, custom monitoring and status page building capabilities.
homepage: https://hertzbeat.apache.org/
labels:
- monitoring
- monitor
- notifications
- alerting
- self-hosted
- prometheus
- zabbix
- grafana
- metrics
- observability
- uptime
- uptime-monitoring
- status
- status-page
- devops
- server
- linux
- database
- mysql
- cloud
enabled_merge_buttons:
squash: true
merge: false
rebase: false
protected_branches:
master:
required_status_checks:
strict: true
contexts:
- check-license-header
required_pull_request_reviews:
dismiss_stale_reviews: true
required_approving_review_count: 1
notifications:
commits: [email protected]
issues: [email protected]
pullrequests: [email protected]
jobs: [email protected]
discussions: [email protected]
23 changes: 23 additions & 0 deletions applications/hertzbeat/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this 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.
#

/home export-ignore
/hip export-ignore
/.github export-ignore
/.idea export-ignore
.gitattributes export-ignore
.gitignore export-ignore
56 changes: 56 additions & 0 deletions applications/hertzbeat/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
target/
!.mvn/wrapper/maven-wrapper.jar
Thumbs.db
.DS_Store
.gradle
build/
out/
micronaut-cli.yml
.mvn/
mvnw
mvnw.bat
*.log
package-lock.json
*.zip
jdk/

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### For icon.png ###
!.idea/icon.png

### NetBeans ###
nbproject/private/
build/
nbbuild/
dist/
nbdist/
.nb-gradle/

### VS Code ###
.vscode/

# dependencies
node_modules
.docusaurus

# h2 data
*.mv.db
*.trace.db

# debug env
application-dev.yml
application-mysql.yml
application-pg.yml
103 changes: 103 additions & 0 deletions applications/hertzbeat/.licenserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this 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.
#

header:
license:
spdx-id: Apache-2.0
copyright-owner: Apache Software Foundation

paths-ignore:
- '**/*.md'
- '**/*.json'
- '**/*.iml'
- '**/*.ini'
- '**/*.svg'
- '**/*.png'
- '**/*.MD'
- '**/*.ftl'
- '**/*.tpl'
- '**/*.pl'
- '**/*.dict'
- '**/*.awk'
- "**/*.lock"
- '**/*.crt'
- '**/*.pem'
- '**/*.js'
- '**/*.less'
- '**/*.txt'
- '**/target/**'
- '.gitattributes'
- '**/.gitignore'
- '**/.gitkeep'
- 'home/**'
- 'material/**'
- 'LICENSE'
- 'NOTICE'
- 'DISCLAIMER'
- '**/LICENSE'
- '**/NOTICE'
- '.all-contributorsrc'
- '**/*.AbstractCollect'
- '**/*.Plugin'
- '**/*.MockMaker'
- '.prettierrc'
- '.browserslistrc'
- '.editorconfig'
- '.eslintignore'
- '.eslintrc.js'
- '.stylelintrc'
- '.prettierignore'
- '.prettierrc.js'
- 'karma.conf.js'
- 'proxy.conf.js'
- '.helmignore'
- 'web-app/src/app/core/**'
- 'web-app/src/app/layout/**'
- 'web-app/src/app/routes/exception/**'
- 'web-app/src/app/routes/routes.module.ts'
- 'web-app/src/app/routes/routes-routing.module.ts'
- 'web-app/src/app/shared/json-schema/**'
- 'web-app/src/app/shared/index.ts'
- 'web-app/src/app/shared/shared.module.ts'
- 'web-app/src/app/shared/shared-delon.module.ts'
- 'web-app/src/app/shared/shared-zorro.module.ts'
- 'web-app/src/app/app.module.ts'
- 'web-app/src/app/app.component.ts'
- 'web-app/src/app/global-config.module.ts'
- 'web-app/src/app/icons-provider.module.ts'
- 'web-app/src/assets/color.less'
- 'web-app/src/assets/style.compact.less'
- 'web-app/src/assets/style.dark.less'
- 'web-app/src/environments/**'
- 'web-app/src/styles/**'
- 'web-app/src/index.html'
- 'web-app/src/main.ts'
- 'web-app/src/polyfills.ts'
- 'web-app/src/style-icons.ts'
- 'web-app/src/style-icons-auto.ts'
- 'web-app/src/style.less'
- 'web-app/src/test.ts'
- 'web-app/src/typings.d.ts'

comment: on-failure

dependency:
files:
- pom.xml
- web-app/package.json


10 changes: 10 additions & 0 deletions applications/hertzbeat/DISCLAIMER
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
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.
Loading

0 comments on commit 607d5be

Please sign in to comment.