cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Debugging Neo4j Plugin source code from microservice

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:

  1. Is it possible to call neo4j procedure i.e. source code of neo4j procedure in debug mode from java microservice?
  2. If yes, Then can someone please provide the reference or sample code for the same.

Please let me know if anything can help to tackle mentioned issue.

Thanks,
Jeet Ram

0 REPLIES 0