This is an automated email from the ASF dual-hosted git repository.
ming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
The following commit(s) were added to refs/heads/master by this push:
new bfe9fae15 chore: reset hugegraph version to 1.2.0 (#2382)
bfe9fae15 is described below
commit bfe9fae150446857412db23ada0dae9d05035837
Author: V_Galaxy <[email protected]>
AuthorDate: Sat Dec 9 22:02:49 2023 +0800
chore: reset hugegraph version to 1.2.0 (#2382)
* chore: reset version to 1.2.0
* chore: add README for three submodules
* fix: README.md
* fix: README.md
* fix: README.md
* fix: README.md
---
hugegraph-pd/README.md | 5 +++++
hugegraph-server/Dockerfile | 2 +-
hugegraph-server/README.md | 11 +++++++++++
.../java/org/apache/hugegraph/version/CoreVersion.java | 2 +-
hugegraph-server/hugegraph-dist/pom.xml | 16 ++++++++++++++++
hugegraph-server/pom.xml | 11 +++++++++++
hugegraph-store/README.md | 5 +++++
pom.xml | 2 +-
8 files changed, 51 insertions(+), 3 deletions(-)
diff --git a/hugegraph-pd/README.md b/hugegraph-pd/README.md
index e69de29bb..49548c216 100644
--- a/hugegraph-pd/README.md
+++ b/hugegraph-pd/README.md
@@ -0,0 +1,5 @@
+# HugeGraph PD
+
+HugeGraph PD is a meta server responsible for service discovery, partition
information storage, and node scheduling.
+
+> Note: Currently, the contents of this folder are empty. Starting from
revision 1.5.0, the code of HugeGraph PD will be adapted to this location (WIP).
diff --git a/hugegraph-server/Dockerfile b/hugegraph-server/Dockerfile
index 93368487a..a28e63ea1 100644
--- a/hugegraph-server/Dockerfile
+++ b/hugegraph-server/Dockerfile
@@ -26,7 +26,7 @@ RUN mvn package -e -B -ntp -DskipTests
-Dmaven.javadoc.skip=true && pwd && ls -l
# 2nd stage: runtime env
FROM openjdk:11-slim
# TODO: get the version from the pom.xml
-ENV version=1.5.0
+ENV version=1.2.0
COPY --from=build /pkg/hugegraph-server/apache-hugegraph-incubating-$version/
/hugegraph-server
LABEL maintainer="HugeGraph Docker Maintainers <[email protected]>"
diff --git a/hugegraph-server/README.md b/hugegraph-server/README.md
new file mode 100644
index 000000000..f2c3ceee7
--- /dev/null
+++ b/hugegraph-server/README.md
@@ -0,0 +1,11 @@
+# HugeGraph Server
+
+HugeGraph Server consists of two layers of functionality: the graph engine
layer, and the storage layer.
+
+- Graph Engine Layer:
+ - REST Server: Provides a RESTful API for querying graph/schema information,
supports the [Gremlin](https://tinkerpop.apache.org/gremlin.html) and
[Cypher](https://en.wikipedia.org/wiki/Cypher) query languages, and offers APIs
for service monitoring and operations.
+ - Graph Engine: Supports both OLTP and OLAP graph computation types, with
OLTP implementing the [Apache TinkerPop3](https://tinkerpop.apache.org)
framework.
+ - Backend Interface: Implements the storage of graph data to the backend.
+
+- Storage Layer:
+ - Storage Backend: Supports multiple built-in storage backends
(RocksDB/MySQL/HBase/...) and allows users to extend custom backends without
modifying the existing source code.
diff --git
a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/version/CoreVersion.java
b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/version/CoreVersion.java
index 46b84ebfe..f3c277b67 100644
---
a/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/version/CoreVersion.java
+++
b/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/version/CoreVersion.java
@@ -23,7 +23,7 @@ import org.apache.hugegraph.util.VersionUtil.Version;
public class CoreVersion {
public static final String NAME = "hugegraph-core";
- public static final String DEFAULT_VERSION = "1.5.0";
+ public static final String DEFAULT_VERSION = "1.2.0";
/**
* The second parameter of Version.of() is for IDE running without JAR
*/
diff --git a/hugegraph-server/hugegraph-dist/pom.xml
b/hugegraph-server/hugegraph-dist/pom.xml
index 9a58ac767..cdec80950 100644
--- a/hugegraph-server/hugegraph-dist/pom.xml
+++ b/hugegraph-server/hugegraph-dist/pom.xml
@@ -293,6 +293,22 @@
<include
name="${final.name}/**"/>
</tarfileset>
</tar>
+ <!-- copy the artifacts to root
+ directory for better user
experience -->
+ <!-- REMOVE ME after revision 1.5.0 -->
+ <exec executable="cp"
+ dir="${project.basedir}"
+ failonerror="false">
+ <arg value="-r"/>
+ <arg value="../${final.name}"/>
+ <arg value="../../${final.name}"/>
+ </exec>
+ <exec executable="cp"
+ dir="${project.basedir}"
+ failonerror="false">
+ <arg
value="../${final.name}.tar.gz"/>
+ <arg
value="../../${final.name}.tar.gz"/>
+ </exec>
</target>
</configuration>
</execution>
diff --git a/hugegraph-server/pom.xml b/hugegraph-server/pom.xml
index 2d5a51cb9..e5f09d22e 100644
--- a/hugegraph-server/pom.xml
+++ b/hugegraph-server/pom.xml
@@ -310,6 +310,17 @@
<fileset>
<directory>${final.name}</directory>
</fileset>
+ <!-- remove the artifacts in root directory -->
+ <!-- REMOVE ME after revision 1.5.0 -->
+ <fileset>
+ <directory>../${project.basedir}</directory>
+ <includes>
+ <include>*.tar.gz</include>
+ </includes>
+ </fileset>
+ <fileset>
+ <directory>../${final.name}</directory>
+ </fileset>
</filesets>
</configuration>
</plugin>
diff --git a/hugegraph-store/README.md b/hugegraph-store/README.md
index e69de29bb..bef8b53c8 100644
--- a/hugegraph-store/README.md
+++ b/hugegraph-store/README.md
@@ -0,0 +1,5 @@
+# HugeGraph Store
+
+HugeGraph Store is a new built-in storage backend, which uses RocksDB as the
distributed backend storage engine.
+
+> Note: Currently, the contents of this folder are empty. Starting from
revision 1.5.0, the code of HugeGraph Store will be adapted to this location
(WIP).
diff --git a/pom.xml b/pom.xml
index f5e44e42d..6917da79f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -89,7 +89,7 @@
</prerequisites>
<properties>
- <revision>1.5.0</revision>
+ <revision>1.2.0</revision>
</properties>
<modules>