未验证 提交 da26fc86 编写于 作者: S Siddharth Kothari 提交者: GitHub

Merge pull request #155 from jeet-parekh/neo4j-docs

add docs for neo4j adaptor
...@@ -22,6 +22,9 @@ At the time of writing, the list of parameters supported looks like - ...@@ -22,6 +22,9 @@ At the time of writing, the list of parameters supported looks like -
--src_filter=.* Namespace filter for source --src_filter=.* Namespace filter for source
--src_type=postgres type of source database --src_type=postgres type of source database
--src_uri=http://user:pass@host:port/db url of source database --src_uri=http://user:pass@host:port/db url of source database
--src_username="username" username for source connection
--src_password="password" password for source connection
--src_realm="realm" realm for source connection
--sac_path=./ServiceAccountCredentials.json Path to the service account credentials file obtained after creating a firebase app. --sac_path=./ServiceAccountCredentials.json Path to the service account credentials file obtained after creating a firebase app.
--tail=false allow tail feature --tail=false allow tail feature
--test=false if set to true, only pipeline is created and sync is not started. Useful for checking your configuration --test=false if set to true, only pipeline is created and sync is not started. Useful for checking your configuration
......
# Neo4J adaptor
The Neo4J adaptor reads data from a Neo4J database.
Here is how a configuration file looks like-
```ini
src_type=neo4j
src_uri=bolt://localhost:7687
src_username=username
src_password=password
src_realm=realm
dest_type=elasticsearch
dest_uri=https://USERID:PASS@scalr.api.appbase.io/APPNAME
```
For the destination URI, instead of using your user-id and password, you could also use your admin API key.
```
https://admin-API-key@scalr.api.appbase.io/APPNAME
```
You can find your admin API key inside your app page at appbase.io under Security -> API Credentials.
The adaptor would fetch all the nodes and relationships from the graph database.
Example usage:
```
abc import \
--src_type=neo4j \
--src_uri="bolt://localhost:7687" \
--src_username=neo4j \
--src_password=test \
"http://localhost:9206/some_index"
```
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册