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

Handshake #11

Merged
merged 2 commits into from
May 14, 2020
Merged

Handshake #11

merged 2 commits into from
May 14, 2020

Conversation

frisbm
Copy link
Contributor

@frisbm frisbm commented May 14, 2020

Description

added neo4j connection verification for use with Neo4j desktop

Related US/Task

N/A

Motivation and Context

To fail build fast instead of at usage time

How Has This Been Tested

By testing in docker container and with Neo4j desktop

Types of changes

  • Refactoring / dependency upgrade / docs change
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Non-functional requirement
async function verifyConnection() {
  const { driver, session } = transactionInformation();
  try {
    await driver.verifyConnectivity();
    console.log('Verified Neo4j Connection');
  } catch (error) {
    console.log(`Connectivity Verification Failed: ${error}`);
  }
}

@frisbm frisbm added the bug Something isn't working label May 14, 2020
@frisbm frisbm self-assigned this May 14, 2020
@frisbm frisbm requested a review from DMadrid May 14, 2020 04:16
@frisbm frisbm added this to Review in progress in CyFHIR May 14, 2020
CyFHIR automation moved this from Review in progress to Reviewer approved May 14, 2020
@frisbm frisbm merged commit f54aa37 into master May 14, 2020
CyFHIR automation moved this from Reviewer approved to Done May 14, 2020
@frisbm frisbm deleted the neo4j-handshake branch May 14, 2020 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
CyFHIR
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants