chore: init github actions for toolchains & refact submodules (#258)
diff --git a/hugegraph-tools/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
similarity index 82%
rename from hugegraph-tools/.github/ISSUE_TEMPLATE/bug_report.yml
rename to .github/ISSUE_TEMPLATE/bug_report.yml
index a4f8c74..609b141 100644
--- a/hugegraph-tools/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -11,7 +11,7 @@
### Note (特别注意) :
> 1. 请先**搜索**现有的[Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与
- [Tools-Issues](https://github.com/hugegraph/hugegraph-tools/issues) 中没有与您相同
+ [Toolchain-Issues](https://github.com/hugegraph/hugegraph-loader/issues) 中没有与您相同
/ 相关的问题 (请勿重复提交)
> 2. 我们需要尽可能**详细**的信息来**复现**问题, 越详细的信息 (包括**日志 / 截图 / 配置**等)
@@ -26,16 +26,18 @@
attributes:
label: Bug Type (问题类型)
options:
+ - gremlin (结果不合预期)
+ - rest-api (结果不合预期)
+ - dashboard render (前端渲染问题)
+ - data inconsistency (数据不一致)
- exception / error (异常报错)
- - data inconsistency (备份 / 迁移后不合预期)
- - logic (逻辑设计问题)
- - others (please edit later)
+ - others (please comment below)
- type: checkboxes
attributes:
label: Before submit
options:
- - label: 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Tools-Issues](https://github.com/hugegraph/hugegraph-tools/issues) 中没有相同 / 重复问题
+ - label: 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Toolchain-Issues](https://github.com/hugegraph/hugegraph-loader/issues) 中没有相同 / 重复问题
required: true
- type: textarea
@@ -44,8 +46,8 @@
description: |
> server version could get from [rest-api](https://hugegraph.github.io/hugegraph-doc/clients/restful-api/other.html) (http://localhost:8080/versions)
value: |
- - Server Version: v0.11.x
- - Tools Version: v1.x
+ - Server Version: v0.12.x
+ - Loader Version: v0.12.x
- Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
validations:
required: true
@@ -60,7 +62,7 @@
type the main problem here
```java
- // Exception / Error info (尽可能详细的日志 + 完整异常栈)
+ // Detailed exception / error info (尽可能详细的日志 + 完整异常栈)
```
validations:
diff --git a/hugegraph-client/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
similarity index 68%
rename from hugegraph-client/.github/ISSUE_TEMPLATE/config.yml
rename to .github/ISSUE_TEMPLATE/config.yml
index 7aa5dc1..94e67f7 100644
--- a/hugegraph-client/.github/ISSUE_TEMPLATE/config.yml
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -2,6 +2,10 @@
# 设置提 issue 前的参考文档
contact_links:
+ - name: HugeGraph toolchain Doc
+ # TODO: update the url after repository rename
+ url: https://hugegraph.github.io/hugegraph-doc
+ about: Please search question here before opening a new issue
- name: HugeGraph Client Doc
url: https://hugegraph.github.io/hugegraph-doc/quickstart/hugegraph-client.html
about: Please search question here before opening a new issue
diff --git a/hugegraph-client/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
similarity index 100%
rename from hugegraph-client/.github/ISSUE_TEMPLATE/feature_request.yml
rename to .github/ISSUE_TEMPLATE/feature_request.yml
diff --git a/hugegraph-tools/.github/ISSUE_TEMPLATE/question_ask.yml b/.github/ISSUE_TEMPLATE/question_ask.yml
similarity index 84%
rename from hugegraph-tools/.github/ISSUE_TEMPLATE/question_ask.yml
rename to .github/ISSUE_TEMPLATE/question_ask.yml
index cc211b4..a13e685 100644
--- a/hugegraph-tools/.github/ISSUE_TEMPLATE/question_ask.yml
+++ b/.github/ISSUE_TEMPLATE/question_ask.yml
@@ -9,7 +9,7 @@
### Note (特别注意) :
> 1. 请先**搜索**现有的[Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与
- [Tools-Issues](https://github.com/hugegraph/hugegraph-tools/issues) 中没有与您相同
+ [Toolchain-Issues](https://github.com/hugegraph/hugegraph-loader/issues) 中没有与您相同
/ 相关的问题 (请勿重复提交)
> 2. 我们需要尽可能**详细**的信息来**复现**问题, 越详细的信息 (包括**日志 / 截图 / 配置**等)
@@ -24,18 +24,21 @@
attributes:
label: Problem Type (问题类型)
options:
- - exception / error (异常报错)
- - data inconsistency (备份 / 迁移后不合预期)
+ - gremlin (结果不合预期)
+ - rest-api (结果不合预期)
- logic (逻辑设计问题)
+ - performence (性能问题)
+ - dashboard render (前端渲染问题)
+ - data inconsistency (数据不一致)
- configs (配置项 / 文档相关)
- - performence (性能优化)
- - others (please edit later)
+ - exception / error (异常报错)
+ - others (please comment below)
- type: checkboxes
attributes:
label: Before submit
options:
- - label: 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Tools-Issues](https://github.com/hugegraph/hugegraph-tools/issues) 中没有相同 / 重复问题
+ - label: 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Toolchain-Issues](https://github.com/hugegraph/hugegraph-loader/issues) 中没有相同 / 重复问题
required: true
- type: textarea
@@ -44,8 +47,8 @@
description: |
> server version could get from [rest-api](https://hugegraph.github.io/hugegraph-doc/clients/restful-api/other.html) (http://localhost:8080/versions)
value: |
- - Server Version: v0.11.x
- - Tools Version: v1.x
+ - Server Version: v0.12.x
+ - Loader Version: v0.12.x
- Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
validations:
required: true
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..0e7c849
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,78 @@
+# TODO: refactor it later
+name: hugegraph-toolchain ci
+
+on:
+ push:
+ branches:
+ - master
+ - /^release-.*$/
+ - /^test-.*$/
+ pull_request:
+ branches:
+ - master
+ - /^release-.*$/
+ - /^test-.*$/
+
+jobs:
+ build:
+ runs-on: ubuntu-20.04
+ env:
+ TRAVIS_DIR: assembly/travis
+ STATIC_DIR: assembly/static
+ COMMIT_ID: 1d031c5905cbef008dd5fb468576b0e6a9445181
+ DB_USER: root
+ DB_PASS: root
+ DB_DATABASE: load_test
+ steps:
+ - name: Install JDK 8
+ uses: actions/setup-java@v2
+ with:
+ java-version: '8'
+ distribution: 'zulu'
+
+ - name: Cache Maven packages
+ uses: actions/cache@v2
+ with:
+ path: ~/.m2
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ restore-keys: ${{ runner.os }}-m2
+
+ - name: Checkout
+ uses: actions/checkout@v2
+ with:
+ fetch-depth: 2
+
+ - name: Compile
+ run: |
+ mvn install:install-file -Dfile=$STATIC_DIR/lib/ojdbc8-12.2.0.1.jar -DgroupId=com.oracle -DartifactId=ojdbc8 -Dversion=12.2.0.1 -Dpackaging=jar
+ mvn compile -Dmaven.javadoc.skip=true | grep -v "Downloading\|Downloaded"
+
+ - name: Init Mysql Env
+ uses: mirromutth/mysql-action@v1.1
+ with:
+ host port: 3306 # Optional, default value is 3306. The port of host
+ container port: 3306 # Optional, default value is 3306. The port of container
+ character set server: 'utf8mb4' # Optional, default value is 'utf8mb4'. The '--character-set-server' option for mysqld
+ collation server: 'utf8mb4_general_ci' # Optional, default value is 'utf8mb4_general_ci'. The '--collation-server' option for mysqld
+ mysql version: '5.7' # Optional, default value is "latest". The version of the MySQL
+ mysql database: ${{ env.DB_DATABASE }} # Optional, default value is "test". The specified database which will be create
+ mysql root password: ${{ env.DB_PASS }} # Required if "mysql user" is empty, default is empty. The root superuser password
+ #mysql user: 'root' # Required if "mysql root password" is empty, default is empty. The superuser for the specified database. Can use secrets, too
+ #mysql password: ${{ secrets.DatabasePassword }} # Required if "mysql user" exists. The password for the "mysql user"
+
+ - name: Prepare env and service
+ run: |
+ $TRAVIS_DIR/install-hadoop.sh
+ $TRAVIS_DIR/install-hugegraph-from-source.sh $COMMIT_ID
+
+ - name: Run test
+ run: |
+ mvn test -P unit
+ mvn test -P file
+ mvn test -P hdfs
+ mvn test -P jdbc
+
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v1
+ with:
+ file: target/jacoco.xml
diff --git a/hugegraph-loader/.github/workflows/cla.yml b/.github/workflows/cla.yml
similarity index 100%
rename from hugegraph-loader/.github/workflows/cla.yml
rename to .github/workflows/cla.yml
diff --git a/hugegraph-loader/.github/workflows/release.yml b/.github/workflows/release.yml
similarity index 100%
rename from hugegraph-loader/.github/workflows/release.yml
rename to .github/workflows/release.yml
diff --git a/hugegraph-client/.github/workflows/stale.yml b/.github/workflows/stale.yml
similarity index 83%
rename from hugegraph-client/.github/workflows/stale.yml
rename to .github/workflows/stale.yml
index 1813bd3..9f428d1 100644
--- a/hugegraph-client/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -20,14 +20,16 @@
stale-pr-message: 'Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label'
stale-issue-label: 'inactive'
stale-pr-label: 'inactive'
- exempt-issue-labels: 'feature,bug,enhancement,improvement,wontfix,todo'
+ exempt-issue-labels: 'feature,bug,enhancement,improvement,wontfix,todo,guide,doc,help wanted'
+ exempt-pr-labels: 'feature,bug,enhancement,improvement,wontfix,todo,guide,doc,help wanted'
+ exempt-all-milestones: true
days-before-issue-stale: 15
days-before-issue-close: 20
days-before-pr-stale: 30
days-before-pr-close: 180
operations-per-run: 10
- start-date: '2018-12-01T00:00:00Z'
+ start-date: '2017-10-01T00:00:00Z'
exempt-all-assignees: true
remove-stale-when-updated: true
diff --git a/hugegraph-client/.github/ISSUE_TEMPLATE/bug_report.yml b/hugegraph-client/.github/ISSUE_TEMPLATE/bug_report.yml
deleted file mode 100644
index c5645d8..0000000
--- a/hugegraph-client/.github/ISSUE_TEMPLATE/bug_report.yml
+++ /dev/null
@@ -1,100 +0,0 @@
-name: Bug report (反馈 Bug)
-description: Create a bug report to help HugeGraph improve
-title: '[Bug] describe the main problem'
-labels:
- - bug
-
-body:
- - type: markdown
- attributes:
- value: >-
- ### Note (特别注意) :
-
- > 1. 请先**搜索**现有的[Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与
- [Client-Issues](https://github.com/hugegraph/hugegraph-client/issues) 中没有与您相同
- / 相关的问题 (请勿重复提交)
-
- > 2. 我们需要尽可能**详细**的信息来**复现**问题, 越详细的信息 (包括**日志 / 截图 / 配置**等)
- 会**越快**被响应和处理
-
- > 3. Issue 标题请保持原有模板分类(例如:`[Bug]`), 长段描述之间可以增加`空行`或使用`序号`标记, 保持排版清晰
-
- > 4. 请在对应的模块提交 issue, 缺乏有效信息 / 长时间 (> 14 天) 没有回复的 issue 可能会被 **关闭**
- (更新时会再开启)
-
- - type: dropdown
- attributes:
- label: Bug Type (问题类型)
- options:
- - gremlin (结果不合预期)
- - rest-api (结果不合预期)
- - other exception / error (其他异常报错)
- - server status (连接异常)
- - logic (逻辑设计问题)
- - performence (性能下降)
- - others (please edit later)
-
- - type: checkboxes
- attributes:
- label: Before submit
- options:
- - label: 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Client-Issues](https://github.com/hugegraph/hugegraph-client/issues) 中没有相同 / 重复问题
- required: true
-
- - type: textarea
- attributes:
- label: Environment (环境信息)
- description: |
- > server version could get from [rest-api](https://hugegraph.github.io/hugegraph-doc/clients/restful-api/other.html) (http://localhost:8080/versions)
- value: |
- - Server Version: v0.11.x
- - Client Version: v1.x
- - Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Expected & Actual behavior (期望与实际表现)
- description: |
- > we can refer [How to create a minimal reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) (如何提供最简的可复现用例)
- > if possible, please provide screenshots or GIF (请提供清晰的截图, 动图录屏更佳)
- placeholder: |
- type the main problem here
-
- ```java
- // Exception / Error info (尽可能详细的日志 + 完整异常栈)
-
- ```
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Vertex/Edge example (问题点 / 边数据举例)
- description: |
- > 如果问题与具体的点 / 边数据相关, 请提供完整的`查询语句 + 返回 JSON 结果`
- placeholder: |
- // Query URL
- GET http://localhost:8080/gremlin?gremlin=hugegraph.traversal().V('1:tom')
-
- // JSON of Vertex / Edge
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
-
- - type: textarea
- attributes:
- label: Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
- description: |
- > 如果问题与具体的点类型 / 边类型 / 索引类型相关, 请提供完整的 `Schema 返回 JSON 结果`
- placeholder: |
- // Query URL
- GET http://localhost:8080/graphs/hugegraph/schema/vertexlabels
-
- // JSON of GraphSchema
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
diff --git a/hugegraph-client/.github/ISSUE_TEMPLATE/question_ask.yml b/hugegraph-client/.github/ISSUE_TEMPLATE/question_ask.yml
deleted file mode 100644
index 16811ae..0000000
--- a/hugegraph-client/.github/ISSUE_TEMPLATE/question_ask.yml
+++ /dev/null
@@ -1,99 +0,0 @@
-name: Ask question (提问)
-description: Question about usage or configs in HugeGraph
-title: '[Question] describe your problem'
-
-body:
- - type: markdown
- attributes:
- value: >-
- ### Note (特别注意) :
-
- > 1. 请先**搜索**现有的[Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与
- [Client-Issues](https://github.com/hugegraph/hugegraph-client/issues) 中没有与您相同
- / 相关的问题 (请勿重复提交)
-
- > 2. 我们需要尽可能**详细**的信息来**复现**问题, 越详细的信息 (包括**日志 / 截图 / 配置**等)
- 会**越快**被响应和处理
-
- > 3. Issue 标题请保持原有模板分类(例如:`[Bug]`), 长段描述之间可以增加`空行`或使用`序号`标记, 保持排版清晰
-
- > 4. 请在对应的模块提交 issue, 缺乏有效信息 / 长时间 (> 14 天) 没有回复的 issue 可能会被 **关闭**
- (更新时会再开启)
-
- - type: dropdown
- attributes:
- label: Problem Type (问题类型)
- options:
- - gremlin (结果不合预期)
- - rest-api (结果不合预期)
- - server status (连接异常)
- - configs (配置项 / 文档相关)
- - struct / logic (架构 / 逻辑设计问题)
- - performence (性能优化)
- - other exception / error (其他异常报错)
- - others (please edit later)
-
- - type: checkboxes
- attributes:
- label: Before submit
- options:
- - label: 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Client-Issues](https://github.com/hugegraph/hugegraph-client/issues) 中没有相同 / 重复问题
- required: true
-
- - type: textarea
- attributes:
- label: Environment (环境信息)
- description: |
- > server version could get from [rest-api](https://hugegraph.github.io/hugegraph-doc/clients/restful-api/other.html) (http://localhost:8080/versions)
- value: |
- - Server Version: v0.11.x
- - Client Version: v1.x
- - Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Your Question (问题描述)
- description: |
- > 图使用 / 配置相关问题,请优先参考 [REST-API 文档](https://hugegraph.github.io/hugegraph-doc/clients/hugegraph-api.html), 以及 [Server 配置文档](https://hugegraph.github.io/hugegraph-doc/config/config-option.html)
- > if possible, please provide screenshots or GIF (请提供清晰的截图, 动图录屏更佳)
- placeholder: |
- type the main problem here
-
- ```java
- // Exception / Error info (尽可能详细的日志 + 完整异常栈)
-
- ```
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Vertex/Edge example (问题点 / 边数据举例)
- description: |
- > 如果问题与具体的点 / 边数据相关, 请提供完整的`查询语句 + 返回 JSON 结果`
- placeholder: |
- // Query URL
- GET http://localhost:8080/gremlin?gremlin=hugegraph.traversal().V('1:tom')
-
- // JSON of Vertex / Edge
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
-
- - type: textarea
- attributes:
- label: Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
- description: |
- > 如果问题与具体的点类型 / 边类型 / 索引类型相关, 请提供完整的 `Schema 返回 JSON 结果`
- placeholder: |
- // Query URL
- GET http://localhost:8080/graphs/hugegraph/schema/vertexlabels
-
- // JSON of GraphSchema
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
diff --git a/hugegraph-client/.github/workflows/release.yml b/hugegraph-client/.github/workflows/release.yml
deleted file mode 100644
index b0c20d2..0000000
--- a/hugegraph-client/.github/workflows/release.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-name: release maven package
-
-on:
- release:
- types: [ published ]
-
-jobs:
- build:
- runs-on: ubuntu-20.04
- steps:
- - name: Install JDK 8
- uses: actions/setup-java@v2
- with:
- java-version: '8'
- distribution: 'zulu'
-
- - name: Cache Maven packages
- uses: actions/cache@v2
- with:
- path: ~/.m2
- key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
- restore-keys: ${{ runner.os }}-m2
-
- - name: Checkout
- uses: actions/checkout@v2
- with:
- fetch-depth: 2
-
- - name: Release Maven package
- uses: samuelmeuli/action-maven-publish@v1
- with:
- gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
- gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
- nexus_username: ${{ secrets.NEXUS_USERNAME }}
- nexus_password: ${{ secrets.NEXUS_PASSWORD }}
- server_id: sonatype-nexus-staging
- maven_profiles: "release"
- maven_args: >
- -Dmaven.test.skip=true
diff --git a/hugegraph-hubble/.github/ISSUE_TEMPLATE/bug_report.yml b/hugegraph-hubble/.github/ISSUE_TEMPLATE/bug_report.yml
deleted file mode 100644
index a24a166..0000000
--- a/hugegraph-hubble/.github/ISSUE_TEMPLATE/bug_report.yml
+++ /dev/null
@@ -1,97 +0,0 @@
-name: Bug report (反馈 Bug)
-description: Create a bug report to help HugeGraph improve
-title: '[Bug] describe the main problem'
-labels:
- - bug
-
-body:
- - type: markdown
- attributes:
- value: >-
- ### Note (特别注意) :
-
- > 1. 请先**搜索**现有的[Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与
- [Hubble-Issues](https://github.com/hugegraph/hugegraph-hubble/issues) 中没有与您相同
- / 相关的问题 (请勿重复提交)
-
- > 2. 我们需要尽可能**详细**的信息来**复现**问题, 越详细的信息 (包括**日志 / 截图 / 配置**等)
- 会**越快**被响应和处理
-
- > 3. Issue 标题请保持原有模板分类(例如:`[Bug]`), 长段描述之间可以增加`空行`或使用`序号`标记, 保持排版清晰
-
- > 4. 请在对应的模块提交 issue, 缺乏有效信息 / 长时间 (> 14 天) 没有回复的 issue 可能会被 **关闭**
- (更新时会再开启)
-
- - type: dropdown
- attributes:
- label: Bug Type (问题类型)
- options:
- - exception / error (异常报错)
- - struct / logic (功能 / 逻辑设计问题)
- - dashboard render (前端渲染问题)
- - others (please edit later)
-
- - type: checkboxes
- attributes:
- label: Before submit
- options:
- - label: 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Hubble-Issues](https://github.com/hugegraph/hugegraph-hubble/issues) 中没有相同 / 重复问题
- required: true
-
- - type: textarea
- attributes:
- label: Environment (环境信息)
- description: |
- > server version could get from [rest-api](https://hugegraph.github.io/hugegraph-doc/clients/restful-api/other.html) (http://localhost:8080/versions)
- value: |
- - Server Version: v0.11.x
- - Hubble Version: v1.x
- - Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Expected & Actual behavior (期望与实际表现)
- description: |
- > we can refer [How to create a minimal reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) (如何提供最简的可复现用例)
- > if possible, please provide screenshots or GIF (请提供清晰的截图, 动图录屏更佳)
- placeholder: |
- type the main problem here
-
- ```java
- // Exception / Error info (尽可能详细的日志 + 完整异常栈)
-
- ```
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Vertex/Edge example (问题点 / 边数据举例)
- description: |
- > 如果问题与具体的点 / 边数据相关, 请提供完整的`查询语句 + 返回 JSON 结果`
- placeholder: |
- // Query URL
- GET http://localhost:8080/gremlin?gremlin=hugegraph.traversal().V('1:tom')
-
- // JSON of Vertex / Edge
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
-
- - type: textarea
- attributes:
- label: Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
- description: |
- > 如果问题与具体的点类型 / 边类型 / 索引类型相关, 请提供完整的 `Schema 返回 JSON 结果`
- placeholder: |
- // Query URL
- GET http://localhost:8080/graphs/hugegraph/schema/vertexlabels
-
- // JSON of GraphSchema
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
diff --git a/hugegraph-hubble/.github/ISSUE_TEMPLATE/config.yml b/hugegraph-hubble/.github/ISSUE_TEMPLATE/config.yml
deleted file mode 100644
index 45afe23..0000000
--- a/hugegraph-hubble/.github/ISSUE_TEMPLATE/config.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-blank_issues_enabled: false
-
-# 设置提 issue 前的参考文档
-contact_links:
- - name: HugeGraph Hubble Doc
- url: https://hugegraph.github.io/hugegraph-doc/quickstart/hugegraph-hubble.html
- about: Please search question here before opening a new issue
- - name: HugeGraph API Doc
- url: https://hugegraph.github.io/hugegraph-doc/clients/hugegraph-api.html
- about: Please search usage here before opening a new issue
diff --git a/hugegraph-hubble/.github/ISSUE_TEMPLATE/feature_request.yml b/hugegraph-hubble/.github/ISSUE_TEMPLATE/feature_request.yml
deleted file mode 100644
index 28f12dd..0000000
--- a/hugegraph-hubble/.github/ISSUE_TEMPLATE/feature_request.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-name: Feature request (新需求 / 功能)
-description: Give an idea for HugeGraph
-title: '[Feature] describe the new feature'
-labels:
- - feature
-
-body:
- - type: textarea
- attributes:
- label: Feature Description (功能描述)
- description: |
- > 请简要描述新功能 / 需求的使用场景或上下文, 最好能给个具体的例子说明
- placeholder: type the feature description here (better with a picture)
- validations:
- required: true
diff --git a/hugegraph-hubble/.github/ISSUE_TEMPLATE/question_ask.yml b/hugegraph-hubble/.github/ISSUE_TEMPLATE/question_ask.yml
deleted file mode 100644
index 7c36d22..0000000
--- a/hugegraph-hubble/.github/ISSUE_TEMPLATE/question_ask.yml
+++ /dev/null
@@ -1,96 +0,0 @@
-name: Ask question (提问)
-description: Question about usage or configs in HugeGraph
-title: '[Question] describe your problem'
-
-body:
- - type: markdown
- attributes:
- value: >-
- ### Note (特别注意) :
-
- > 1. 请先**搜索**现有的[Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与
- [Hubble-Issues](https://github.com/hugegraph/hugegraph-hubble/issues) 中没有与您相同
- / 相关的问题 (请勿重复提交)
-
- > 2. 我们需要尽可能**详细**的信息来**复现**问题, 越详细的信息 (包括**日志 / 截图 / 配置**等)
- 会**越快**被响应和处理
-
- > 3. Issue 标题请保持原有模板分类(例如:`[Bug]`), 长段描述之间可以增加`空行`或使用`序号`标记, 保持排版清晰
-
- > 4. 请在对应的模块提交 issue, 缺乏有效信息 / 长时间 (> 14 天) 没有回复的 issue 可能会被 **关闭**
- (更新时会再开启)
-
- - type: dropdown
- attributes:
- label: Problem Type (问题类型)
- options:
- - exception / error (异常报错)
- - struct / logic (功能 / 逻辑设计问题)
- - dashboard render (前端渲染问题)
- - performence (性能优化)
- - others (please edit later)
-
- - type: checkboxes
- attributes:
- label: Before submit
- options:
- - label: 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Hubble-Issues](https://github.com/hugegraph/hugegraph-hubble/issues) 中没有相同 / 重复问题
- required: true
-
- - type: textarea
- attributes:
- label: Environment (环境信息)
- description: |
- > server version could get from [rest-api](https://hugegraph.github.io/hugegraph-doc/clients/restful-api/other.html) (http://localhost:8080/versions)
- value: |
- - Server Version: v0.11.x
- - Hubble Version: v1.x
- - Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Your Question (问题描述)
- description: |
- > 图使用 / 配置相关问题,请优先参考 [REST-API 文档](https://hugegraph.github.io/hugegraph-doc/clients/hugegraph-api.html), 以及 [Server 配置文档](https://hugegraph.github.io/hugegraph-doc/config/config-option.html)
- > if possible, please provide screenshots or GIF (请提供清晰的截图, 动图录屏更佳)
- placeholder: |
- type the main problem here
-
- ```java
- // Exception / Error info (尽可能详细的日志 + 完整异常栈)
-
- ```
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Vertex/Edge example (问题点 / 边数据举例)
- description: |
- > 如果问题与具体的点 / 边数据相关, 请提供完整的`查询语句 + 返回 JSON 结果`
- placeholder: |
- // Query URL
- GET http://localhost:8080/gremlin?gremlin=hugegraph.traversal().V('1:tom')
-
- // JSON of Vertex / Edge
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
-
- - type: textarea
- attributes:
- label: Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
- description: |
- > 如果问题与具体的点类型 / 边类型 / 索引类型相关, 请提供完整的 `Schema 返回 JSON 结果`
- placeholder: |
- // Query URL
- GET http://localhost:8080/graphs/hugegraph/schema/vertexlabels
-
- // JSON of GraphSchema
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
diff --git a/hugegraph-hubble/.github/workflows/release.yml b/hugegraph-hubble/.github/workflows/release.yml
deleted file mode 100644
index ee25d40..0000000
--- a/hugegraph-hubble/.github/workflows/release.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-name: release maven package
-
-on:
- release:
- types: [ published ]
-
-jobs:
- build:
- runs-on: ubuntu-20.04
- steps:
- - name: Install JDK 8
- uses: actions/setup-java@v2
- with:
- java-version: '8'
- distribution: 'adopt'
-
- - name: Cache Maven packages
- uses: actions/cache@v2
- with:
- path: ~/.m2
- key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
- restore-keys: ${{ runner.os }}-m2
-
- - name: Checkout
- uses: actions/checkout@v2
- with:
- fetch-depth: 2
-
- - name: Release Maven package
- uses: samuelmeuli/action-maven-publish@v1
- with:
- gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
- gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }}
- nexus_username: ${{ secrets.NEXUS_USERNAME }}
- nexus_password: ${{ secrets.NEXUS_PASSWORD }}
- server_id: sonatype-nexus-staging
- maven_profiles: "release"
- maven_args: >
- -Dmaven.test.skip=true
diff --git a/hugegraph-hubble/.github/workflows/stale.yml b/hugegraph-hubble/.github/workflows/stale.yml
deleted file mode 100644
index 1813bd3..0000000
--- a/hugegraph-hubble/.github/workflows/stale.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-name: Mark stale issues and pull requests
-
-on:
- schedule:
- - cron: "0 21 * * *"
-
-jobs:
- stale:
-
- runs-on: ubuntu-latest
- permissions:
- issues: write
- pull-requests: write
-
- steps:
- - uses: actions/stale@v3
- with:
- repo-token: ${{ secrets.GITHUB_TOKEN }}
- stale-issue-message: 'Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label'
- stale-pr-message: 'Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label'
- stale-issue-label: 'inactive'
- stale-pr-label: 'inactive'
- exempt-issue-labels: 'feature,bug,enhancement,improvement,wontfix,todo'
-
- days-before-issue-stale: 15
- days-before-issue-close: 20
- days-before-pr-stale: 30
- days-before-pr-close: 180
- operations-per-run: 10
- start-date: '2018-12-01T00:00:00Z'
-
- exempt-all-assignees: true
- remove-stale-when-updated: true
- exempt-all-pr-milestones: true
- delete-branch: false
- enable-statistics: true
diff --git a/hugegraph-loader/.github/ISSUE_TEMPLATE/bug_report.yml b/hugegraph-loader/.github/ISSUE_TEMPLATE/bug_report.yml
deleted file mode 100644
index 1dedd6c..0000000
--- a/hugegraph-loader/.github/ISSUE_TEMPLATE/bug_report.yml
+++ /dev/null
@@ -1,98 +0,0 @@
-name: Bug report (反馈 Bug)
-description: Create a bug report to help HugeGraph improve
-title: '[Bug] describe the main problem'
-labels:
- - bug
-
-body:
- - type: markdown
- attributes:
- value: >-
- ### Note (特别注意) :
-
- > 1. 请先**搜索**现有的[Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与
- [Loader-Issues](https://github.com/hugegraph/hugegraph-loader/issues) 中没有与您相同
- / 相关的问题 (请勿重复提交)
-
- > 2. 我们需要尽可能**详细**的信息来**复现**问题, 越详细的信息 (包括**日志 / 截图 / 配置**等)
- 会**越快**被响应和处理
-
- > 3. Issue 标题请保持原有模板分类(例如:`[Bug]`), 长段描述之间可以增加`空行`或使用`序号`标记, 保持排版清晰
-
- > 4. 请在对应的模块提交 issue, 缺乏有效信息 / 长时间 (> 14 天) 没有回复的 issue 可能会被 **关闭**
- (更新时会再开启)
-
- - type: dropdown
- attributes:
- label: Bug Type (问题类型)
- options:
- - exception / error (导入时异常报错)
- - data inconsistency (导入 / 统计结果不合预期)
- - logic (逻辑设计问题)
- - performence (性能下降)
- - others (please edit later)
-
- - type: checkboxes
- attributes:
- label: Before submit
- options:
- - label: 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Loader-Issues](https://github.com/hugegraph/hugegraph-loader/issues) 中没有相同 / 重复问题
- required: true
-
- - type: textarea
- attributes:
- label: Environment (环境信息)
- description: |
- > server version could get from [rest-api](https://hugegraph.github.io/hugegraph-doc/clients/restful-api/other.html) (http://localhost:8080/versions)
- value: |
- - Server Version: v0.11.x
- - Loader Version: v0.11.x
- - Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Expected & Actual behavior (期望与实际表现)
- description: |
- > we can refer [How to create a minimal reproducible Example](https://stackoverflow.com/help/minimal-reproducible-example) (如何提供最简的可复现用例)
- > if possible, please provide screenshots or GIF (请提供清晰的截图, 动图录屏更佳)
- placeholder: |
- type the main problem here
-
- ```java
- // Exception / Error info (尽可能详细的日志 + 完整异常栈)
-
- ```
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Vertex/Edge example (问题点 / 边数据举例)
- description: |
- > 如果问题与具体的点 / 边数据相关, 请提供完整的`原始数据 + REST-API 查询结果`
- placeholder: |
- // Origin data
- tom 18 boy HK
-
- // JSON of Vertex / Edge
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
-
- - type: textarea
- attributes:
- label: Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
- description: |
- > 如果问题与具体的点类型 / 边类型 / 索引类型相关, 请提供完整的 `Schema 返回 JSON 结果`
- placeholder: |
- // Query URL
- GET http://localhost:8080/graphs/hugegraph/schema/vertexlabels
-
- // JSON of GraphSchema
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
diff --git a/hugegraph-loader/.github/ISSUE_TEMPLATE/config.yml b/hugegraph-loader/.github/ISSUE_TEMPLATE/config.yml
deleted file mode 100644
index b30a845..0000000
--- a/hugegraph-loader/.github/ISSUE_TEMPLATE/config.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-blank_issues_enabled: false
-
-# 设置提 issue 前的参考文档
-contact_links:
- - name: HugeGraph Loader Doc
- url: https://hugegraph.github.io/hugegraph-doc/quickstart/hugegraph-loader.html
- about: Please search question here before opening a new issue
- - name: HugeGraph API Doc
- url: https://hugegraph.github.io/hugegraph-doc/clients/hugegraph-api.html
- about: Please search usage here before opening a new issue
diff --git a/hugegraph-loader/.github/ISSUE_TEMPLATE/feature_request.yml b/hugegraph-loader/.github/ISSUE_TEMPLATE/feature_request.yml
deleted file mode 100644
index 4012606..0000000
--- a/hugegraph-loader/.github/ISSUE_TEMPLATE/feature_request.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-name: Feature request (新需求 / 功能)
-description: Give an idea for HugeGraph
-title: '[Feature] describe the new feature'
-labels:
- - feature
-
-body:
- - type: textarea
- attributes:
- label: Feature Description (功能描述)
- description: |
- > 请简要描述新功能 / 需求的使用场景或上下文, 最好能给个具体的例子说明
- placeholder: type the feature description here
- validations:
- required: true
diff --git a/hugegraph-loader/.github/ISSUE_TEMPLATE/question_ask.yml b/hugegraph-loader/.github/ISSUE_TEMPLATE/question_ask.yml
deleted file mode 100644
index 5e747ac..0000000
--- a/hugegraph-loader/.github/ISSUE_TEMPLATE/question_ask.yml
+++ /dev/null
@@ -1,97 +0,0 @@
-name: Ask question (提问)
-description: Question about usage or configs in HugeGraph
-title: '[Question] describe your problem'
-
-body:
- - type: markdown
- attributes:
- value: >-
- ### Note (特别注意) :
-
- > 1. 请先**搜索**现有的[Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与
- [Loader-Issues](https://github.com/hugegraph/hugegraph-loader/issues) 中没有与您相同
- / 相关的问题 (请勿重复提交)
-
- > 2. 我们需要尽可能**详细**的信息来**复现**问题, 越详细的信息 (包括**日志 / 截图 / 配置**等)
- 会**越快**被响应和处理
-
- > 3. Issue 标题请保持原有模板分类(例如:`[Bug]`), 长段描述之间可以增加`空行`或使用`序号`标记, 保持排版清晰
-
- > 4. 请在对应的模块提交 issue, 缺乏有效信息 / 长时间 (> 14 天) 没有回复的 issue 可能会被 **关闭**
- (更新时会再开启)
-
- - type: dropdown
- attributes:
- label: Problem Type (问题类型)
- options:
- - exception / error (导入时异常报错)
- - data inconsistency (导入 / 统计结果不合预期)
- - logic (逻辑设计问题)
- - configs (配置项 / 文档相关)
- - performence (性能优化)
- - others (please edit later)
-
- - type: checkboxes
- attributes:
- label: Before submit
- options:
- - label: 我已经确认现有的 [Server-Issues](https://github.com/hugegraph/hugegraph/issues) 与 [Loader-Issues](https://github.com/hugegraph/hugegraph-loader/issues) 中没有相同 / 重复问题
- required: true
-
- - type: textarea
- attributes:
- label: Environment (环境信息)
- description: |
- > server version could get from [rest-api](https://hugegraph.github.io/hugegraph-doc/clients/restful-api/other.html) (http://localhost:8080/versions)
- value: |
- - Server Version: v0.11.x
- - Loader Version: v0.11.x
- - Data Size: xx vertices, xx edges <!-- (like 1000W 点, 9000W 边) -->
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Your Question (问题描述)
- description: |
- > 图使用 / 配置相关问题,请优先参考 [REST-API 文档](https://hugegraph.github.io/hugegraph-doc/clients/hugegraph-api.html), 以及 [Server 配置文档](https://hugegraph.github.io/hugegraph-doc/config/config-option.html)
- > if possible, please provide screenshots or GIF (请提供清晰的截图, 动图录屏更佳)
- placeholder: |
- type the main problem here
-
- ```java
- // Exception / Error info (尽可能详细的日志 + 完整异常栈)
-
- ```
- validations:
- required: true
-
- - type: textarea
- attributes:
- label: Vertex/Edge example (问题点 / 边数据举例)
- description: |
- > 如果问题与具体的点 / 边数据相关, 请提供完整的`原始数据 + REST-API 查询结果`
- placeholder: |
- // Origin data
- tom 18 boy HK
-
- // JSON of Vertex / Edge
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
-
- - type: textarea
- attributes:
- label: Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
- description: |
- > 如果问题与具体的点类型 / 边类型 / 索引类型相关, 请提供完整的 `Schema 返回 JSON 结果`
- placeholder: |
- // Query URL
- GET http://localhost:8080/graphs/hugegraph/schema/vertexlabels
-
- // JSON of GraphSchema
- {
- "vertex": { "id": "xxx" }
- }
- render: javascript
diff --git a/hugegraph-loader/.github/workflows/stale.yml b/hugegraph-loader/.github/workflows/stale.yml
deleted file mode 100644
index 1813bd3..0000000
--- a/hugegraph-loader/.github/workflows/stale.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-name: Mark stale issues and pull requests
-
-on:
- schedule:
- - cron: "0 21 * * *"
-
-jobs:
- stale:
-
- runs-on: ubuntu-latest
- permissions:
- issues: write
- pull-requests: write
-
- steps:
- - uses: actions/stale@v3
- with:
- repo-token: ${{ secrets.GITHUB_TOKEN }}
- stale-issue-message: 'Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label'
- stale-pr-message: 'Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label'
- stale-issue-label: 'inactive'
- stale-pr-label: 'inactive'
- exempt-issue-labels: 'feature,bug,enhancement,improvement,wontfix,todo'
-
- days-before-issue-stale: 15
- days-before-issue-close: 20
- days-before-pr-stale: 30
- days-before-pr-close: 180
- operations-per-run: 10
- start-date: '2018-12-01T00:00:00Z'
-
- exempt-all-assignees: true
- remove-stale-when-updated: true
- exempt-all-pr-milestones: true
- delete-branch: false
- enable-statistics: true
diff --git a/hugegraph-tools/.github/ISSUE_TEMPLATE/config.yml b/hugegraph-tools/.github/ISSUE_TEMPLATE/config.yml
deleted file mode 100644
index b38f711..0000000
--- a/hugegraph-tools/.github/ISSUE_TEMPLATE/config.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-blank_issues_enabled: false
-
-# 设置提 issue 前的参考文档
-contact_links:
- - name: HugeGraph Tools Doc
- url: https://hugegraph.github.io/hugegraph-doc/quickstart/hugegraph-tools.html
- about: Please search question here before opening a new issue
- - name: HugeGraph API Doc
- url: https://hugegraph.github.io/hugegraph-doc/clients/hugegraph-api.html
- about: Please search usage here before opening a new issue
diff --git a/hugegraph-tools/.github/ISSUE_TEMPLATE/feature_request.yml b/hugegraph-tools/.github/ISSUE_TEMPLATE/feature_request.yml
deleted file mode 100644
index 4012606..0000000
--- a/hugegraph-tools/.github/ISSUE_TEMPLATE/feature_request.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-name: Feature request (新需求 / 功能)
-description: Give an idea for HugeGraph
-title: '[Feature] describe the new feature'
-labels:
- - feature
-
-body:
- - type: textarea
- attributes:
- label: Feature Description (功能描述)
- description: |
- > 请简要描述新功能 / 需求的使用场景或上下文, 最好能给个具体的例子说明
- placeholder: type the feature description here
- validations:
- required: true
diff --git a/hugegraph-tools/.github/workflows/stale.yml b/hugegraph-tools/.github/workflows/stale.yml
deleted file mode 100644
index 1813bd3..0000000
--- a/hugegraph-tools/.github/workflows/stale.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-name: Mark stale issues and pull requests
-
-on:
- schedule:
- - cron: "0 21 * * *"
-
-jobs:
- stale:
-
- runs-on: ubuntu-latest
- permissions:
- issues: write
- pull-requests: write
-
- steps:
- - uses: actions/stale@v3
- with:
- repo-token: ${{ secrets.GITHUB_TOKEN }}
- stale-issue-message: 'Due to the lack of activity, the current issue is marked as stale and will be closed after 20 days, any update will remove the stale label'
- stale-pr-message: 'Due to the lack of activity, the current pr is marked as stale and will be closed after 180 days, any update will remove the stale label'
- stale-issue-label: 'inactive'
- stale-pr-label: 'inactive'
- exempt-issue-labels: 'feature,bug,enhancement,improvement,wontfix,todo'
-
- days-before-issue-stale: 15
- days-before-issue-close: 20
- days-before-pr-stale: 30
- days-before-pr-close: 180
- operations-per-run: 10
- start-date: '2018-12-01T00:00:00Z'
-
- exempt-all-assignees: true
- remove-stale-when-updated: true
- exempt-all-pr-milestones: true
- delete-branch: false
- enable-statistics: true