Skip to content

Commit 035ead5

Browse files
authored
chore: rename CeresDB to HoraeDB (#71)
* replace ceresdb-proto to horaedb-proto * rename module name * rename ceresdb to horaedb * fmt test code * fix CI
1 parent 18fc2d3 commit 035ead5

File tree

212 files changed

+178
-180
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+178
-180
lines changed

.github/workflows/build.yml

+20-20
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
2020
&& sh ./tools/check_format.sh
2121

22-
test_ceresdb_common:
22+
test_horaedb_common:
2323
needs: check_format
2424
runs-on: ubuntu-latest
2525
steps:
@@ -30,11 +30,11 @@ jobs:
3030
java-version: 1.8
3131
- name: Maven Test
3232
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
33-
&& (mvn --projects ceresdb-common test
34-
|| mvn --projects ceresdb-common test
35-
|| mvn --projects ceresdb-common test)
33+
&& (mvn --projects horaedb-common test
34+
|| mvn --projects horaedb-common test
35+
|| mvn --projects horaedb-common test)
3636

37-
test_ceresdb_grpc:
37+
test_horaedb_grpc:
3838
needs: check_format
3939
runs-on: ubuntu-latest
4040
steps:
@@ -45,11 +45,11 @@ jobs:
4545
java-version: 1.8
4646
- name: Maven Test
4747
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
48-
&& (mvn --projects ceresdb-grpc test
49-
|| mvn --projects ceresdb-grpc test
50-
|| mvn --projects ceresdb-grpc test)
48+
&& (mvn --projects horaedb-grpc test
49+
|| mvn --projects horaedb-grpc test
50+
|| mvn --projects horaedb-grpc test)
5151

52-
test_ceresdb_protocol:
52+
test_horaedb_protocol:
5353
needs: check_format
5454
runs-on: ubuntu-latest
5555
steps:
@@ -60,11 +60,11 @@ jobs:
6060
java-version: 1.8
6161
- name: Maven Test
6262
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
63-
&& (mvn --projects ceresdb-protocol test
64-
|| mvn --projects ceresdb-protocol test
65-
|| mvn --projects ceresdb-protocol test)
63+
&& (mvn --projects horaedb-protocol test
64+
|| mvn --projects horaedb-protocol test
65+
|| mvn --projects horaedb-protocol test)
6666

67-
test_ceresdb_sql:
67+
test_horaedb_sql:
6868
needs: check_format
6969
runs-on: ubuntu-latest
7070
steps:
@@ -75,11 +75,11 @@ jobs:
7575
java-version: 1.8
7676
- name: Maven Test
7777
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
78-
&& (mvn --projects ceresdb-sql test
79-
|| mvn --projects ceresdb-sql test
80-
|| mvn --projects ceresdb-sql test)
78+
&& (mvn --projects horaedb-sql test
79+
|| mvn --projects horaedb-sql test
80+
|| mvn --projects horaedb-sql test)
8181

82-
test_ceresdb_javacc:
82+
test_horaedb_javacc:
8383
needs: check_format
8484
runs-on: ubuntu-latest
8585
steps:
@@ -90,6 +90,6 @@ jobs:
9090
java-version: 1.8
9191
- name: Maven Test
9292
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
93-
&& (mvn --projects ceresdb-sql-javacc test
94-
|| mvn --projects ceresdb-sql-javacc test
95-
|| mvn --projects ceresdb-sql-javacc test)
93+
&& (mvn --projects horaedb-sql-javacc test
94+
|| mvn --projects horaedb-sql-javacc test
95+
|| mvn --projects horaedb-sql-javacc test)

README.md

+4-4

README_CN.md

+7-7

ceresdb-common/src/main/java/io/ceresdb/common/OptKeys.java

-24
This file was deleted.

docs/CHANGELOG.md

+1-1

docs/CHANGELOG_CN.md

+1-1

docs/configuration.md

+8-8

docs/metrics_and_display.md

+2-2

docs/read.md

+1-1

ceresdb-all/pom.xml renamed to horaedb-all/pom.xml

+7-7
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,37 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<artifactId>ceresdb-client</artifactId>
5+
<artifactId>horaedb-client</artifactId>
66
<groupId>io.ceresdb</groupId>
77
<version>${revision}</version>
88
</parent>
99

10-
<artifactId>ceresdb-all</artifactId>
10+
<artifactId>horaedb-all</artifactId>
1111

1212
<dependencies>
1313
<dependency>
1414
<groupId>${project.groupId}</groupId>
15-
<artifactId>ceresdb-common</artifactId>
15+
<artifactId>horaedb-common</artifactId>
1616
<version>${project.version}</version>
1717
</dependency>
1818
<dependency>
1919
<groupId>${project.groupId}</groupId>
20-
<artifactId>ceresdb-grpc</artifactId>
20+
<artifactId>horaedb-grpc</artifactId>
2121
<version>${project.version}</version>
2222
</dependency>
2323
<dependency>
2424
<groupId>${project.groupId}</groupId>
25-
<artifactId>ceresdb-protocol</artifactId>
25+
<artifactId>horaedb-protocol</artifactId>
2626
<version>${project.version}</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>${project.groupId}</groupId>
30-
<artifactId>ceresdb-rpc</artifactId>
30+
<artifactId>horaedb-rpc</artifactId>
3131
<version>${project.version}</version>
3232
</dependency>
3333
<dependency>
3434
<groupId>${project.groupId}</groupId>
35-
<artifactId>ceresdb-sql-javacc</artifactId>
35+
<artifactId>horaedb-sql-javacc</artifactId>
3636
<version>${project.version}</version>
3737
</dependency>
3838
</dependencies>

ceresdb-common/pom.xml renamed to horaedb-common/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<artifactId>ceresdb-client</artifactId>
5+
<artifactId>horaedb-client</artifactId>
66
<groupId>io.ceresdb</groupId>
77
<version>${revision}</version>
88
</parent>
99

10-
<artifactId>ceresdb-common</artifactId>
10+
<artifactId>horaedb-common</artifactId>
1111

1212
<dependencies>
1313
<!-- metrics -->
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright 2023 CeresDB Project Authors. Licensed under Apache-2.0.
3+
*/
4+
package io.ceresdb.common;
5+
6+
/**
7+
* System properties option keys
8+
*
9+
*/
10+
public final class OptKeys {
11+
12+
public static final String OS_NAME = "os.name";
13+
public static final String RW_LOGGING = "HoraeDB.client.read.write.rw_logging";
14+
public static final String COLLECT_WROTE_DETAIL = "HoraeDB.client.write.collect_wrote_detail";
15+
public static final String USE_OS_SIGNAL = "HoraeDB.client.use_os_signal";
16+
public static final String REPORT_PERIOD = "HoraeDB.reporter.period_minutes";
17+
public static final String SIG_OUT_DIR = "HoraeDB.signal.out_dir";
18+
public static final String GRPC_CONN_RESET_THRESHOLD = "HoraeDB.grpc.conn.failures.reset_threshold";
19+
public static final String AVAILABLE_CPUS = "HoraeDB.available_cpus";
20+
public static final String WRITE_LIMIT_PERCENT = "HoraeDB.rpc.write.limit_percent";
21+
22+
private OptKeys() {
23+
}
24+
}

ceresdb-common/src/main/java/io/ceresdb/common/util/Cpus.java renamed to horaedb-common/src/main/java/io/ceresdb/common/util/Cpus.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class Cpus {
1717
/**
1818
* The configured number of available processors. The default is
1919
* {@link Runtime#availableProcessors()}. This can be overridden
20-
* by setting the system property "CeresDB.available_cpus".
20+
* by setting the system property "HoraeDB.available_cpus".
2121
*
2222
* @return available cpus num
2323
*/

ceresdb-example/pom.xml renamed to horaedb-example/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
33
<modelVersion>4.0.0</modelVersion>
44
<parent>
5-
<artifactId>ceresdb-client</artifactId>
5+
<artifactId>horaedb-client</artifactId>
66
<groupId>io.ceresdb</groupId>
77
<version>${revision}</version>
88
</parent>
99

10-
<artifactId>ceresdb-example</artifactId>
10+
<artifactId>horaedb-example</artifactId>
1111

1212
<dependencies>
1313
<dependency>
1414
<groupId>${project.groupId}</groupId>
15-
<artifactId>ceresdb-all</artifactId>
15+
<artifactId>horaedb-all</artifactId>
1616
<version>${project.version}</version>
1717
</dependency>
1818

0 commit comments

Comments
 (0)