[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13616145#comment-13616145 ] Christian Müller commented on CAMEL-5483: - I removed this component from our Apache Camel SVN. Will add it to Camel Extra in a few minutes/hours. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Blocker Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13615563#comment-13615563 ] Hadrian Zbarcea commented on CAMEL-5483: For more details please follow the related thread on the [dev@|http://s.apache.org/camel-5483] list and the issue opened with [legal-discuss@|https://issues.apache.org/jira/browse/LEGAL-162] Below is the full dependency tree. We obviously have direct dependencies on neo4j, required to build the component. {code} [INFO] --- maven-dependency-plugin:2.6:tree (default-cli) @ camel-spring-neo4j --- [INFO] org.apache.camel:camel-spring-neo4j:bundle:2.11-SNAPSHOT [INFO] +- org.springframework.data:spring-data-neo4j-rest:jar:2.2.0.RELEASE:compile [INFO] | +- org.springframework:spring-tx:jar:3.1.4.RELEASE:compile (version managed from 3.1.4.RELEASE) [INFO] | | \- aopalliance:aopalliance:jar:1.0:compile [INFO] | +- org.springframework:spring-context:jar:3.1.4.RELEASE:compile (version managed from 3.1.4.RELEASE) [INFO] | | +- org.springframework:spring-expression:jar:3.1.4.RELEASE:compile [INFO] | | \- org.springframework:spring-asm:jar:3.1.4.RELEASE:compile [INFO] | +- org.springframework:spring-beans:jar:3.1.4.RELEASE:compile (version managed from 3.1.4.RELEASE) [INFO] | +- org.springframework:spring-aspects:jar:3.1.4.RELEASE:compile [INFO] | | \- org.springframework:spring-context-support:jar:3.1.4.RELEASE:compile (version managed from 3.1.4.RELEASE) [INFO] | +- org.springframework:spring-aop:jar:3.1.4.RELEASE:compile (version managed from 3.1.4.RELEASE) [INFO] | +- org.springframework:spring-core:jar:3.1.4.RELEASE:compile (version managed from 3.1.4.RELEASE) [INFO] | +- org.neo4j:neo4j-kernel:jar:1.8.1:compile [INFO] | | \- org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile (version managed from 1.1.1) [INFO] | +- org.springframework.data:spring-data-neo4j:jar:2.2.0.RELEASE:compile [INFO] | | +- org.aspectj:aspectjrt:jar:1.7.1:compile [INFO] | | \- org.springframework.data:spring-data-commons:jar:1.5.0.RELEASE:compile [INFO] | +- org.neo4j:neo4j-rest-graphdb:jar:1.8.1:compile [INFO] | | \- org.neo4j:server-api:jar:1.8.1:compile [INFO] | | +- org.neo4j.3rdparty.javax.ws.rs:jsr311-api:jar:1.1.2.r612:compile [INFO] | | +- commons-configuration:commons-configuration:jar:1.6:compile [INFO] | | | +- commons-collections:commons-collections:jar:3.2.1:compile (version managed from 3.2.1) [INFO] | | | +- commons-lang:commons-lang:jar:2.4:compile [INFO] | | | +- commons-logging:commons-logging:jar:1.1.1:compile (version managed from 1.1.1) [INFO] | | | \- commons-beanutils:commons-beanutils-core:jar:1.8.0:compile [INFO] | | \- commons-digester:commons-digester:jar:1.8.1:compile [INFO] | |\- commons-beanutils:commons-beanutils:jar:1.8.0:compile [INFO] | +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.7:compile [INFO] | | \- org.codehaus.jackson:jackson-core-asl:jar:1.9.7:compile [INFO] | +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.7:compile [INFO] | +- com.sun.jersey:jersey-client:jar:1.4:compile [INFO] | | \- com.sun.jersey:jersey-core:jar:1.4:compile [INFO] | +- org.neo4j:neo4j:jar:1.8.1:compile [INFO] | | +- org.neo4j:neo4j-lucene-index:jar:1.8.1:compile [INFO] | | | \- org.apache.lucene:lucene-core:jar:3.5.0:compile [INFO] | | +- org.neo4j:neo4j-graph-algo:jar:1.8.1:compile [INFO] | | +- org.neo4j:neo4j-udc:jar:1.8.1:compile [INFO] | | +- org.neo4j:neo4j-graph-matching:jar:1.8.1:compile [INFO] | | \- org.neo4j:neo4j-jmx:jar:1.8.1:compile [INFO] | +- org.neo4j:neo4j-cypher:jar:1.8.1:compile [INFO] | | +- org.scala-lang:scala-library:jar:2.9.1-1:compile [INFO] | | \- com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.3.2:compile (version managed from 1.3.1) [INFO] | +- org.slf4j:slf4j-api:jar:1.6.6:compile (version managed from 1.7.1) [INFO] | \- org.slf4j:jcl-over-slf4j:jar:1.7.1:runtime [INFO] +- org.apache.camel:camel-core:jar:2.11-SNAPSHOT:compile [INFO] +- org.apache.mina:mina-core:jar:1.1.7:compile [INFO] +- org.apache.camel:camel-test-spring:jar:2.11-SNAPSHOT:test [INFO] | +- org.apache.camel:camel-test:jar:2.11-SNAPSHOT:test (version managed from 2.11-SNAPSHOT) [INFO] | +- org.apache.camel:camel-spring:jar:2.11-SNAPSHOT:test (version managed from 2.11-SNAPSHOT) [INFO] | \- org.springframework:spring-test:jar:3.1.4.RELEASE:test (version managed from 3.1.4.RELEASE) [INFO] +- junit:junit:jar:4.11:test [INFO] | \- org.hamcrest:hamcrest-core:jar:1.3:test [INFO] +- org.slf4j:slf4j-log4j12:jar:1.7.5:test [INFO] | \- log4j:log4j:jar:1.2.17:test (version managed from 1.2.17) [INFO] +- org.mockito:mockito-all:jar:1.9.5:test [INFO] \- org.apache.servicemix.specs:org.apache.servicemix.specs.jsr303-api-1.0.0:jar:2.2.0:test {code} Component for neo4j ---
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13465464#comment-13465464 ] Claus Ibsen commented on CAMEL-5483: Whats the status of this? If there is some OSGi bundle missing, maybe create a new JIRA ticket for that, as the main work is done. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13448564#comment-13448564 ] Bilgin Ibryam commented on CAMEL-5483: -- Thanks Babak. I didn't know that MANIFEST.MF can tell you whether it is OSGI bundled or not. Exactly what I was looking for. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13447403#comment-13447403 ] stephen samuel commented on CAMEL-5483: --- I've added the documentation for this now. Sorry for the delay. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13444128#comment-13444128 ] Bilgin Ibryam commented on CAMEL-5483: -- Guys, I have a question: how do you find out whether a/this new component requires some new OSGI bundles or not? Shouldn't it also be added to features.xml in platfor/karaf? Thanks Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13444156#comment-13444156 ] Babak Vahdat commented on CAMEL-5483: - Hi [~bibryam], Just received your question though a JIRA mail notification... I'm definitely the wrong guy to answer about this in detail as I'm a OSGi newbie (no OSGi-food @ breakfast :-)) but let me try and maybe [~njiang] will correct/complement what I say. If the dependencies of a new Camel component are already OSGi complaint then there's no need to ask/order a bundle for it, as an example consider concurrentlinkedhashmap dependency of camel-core itself which is already OSGi ready (look at it's MANIFEST.MF). Otherwise we should ask for a SMX bundle through a JIRA ticket, as an example I did it once: SMX4-1153 And concerning features.xml you asked about... Good question! I just checked how many Camel features are out there which is currently only 121: {code} ~/dev/workspace/camel/platforms/karaf/features/src/main/resourcesgrep feature name='camel- features.xml | wc 121 604 11477 {code} But we've got more than 130 components! So what about the rest? [~njiang] am I wrong here to expect more karaf features? Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
Babak Vahdat commented on CAMEL-5483 Component for neo4j FYI: http://svn.apache.org/viewvc?view=revisionrevision=1377357 This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13440092#comment-13440092 ] Claus Ibsen commented on CAMEL-5483: Stephen, have you created an account on the wiki? Read this page http://camel.apache.org/how-do-i-edit-the-website.html Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13440173#comment-13440173 ] stephen samuel commented on CAMEL-5483: --- I sure have Full Name stephen samuel Email samspad...@gmail.com Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13439612#comment-13439612 ] stephen samuel commented on CAMEL-5483: --- Dear Stephen Samuel, This message acknowledges receipt of your ICLA, which has been filed in the Apache Software Foundation records. If you have been invited as a committer, please advise the project PMC that your ICLA has been filed. The username I requested was sksamuel (samspade79 on here). Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13435182#comment-13435182 ] Claus Ibsen commented on CAMEL-5483: @Stephen We have instructions how to edit the docs here http://camel.apache.org/how-do-i-edit-the-website.html You need a signed ICLA at Apache to be able to edit the docs (eg copyright stuff). If you have that in place, then let us know your conflucens user id, then we can grant your karma to edit docs. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13433931#comment-13433931 ] stephen samuel commented on CAMEL-5483: --- I signed up for Confluence but don't have privileges to create a new page. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13433943#comment-13433943 ] Willem Jiang commented on CAMEL-5483: - @Stephen, you can send a mail to the dev with your Confluence id. I think you will be grant with the right shortly. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13432939#comment-13432939 ] stephen samuel commented on CAMEL-5483: --- updated patch without int tests that need server. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13432977#comment-13432977 ] Willem Jiang commented on CAMEL-5483: - @Stephen I already add @Ignore annotation on the integration tests which need server, so these test will not be run by default. If some people wants to run it he could remove the ignore annotation and setup a server for it. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13433017#comment-13433017 ] Willem Jiang commented on CAMEL-5483: - @Stephen Do you mind to add a wiki page of camel-neo4j? Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13433021#comment-13433021 ] stephen samuel commented on CAMEL-5483: --- Sure, where do you want it ? Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13433142#comment-13433142 ] Willem Jiang commented on CAMEL-5483: - @Stephen, you can add an entry in the [component page|http://camel.apache.org/components.html] and take this [page|http://camel.apache.org/cmis.html] as an example. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Assignee: Willem Jiang Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch, remove-int-tests.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13429003#comment-13429003 ] Willem Jiang commented on CAMEL-5483: - Hi Stephen, First I should say thanks for your donation, and we loves the contributors who make the camel more powerful by adding more and more components. As you know we can't ship the third part GPL jars or host the codes which are built on the top of GPL codes due to Apache license issue. You donation could be put into [camel-extra|http://code.google.com/a/apache-extras.org/p/camel-extra/], and I'd happy to help you to commit the code. Willem Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13429103#comment-13429103 ] Willem Jiang commented on CAMEL-5483: - @stephen, The RestNeo4jProducerCreateRelationshipIntegrationTest failed due to there is no neo4j server running, can you update your code for it? BTW, as the neo4j is using GPL license, I still not sure if it is OK to host this component in the Apache Camel svn repository. It should be OK for us to host it in the camel-extra. Willem Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13429123#comment-13429123 ] stephen samuel commented on CAMEL-5483: --- Hi. We can't run the integration tests without a server. They shouldn't be getting run as part of the unit test process. If you have automated integration tests then I'll need to add in an embedded neo db. I'll look into that and submit another patch. As for GPL. The neo4j database itself is GPL but you're not distributing the database. You're distributing code that replies on the spring `drivers`, which are licensed under Apache. http://static.springsource.org/spring-data/data-graph/snapshot-site/license.html I think should be fine otherwise Spring themselves are breaking the license. Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-5483) Component for neo4j
[ https://issues.apache.org/jira/browse/CAMEL-5483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13429373#comment-13429373 ] Christian Müller commented on CAMEL-5483: - The license for org.springframework.data/spring-data-neo4j-rest is ok. We can add this component to our kit (at Apache). Component for neo4j --- Key: CAMEL-5483 URL: https://issues.apache.org/jira/browse/CAMEL-5483 Project: Camel Issue Type: Improvement Reporter: stephen samuel Priority: Minor Fix For: 2.11.0 Attachments: camel-neo4j.patch I have created a component for neo4j. It is a producer only and it allows you to create / remove nodes and relationships. -- read me -- camel-neo4j The camel-neo4j component allows you to treat Neo4j as a camel producer endpoint. This means you can use this component in to() calls but not from() calls. This component is backed by the Spring Data Neo4j Library. * As a producer, can create or remove nodes, and create or remove relationships. * Can support as many endpoints as required, eg for multiple databases across multiple instances. * Headers set for node id (for created nodes), relationship id (for created relationships) How to Use == You can use neo4j as an endpoint with the following URI. `neo4j:http://hostname[:port]/database` Then you need to set a header on each message, one of the following enum types ` CREATE_NODE, REMOVE_NODE, CREATE_RELATIONSHIP, REMOVE_RELATIONSHIP` Eg, `exchange.getIn().setHeader(Neo4jEndpoint.HEADER_OPERATION, Neo4jOperation.CREATE_NODE);` The body of the message is used to determine the node or relationship to manipulate. The following body types are supported: For CREATE_NODE: * null body - create default node * Map body - create node with the properties set from the map For REMOVE_NODE: * Long or Integer - remove node using the body as the id * neo4j Node instance - remove the node specified by that instance For CREATE_RELATIONSHIP: * SpringDataRelationship - create relationship specified by any @NodeEntity annoted Spring entities. * BasicRelationship - create relationship specified by the neo4j node types For REMOVE_RELATIONSHIP: * Long or Integer - remove relationship using the body as the id * SpringDataRelationship - remove relationship specified by the @NodeEntity annoted Spring entities. * BasicRelationship - remove relationship specified by the neo4j node types Tests = camel-neo4j has a complete set of unit tests. In addition there are some integration tests that require you to run a local instance of neo4j. By default the tests will look at localhost:7474 on http://localhost:7474/db/data/ - Initial contribution by Stephen Samuel. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira