incubator-streams git commit: switch mojo tests to ITs, so they don’t fail jenkins Streams Trunk build

2016-10-17 Thread sblackmon
Repository: incubator-streams
Updated Branches:
  refs/heads/STREAMS-429 [created] 055ed882a


switch mojo tests to ITs, so they don’t fail jenkins Streams Trunk build


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/055ed882
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/055ed882
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/055ed882

Branch: refs/heads/STREAMS-429
Commit: 055ed882af713ff17ad5498aab66be973d5e9b75
Parents: 1766f34
Author: Steve Blackmon @steveblackmon 
Authored: Mon Oct 17 12:40:29 2016 -0500
Committer: Steve Blackmon @steveblackmon 
Committed: Mon Oct 17 16:02:53 2016 -0500

--
 .../src/site/markdown/index.md  |  2 +-
 ...StreamsCassandraResourceGeneratorMojoIT.java | 96 
 ...reamsCassandraResourceGeneratorMojoTest.java | 96 
 .../src/site/markdown/index.md  |  2 +-
 ...amsElasticsearchResourceGeneratorMojoIT.java | 68 ++
 ...sElasticsearchResourceGeneratorMojoTest.java | 68 --
 .../src/site/markdown/index.md  |  2 +-
 .../StreamsHbaseResourceGeneratorMojoIT.java| 83 +
 .../StreamsHbaseResourceGeneratorMojoTest.java  | 84 -
 .../src/site/markdown/index.md  |  2 +-
 .../StreamsHiveResourceGeneratorMojoIT.java | 83 +
 .../StreamsHiveResourceGeneratorMojoTest.java   | 83 -
 .../src/site/markdown/index.md  |  2 +-
 .../test/StreamsPigResourceGeneratorMojoIT.java | 83 +
 .../StreamsPigResourceGeneratorMojoTest.java| 83 -
 .../src/site/markdown/index.md  |  2 +-
 .../test/StreamsPojoSourceGeneratorMojoIT.java  | 86 ++
 .../StreamsPojoSourceGeneratorMojoTest.java | 87 --
 .../src/site/markdown/index.md  |  2 +-
 19 files changed, 506 insertions(+), 508 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/055ed882/streams-plugins/streams-plugin-cassandra/src/site/markdown/index.md
--
diff --git 
a/streams-plugins/streams-plugin-cassandra/src/site/markdown/index.md 
b/streams-plugins/streams-plugin-cassandra/src/site/markdown/index.md
index 0e8ecf3..5300747 100644
--- a/streams-plugins/streams-plugin-cassandra/src/site/markdown/index.md
+++ b/streams-plugins/streams-plugin-cassandra/src/site/markdown/index.md
@@ -9,7 +9,7 @@ streams-plugin-cassandra generates resources from json schemas 
to assist with in
 
 Run within a module containing a src/main/jsonschema directory
 
-mvn 
org.apache.streams.plugins:streams-plugin-cassandra:0.3-incubating-SNAPSHOT:cassandra
+mvn 
org.apache.streams.plugins:streams-plugin-cassandra:0.4-incubating:cassandra
 
 [streams-plugin-cassandra/pom.xml](streams-plugin-cassandra/pom.xml 
"streams-plugin-cassandra/pom.xml")
 

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/055ed882/streams-plugins/streams-plugin-cassandra/src/test/java/org/apache/streams/plugins/cassandra/test/StreamsCassandraResourceGeneratorMojoIT.java
--
diff --git 
a/streams-plugins/streams-plugin-cassandra/src/test/java/org/apache/streams/plugins/cassandra/test/StreamsCassandraResourceGeneratorMojoIT.java
 
b/streams-plugins/streams-plugin-cassandra/src/test/java/org/apache/streams/plugins/cassandra/test/StreamsCassandraResourceGeneratorMojoIT.java
new file mode 100644
index 000..fc7765e
--- /dev/null
+++ 
b/streams-plugins/streams-plugin-cassandra/src/test/java/org/apache/streams/plugins/cassandra/test/StreamsCassandraResourceGeneratorMojoIT.java
@@ -0,0 +1,96 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.streams.plugins.cassandra.test;
+
+import com.google.common.collect.Lists;
+import 

incubator-streams git commit: switch mojo tests to ITs, so they don’t fail jenkins Streams Trunk build

2016-10-17 Thread sblackmon
Repository: incubator-streams
Updated Branches:
  refs/heads/STREAMS-429 [created] ec0d0e7c5


switch mojo tests to ITs, so they don’t fail jenkins Streams Trunk build


