Skip to content
This repository has been archived by the owner on Jun 28, 2018. It is now read-only.

Register neo4j driver using a pseudo neo4js protocol scheme. #216

Merged
merged 1 commit into from
May 9, 2017

Conversation

smulube
Copy link

@smulube smulube commented May 9, 2017

Neo4J supports both http and https connections, however https
connections weren't supported previously as the neo4j URL scheme
currently used to identify the driver type is always substituted for
just http.

This PR also registers the driver under an alternate key: neo4js which
given the way the scheme substitution happens, should allow the driver
to correctly create an https connection URL. This will allow the
library to be used for cases where we don't have access to the plain
http endpoint.

Neo4J supports both `http` and `https` connections, however `https`
connections weren't supported previously as the `neo4j` URL scheme
currently used to identify the driver type is always substituted for
just `http`.

This PR also registers the driver under an alternate key: `neo4js` which
given the way the scheme substitution happens, should allow the driver
to correctly create an `https` connection URL. This will allow the
library to be used for cases where we don't have access to the plain
`http` endpoint.
@mattes mattes merged commit afc973c into mattes:v1 May 9, 2017
@mattes
Copy link
Owner

mattes commented May 9, 2017

Thanks!

@smulube
Copy link
Author

smulube commented May 9, 2017

ah, thanks for merging! was slightly uncomfortable that this was a bit of a hacky way of solving this, but it was pragmatically simple.

we may be interested in contributing an updated neo4j driver/database for the new branch but that all depends on how busy we are with other stuff - you know how it goes...

@mattes
Copy link
Owner

mattes commented May 9, 2017

Of course! I understand! Ping me anytime if you want to chat or need help getting started.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants