Skip to content

Commit

Permalink
chore: reset hugegraph version to 1.2.0 (apache#2382)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
VGalaxies committed Jan 12, 2024
1 parent f1bd8e2 commit dfd0047
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 1,544 deletions.
941 changes: 3 additions & 938 deletions hugegraph-pd/README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion hugegraph-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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]>"

Expand Down
11 changes: 11 additions & 0 deletions hugegraph-server/README.md
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
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
*/
Expand Down
16 changes: 16 additions & 0 deletions hugegraph-server/hugegraph-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,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>
Expand Down
11 changes: 11 additions & 0 deletions hugegraph-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,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>
Expand Down
Loading

0 comments on commit dfd0047

Please sign in to comment.