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

Add multi-database support to HTTP driver #228

Merged
merged 2 commits into from
May 18, 2020
Merged

Conversation

fbiville
Copy link
Contributor

@fbiville fbiville commented May 6, 2020

Fixes #227

@fbiville fbiville changed the title Issue 227 Add multi-database support to HTTP driver May 6, 2020
@fbiville
Copy link
Contributor Author

fbiville commented May 6, 2020

Just tested with Liquigraph. Works like a charm.

@@ -377,6 +386,10 @@ public Integer getOpenTransactionId() {
return getTransactionId(this.currentTransactionUrl);
}

private String transactionPath(String databaseName) {
return String.format(DB_DATA_TRANSACTION_TEMPLATE, databaseName);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it appears there is no need for escaping, as database names can only be made of: "simple ascii characters, numbers, dots and dashes" and these characters are not URI special characters.

@fbiville fbiville marked this pull request as ready for review May 6, 2020 13:46
@conker84
Copy link

conker84 commented May 6, 2020

LGTM if @jexp has no comments we can merge it.
Thanks a lot @fbiville !

@fbiville
Copy link
Contributor Author

Would it be possible to get a release going once this is merged? Molte grazie!

@conker84 conker84 merged commit 88465cc into neo4j:4.0 May 18, 2020
@fbiville fbiville deleted the issue_227 branch May 18, 2020 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants