Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-13-2021 02:26 PM
Hi,
Problem statement:
The Ask is, Like other applications We want to debug Neo4j plugin code(Noe4j plugin Procedure code ) from another application like Spring boot app.
Basically If we want to debug the procedure code then we have to write unit test within plugin repository where we have all neo4j procedure like below:
FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class NewTest {
ClassRule
** public static Neo4jRule neo4j = new Neo4jRule().withProcedure(New.class);**
** static Driver driver;**
Context
** public GraphDatabaseService graphDatabaseService;**
BeforeClass
** public static void init() {**
** driver = GraphDatabase.driver(neo4j.boltURI(), Config.builder()**
** .withoutEncryption().build());**
** }**
Test
** public void test() throws IOException {**
** }**
}
but If I want to debug it from microservice so that no need to create sample data and we can pass actual data from microservice to our procedure and progress on debugging.
so below are the queries:
Please let me know if anything can help to tackle mentioned issue.
Thanks,
Jeet Ram
All the sessions of the conference are now available online