Skip to content

Expose server info in result summary from sessions and transactions #172

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

Merged
merged 4 commits into from
Dec 20, 2016

Conversation

oskarhane
Copy link
Member

Exposed as a map in result.summary.server:

{
  address: 'localhost:7687',
  version: 'Neo4j/3.1.0'
}

@zhenlineo
Copy link
Contributor

Need rebase to fix the driver version

@lutovich lutovich force-pushed the 1.1-expose-server-info branch 2 times, most recently from 537acf0 to 69cde8c Compare December 16, 2016 10:49
@zhenlineo
Copy link
Contributor

What about unhappy case where we failed to run a query and how does a user still access summary.server?

oskarhane and others added 3 commits December 19, 2016 12:02
Exposed as a map in `result.summary.server`:

```
{
  address: 'localhost:7687',
  version: 'Neo4j/3.1.0'
}
```
@lutovich lutovich force-pushed the 1.1-expose-server-info branch from fb80079 to afbbbd9 Compare December 19, 2016 11:09
@lutovich
Copy link
Contributor

Rebased. Currently there exists no API to retrieve summary after failure. I think it should be added in a separate PR. Also added couple tests for summary.server with observer API.

@zhenlineo zhenlineo merged commit d5af7b9 into neo4j:1.1 Dec 20, 2016
@zhenlineo zhenlineo deleted the 1.1-expose-server-info branch December 20, 2016 13:04
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.

3 participants