Giter VIP home page Giter VIP logo

cypher_batch_writer's People

Contributors

maxdemarzi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cypher_batch_writer's Issues

Fail to run neo4j

After follow your instructions to install and run your plugin on neo4j I got the following exception:

Starting Neo4j failed: com/maxdemarzi/Service : Unsupported major.minor version 52.0

I am using latest java8 version and Neo4j instace 3.2 on Mac.

Managed to build your project locally and take the jar:


T E S T S

Running com.maxdemarzi.ServiceTest
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:18 PM com.maxdemarzi.BatchWriterService
INFO: Started BatchWriterService
Mar 20, 2016 4:37:20 PM com.maxdemarzi.BatchWriterService runOneIteration
SEVERE: Error Executing Cypher Statement: {statement=ETAERC (u:User {user_id: {user_id} }), parameters={user_id=-87762391}}
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 9.847 sec

Results :

Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ cypher_batch_writer ---
[INFO] Building jar: /Users/idan/IdeaProjects/cypher_batch_writer/target/cypher_batch_writer-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.952 s
[INFO] Finished at: 2016-03-20T16:37:27+02:00
[INFO] Final Memory: 32M/325M
[INFO] ------------------------------------------------------------------------

Any idea what's wrong ?

Blind failed transactions

I noticed that there isn't a way to now if a batch failed, since once it's registered into the queue, a 200 status code is returned. I was thinking about, instead of returning a 200 status code, return 201 and some id that relates to the created batch. So you can query /services//batch/<id> and get the status of this transaction.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.