We're updating the issue view to help you get more done. 

Test remote procedure on Neo4j server

Description

the Neo4j dialect supports calls to remote procedures but we are only testing on the embedded dialect.

We need to test also tests for the remote dialects.
This means that we need to create a jar containing the classes we use for the tests and deploy it on the remote server before it starts.

On CI, we use docker and to do this we can generate the jar before starting the docker instance and then mount the folder with the jar on the `/plugins` folder of the docker instance. It should look like:

1 docker run --rm -v hibernate-ogm/neo4j-procedures/target:/plugins -d -p $BOLT_NEO4J_PORT:7687 -p $HTTP_NEO4J_PORT:7474 --name Neo4j neo4j:$NEO4J_VERSION

I've created a branch containing a module for the generation of the JAR as a POC: https://github.com/DavideD/hibernate-ogm/tree/neo4j-procedures/neo4j-procedures

Not sure if there is a simple solution for this right now with our current building process. We might also decide to add the tests in the integration-test module if it makes it easier

Environment

None

Status

Assignee

Unassigned

Reporter

Davide D'Alto

Labels

None

Worked in

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Community Help Wanted

None

Suitable for new contributors

Yes, likely

Requires Release Note

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Minor