Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小七de尾巴
Abc-imp
提交
da26fc86
A
Abc-imp
项目概览
小七de尾巴
/
Abc-imp
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
Abc-imp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
未验证
提交
da26fc86
编写于
5月 16, 2019
作者:
S
Siddharth Kothari
提交者:
GitHub
5月 16, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #155 from jeet-parekh/neo4j-docs
add docs for neo4j adaptor
上级
9a55eb63
fd3f0310
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
40 addition
and
0 deletion
+40
-0
docs/appbase/import.md
docs/appbase/import.md
+3
-0
docs/importer/adaptors/neo4j.md
docs/importer/adaptors/neo4j.md
+37
-0
未找到文件。
docs/appbase/import.md
浏览文件 @
da26fc86
...
@@ -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
...
...
docs/importer/adaptors/neo4j.md
0 → 100644
浏览文件 @
da26fc86
# 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.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录