Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nebula spark connector #1

Merged
merged 385 commits into from
Oct 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
385 commits
Select commit Hold shift + click to select a range
dd375e2
use exchange
cooper-lzy Apr 16, 2021
ff14fe5
use exchange
cooper-lzy Apr 16, 2021
9fd43d8
Merge pull request #47 from cooper-lzy/use-exchange
randomJoe211 Apr 19, 2021
b9db5eb
Update README-CN.md
whitewum Apr 19, 2021
bf0bc14
Merge pull request #49 from vesoft-inc/whitewum-patch-1
randomJoe211 Apr 19, 2021
4d8bd16
different empty string and null
Nicole00 Apr 19, 2021
8f7d6a0
align datasource configs
Nicole00 Apr 19, 2021
bacdc70
Merge branch 'master' into conf
Nicole00 Apr 19, 2021
b0b6911
Merge pull request #48 from Nicole00/conf
Nicole00 Apr 19, 2021
76952b7
fix: get partitionId for unsignedLong
Nicole00 Apr 19, 2021
848f1c4
Merge branch 'master' into empty_string
Nicole00 Apr 19, 2021
1f6858d
Merge branch 'master' into partitionId
laura-ding Apr 19, 2021
d3f9be7
Merge pull request #50 from Nicole00/partitionId
laura-ding Apr 19, 2021
9ebc32f
parquet orc mysql hbase
cooper-lzy Apr 20, 2021
42f7899
Merge branch 'master' into parquet
cooper-lzy Apr 20, 2021
fe7e479
parquet orc mysql hbase
cooper-lzy Apr 20, 2021
8eb9aae
Merge branch 'parquet' of https://github.com/cooper-lzy/nebula-spark-…
cooper-lzy Apr 20, 2021
887d086
parquet orc mysql hbase kafka
cooper-lzy Apr 20, 2021
5b0c807
parquet orc mysql hbase
cooper-lzy Apr 20, 2021
88cc5d0
pulsar
cooper-lzy Apr 20, 2021
b58d899
parquet orc mysql hbase
cooper-lzy Apr 20, 2021
5e6d646
parquet orc mysql hbase
cooper-lzy Apr 20, 2021
a69b147
Merge pull request #52 from cooper-lzy/parquet
whitewum Apr 20, 2021
b8b7e8c
fixed format
cooper-lzy Apr 20, 2021
ef4c914
Merge pull request #54 from cooper-lzy/fixed-format
randomJoe211 Apr 20, 2021
1ef51cf
merge 2.0 documents
cooper-lzy Apr 21, 2021
02b66ce
Merge branch 'master' into merge-documents
cooper-lzy Apr 21, 2021
5fe3171
Merge pull request #55 from cooper-lzy/merge-documents
randomJoe211 Apr 21, 2021
f3fbdab
fix rocksdb file close
Nicole00 Apr 22, 2021
09af0a8
add log for sst
Nicole00 Apr 22, 2021
f37319a
Merge branch 'master' into fix_rocksdb
Nicole00 Apr 22, 2021
1c116a5
Merge pull request #63 from Nicole00/fix_rocksdb
Nicole00 Apr 22, 2021
f458c4f
fix neo4j data type
Nicole00 Apr 22, 2021
56ada55
add util to process neo4j's data type
Nicole00 Apr 22, 2021
49ddfbf
open user&passwd parameter
Nicole00 Apr 22, 2021
82c901d
Merge branch 'master' into empty_string
Nicole00 Apr 25, 2021
252b08e
Merge pull request #51 from Nicole00/empty_string
Nicole00 Apr 25, 2021
344efe7
update link for config template
Nicole00 Apr 25, 2021
487f072
Merge branch 'master' into readme
Nicole00 Apr 25, 2021
44c26f3
Merge pull request #66 from Nicole00/readme
cooper-lzy Apr 27, 2021
f17c9d1
Merge branch 'master' into connector
darionyaphet Apr 28, 2021
feb01c8
Merge pull request #65 from Nicole00/connector
darionyaphet Apr 28, 2021
66cdeb2
Merge branch 'master' into neo4j
Nicole00 Apr 28, 2021
cd2bcb6
Merge pull request #62 from Nicole00/neo4j
darionyaphet Apr 28, 2021
47a746b
add nebula-algorithm module
Nicole00 Apr 28, 2021
b8eaafc
Update ex-ug-import-from-mysql.md
cooper-lzy May 6, 2021
4877c02
Merge pull request #69 from vesoft-inc/cooper-lzy-patch-1-1
randomJoe211 May 6, 2021
bf771f8
update metad port
Nicole00 May 6, 2021
bf762e6
fix datetime & escape for label and property name
Nicole00 May 7, 2021
3f214ac
add ut for exchange
Nicole00 Apr 20, 2021
9042b07
add workflow
Nicole00 Apr 20, 2021
7566f65
fix get partitionId for unsignedLong & update configs
Nicole00 Apr 20, 2021
c69ef21
clean duplicate method
Nicole00 Apr 20, 2021
be1c14a
update copyright
Nicole00 Apr 28, 2021
31c332c
modify space name & add test data to cover all partition
Nicole00 May 8, 2021
bf0506f
Merge pull request #53 from Nicole00/exchangeUT
Nicole00 May 8, 2021
3448dd3
support empty vid for string vid_type
Nicole00 May 7, 2021
21b9ea4
Merge branch 'master' into spark-con
darionyaphet May 8, 2021
199e7d8
Merge pull request #71 from Nicole00/spark-con
darionyaphet May 8, 2021
d501e57
Merge branch 'master' into algo
darionyaphet May 8, 2021
ef1d3b9
comment out workflow temporarily
Nicole00 May 8, 2021
5986acf
Merge branch 'master' into empty_vid
Nicole00 May 8, 2021
9c2267a
Merge pull request #70 from Nicole00/empty_vid
darionyaphet May 8, 2021
e07fb0a
Merge branch 'master' into algo
darionyaphet May 8, 2021
6be142e
Merge pull request #68 from Nicole00/algo
darionyaphet May 8, 2021
870a64e
add deploy plugins
Nicole00 May 10, 2021
cc291fb
add more way to get nebula-algorithm
Nicole00 May 10, 2021
c82264a
Merge pull request #72 from Nicole00/plugin
jievince May 10, 2021
78ab715
modify port to nebula default port
Nicole00 May 11, 2021
0738ed3
add timeout config for client
Nicole00 May 11, 2021
c39dd01
Merge pull request #76 from Nicole00/example_port
jievince May 17, 2021
42d8317
Update application.conf
cooper-lzy May 17, 2021
c0e9d4c
update description for algorihtms' example configuration
Nicole00 May 17, 2021
fe9f4de
modify conf file name & update link
Nicole00 May 17, 2021
c9f2b20
Merge branch 'master' into example_conf
Nicole00 May 17, 2021
ee23097
Merge pull request #83 from Nicole00/example_conf
cooper-lzy May 17, 2021
3b8a0a2
doc: Algorithm README in en
wey-gu May 17, 2021
038a3e1
Added parts from Anqi
wey-gu May 18, 2021
5f1ebbf
Delete nebula-exchange/doc-2.0 directory
cooper-lzy May 18, 2021
529b4aa
Merge pull request #85 from vesoft-inc/cooper-lzy-patch-3
Nicole00 May 18, 2021
2b10a1a
Addressed Joe's comments
wey-gu May 18, 2021
b7ed15b
Merge branch 'master' into master
Nicole00 May 18, 2021
34dc606
Merge branch 'master' into cooper-lzy-patch-2
whitewum May 18, 2021
1843705
Merge pull request #82 from vesoft-inc/cooper-lzy-patch-2
whitewum May 18, 2021
2d69425
modify default algo column name
Nicole00 May 18, 2021
7879c9f
Merge branch 'master' into algorithm
Nicole00 May 18, 2021
deafb65
More comments from Anqi, fixed.
wey-gu May 18, 2021
0206939
Merge branch 'master' into master
Nicole00 May 18, 2021
cfc15bd
Merge pull request #84 from wey-gu/master
Nicole00 May 18, 2021
432c196
add version matching info
Nicole00 May 19, 2021
e9f1f51
sync java client & modify utils' version to SNAPSHOT
Nicole00 May 19, 2021
6bece67
add submit command for yarn-cluster
Nicole00 May 19, 2021
1a922e4
remove the third version for SNAPSHOT
Nicole00 May 19, 2021
20c37d8
modify latest version name
Nicole00 May 19, 2021
909d69f
update link
Nicole00 May 19, 2021
0beeeb6
sync PropertyType & ErrorCode
Nicole00 May 25, 2021
32036d8
Merge branch 'master' into algorithm
Nicole00 May 25, 2021
b01d763
Merge pull request #86 from Nicole00/algorithm
jievince May 25, 2021
f14eecf
Merge branch 'master' into sync_client
laura-ding May 26, 2021
2a21efd
Merge pull request #87 from Nicole00/sync_client
laura-ding May 26, 2021
a42d7a0
Merge branch 'master' into timeout
laura-ding May 26, 2021
d440a74
Merge pull request #79 from Nicole00/timeout
laura-ding May 26, 2021
2f25754
download neo4j dependency before package
Nicole00 May 26, 2021
0105fb8
remove spark-package repository
Nicole00 May 27, 2021
0481f6d
download graphframes dependency before package
Nicole00 May 27, 2021
f7b2b9a
download neo4j & graphframes dependency before package
Nicole00 May 27, 2021
7ae60e0
Merge pull request #93 from Nicole00/ci
laura-ding May 28, 2021
fa6a4ad
add more test case for computing partition id
Nicole00 May 31, 2021
d6c7edb
Merge branch 'master' into readme
Nicole00 May 31, 2021
f235882
Merge pull request #88 from Nicole00/readme
Nicole00 May 31, 2021
5d509e1
fix null rank field config
Nicole00 Jun 7, 2021
9027247
Merge branch 'master' into fix_null_rankField
jievince Jun 7, 2021
052daf9
Merge pull request #95 from Nicole00/fix_null_rankField
jievince Jun 8, 2021
ae56c74
Merge branch 'master' into exchange-ut
Nicole00 Jun 9, 2021
c415949
add GraphTriangleCount algorithm
Nicole00 Jun 11, 2021
74f643e
add config for GraphTriangleCount
Nicole00 Jun 11, 2021
a3aa765
[bugfix] MySQLReader executor sentence sql
Codelone Jun 15, 2021
14c9d4f
Merge pull request #98 from Codelone/master-dev
Nicole00 Jun 16, 2021
bac6713
Merge branch 'master' into sjs_poc
Nicole00 Jun 16, 2021
1a3b254
Merge branch 'master' into exchange-ut
Nicole00 Jun 25, 2021
4621ec2
add license files
Nicole00 Jun 28, 2021
8fb5469
Merge pull request #101 from Nicole00/license
Nicole00 Jun 28, 2021
64f0374
Merge branch 'master' into exchange-ut
Nicole00 Jun 29, 2021
aa04de0
Merge pull request #94 from Nicole00/exchange-ut
Nicole00 Jun 29, 2021
0a2405f
update repo url
Nicole00 Jun 29, 2021
8c68ff7
add test file name config
Nicole00 Jun 29, 2021
87b219d
fix test
Nicole00 Jun 29, 2021
907d093
Merge pull request #102 from Nicole00/repo
Nicole00 Jun 29, 2021
4eae137
Merge branch 'master' into sjs_poc
Nicole00 Jun 29, 2021
d4f7563
add maxCompute datasource
Nicole00 Jun 23, 2021
35e2b67
add maxCompute datasource
Nicole00 Jun 25, 2021
013e104
add maxcompute config example
Nicole00 Jun 25, 2021
6e0d467
clean dependency
Nicole00 Jun 25, 2021
3f10a55
add sentence config to support sql query maxcompute in spark
Nicole00 Jun 28, 2021
fad3fd3
support partition config for maxcompute
Nicole00 Jun 29, 2021
69ae829
add update mode for connector writer
Nicole00 May 17, 2021
4172050
update vertex example data
Nicole00 May 17, 2021
2bd0858
add example for update mode
Nicole00 May 25, 2021
a970945
add escape for tag/edge/property name
Nicole00 Jun 30, 2021
c1ae08c
modify entry parameter to Enum
Nicole00 Jun 30, 2021
07f3bea
update ut
Nicole00 Jun 30, 2021
02ddc85
update example with writeMode
Nicole00 Jun 30, 2021
511ce43
remove ; for template
Nicole00 Jun 30, 2021
ffb8b9f
Merge pull request #92 from Nicole00/connector-update
Nicole00 Jun 30, 2021
b8e09b9
clean the error path before reload
Nicole00 Jun 16, 2021
b088ec3
add more comment
Nicole00 Jun 25, 2021
1af6bde
optimize reload
Nicole00 Jun 30, 2021
42766a0
clean the error path before reimport
Nicole00 Jul 1, 2021
5be083b
remove the clear operation
Nicole00 Jul 2, 2021
ac867d7
reconstruct getPartitionId test
Nicole00 Jul 7, 2021
4e2b65c
Merge branch 'master' into datasource_maxCompute
Nicole00 Jul 7, 2021
fe314b7
Merge pull request #100 from Nicole00/datasource_maxCompute
Nicole00 Jul 7, 2021
c35a228
Merge branch 'master' into add_switch_space_for_reload
Nicole00 Jul 7, 2021
e360436
add clickhouse config
Nicole00 Jul 6, 2021
fa95352
add clickhouse driver dependency
Nicole00 Jul 6, 2021
ea75c20
add clickhouse datasource
Nicole00 Jul 6, 2021
2e6d1c3
fix wrong address log
Nicole00 Jul 9, 2021
e60fef2
unify password key
Nicole00 Jul 9, 2021
a0f67b9
Merge branch 'master' into sjs_poc
Nicole00 Jul 9, 2021
3a0efe8
Merge pull request #106 from Nicole00/datasource_clickhouse
Nicole00 Jul 9, 2021
29f9220
Merge branch 'master' into add_switch_space_for_reload
Nicole00 Jul 16, 2021
0d5162d
add more check for config file
Nicole00 Jul 16, 2021
408f72b
Merge branch 'master' into sjs_poc
Nicole00 Jul 19, 2021
1734009
split multi test
Nicole00 Jul 21, 2021
c4c70d6
Merge pull request #108 from Nicole00/add_test
Nicole00 Jul 21, 2021
0a287d3
Merge branch 'master' into fix_log
Nicole00 Jul 21, 2021
c701544
Merge branch 'master' into add_switch_space_for_reload
Nicole00 Jul 21, 2021
64c4f70
Merge pull request #107 from Nicole00/fix_log
Nicole00 Jul 21, 2021
6e789f7
Merge branch 'master' into add_switch_space_for_reload
Nicole00 Jul 21, 2021
b5f60c1
Merge pull request #104 from Nicole00/add_switch_space_for_reload
Nicole00 Jul 21, 2021
e57e443
remove useless repository
Nicole00 Jul 28, 2021
a33b208
add pulsar dependency
Nicole00 Jul 28, 2021
3abe0fb
add / for directory
Nicole00 Aug 2, 2021
a183ef0
remove streamnative before unzip
Nicole00 Aug 2, 2021
eba879d
Merge pull request #109 from Nicole00/delete_dl_repo
Nicole00 Aug 2, 2021
25cf0bb
format example
Nicole00 Aug 2, 2021
994dd78
add close for writer & add test plugin
Nicole00 Aug 2, 2021
947fd09
add log for switch error & remove sys.exit
Nicole00 Aug 2, 2021
66a5027
Merge pull request #113 from Nicole00/improve
HarrisChu Aug 3, 2021
1e7e7d9
add summary report for import
Nicole00 Aug 3, 2021
30a084f
Merge pull request #117 from Nicole00/master_report_summary
HarrisChu Aug 3, 2021
a8d9e9b
fix package & add plugin `maven-scala-plugin`
zhongqishang Aug 3, 2021
484194f
update readme
Nicole00 Aug 4, 2021
01a4f04
Merge pull request #119 from zhongqishang/fix_package
Nicole00 Aug 4, 2021
1ede595
fix double format
Nicole00 Aug 5, 2021
a709cb4
Merge branch 'master' into master
Nicole00 Aug 5, 2021
f0e7522
Merge pull request #120 from Nicole00/master
Nicole00 Aug 5, 2021
882c787
fix numeric check
Nicole00 Aug 19, 2021
1db7dde
Merge branch 'master' into fix_numeric
Nicole00 Aug 19, 2021
764cf8c
add cache for dataframe
Nicole00 Aug 25, 2021
ab07f6e
Merge branch 'master' into readme
Nicole00 Aug 25, 2021
560d31f
Merge pull request #126 from Nicole00/readme
Nicole00 Aug 25, 2021
2951739
Merge branch 'master' into fix_numeric
Nicole00 Aug 25, 2021
52dabcf
Merge pull request #124 from Nicole00/fix_numeric
Nicole00 Aug 25, 2021
d260797
modify snapshot version
Nicole00 Aug 25, 2021
61afff1
update SNAPSHOT version
Nicole00 Aug 27, 2021
62f8685
use latest version
Nicole00 Aug 27, 2021
a6ec4e6
Merge pull request #128 from Nicole00/pom
HarrisChu Aug 30, 2021
604ddcb
fix hash policy for vertexId
Nicole00 Aug 30, 2021
ce3bdc8
Merge branch 'master' into sjs_poc
Nicole00 Sep 2, 2021
766e14a
Merge pull request #129 from Nicole00/fix_hash
HarrisChu Sep 2, 2021
033f8b8
Merge branch 'master' into sjs_poc
HarrisChu Sep 2, 2021
d73f6db
Merge pull request #97 from Nicole00/sjs_poc
HarrisChu Sep 2, 2021
2873780
add example for DELETE mode
Nicole00 Aug 27, 2021
9067182
support DELETE mode for connector
Nicole00 Aug 27, 2021
17c0028
support delete mode for connector
Nicole00 Sep 3, 2021
4b3a814
update example
Nicole00 Sep 3, 2021
65bea54
update DateTime and Time's str interface
Nicole00 Sep 6, 2021
059a55a
add desc for GraphTriangleCount
Nicole00 Sep 7, 2021
89d5ec9
Merge pull request #136 from Nicole00/algo_readme
jievince Sep 7, 2021
95107e6
Merge branch 'master' into connector_delete
HarrisChu Sep 8, 2021
f385515
Merge pull request #133 from Nicole00/connector_delete
Nicole00 Sep 8, 2021
e1b3b01
fix conflict
Nicole00 Sep 8, 2021
e995430
Merge pull request #134 from Nicole00/update_policy
Nicole00 Sep 8, 2021
3598cae
add escape for edgeType
Nicole00 Sep 8, 2021
2e68a08
Merge branch 'master' into data_type
Nicole00 Sep 8, 2021
a9a9ab0
fix cache bug for streaming data
Nicole00 Sep 8, 2021
bb57010
Merge pull request #137 from Nicole00/connector_delete
HarrisChu Sep 9, 2021
80e5849
Merge branch 'master' into fix_data_cache
HarrisChu Sep 9, 2021
cdb002e
Merge pull request #138 from Nicole00/fix_data_cache
Nicole00 Sep 9, 2021
4972cac
Merge branch 'master' into data_type
Nicole00 Sep 9, 2021
6240f9c
Merge pull request #135 from Nicole00/data_type
Nicole00 Sep 9, 2021
4874b35
Replace v2-nightly tag with nightly for docker image
yixinglu Sep 15, 2021
12dc681
Update readme
yixinglu Sep 15, 2021
a41e1a0
Trigger CLA checks
yixinglu Sep 15, 2021
82c3d2c
Merge pull request #143 from vesoft-inc/yixinglu-patch-1
Nicole00 Sep 15, 2021
944dee0
fix error " FileSystem closed" , disable hdfs cache
Codelone Sep 16, 2021
f7ca581
Merge pull request #146 from Codelone/liyanl-dev
Nicole00 Sep 17, 2021
10a1b8e
remove the close for hdfs system
Nicole00 Sep 17, 2021
d607eaa
fix test for config
Nicole00 Sep 17, 2021
4153d3c
fix sst write error for duplicated key
Nicole00 Sep 18, 2021
9f414be
Merge pull request #147 from Nicole00/hdfs
Nicole00 Sep 22, 2021
fdb0cda
Merge branch 'master' into sst_fix
Nicole00 Sep 22, 2021
c0fed61
add rank null assert
Codelone Sep 22, 2021
b886279
Merge pull request #151 from Codelone/liyanl-dev
Nicole00 Sep 22, 2021
1c991dd
Merge branch 'master' into test
Nicole00 Sep 23, 2021
ea96629
Merge pull request #149 from Nicole00/test
Nicole00 Sep 23, 2021
2551245
Merge branch 'master' into sst_fix
Nicole00 Sep 26, 2021
aaac729
Merge pull request #150 from Nicole00/sst_fix
Nicole00 Sep 26, 2021
81e5680
fix buffer overwrite bug
Nicole00 Sep 27, 2021
e8db0b0
add csv example data
Nicole00 Sep 27, 2021
56727af
Merge pull request #155 from Nicole00/connector_buffer_fix
Nicole00 Sep 28, 2021
cb5a7eb
fix wrong ip and add data for example
Nicole00 Sep 28, 2021
cb3186c
Merge pull request #158 from Nicole00/example
Nicole00 Sep 28, 2021
1b8d103
nebula spark connector
Nicole00 Oct 11, 2021
da8485a
add version match
Nicole00 Oct 11, 2021
d332695
add maven dependency & add docker compose config
Nicole00 Oct 11, 2021
1ba5b7e
fix docker-compose directory
Nicole00 Oct 11, 2021
e391cdd
add new feature in readme
Nicole00 Oct 11, 2021
497e2a3
add repository for snapshot
Nicole00 Oct 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/workflows/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#### Expected behavior

