blueprints, second commit
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/7b210841 Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/7b210841 Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/7b210841 Branch: refs/heads/blueprints Commit: 7b210841e7d01c5eb4b8755bc06cf53168b51b8a Parents: 4217ac4 Author: sblackmon <[email protected]> Authored: Fri Oct 24 12:04:15 2014 -0500 Committer: sblackmon <[email protected]> Committed: Fri Oct 24 12:04:15 2014 -0500 ---------------------------------------------------------------------- streams-contrib/pom.xml | 1 + .../streams-persist-blueprints/pom.xml | 30 ++++++++++++-------- .../BlueprintsEdgeWriterConfiguration.json | 3 +- 3 files changed, 20 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/7b210841/streams-contrib/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/pom.xml b/streams-contrib/pom.xml index e290466..b33d7be 100644 --- a/streams-contrib/pom.xml +++ b/streams-contrib/pom.xml @@ -37,6 +37,7 @@ </properties> <modules> + <module>streams-persist-blueprints</module> <module>streams-persist-cassandra</module> <module>streams-persist-console</module> <module>streams-persist-elasticsearch</module> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/7b210841/streams-contrib/streams-persist-blueprints/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-persist-blueprints/pom.xml b/streams-contrib/streams-persist-blueprints/pom.xml index aae9183..d8989f8 100644 --- a/streams-contrib/streams-persist-blueprints/pom.xml +++ b/streams-contrib/streams-persist-blueprints/pom.xml @@ -9,10 +9,10 @@ </parent> <modelVersion>4.0.0</modelVersion> - <artifactId>streams-persist-mongo</artifactId> + <artifactId>streams-persist-blueprints</artifactId> <properties> - <mongo-driver.version>2.12.0-rc0</mongo-driver.version> + <tinkerpop.version>2.6.0</tinkerpop.version> </properties> <dependencies> @@ -37,15 +37,21 @@ <version>${project.version}</version> </dependency> <dependency> - <groupId>org.mongodb</groupId> - <artifactId>mongo-java-driver</artifactId> - <version>${mongo-driver.version}</version> - <exclusions> - <exclusion> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-core</artifactId> - </exclusion> - </exclusions> + <groupId>com.tinkerpop.blueprints</groupId> + <artifactId>blueprints-core</artifactId> + <version>${tinkerpop.version}</version> + </dependency> + <dependency> + <groupId>com.tinkerpop.blueprints</groupId> + <artifactId>blueprints-rexster-graph</artifactId> + <version>${tinkerpop.version}</version> + <optional>true</optional> + </dependency> + <dependency> + <groupId>com.tinkerpop.rexster</groupId> + <artifactId>rexster-protocol</artifactId> + <version>${tinkerpop.version}</version> + <optional>true</optional> </dependency> </dependencies> <build> @@ -75,7 +81,7 @@ <addCompileSourceRoot>true</addCompileSourceRoot> <generateBuilders>true</generateBuilders> <sourcePaths> - <sourcePath>src/main/jsonschema/org/apache/streams/mongo/MongoConfiguration.json</sourcePath> + <sourcePath>src/main/jsonschema</sourcePath> </sourcePaths> <outputDirectory>target/generated-sources/jsonschema2pojo</outputDirectory> <targetPackage>org.apache.streams.mongo.pojo</targetPackage> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/7b210841/streams-contrib/streams-persist-blueprints/src/main/jsonschema/org/apache/streams/blueprints/BlueprintsEdgeWriterConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-persist-blueprints/src/main/jsonschema/org/apache/streams/blueprints/BlueprintsEdgeWriterConfiguration.json b/streams-contrib/streams-persist-blueprints/src/main/jsonschema/org/apache/streams/blueprints/BlueprintsEdgeWriterConfiguration.json index 0061868..e9b7997 100644 --- a/streams-contrib/streams-persist-blueprints/src/main/jsonschema/org/apache/streams/blueprints/BlueprintsEdgeWriterConfiguration.json +++ b/streams-contrib/streams-persist-blueprints/src/main/jsonschema/org/apache/streams/blueprints/BlueprintsEdgeWriterConfiguration.json @@ -2,8 +2,7 @@ "type": "object", "$schema": "http://json-schema.org/draft-03/schema", "id": "#", - "javaType" : "org.apache.streams.blueprints.BlueprintsVertexWriterConfiguration", - "extends": {"$ref":"BlueprintsWriterConfiguration.json"}, + "javaType" : "org.apache.streams.blueprints.BlueprintsEdgeWriterConfiguration", "javaInterfaces": ["java.io.Serializable"], "properties": { "verbs": {
