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

Enable Neo4j labs plugin definition. #5035

Merged
merged 2 commits into from
Mar 25, 2022

Conversation

meistermeier
Copy link
Contributor

This PR would provide the functionality to define predefined plugins for the Neo4j image.
It is a shortcut for defining an environment variable with a not very intuitive array definition:

.withEnv("NEO4JLABS_PLUGINS", "[\"apoc\"]")

becomes

.withLabsPlugin(Neo4jLabsPlugin.APOC);

Reference: https://neo4j.com/docs/operations-manual/4.4/docker/operations/#docker-neo4jlabs-plugins

Copy link
Member

@kiview kiview left a comment

Choose a reason for hiding this comment

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

LGTM, see the note about code includes in the docs. The question about which API is better if up for discussion.

docs/modules/databases/neo4j.md Outdated Show resolved Hide resolved
@kiview kiview added this to the next milestone Mar 25, 2022
@kiview kiview merged commit e450586 into testcontainers:master Mar 25, 2022
@meistermeier meistermeier deleted the neo4j-labs-plugins branch March 25, 2022 14:04
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.

None yet

3 participants