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 additional convenience methods for Neo4j containers #1246

Merged

Conversation

michael-simons
Copy link
Contributor

This change adds the following methods for the Neo4j container

public S withDatabase(MountableFile graphDb)
public S withPlugins(MountableFile plugins)
public S withNeo4jConfig(String key, String value)
public S withoutAuthentication()

Those have been described in the readme of Neo4j.

For being able to test withDatabase, I have added a very small Neo4j graph.db store to the test-resources. This is our native format.

For testing withPlugins I wanted to avoid adding a binary jar, so I added a submodule being build before the test. My Gradle foo is not that good, maybe there's a better way to do this.

Thanks for taking the PR into consideration. The Neo4j container has been a great success with some of our partners and customers so far.

@michael-simons michael-simons mentioned this pull request Feb 22, 2019
4 tasks
@bsideup bsideup added this to the next milestone Feb 23, 2019
@bsideup bsideup merged commit f918450 into testcontainers:master Feb 23, 2019
@bsideup
Copy link
Member

bsideup commented Feb 23, 2019

@michael-simons great job, thank you!

@rnorth rnorth removed this from the next milestone Mar 12, 2019
@rnorth
Copy link
Member

rnorth commented Mar 12, 2019

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

Successfully merging this pull request may close these issues.

3 participants