Project: http://git-wip-us.apache.org/repos/asf/incubator-streams/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams/commit/ec0d0e7c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams/tree/ec0d0e7c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams/diff/ec0d0e7c

Branch: refs/heads/STREAMS-429
Commit: ec0d0e7c51fb9455014fb5c7ed106b1fa50f6ae2
Parents: 2c12724
Author: Steve Blackmon @steveblackmon 
Authored: Mon Oct 17 12:40:29 2016 -0500
Committer: Steve Blackmon @steveblackmon 
Committed: Mon Oct 17 12:40:29 2016 -0500

--
 .../src/site/markdown/index.md  |  2 +-
 ...StreamsCassandraResourceGeneratorMojoIT.java | 78 
 ...reamsCassandraResourceGeneratorMojoTest.java | 78 
 .../src/site/markdown/index.md  |  2 +-
 ...amsElasticsearchResourceGeneratorMojoIT.java | 50 +
 ...sElasticsearchResourceGeneratorMojoTest.java | 50 -
 .../src/site/markdown/index.md  |  2 +-
 .../StreamsHbaseResourceGeneratorMojoIT.java| 64 
 .../StreamsHbaseResourceGeneratorMojoTest.java  | 65 
 .../src/site/markdown/index.md  |  2 +-
 .../StreamsHiveResourceGeneratorMojoIT.java | 64 
 .../StreamsHiveResourceGeneratorMojoTest.java   | 64 
 .../src/site/markdown/index.md  |  2 +-
 .../test/StreamsPigResourceGeneratorMojoIT.java | 64 
 .../StreamsPigResourceGeneratorMojoTest.java| 64 
 .../src/site/markdown/index.md  |  2 +-
 .../test/StreamsPojoSourceGeneratorMojoIT.java  | 67 +
 .../StreamsPojoSourceGeneratorMojoTest.java | 68 -
 .../src/site/markdown/index.md  |  2 +-
 19 files changed, 394 insertions(+), 396 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ec0d0e7c/streams-plugins/streams-plugin-cassandra/src/site/markdown/index.md
--
diff --git 
a/streams-plugins/streams-plugin-cassandra/src/site/markdown/index.md 
b/streams-plugins/streams-plugin-cassandra/src/site/markdown/index.md
index 0e8ecf3..5300747 100644
--- a/streams-plugins/streams-plugin-cassandra/src/site/markdown/index.md
+++ b/streams-plugins/streams-plugin-cassandra/src/site/markdown/index.md
@@ -9,7 +9,7 @@ streams-plugin-cassandra generates resources from json schemas 
to assist with in
 
 Run within a module containing a src/main/jsonschema directory
 
-mvn 
org.apache.streams.plugins:streams-plugin-cassandra:0.3-incubating-SNAPSHOT:cassandra
+mvn 
org.apache.streams.plugins:streams-plugin-cassandra:0.4-incubating:cassandra
 
 [streams-plugin-cassandra/pom.xml](streams-plugin-cassandra/pom.xml 
"streams-plugin-cassandra/pom.xml")
 

http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ec0d0e7c/streams-plugins/streams-plugin-cassandra/src/test/java/org/apache/streams/plugins/cassandra/test/StreamsCassandraResourceGeneratorMojoIT.java
--
diff --git 
a/streams-plugins/streams-plugin-cassandra/src/test/java/org/apache/streams/plugins/cassandra/test/StreamsCassandraResourceGeneratorMojoIT.java
 
b/streams-plugins/streams-plugin-cassandra/src/test/java/org/apache/streams/plugins/cassandra/test/StreamsCassandraResourceGeneratorMojoIT.java
new file mode 100644
index 000..ce3e635
--- /dev/null
+++ 
b/streams-plugins/streams-plugin-cassandra/src/test/java/org/apache/streams/plugins/cassandra/test/StreamsCassandraResourceGeneratorMojoIT.java
@@ -0,0 +1,78 @@
+package org.apache.streams.plugins.cassandra.test;
+
+import com.google.common.collect.Lists;
+import com.google.common.io.Files;
+import junit.framework.TestCase;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.maven.it.Verifier;
+import org.apache.maven.it.util.ResourceExtractor;
+import org.junit.Test;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.io.File;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.List;
+
+import static 
org.apache.streams.plugins.cassandra.test.StreamsCassandraResourceGeneratorTest.cqlFilter;
+
+/**
+ * Tests that streams-plugin-hive running via maven generates hql resources
+ */
+public class StreamsCassandraResourceGeneratorMojoIT extends TestCase {
+
+private final static Logger LOGGER = 
LoggerFactory.getLogger(StreamsCassandraResourceGeneratorMojoIT.class);
+
+