From 41a699e33139e5dc8a70f964bc48d2404b37ee71 Mon Sep 17 00:00:00 2001 From: Tony Butterfield <1846725+tonbut@users.noreply.github.com> Date: Wed, 15 Feb 2023 13:16:01 +0000 Subject: [PATCH 1/3] added extra detail to creating seed provider --- modules/ROOT/pages/extending-neo4j/project-setup.adoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/ROOT/pages/extending-neo4j/project-setup.adoc b/modules/ROOT/pages/extending-neo4j/project-setup.adoc index 66ac716..5f3ea5a 100644 --- a/modules/ROOT/pages/extending-neo4j/project-setup.adoc +++ b/modules/ROOT/pages/extending-neo4j/project-setup.adoc @@ -196,6 +196,12 @@ Both credentials and configurations are passed through from options specified in Build a jar file from Maven and place this onto the Neo4j classpath. +The jar must contain a META-INF file to enable discovery of the providers. This file should the path: + +/META_INF/services/com.neo4j.dbms.seeding.SeedProvider + +It should be a plain text file with one line for each provider contained within the jar, the line should contain the fully qualified name of the provider class. + [NOTE] ==== If you need assistance with custom seed providers, please contact Professional Services. From 95607cdb74f15830fa90f3d8b036992baf9848e3 Mon Sep 17 00:00:00 2001 From: AlexicaWright <49636617+AlexicaWright@users.noreply.github.com> Date: Thu, 16 Feb 2023 09:56:54 +0100 Subject: [PATCH 2/3] suggestions --- modules/ROOT/pages/extending-neo4j/project-setup.adoc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/ROOT/pages/extending-neo4j/project-setup.adoc b/modules/ROOT/pages/extending-neo4j/project-setup.adoc index 5f3ea5a..ebba29b 100644 --- a/modules/ROOT/pages/extending-neo4j/project-setup.adoc +++ b/modules/ROOT/pages/extending-neo4j/project-setup.adoc @@ -196,9 +196,13 @@ Both credentials and configurations are passed through from options specified in Build a jar file from Maven and place this onto the Neo4j classpath. -The jar must contain a META-INF file to enable discovery of the providers. This file should the path: +The jar must contain a META-INF file to enable discovery of the providers. +This file should the path: +[source, none] +---- /META_INF/services/com.neo4j.dbms.seeding.SeedProvider +---- It should be a plain text file with one line for each provider contained within the jar, the line should contain the fully qualified name of the provider class. From b55ddcf9e27f044980e76ca9e6a5bd868d809dbe Mon Sep 17 00:00:00 2001 From: Tony Butterfield <1846725+tonbut@users.noreply.github.com> Date: Thu, 16 Feb 2023 13:16:29 +0000 Subject: [PATCH 3/3] clarify text based on review --- modules/ROOT/pages/extending-neo4j/project-setup.adoc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/ROOT/pages/extending-neo4j/project-setup.adoc b/modules/ROOT/pages/extending-neo4j/project-setup.adoc index ebba29b..919991b 100644 --- a/modules/ROOT/pages/extending-neo4j/project-setup.adoc +++ b/modules/ROOT/pages/extending-neo4j/project-setup.adoc @@ -196,8 +196,7 @@ Both credentials and configurations are passed through from options specified in Build a jar file from Maven and place this onto the Neo4j classpath. -The jar must contain a META-INF file to enable discovery of the providers. -This file should the path: +The jar must include a META-INF file to enable discovery of the providers with the path: [source, none] ----