A simple Spring Boot application to demonstrate the bug (intermittently deletes object after save call)
The application requires an instance of neo4j. All configuration is in application.properties.
Run the following to start the webapp:
./gradlew bootRunRun the following to hit the webapp and may trigger the error:
for id in {1..15000}; do
curl -s -XPOST "http://localhost:8080/api/laptop?id=${id}" | jq .
done
for id in {1..15000}; do
curl -s -XPATCH "http://localhost:8080/api/laptop?id=${id}" | jq .
done