-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
feat(neo4j): Allow datahub to connect to specific neo4j database #9179
feat(neo4j): Allow datahub to connect to specific neo4j database #9179
Conversation
@@ -146,7 +146,7 @@ services: | |||
- ELASTICSEARCH_INDEX_BUILDER_MAPPINGS_REINDEX=true | |||
- ELASTICSEARCH_INDEX_BUILDER_SETTINGS_REINDEX=true | |||
- ELASTICSEARCH_BUILD_INDICES_CLONE_INDICES=false | |||
- GRAPH_SERVICE_IMPL=elasticsearch | |||
- GRAPH_SERVICE_IMPL=neo4j |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets not change the graph service impl here. If you'd like to make it configurable, it can be like GRAPH_SERVICE_IMPL=${GRAPH_SERVICE_IMPL:-elasticsearch}
so that you can override the impl with an environment variable if that's your preferred quickstart backend.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. Please check
@@ -146,7 +146,7 @@ services: | |||
- ELASTICSEARCH_INDEX_BUILDER_MAPPINGS_REINDEX=true | |||
- ELASTICSEARCH_INDEX_BUILDER_SETTINGS_REINDEX=true | |||
- ELASTICSEARCH_BUILD_INDICES_CLONE_INDICES=false | |||
- GRAPH_SERVICE_IMPL=elasticsearch | |||
- GRAPH_SERVICE_IMPL=neo4j |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here, please make it configurable: GRAPH_SERVICE_IMPL=${GRAPH_SERVICE_IMPL:-elasticsearch}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Thanks! If we can restore the default and allow overriding of the graph impl, then this looks good to me! |
… "python generate_docker_quickstart.py check-all"
@david-leifker |
# Conflicts: # docker/quickstart/docker-compose-m1.quickstart.yml # docker/quickstart/docker-compose.quickstart.yml
LGTM! Thanks! |
By default datahub connects to default db when neo4j is being used for Graph service implementation. With this PR, we can provide specific database in neo4j to connect to.
Also, changes default value of graph_service_impl in docker quickstart files
Checklist