fix licensing in twitter-follow-graph
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/a16df5b7 Tree: http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/tree/a16df5b7 Diff: http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/diff/a16df5b7 Branch: refs/heads/master Commit: a16df5b71e0b5d2af841767cdf45b19f1afcf4bf Parents: 342c1ba Author: Steve Blackmon <sblack...@apache.org> Authored: Sun Sep 18 17:36:19 2016 -0500 Committer: Steve Blackmon <sblack...@apache.org> Committed: Sun Sep 18 17:36:19 2016 -0500 ---------------------------------------------------------------------- .../src/main/resources/TwitterFollowGraph.dot | 20 ++++++++++++++++++- .../src/site/resources/TwitterFollowGraph.dot | 21 -------------------- .../TwitterFollowGraphConfiguration.json | 13 ------------ 3 files changed, 19 insertions(+), 35 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/a16df5b7/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..2d9e495 100644 --- a/local/twitter-follow-graph/src/main/resources/TwitterFollowGraph.dot +++ b/local/twitter-follow-graph/src/main/resources/TwitterFollowGraph.dot @@ -1,4 +1,22 @@ -digraph g { +/* + * 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. + */ + digraph g { //providers TwitterFollowingProvider [label="TwitterFollowingProvider",shape=ellipse,URL="https://github.com/apache/incubator-streams/blob/master/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterFollowingProvider.java"]; http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/a16df5b7/local/twitter-follow-graph/src/site/resources/TwitterFollowGraph.dot ---------------------------------------------------------------------- diff --git a/local/twitter-follow-graph/src/site/resources/TwitterFollowGraph.dot b/local/twitter-follow-graph/src/site/resources/TwitterFollowGraph.dot deleted file mode 100644 index c14a2ab..0000000 --- a/local/twitter-follow-graph/src/site/resources/TwitterFollowGraph.dot +++ /dev/null @@ -1,21 +0,0 @@ -digraph g { - - //providers - TwitterFollowingProvider [label="TwitterFollowingProvider",shape=ellipse,URL="https://github.com/apache/incubator-streams/blob/master/streams-contrib/streams-provider-twitter/src/main/java/org/apache/streams/twitter/provider/TwitterFollowingProvider.java"]; - - //processors - TypeConverterProcessor [label="TypeConverterProcessor",shape=ellipse,URL="https://github.com/apache/incubator-streams/blob/master/streams-components/streams-converters/src/main/java/org/apache/streams/converters/TypeConverterProcessor.java"]; - ActivityConverterProcessor [label="ActivityConverterProcessor",shape=ellipse,URL="https://github.com/apache/incubator-streams/blob/master/streams-components/streams-converters/src/main/java/org/apache/streams/converters/ActivityConverterProcessor.java"]; - - //persisters - GraphPersistWriter [label="GraphPersistWriter",shape=ellipse,URL="https://github.com/apache/incubator-streams/blob/master/streams-contrib/streams-persist-graph/src/main/java/org/apache/streams/graph/GraphPersistWriter.java"]; - - //data - destination [label="http://{host}:{port}/db/data",shape=box]; - - //stream - TwitterFollowingProvider -> TypeConverterProcessor [label="Follow",URL="https://github.com/apache/incubator-streams/blob/master/streams-contrib/streams-provider-twitter/src/main/jsonschema/com/twitter/Follow.java"]; - TypeConverterProcessor -> ActivityConverterProcessor [label="String"]; - ActivityConverterProcessor -> GraphPersistWriter [label="Activity",URL="https://github.com/apache/incubator-streams/blob/master/streams-pojo/src/main/jsonschema/org/apache/streams/pojo/json/activity.json"]; - GraphPersistWriter -> destination -} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams-examples/blob/a16df5b7/local/twitter-follow-graph/src/site/resources/TwitterFollowGraphConfiguration.json ---------------------------------------------------------------------- diff --git a/local/twitter-follow-graph/src/site/resources/TwitterFollowGraphConfiguration.json b/local/twitter-follow-graph/src/site/resources/TwitterFollowGraphConfiguration.json deleted file mode 100644 index c2ccc80..0000000 --- a/local/twitter-follow-graph/src/site/resources/TwitterFollowGraphConfiguration.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-03/schema", - "$license": [ - "http://www.apache.org/licenses/LICENSE-2.0" - ], - "type": "object", - "javaType" : "org.apache.streams.example.graph.TwitterFollowingGraphConfiguration", - "javaInterfaces": ["java.io.Serializable"], - "properties": { - "twitter": { "javaType": "org.apache.streams.twitter.TwitterUserInformationConfiguration", "type": "object", "required": true }, - "graph": { "javaType": "org.apache.streams.graph.GraphWriterConfiguration", "type": "object", "required": true } - } -} \ No newline at end of file