#### Actual behavior

#### Steps to reproduce

#### JVM version (e.g. `java -version`)

#### Scala version (e.g. `scala -version`)

#### OS version (e.g. `uname -a`)
11 changes: 11 additions & 0 deletions .github/workflows/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Motivation:

Why you're making that change and what is the problem you're trying to solve.

Modification:

Describe the modifications you've done.

Result:

Fixes #<GitHub issue number>.
46 changes: 46 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven

name: Java CI with Maven

on:
push:
branches: [ master ]
pull_request:
branches:
- master
- 'v[0-9]+.*'

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- name: Cache the Maven packages to speed up build
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-

- name: Install nebula-graph
run: |
mkdir tmp
pushd tmp
git clone https://github.com/vesoft-inc/nebula-docker-compose.git
pushd nebula-docker-compose/
cp ../../nebula-spark-connector/src/test/resources/docker-compose.yaml .
docker-compose up -d
sleep 10
popd
popd

- name: Build with Maven
run: mvn -B package
37 changes: 37 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Compiled class file
*.class

# Log file
*.log

# BlueJ files
*.ctxt

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# build target
target/

# IDE
.idea/
.eclipse/
*.iml

spark-importer.ipr
spark-importer.iws

# mac
.DS_Store
4 changes: 4 additions & 0 deletions .scalafmt.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
align = more
maxColumn = 100
docstrings = ScalaDoc
assumeStandardLibraryStripMargin = true
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright (c) 2020 vesoft inc. All rights reserved.
#
# This source code is licensed under Apache 2.0 License,
# attached with Common Clause Condition 1.0, found in the LICENSES directory.

language: java

jdk:
- oraclejdk11
- openjdk8
- openjdk11

install: mvn clean compile package install -Dgpg.skip -Dmaven.javadoc.skip=true
202 changes: 202 additions & 0 deletions LICENSES/Apache-2.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@

Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed 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.
14 changes: 14 additions & 0 deletions LICENSES/CC-1.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
"Commons Clause" License Condition v1.0

The Software is provided to you by the Licensor under the License, as defined below, subject to the following condition.

Without limiting other conditions in the License, the grant of rights under the License will not include, and the License does not grant to you, the right to Sell the Software.

For purposes of the foregoing, "Sell" means practicing any or all of the rights granted to you under the License to provide to third parties, for a fee or other considerationon (including without limitation fees for hosting or consulting/support services related to the Software), a product or service whose value derives, entirely or substantially, from the functionality of the Software. Any license notice or attribution required by the License must also include this Commons Clause License Condition notice.

Software: Nebula Graph [Software in this repository]

License: Apache 2.0 [https://www.apache.org/licenses/LICENSE-2.0.html]

Licensor: vesoft inc.

Loading