You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by sb...@apache.org on 2015/05/09 18:47:51 UTC
[4/8] incubator-streams-examples git commit: ensure apache-rat:check
passes
ensure apache-rat:check passes
Project: http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/commit/6b4de07d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/tree/6b4de07d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/diff/6b4de07d
Branch: refs/heads/0.2-incubating-rc1
Commit: 6b4de07da2340ea65b4d1613897f950a98f62046
Parents: 83580cf
Author: Steve Blackmon <sb...@apache.org>
Authored: Tue Apr 28 00:38:14 2015 -0500
Committer: Steve Blackmon <sb...@apache.org>
Committed: Tue Apr 28 00:38:14 2015 -0500
----------------------------------------------------------------------
.../ElasticsearchHdfsConfiguration.json | 3 ++
.../HdfsElasticsearchConfiguration.json | 3 ++
.../src/main/resources/ElasticsearchHdfs.dot | 3 ++
.../src/main/resources/HdfsElasticsearch.dot | 3 ++
.../src/test/resources/log4j.properties | 4 ++
.../src/test/resources/logback.xml | 18 +++++++
.../src/test/resources/testBackup.json | 44 +++++++++--------
.../src/test/resources/testRestore.json | 38 ++++++++-------
.../ElasticsearchReindexConfiguration.json | 3 ++
.../src/main/resources/ElasticsearchReindex.dot | 3 ++
.../src/main/resources/application.json | 51 +++++++++++---------
.../src/main/resources/log4j.properties | 4 ++
.../src/main/resources/logback.xml | 18 +++++++
.../resources/ActivityChildObjectParent.json | 3 ++
.../src/test/resources/testReindex.json | 50 ++++++++++---------
.../src/test/resources/testReindexChild.json | 50 ++++++++++---------
.../src/test/resources/testReindexParent.json | 50 ++++++++++---------
.../MongoElasticsearchSyncConfiguration.json | 3 ++
.../main/resources/MongoElasticsearchSync.dot | 3 ++
.../src/main/resources/application.json | 33 +++++++------
.../src/test/resources/testSync.json | 35 ++++++++------
.../src/main/resources/TwitterFollowGraph.dot | 3 ++
.../resources/TwitterHistoryElasticsearch.dot | 3 ++
.../src/main/resources/application.conf | 3 ++
.../twitter/TwitterUserstreamElasticsearch.json | 1 -
.../TwitterUserstreamElasticsearch.dot | 3 ++
.../src/main/resources/application.conf | 3 ++
27 files changed, 271 insertions(+), 167 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-hdfs/src/main/jsonschema/ElasticsearchHdfsConfiguration.json
----------------------------------------------------------------------
diff --git a/local/elasticsearch-hdfs/src/main/jsonschema/ElasticsearchHdfsConfiguration.json b/local/elasticsearch-hdfs/src/main/jsonschema/ElasticsearchHdfsConfiguration.json
index 91324dd..9ad7e54 100644
--- a/local/elasticsearch-hdfs/src/main/jsonschema/ElasticsearchHdfsConfiguration.json
+++ b/local/elasticsearch-hdfs/src/main/jsonschema/ElasticsearchHdfsConfiguration.json
@@ -1,5 +1,8 @@
{
"$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
"type": "object",
"javaType" : "org.apache.streams.elasticsearch.example.ElasticsearchHdfsConfiguration",
"javaInterfaces": ["java.io.Serializable"],
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-hdfs/src/main/jsonschema/HdfsElasticsearchConfiguration.json
----------------------------------------------------------------------
diff --git a/local/elasticsearch-hdfs/src/main/jsonschema/HdfsElasticsearchConfiguration.json b/local/elasticsearch-hdfs/src/main/jsonschema/HdfsElasticsearchConfiguration.json
index c8072ba..8b77225 100644
--- a/local/elasticsearch-hdfs/src/main/jsonschema/HdfsElasticsearchConfiguration.json
+++ b/local/elasticsearch-hdfs/src/main/jsonschema/HdfsElasticsearchConfiguration.json
@@ -1,5 +1,8 @@
{
"$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
"type": "object",
"javaType" : "org.apache.streams.elasticsearch.example.HdfsElasticsearchConfiguration",
"javaInterfaces": ["java.io.Serializable"],
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-hdfs/src/main/resources/ElasticsearchHdfs.dot
----------------------------------------------------------------------
diff --git a/local/elasticsearch-hdfs/src/main/resources/ElasticsearchHdfs.dot b/local/elasticsearch-hdfs/src/main/resources/ElasticsearchHdfs.dot
index c953522..ea541af 100644
--- a/local/elasticsearch-hdfs/src/main/resources/ElasticsearchHdfs.dot
+++ b/local/elasticsearch-hdfs/src/main/resources/ElasticsearchHdfs.dot
@@ -1,3 +1,6 @@
+// Apache Streams (incubating)
+// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+// --------------------------------------------------------------------------------
digraph g {
//providers
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-hdfs/src/main/resources/HdfsElasticsearch.dot
----------------------------------------------------------------------
diff --git a/local/elasticsearch-hdfs/src/main/resources/HdfsElasticsearch.dot b/local/elasticsearch-hdfs/src/main/resources/HdfsElasticsearch.dot
index f9a0efa..831c856 100644
--- a/local/elasticsearch-hdfs/src/main/resources/HdfsElasticsearch.dot
+++ b/local/elasticsearch-hdfs/src/main/resources/HdfsElasticsearch.dot
@@ -1,3 +1,6 @@
+// Apache Streams (incubating)
+// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+// --------------------------------------------------------------------------------
digraph g {
//providers
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-hdfs/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/local/elasticsearch-hdfs/src/test/resources/log4j.properties b/local/elasticsearch-hdfs/src/test/resources/log4j.properties
index 71255bb..7b1af60 100644
--- a/local/elasticsearch-hdfs/src/test/resources/log4j.properties
+++ b/local/elasticsearch-hdfs/src/test/resources/log4j.properties
@@ -1,3 +1,7 @@
+# Apache Streams (incubating)
+# Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+# --------------------------------------------------------------------------------
+
# Root logger option
log4j.rootLogger=DEBUG, stdout
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-hdfs/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/local/elasticsearch-hdfs/src/test/resources/logback.xml b/local/elasticsearch-hdfs/src/test/resources/logback.xml
index fc47894..5e68544 100644
--- a/local/elasticsearch-hdfs/src/test/resources/logback.xml
+++ b/local/elasticsearch-hdfs/src/test/resources/logback.xml
@@ -1,3 +1,21 @@
+<!--
+ 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.
+-->
<configuration debug="true" scan="true" scanPeriod="5 seconds">
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-hdfs/src/test/resources/testBackup.json
----------------------------------------------------------------------
diff --git a/local/elasticsearch-hdfs/src/test/resources/testBackup.json b/local/elasticsearch-hdfs/src/test/resources/testBackup.json
index 2002cb8..e496137 100644
--- a/local/elasticsearch-hdfs/src/test/resources/testBackup.json
+++ b/local/elasticsearch-hdfs/src/test/resources/testBackup.json
@@ -1,24 +1,26 @@
{
- "source": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "indexes": [
- "source"
- ],
- "types": [
- "activity"
- ]
- },
- "destination": {
- "scheme": "file",
- "host": "localhost",
- "user": "cloudera",
- "path": "target",
- "writerPath": "test",
- "writerFilePrefix": "activities"
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "source": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "indexes": [
+ "source"
+ ],
+ "types": [
+ "activity"
+ ]
+ },
+ "destination": {
+ "scheme": "file",
+ "host": "localhost",
+ "user": "cloudera",
+ "path": "target",
+ "writerPath": "test",
+ "writerFilePrefix": "activities"
}
-
}
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-hdfs/src/test/resources/testRestore.json
----------------------------------------------------------------------
diff --git a/local/elasticsearch-hdfs/src/test/resources/testRestore.json b/local/elasticsearch-hdfs/src/test/resources/testRestore.json
index 63b42c5..749ec25 100644
--- a/local/elasticsearch-hdfs/src/test/resources/testRestore.json
+++ b/local/elasticsearch-hdfs/src/test/resources/testRestore.json
@@ -1,20 +1,22 @@
{
- "source": {
- "scheme": "file",
- "host": "localhost",
- "user": "cloudera",
- "path": "target",
- "readerPath": "test"
- },
- "destination": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "index": "destination",
- "type": "activity",
- "forceUseConfig": true
- }
-
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "source": {
+ "scheme": "file",
+ "host": "localhost",
+ "user": "cloudera",
+ "path": "target",
+ "readerPath": "test"
+ },
+ "destination": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "index": "destination",
+ "type": "activity",
+ "forceUseConfig": true
+ }
}
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-reindex/src/main/jsonschema/ElasticsearchReindexConfiguration.json
----------------------------------------------------------------------
diff --git a/local/elasticsearch-reindex/src/main/jsonschema/ElasticsearchReindexConfiguration.json b/local/elasticsearch-reindex/src/main/jsonschema/ElasticsearchReindexConfiguration.json
index ffdc4d8..1237538 100644
--- a/local/elasticsearch-reindex/src/main/jsonschema/ElasticsearchReindexConfiguration.json
+++ b/local/elasticsearch-reindex/src/main/jsonschema/ElasticsearchReindexConfiguration.json
@@ -1,5 +1,8 @@
{
"$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
"type": "object",
"javaType" : "org.apache.streams.elasticsearch.example.ElasticsearchReindexConfiguration",
"javaInterfaces": ["java.io.Serializable"],
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-reindex/src/main/resources/ElasticsearchReindex.dot
----------------------------------------------------------------------
diff --git a/local/elasticsearch-reindex/src/main/resources/ElasticsearchReindex.dot b/local/elasticsearch-reindex/src/main/resources/ElasticsearchReindex.dot
index 52456a9..22644a4 100644
--- a/local/elasticsearch-reindex/src/main/resources/ElasticsearchReindex.dot
+++ b/local/elasticsearch-reindex/src/main/resources/ElasticsearchReindex.dot
@@ -1,3 +1,6 @@
+// Apache Streams (incubating)
+// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+// --------------------------------------------------------------------------------
digraph g {
//providers
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-reindex/src/main/resources/application.json
----------------------------------------------------------------------
diff --git a/local/elasticsearch-reindex/src/main/resources/application.json b/local/elasticsearch-reindex/src/main/resources/application.json
index 567b19d..28a5a49 100644
--- a/local/elasticsearch-reindex/src/main/resources/application.json
+++ b/local/elasticsearch-reindex/src/main/resources/application.json
@@ -1,26 +1,29 @@
{
- "source": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "indexes": [
- "activity"
- ],
- "types": [
- "activity"
- ],
- "forceUseConfig": true
- },
- "destination": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "index": "activity2",
- "type": "activity",
- "forceUseConfig": true
- }
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "source": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "indexes": [
+ "activity"
+ ],
+ "types": [
+ "activity"
+ ],
+ "forceUseConfig": true
+ },
+ "destination": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "index": "activity2",
+ "type": "activity",
+ "forceUseConfig": true
+ }
}
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-reindex/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/local/elasticsearch-reindex/src/main/resources/log4j.properties b/local/elasticsearch-reindex/src/main/resources/log4j.properties
index 71255bb..7b1af60 100644
--- a/local/elasticsearch-reindex/src/main/resources/log4j.properties
+++ b/local/elasticsearch-reindex/src/main/resources/log4j.properties
@@ -1,3 +1,7 @@
+# Apache Streams (incubating)
+# Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+# --------------------------------------------------------------------------------
+
# Root logger option
log4j.rootLogger=DEBUG, stdout
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-reindex/src/main/resources/logback.xml
----------------------------------------------------------------------
diff --git a/local/elasticsearch-reindex/src/main/resources/logback.xml b/local/elasticsearch-reindex/src/main/resources/logback.xml
index fc47894..5e68544 100644
--- a/local/elasticsearch-reindex/src/main/resources/logback.xml
+++ b/local/elasticsearch-reindex/src/main/resources/logback.xml
@@ -1,3 +1,21 @@
+<!--
+ 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.
+-->
<configuration debug="true" scan="true" scanPeriod="5 seconds">
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-reindex/src/test/resources/ActivityChildObjectParent.json
----------------------------------------------------------------------
diff --git a/local/elasticsearch-reindex/src/test/resources/ActivityChildObjectParent.json b/local/elasticsearch-reindex/src/test/resources/ActivityChildObjectParent.json
index 963fbe7..c52f17a 100644
--- a/local/elasticsearch-reindex/src/test/resources/ActivityChildObjectParent.json
+++ b/local/elasticsearch-reindex/src/test/resources/ActivityChildObjectParent.json
@@ -1,4 +1,7 @@
{
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
"template": "*",
"order": 100,
"mappings": {
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-reindex/src/test/resources/testReindex.json
----------------------------------------------------------------------
diff --git a/local/elasticsearch-reindex/src/test/resources/testReindex.json b/local/elasticsearch-reindex/src/test/resources/testReindex.json
index 0cc5aa0..a26f7cf 100644
--- a/local/elasticsearch-reindex/src/test/resources/testReindex.json
+++ b/local/elasticsearch-reindex/src/test/resources/testReindex.json
@@ -1,26 +1,28 @@
{
- "source": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "indexes": [
- "source"
- ],
- "types": [
- "activity"
- ]
- },
- "destination": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "index": "destination",
- "type": "activity",
- "forceUseConfig": true
- }
-
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "source": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "indexes": [
+ "source"
+ ],
+ "types": [
+ "activity"
+ ]
+ },
+ "destination": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "index": "destination",
+ "type": "activity",
+ "forceUseConfig": true
+ }
}
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-reindex/src/test/resources/testReindexChild.json
----------------------------------------------------------------------
diff --git a/local/elasticsearch-reindex/src/test/resources/testReindexChild.json b/local/elasticsearch-reindex/src/test/resources/testReindexChild.json
index 0cc5aa0..a26f7cf 100644
--- a/local/elasticsearch-reindex/src/test/resources/testReindexChild.json
+++ b/local/elasticsearch-reindex/src/test/resources/testReindexChild.json
@@ -1,26 +1,28 @@
{
- "source": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "indexes": [
- "source"
- ],
- "types": [
- "activity"
- ]
- },
- "destination": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "index": "destination",
- "type": "activity",
- "forceUseConfig": true
- }
-
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "source": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "indexes": [
+ "source"
+ ],
+ "types": [
+ "activity"
+ ]
+ },
+ "destination": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "index": "destination",
+ "type": "activity",
+ "forceUseConfig": true
+ }
}
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/elasticsearch-reindex/src/test/resources/testReindexParent.json
----------------------------------------------------------------------
diff --git a/local/elasticsearch-reindex/src/test/resources/testReindexParent.json b/local/elasticsearch-reindex/src/test/resources/testReindexParent.json
index c601cea..11e6c2f 100644
--- a/local/elasticsearch-reindex/src/test/resources/testReindexParent.json
+++ b/local/elasticsearch-reindex/src/test/resources/testReindexParent.json
@@ -1,26 +1,28 @@
{
- "source": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "indexes": [
- "source"
- ],
- "types": [
- "object"
- ]
- },
- "destination": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "index": "destination",
- "type": "object",
- "forceUseConfig": true
- }
-
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "source": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "indexes": [
+ "source"
+ ],
+ "types": [
+ "object"
+ ]
+ },
+ "destination": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "index": "destination",
+ "type": "object",
+ "forceUseConfig": true
+ }
}
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/mongo-elasticsearch-sync/src/main/jsonschema/MongoElasticsearchSyncConfiguration.json
----------------------------------------------------------------------
diff --git a/local/mongo-elasticsearch-sync/src/main/jsonschema/MongoElasticsearchSyncConfiguration.json b/local/mongo-elasticsearch-sync/src/main/jsonschema/MongoElasticsearchSyncConfiguration.json
index a592699..8f9fed2 100644
--- a/local/mongo-elasticsearch-sync/src/main/jsonschema/MongoElasticsearchSyncConfiguration.json
+++ b/local/mongo-elasticsearch-sync/src/main/jsonschema/MongoElasticsearchSyncConfiguration.json
@@ -1,5 +1,8 @@
{
"$schema": "http://json-schema.org/draft-03/schema",
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
"type": "object",
"javaType" : "org.apache.streams.example.elasticsearch.MongoElasticsearchSyncConfiguration",
"javaInterfaces": ["java.io.Serializable"],
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/mongo-elasticsearch-sync/src/main/resources/MongoElasticsearchSync.dot
----------------------------------------------------------------------
diff --git a/local/mongo-elasticsearch-sync/src/main/resources/MongoElasticsearchSync.dot b/local/mongo-elasticsearch-sync/src/main/resources/MongoElasticsearchSync.dot
index e3babf5..a1eba8c 100644
--- a/local/mongo-elasticsearch-sync/src/main/resources/MongoElasticsearchSync.dot
+++ b/local/mongo-elasticsearch-sync/src/main/resources/MongoElasticsearchSync.dot
@@ -1,3 +1,6 @@
+// Apache Streams (incubating)
+// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+// --------------------------------------------------------------------------------
digraph g {
//providers
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/mongo-elasticsearch-sync/src/main/resources/application.json
----------------------------------------------------------------------
diff --git a/local/mongo-elasticsearch-sync/src/main/resources/application.json b/local/mongo-elasticsearch-sync/src/main/resources/application.json
index facb336..c6ab3e3 100644
--- a/local/mongo-elasticsearch-sync/src/main/resources/application.json
+++ b/local/mongo-elasticsearch-sync/src/main/resources/application.json
@@ -1,17 +1,20 @@
{
- "source": {
- "host": "localhost",
- "port": 27017,
- "db": "streams",
- "collection": "activities"
- },
- "destination": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "index": "destination",
- "type": "activity"
- }
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "source": {
+ "host": "localhost",
+ "port": 27017,
+ "db": "streams",
+ "collection": "activities"
+ },
+ "destination": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "index": "destination",
+ "type": "activity"
+ }
}
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/mongo-elasticsearch-sync/src/test/resources/testSync.json
----------------------------------------------------------------------
diff --git a/local/mongo-elasticsearch-sync/src/test/resources/testSync.json b/local/mongo-elasticsearch-sync/src/test/resources/testSync.json
index b678c21..8c9c342 100644
--- a/local/mongo-elasticsearch-sync/src/test/resources/testSync.json
+++ b/local/mongo-elasticsearch-sync/src/test/resources/testSync.json
@@ -1,18 +1,21 @@
{
- "source": {
- "host": "localhost",
- "port": 37017,
- "db": "local",
- "collection": "activities"
- },
- "destination": {
- "hosts": [
- "localhost"
- ],
- "port": 9300,
- "clusterName": "elasticsearch",
- "index": "destination",
- "type": "activity",
- "forceUseConfig": true
- }
+ "$license": [
+ "http://www.apache.org/licenses/LICENSE-2.0"
+ ],
+ "source": {
+ "host": "localhost",
+ "port": 37017,
+ "db": "local",
+ "collection": "activities"
+ },
+ "destination": {
+ "hosts": [
+ "localhost"
+ ],
+ "port": 9300,
+ "clusterName": "elasticsearch",
+ "index": "destination",
+ "type": "activity",
+ "forceUseConfig": true
+ }
}
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/twitter-follow-graph/src/main/resources/TwitterFollowGraph.dot
----------------------------------------------------------------------
diff --git a/local/twitter-follow-graph/src/main/resources/TwitterFollowGraph.dot b/local/twitter-follow-graph/src/main/resources/TwitterFollowGraph.dot
index c14a2ab..ac51772 100644
--- a/local/twitter-follow-graph/src/main/resources/TwitterFollowGraph.dot
+++ b/local/twitter-follow-graph/src/main/resources/TwitterFollowGraph.dot
@@ -1,3 +1,6 @@
+// Apache Streams (incubating)
+// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+// --------------------------------------------------------------------------------
digraph g {
//providers
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/twitter-history-elasticsearch/src/main/resources/TwitterHistoryElasticsearch.dot
----------------------------------------------------------------------
diff --git a/local/twitter-history-elasticsearch/src/main/resources/TwitterHistoryElasticsearch.dot b/local/twitter-history-elasticsearch/src/main/resources/TwitterHistoryElasticsearch.dot
index 525c61d..6a0d4aa 100644
--- a/local/twitter-history-elasticsearch/src/main/resources/TwitterHistoryElasticsearch.dot
+++ b/local/twitter-history-elasticsearch/src/main/resources/TwitterHistoryElasticsearch.dot
@@ -1,3 +1,6 @@
+// Apache Streams (incubating)
+// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+// --------------------------------------------------------------------------------
digraph g {
//providers
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/twitter-history-elasticsearch/src/main/resources/application.conf
----------------------------------------------------------------------
diff --git a/local/twitter-history-elasticsearch/src/main/resources/application.conf b/local/twitter-history-elasticsearch/src/main/resources/application.conf
index c74b54b..3735428 100644
--- a/local/twitter-history-elasticsearch/src/main/resources/application.conf
+++ b/local/twitter-history-elasticsearch/src/main/resources/application.conf
@@ -1,3 +1,6 @@
+// Apache Streams (incubating)
+// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+// --------------------------------------------------------------------------------
twitter {
host = "api.twitter.com"
endpoint = "statuses/user_timeline"
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/twitter-userstream-elasticsearch/src/main/jsonschema/org/apache/streams/example/twitter/TwitterUserstreamElasticsearch.json
----------------------------------------------------------------------
diff --git a/local/twitter-userstream-elasticsearch/src/main/jsonschema/org/apache/streams/example/twitter/TwitterUserstreamElasticsearch.json b/local/twitter-userstream-elasticsearch/src/main/jsonschema/org/apache/streams/example/twitter/TwitterUserstreamElasticsearch.json
index d2167a8..6a25850 100644
--- a/local/twitter-userstream-elasticsearch/src/main/jsonschema/org/apache/streams/example/twitter/TwitterUserstreamElasticsearch.json
+++ b/local/twitter-userstream-elasticsearch/src/main/jsonschema/org/apache/streams/example/twitter/TwitterUserstreamElasticsearch.json
@@ -1,7 +1,6 @@
{
"$schema": "http://json-schema.org/draft-03/schema",
"$license": [
- "http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0",
"http://www.apache.org/licenses/LICENSE-2.0"
],
"type": "object",
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/twitter-userstream-elasticsearch/src/main/resources/TwitterUserstreamElasticsearch.dot
----------------------------------------------------------------------
diff --git a/local/twitter-userstream-elasticsearch/src/main/resources/TwitterUserstreamElasticsearch.dot b/local/twitter-userstream-elasticsearch/src/main/resources/TwitterUserstreamElasticsearch.dot
index c876176..5b43b14 100644
--- a/local/twitter-userstream-elasticsearch/src/main/resources/TwitterUserstreamElasticsearch.dot
+++ b/local/twitter-userstream-elasticsearch/src/main/resources/TwitterUserstreamElasticsearch.dot
@@ -1,3 +1,6 @@
+// Apache Streams (incubating)
+// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+// --------------------------------------------------------------------------------
digraph g {
//providers
http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/6b4de07d/local/twitter-userstream-elasticsearch/src/main/resources/application.conf
----------------------------------------------------------------------
diff --git a/local/twitter-userstream-elasticsearch/src/main/resources/application.conf b/local/twitter-userstream-elasticsearch/src/main/resources/application.conf
index 50d48b5..51ad9a8 100644
--- a/local/twitter-userstream-elasticsearch/src/main/resources/application.conf
+++ b/local/twitter-userstream-elasticsearch/src/main/resources/application.conf
@@ -1,3 +1,6 @@
+// Apache Streams (incubating)
+// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
+// --------------------------------------------------------------------------------
twitter {
endpoint = "userstream"
oauth {