Return-Path: X-Original-To: apmail-streams-commits-archive@minotaur.apache.org Delivered-To: apmail-streams-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8E6BACFE8 for ; Wed, 17 Dec 2014 19:26:27 +0000 (UTC) Received: (qmail 11145 invoked by uid 500); 17 Dec 2014 19:26:27 -0000 Delivered-To: apmail-streams-commits-archive@streams.apache.org Received: (qmail 11124 invoked by uid 500); 17 Dec 2014 19:26:27 -0000 Mailing-List: contact commits-help@streams.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@streams.incubator.apache.org Delivered-To: mailing list commits@streams.incubator.apache.org Received: (qmail 11115 invoked by uid 99); 17 Dec 2014 19:26:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 19:26:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 17 Dec 2014 19:25:30 +0000 Received: (qmail 8601 invoked by uid 99); 17 Dec 2014 19:25:28 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Dec 2014 19:25:28 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id CBE4F82FB2C; Wed, 17 Dec 2014 19:25:27 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sblackmon@apache.org To: commits@streams.incubator.apache.org Date: Wed, 17 Dec 2014 19:25:37 -0000 Message-Id: <5c70635067fe4974a21dfe4a547d1b88@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [11/32] incubator-streams git commit: resolves STREAMS-254 mvn -P apache-release rat:check now succeeds X-Virus-Checked: Checked by ClamAV on apache.org http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/provider/Subscription.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/provider/Subscription.java b/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/provider/Subscription.java index 10b1e89..058ba1d 100644 --- a/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/provider/Subscription.java +++ b/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/provider/Subscription.java @@ -16,6 +16,7 @@ KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ + package org.apache.streams.datasift.provider; import com.datasift.client.core.Stream; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftInteractionActivitySerializer.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftInteractionActivitySerializer.java b/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftInteractionActivitySerializer.java index 573f5a7..00db30d 100644 --- a/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftInteractionActivitySerializer.java +++ b/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/serializer/DatasiftInteractionActivitySerializer.java @@ -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 + * + * 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.datasift.serializer; import com.fasterxml.jackson.databind.ObjectMapper; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/Datasift.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/Datasift.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/Datasift.json index d336d73..52d9912 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/Datasift.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/Datasift.json @@ -1,6 +1,10 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "#", + "type": "object", "javaType": "org.apache.streams.datasift.Datasift", "properties": { "blog": { http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftConfiguration.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftConfiguration.json index 9a0f027..99f889e 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftConfiguration.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftConfiguration.json @@ -1,7 +1,10 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], "id": "#", + "type": "object", "javaType": "org.apache.streams.datasift.DatasiftConfiguration", "javaInterfaces": [ "java.io.Serializable" http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPush.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPush.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPush.json index 50e4f00..39565ad 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPush.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPush.json @@ -1,7 +1,12 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "#", + "type": "object", "javaType": "org.apache.streams.datasift.DatasiftPush", + "javaInterfaces": ["java.io.Serializable"], "properties": { "id": { "type": "string" http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPushConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPushConfiguration.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPushConfiguration.json index bb65ef0..4c9fe5c 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPushConfiguration.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftPushConfiguration.json @@ -1,7 +1,10 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], "id": "#", + "type": "object", "javaType" : "org.apache.streams.datasift.DatasiftPushConfiguration", "extends": {"$ref":"DatasiftConfiguration.json"}, "javaInterfaces": ["java.io.Serializable"], http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftStreamConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftStreamConfiguration.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftStreamConfiguration.json index 91a9974..5c43fea 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftStreamConfiguration.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/DatasiftStreamConfiguration.json @@ -1,7 +1,10 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], "id": "#", + "type": "object", "javaType" : "org.apache.streams.datasift.DatasiftStreamConfiguration", "extends": {"$ref":"DatasiftConfiguration.json"}, "javaInterfaces": ["java.io.Serializable"], http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/facebook/DatasiftFacebook.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/facebook/DatasiftFacebook.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/facebook/DatasiftFacebook.json index a483d79..6085124 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/facebook/DatasiftFacebook.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/facebook/DatasiftFacebook.json @@ -1,7 +1,12 @@ { - "type" : "object", - "$schema" : "http://json-schema.org/draft-03/schema", + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "#", + "type": "object", "javaType" : "org.apache.streams.datasift.facebook.Facebook", + "javaInterfaces": ["java.io.Serializable"], "properties" : { "application" : http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/instagram/DatasiftInstagram.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/instagram/DatasiftInstagram.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/instagram/DatasiftInstagram.json index 1397cba..8c209b1 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/instagram/DatasiftInstagram.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/instagram/DatasiftInstagram.json @@ -1,7 +1,12 @@ { - "type" : "object", - "$schema" : "http://json-schema.org/draft-03/schema", + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "#", + "type": "object", "javaType" : "org.apache.streams.datasift.instagram.Instagram", + "javaInterfaces": ["java.io.Serializable"], "properties" : { "caption" : http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/interaction/DatasiftInteraction.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/interaction/DatasiftInteraction.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/interaction/DatasiftInteraction.json index fd4d576..5ff366a 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/interaction/DatasiftInteraction.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/interaction/DatasiftInteraction.json @@ -1,7 +1,12 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "#", + "type": "object", "javaType": "org.apache.streams.datasift.interaction.Interaction", + "javaInterfaces": ["java.io.Serializable"], "properties": { "author": { "javaType": "org.apache.streams.datasift.interaction.Author", http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitter.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitter.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitter.json index b11f81a..8c373a3 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitter.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitter.json @@ -1,7 +1,12 @@ { - "type" : "object", - "$schema" : "http://json-schema.org/draft-03/schema", + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "#", + "type": "object", "javaType" : "org.apache.streams.datasift.twitter.Twitter", + "javaInterfaces": ["java.io.Serializable"], "properties" : { "created_at" : http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterMedia.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterMedia.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterMedia.json index 2084932..ee19320 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterMedia.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterMedia.json @@ -1,6 +1,12 @@ { - "type" : "object", + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "#", + "type": "object", "javaType" : "org.apache.streams.datasift.twitter.Media", + "javaInterfaces": ["java.io.Serializable"], "properties" : { "display_url" : http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterUser.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterUser.json b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterUser.json index 3be49ff..d444ee0 100644 --- a/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterUser.json +++ b/streams-contrib/streams-provider-datasift/src/main/jsonschema/org/apache/streams/datasift/twitter/DatasiftTwitterUser.json @@ -1,7 +1,12 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "#", + "type": "object", "javaType": "org.apache.streams.datasift.twitter.DatasiftTwitterUser", + "javaInterfaces": ["java.io.Serializable"], "properties": { "created_at": { "type": "string", http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftActivitySerializerTest.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftActivitySerializerTest.java b/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftActivitySerializerTest.java index 12bf918..1cdd0cf 100644 --- a/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftActivitySerializerTest.java +++ b/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftActivitySerializerTest.java @@ -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 + * + * 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.datasift.serializer; import com.fasterxml.jackson.databind.JsonNode; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftInstagramActivitySerializerTest.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftInstagramActivitySerializerTest.java b/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftInstagramActivitySerializerTest.java index e3d1207..ad7ea5c 100644 --- a/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftInstagramActivitySerializerTest.java +++ b/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftInstagramActivitySerializerTest.java @@ -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 + * + * 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.datasift.serializer; import com.fasterxml.jackson.databind.JsonNode; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftInteractionActivitySerializerTest.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftInteractionActivitySerializerTest.java b/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftInteractionActivitySerializerTest.java index ce30303..68e041b 100644 --- a/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftInteractionActivitySerializerTest.java +++ b/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftInteractionActivitySerializerTest.java @@ -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 + * + * 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.datasift.serializer; import com.fasterxml.jackson.databind.JsonNode; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftTwitterActivitySerializerTest.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftTwitterActivitySerializerTest.java b/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftTwitterActivitySerializerTest.java index 1b82cba..652d381 100644 --- a/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftTwitterActivitySerializerTest.java +++ b/streams-contrib/streams-provider-datasift/src/test/java17/org/apache/streams/datasift/serializer/DatasiftTwitterActivitySerializerTest.java @@ -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 + * + * 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.datasift.serializer; import com.fasterxml.jackson.databind.JsonNode; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-facebook/metadata/facebook_post.mup ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-facebook/metadata/facebook_post.mup b/streams-contrib/streams-provider-facebook/metadata/facebook_post.mup index ccedae4..9668633 100644 --- a/streams-contrib/streams-provider-facebook/metadata/facebook_post.mup +++ b/streams-contrib/streams-provider-facebook/metadata/facebook_post.mup @@ -1,694 +1,697 @@ { - "title": "Serializer", - "id": 1, - "formatVersion": 2, - "attr": { - "style": {} - }, - "ideas": { - "1": { - "title": "Activity", - "id": 2, - "ideas": { + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "title": "Serializer", + "id": 1, + "formatVersion": 2, + "attr": { + "style": {} + }, + "ideas": { "1": { - "title": "actor", - "id": 4, - "ideas": { - "1": { - "title": "summary", - "id": 28 - }, - "7": { - "title": "url", - "id": 41 - }, - "0.5": { - "title": "displayName", - "id": 32, - "attr": { - "style": {} - } - }, - "0.75": { - "title": "extensions", - "id": 33, - "ideas": { + "title": "Activity", + "id": 2, + "ideas": { "1": { - "title": "followers", - "id": 34 + "title": "actor", + "id": 4, + "ideas": { + "1": { + "title": "summary", + "id": 28 + }, + "7": { + "title": "url", + "id": 41 + }, + "0.5": { + "title": "displayName", + "id": 32, + "attr": { + "style": {} + } + }, + "0.75": { + "title": "extensions", + "id": 33, + "ideas": { + "1": { + "title": "followers", + "id": 34 + }, + "2": { + "title": "handle", + "id": 35 + }, + "3": { + "title": "location", + "id": 36 + }, + "4": { + "title": "location", + "id": 37 + }, + "5": { + "title": "screenName", + "id": 38 + }, + "6": { + "title": "posts", + "id": 39 + }, + "7": { + "title": "favorites", + "id": 40 + } + }, + "attr": { + "style": {} + } + }, + "0.875": { + "title": "handle", + "id": 30, + "attr": { + "style": {} + } + }, + "0.9375": { + "title": "id", + "id": 29, + "attr": { + "style": {} + } + }, + "0.96875": { + "title": "image", + "id": 31, + "attr": { + "style": {} + } + } + } }, "2": { - "title": "handle", - "id": 35 + "title": "id", + "id": 5 }, "3": { - "title": "location", - "id": 36 + "title": "verb", + "id": 6 }, - "4": { - "title": "location", - "id": 37 + "1.5": { + "title": "content", + "id": 16, + "attr": { + "style": {} + } }, - "5": { - "title": "screenName", - "id": 38 + "2.5": { + "title": "icon", + "id": 13, + "attr": { + "style": {} + } }, - "6": { - "title": "posts", - "id": 39 + "1.75": { + "title": "generator", + "id": 12, + "attr": { + "style": {} + }, + "ideas": { + "1": { + "title": "id", + "id": 62 + }, + "0.5": { + "title": "displayName", + "id": 63, + "attr": { + "style": {} + } + } + } }, - "7": { - "title": "favorites", - "id": 40 - } - }, - "attr": { - "style": {} - } - }, - "0.875": { - "title": "handle", - "id": 30, - "attr": { - "style": {} - } - }, - "0.9375": { - "title": "id", - "id": 29, - "attr": { - "style": {} - } - }, - "0.96875": { - "title": "image", - "id": 31, - "attr": { - "style": {} - } - } - } - }, - "2": { - "title": "id", - "id": 5 - }, - "3": { - "title": "verb", - "id": 6 - }, - "1.5": { - "title": "content", - "id": 16, - "attr": { - "style": {} - } - }, - "2.5": { - "title": "icon", - "id": 13, - "attr": { - "style": {} - } - }, - "1.75": { - "title": "generator", - "id": 12, - "attr": { - "style": {} - }, - "ideas": { - "1": { - "title": "id", - "id": 62 - }, - "0.5": { - "title": "displayName", - "id": 63, - "attr": { - "style": {} - } - } - } - }, - "2.75": { - "title": "links", - "id": 18, - "attr": { - "style": {} - } - }, - "2.875": { - "title": "object", - "id": 8, - "attr": { - "style": {} - }, - "ideas": { - "1": { - "title": "content", - "id": 22 - }, - "2": { - "title": "id", - "id": 23 - }, - "4": { - "title": "objectType", - "id": 25 - }, - "1.5": { - "title": "geo", - "id": 24, - "ideas": { - "1": { - "title": "coordinates", - "id": 26 + "2.75": { + "title": "links", + "id": 18, + "attr": { + "style": {} + } + }, + "2.875": { + "title": "object", + "id": 8, + "attr": { + "style": {} + }, + "ideas": { + "1": { + "title": "content", + "id": 22 + }, + "2": { + "title": "id", + "id": 23 + }, + "4": { + "title": "objectType", + "id": 25 + }, + "1.5": { + "title": "geo", + "id": 24, + "ideas": { + "1": { + "title": "coordinates", + "id": 26 + } + }, + "attr": { + "style": {} + } + } + } + }, + "2.9375": { + "title": "published", + "id": 10, + "attr": { + "style": {} + }, + "ideas": {} + }, + "2.90625": { + "title": "provider", + "id": 14, + "attr": { + "style": {} + }, + "ideas": { + "1": { + "title": "id", + "id": 20 + }, + "0.5": { + "title": "displayName", + "id": 21, + "attr": { + "style": {} + } + } + } + }, + "2.96875": { + "title": "target", + "id": 9, + "attr": { + "style": {} + }, + "ideas": { + "1": { + "title": "id", + "id": 64 + }, + "2": { + "title": "image", + "id": 65 + }, + "4": { + "title": "summary", + "id": 67 + }, + "0.5": { + "title": "displayName", + "id": 66, + "attr": { + "style": {} + } + }, + "0.25": { + "title": "content", + "id": 68, + "attr": { + "style": {} + } + } + } + }, + "2.984375": { + "title": "updated", + "id": 11, + "attr": { + "style": {} + } + }, + "2.9765625": { + "title": "title", + "id": 15, + "attr": { + "style": {} + } + }, + "2.9921875": { + "title": "url", + "id": 17, + "attr": { + "style": {} + } + }, + "1.625": { + "title": "extensions", + "id": 42, + "ideas": { + "1": { + "title": "facebook", + "id": 43, + "ideas": {} + }, + "6": { + "title": "user_mentions", + "id": 58, + "ideas": { + "1": { + "title": "id", + "id": 59 + }, + "2": { + "title": "handle", + "id": 60 + }, + "3": { + "title": "displayName", + "id": 61 + } + } + }, + "0.5": { + "title": "hashtags", + "id": 57, + "attr": { + "style": {} + } + }, + "0.75": { + "title": "location", + "id": 48, + "ideas": { + "1": { + "title": "id", + "id": 49 + }, + "2": { + "title": "coordinates", + "id": 50, + "ideas": { + "1": { + "title": "type", + "id": 52 + }, + "2": { + "title": "coordinates", + "id": 53 + } + } + } + }, + "attr": { + "style": {} + } + }, + "0.625": { + "title": "likes", + "id": 54, + "ideas": { + "1": { + "title": "perspectival", + "id": 55 + }, + "2": { + "title": "count", + "id": 56 + } + }, + "attr": { + "style": {} + } + }, + "0.875": { + "title": "rebroadcasts", + "id": 45, + "ideas": { + "1": { + "title": "perspectival", + "id": 46 + }, + "2": { + "title": "count", + "id": 47 + } + }, + "attr": { + "style": {} + } + } + }, + "attr": { + "style": {} + } } - }, - "attr": { - "style": {} - } - } - } - }, - "2.9375": { - "title": "published", - "id": 10, - "attr": { - "style": {} - }, - "ideas": {} - }, - "2.90625": { - "title": "provider", - "id": 14, - "attr": { - "style": {} - }, - "ideas": { - "1": { - "title": "id", - "id": 20 - }, - "0.5": { - "title": "displayName", - "id": 21, - "attr": { - "style": {} - } - } - } - }, - "2.96875": { - "title": "target", - "id": 9, - "attr": { - "style": {} - }, - "ideas": { - "1": { - "title": "id", - "id": 64 - }, - "2": { - "title": "image", - "id": 65 - }, - "4": { - "title": "summary", - "id": 67 - }, - "0.5": { - "title": "displayName", - "id": 66, - "attr": { - "style": {} - } - }, - "0.25": { - "title": "content", - "id": 68, - "attr": { - "style": {} - } } - } }, - "2.984375": { - "title": "updated", - "id": 11, - "attr": { - "style": {} - } - }, - "2.9765625": { - "title": "title", - "id": 15, - "attr": { - "style": {} - } - }, - "2.9921875": { - "title": "url", - "id": 17, - "attr": { - "style": {} - } - }, - "1.625": { - "title": "extensions", - "id": 42, - "ideas": { - "1": { - "title": "facebook", - "id": 43, - "ideas": {} - }, - "6": { - "title": "user_mentions", - "id": 58, - "ideas": { + "-1": { + "title": "Facebook Post", + "id": 3, + "ideas": { "1": { - "title": "id", - "id": 59 + "title": "id", + "id": 69 }, "2": { - "title": "handle", - "id": 60 + "title": "likes", + "id": 92, + "ideas": { + "1": { + "title": "data", + "id": 93, + "ideas": { + "1": { + "title": "id", + "id": 94 + }, + "2": { + "title": "name", + "id": 95 + } + } + } + }, + "attr": { + "style": {} + } }, "3": { - "title": "displayName", - "id": 61 - } - } - }, - "0.5": { - "title": "hashtags", - "id": 57, - "attr": { - "style": {} - } - }, - "0.75": { - "title": "location", - "id": 48, - "ideas": { - "1": { - "title": "id", - "id": 49 + "title": "message", + "id": 74 }, - "2": { - "title": "coordinates", - "id": 50, - "ideas": { - "1": { - "title": "type", - "id": 52 + "4": { + "title": "picture", + "id": 75 + }, + "7": { + "title": "shares", + "id": 97, + "ideas": { + "1": { + "title": "count", + "id": 98 + } }, - "2": { - "title": "coordinates", - "id": 53 + "attr": { + "style": {} } - } - } - }, - "attr": { - "style": {} - } - }, - "0.625": { - "title": "likes", - "id": 54, - "ideas": { - "1": { - "title": "perspectival", - "id": 55 }, - "2": { - "title": "count", - "id": 56 - } - }, - "attr": { - "style": {} - } - }, - "0.875": { - "title": "rebroadcasts", - "id": 45, - "ideas": { - "1": { - "title": "perspectival", - "id": 46 + "10": { + "title": "type", + "id": 96 }, - "2": { - "title": "count", - "id": 47 + "15": { + "title": "updated_time", + "id": 105 + }, + "0.5": { + "title": "actions", + "id": 78, + "ideas": { + "1": { + "title": "name", + "id": 79 + }, + "0.5": { + "title": "link", + "id": 80, + "attr": { + "style": {} + } + } + }, + "attr": { + "style": {} + } + }, + "0.75": { + "title": "application", + "id": 100, + "ideas": { + "1": { + "title": "name", + "id": 101 + }, + "3": { + "title": "namespace", + "id": 103 + }, + "0.5": { + "title": "id", + "id": 102, + "attr": { + "style": {} + } + } + }, + "attr": { + "style": {} + } + }, + "0.875": { + "title": "comments", + "id": 81, + "ideas": { + "1": { + "title": "data", + "id": 82, + "ideas": { + "1": { + "title": "user_likes", + "id": 83 + }, + "0.5": { + "title": "can_remove", + "id": 87, + "attr": { + "style": {} + } + }, + "0.75": { + "title": "created_time", + "id": 91, + "attr": { + "style": {} + } + }, + "0.875": { + "title": "id", + "id": 85, + "attr": { + "style": {} + }, + "ideas": {} + }, + "0.8125": { + "title": "from", + "id": 88, + "ideas": { + "1": { + "title": "id", + "id": 89 + }, + "2": { + "title": "name", + "id": 90 + } + }, + "attr": { + "style": {} + } + }, + "0.9375": { + "title": "like_count", + "id": 86, + "attr": { + "style": {} + } + }, + "0.96875": { + "title": "message", + "id": 84, + "attr": { + "style": {} + } + } + } + } + }, + "attr": { + "style": {} + } + }, + "0.9375": { + "title": "from", + "id": 70, + "ideas": { + "1": { + "title": "id", + "id": 71 + }, + "2": { + "title": "name", + "id": 72 + }, + "0.5": { + "title": "category", + "id": 73, + "attr": { + "style": {} + } + } + }, + "attr": { + "style": {} + } + }, + "0.96875": { + "title": "icon", + "id": 77, + "attr": { + "style": {} + } + }, + "2.5": { + "title": "link", + "id": 76, + "attr": { + "style": {} + } + }, + "3.5": { + "title": "object_id", + "id": 99, + "attr": { + "style": {} + } + }, + "0.8125": { + "title": "created_time", + "id": 104, + "attr": { + "style": {} + } } - }, - "attr": { - "style": {} - } } - }, - "attr": { - "style": {} - } } - } }, - "-1": { - "title": "Facebook Post", - "id": 3, - "ideas": { - "1": { - "title": "id", - "id": 69 - }, - "2": { - "title": "likes", - "id": 92, - "ideas": { - "1": { - "title": "data", - "id": 93, - "ideas": { - "1": { - "title": "id", - "id": 94 - }, - "2": { - "title": "name", - "id": 95 + "links": [ + { + "ideaIdFrom": 104, + "ideaIdTo": 10, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" } - } } - }, - "attr": { - "style": {} - } - }, - "3": { - "title": "message", - "id": 74 - }, - "4": { - "title": "picture", - "id": 75 }, - "7": { - "title": "shares", - "id": 97, - "ideas": { - "1": { - "title": "count", - "id": 98 + { + "ideaIdFrom": 21, + "ideaIdTo": 101, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } } - }, - "attr": { - "style": {} - } - }, - "10": { - "title": "type", - "id": 96 }, - "15": { - "title": "updated_time", - "id": 105 - }, - "0.5": { - "title": "actions", - "id": 78, - "ideas": { - "1": { - "title": "name", - "id": 79 - }, - "0.5": { - "title": "link", - "id": 80, - "attr": { - "style": {} - } + { + "ideaIdFrom": 102, + "ideaIdTo": 20, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } } - }, - "attr": { - "style": {} - } }, - "0.75": { - "title": "application", - "id": 100, - "ideas": { - "1": { - "title": "name", - "id": 101 - }, - "3": { - "title": "namespace", - "id": 103 - }, - "0.5": { - "title": "id", - "id": 102, - "attr": { - "style": {} - } + { + "ideaIdFrom": 43, + "ideaIdTo": 3, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } } - }, - "attr": { - "style": {} - } }, - "0.875": { - "title": "comments", - "id": 81, - "ideas": { - "1": { - "title": "data", - "id": 82, - "ideas": { - "1": { - "title": "user_likes", - "id": 83 - }, - "0.5": { - "title": "can_remove", - "id": 87, - "attr": { - "style": {} - } - }, - "0.75": { - "title": "created_time", - "id": 91, - "attr": { - "style": {} - } - }, - "0.875": { - "title": "id", - "id": 85, - "attr": { - "style": {} - }, - "ideas": {} - }, - "0.8125": { - "title": "from", - "id": 88, - "ideas": { - "1": { - "title": "id", - "id": 89 - }, - "2": { - "title": "name", - "id": 90 - } - }, - "attr": { - "style": {} - } - }, - "0.9375": { - "title": "like_count", - "id": 86, - "attr": { - "style": {} - } - }, - "0.96875": { - "title": "message", - "id": 84, - "attr": { - "style": {} - } + { + "ideaIdFrom": 72, + "ideaIdTo": 32, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" } - } } - }, - "attr": { - "style": {} - } }, - "0.9375": { - "title": "from", - "id": 70, - "ideas": { - "1": { - "title": "id", - "id": 71 - }, - "2": { - "title": "name", - "id": 72 - }, - "0.5": { - "title": "category", - "id": 73, - "attr": { - "style": {} - } + { + "ideaIdFrom": 13, + "ideaIdTo": 77, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } } - }, - "attr": { - "style": {} - } }, - "0.96875": { - "title": "icon", - "id": 77, - "attr": { - "style": {} - } + { + "ideaIdFrom": 18, + "ideaIdTo": 76, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } }, - "2.5": { - "title": "link", - "id": 76, - "attr": { - "style": {} - } + { + "ideaIdFrom": 74, + "ideaIdTo": 16, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } }, - "3.5": { - "title": "object_id", - "id": 99, - "attr": { - "style": {} - } + { + "ideaIdFrom": 98, + "ideaIdTo": 47, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } }, - "0.8125": { - "title": "created_time", - "id": 104, - "attr": { - "style": {} - } - } - } - } - }, - "links": [ - { - "ideaIdFrom": 104, - "ideaIdTo": 10, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 21, - "ideaIdTo": 101, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 102, - "ideaIdTo": 20, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 43, - "ideaIdTo": 3, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 72, - "ideaIdTo": 32, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 13, - "ideaIdTo": 77, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 18, - "ideaIdTo": 76, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 74, - "ideaIdTo": 16, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 98, - "ideaIdTo": 47, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 105, - "ideaIdTo": 11, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" + { + "ideaIdFrom": 105, + "ideaIdTo": 11, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } } - } - } - ] + ] } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-facebook/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-facebook/pom.xml b/streams-contrib/streams-provider-facebook/pom.xml index 0759c1f..db806ab 100644 --- a/streams-contrib/streams-provider-facebook/pom.xml +++ b/streams-contrib/streams-provider-facebook/pom.xml @@ -1,4 +1,21 @@ + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/serializer/FacebookActivityUtil.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/serializer/FacebookActivityUtil.java b/streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/serializer/FacebookActivityUtil.java index 62743af..66d06ef 100644 --- a/streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/serializer/FacebookActivityUtil.java +++ b/streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/serializer/FacebookActivityUtil.java @@ -15,6 +15,7 @@ * specific language governing permissions and limitations * under the License. */ + package org.apache.streams.facebook.serializer; import com.fasterxml.jackson.databind.ObjectMapper; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/serializer/FacebookStreamsPostSerializer.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/serializer/FacebookStreamsPostSerializer.java b/streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/serializer/FacebookStreamsPostSerializer.java index 3c5cae6..3375931 100644 --- a/streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/serializer/FacebookStreamsPostSerializer.java +++ b/streams-contrib/streams-provider-facebook/src/main/java/org/apache/streams/facebook/serializer/FacebookStreamsPostSerializer.java @@ -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 + * + * 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.facebook.serializer; import org.apache.streams.data.ActivitySerializer; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookConfiguration.json b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookConfiguration.json index 3356623..cab7c1b 100644 --- a/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookConfiguration.json +++ b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookConfiguration.json @@ -1,7 +1,10 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], "id": "#", + "type": "object", "javaType" : "org.apache.streams.facebook.FacebookConfiguration", "javaInterfaces": ["java.io.Serializable"], "properties": { http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookUserInformationConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookUserInformationConfiguration.json b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookUserInformationConfiguration.json index b351be9..e9dea97 100644 --- a/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookUserInformationConfiguration.json +++ b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookUserInformationConfiguration.json @@ -1,11 +1,13 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], "id": "#", + "type": "object", "javaType" : "org.apache.streams.facebook.FacebookUserInformationConfiguration", "javaInterfaces": ["java.io.Serializable"], "extends": {"$ref":"FacebookConfiguration.json"}, - "javaInterfaces": ["java.io.Serializable"], "properties": { "info": { "type": "array", http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookUserstreamConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookUserstreamConfiguration.json b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookUserstreamConfiguration.json index bcb2258..86fc484 100644 --- a/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookUserstreamConfiguration.json +++ b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/FacebookUserstreamConfiguration.json @@ -1,7 +1,10 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], "id": "#", + "type": "object", "javaType" : "org.apache.streams.facebook.FacebookUserstreamConfiguration", "javaInterfaces": ["java.io.Serializable"], "extends": {"$ref":"FacebookConfiguration.json"}, http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/Page.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/Page.json b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/Page.json index 31a3bc5..6d7cdeb 100644 --- a/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/Page.json +++ b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/Page.json @@ -1,168 +1,171 @@ -{ - "type":"object", - "$schema":"http://json-schema.org/draft-03/schema", - "id":"#", - "javaType":"org.apache.streams.facebook.Page", - "javaInterfaces":[ - "java.io.Serializable" - ], - "properties":{ - "about":{ - "type":"string", - "required":false - }, - "username":{ - "type":"string", - "required":false - }, - "accessToken":{ - "type":"null", - "id":"http://jsonschema.net/accessToken", - "required":false - }, - "category":{ - "type":"string", - "id":"http://jsonschema.net/category", - "required":false - }, - "checkins":{ - "type":"integer", - "id":"http://jsonschema.net/checkins", - "required":false - }, - "communityPage":{ - "type":"boolean", - "id":"http://jsonschema.net/communityPage", - "required":false - }, - "cover":{ - "type":"object", - "id":"http://jsonschema.net/cover", - "required":false, - "properties":{ - "id":{ - "type":"null", - "id":"http://jsonschema.net/cover/id", - "required":false - }, - "offsetY":{ - "type":"number", - "id":"http://jsonschema.net/cover/offsetY", - "required":false - }, - "source":{ - "type":"string", - "id":"http://jsonschema.net/cover/source", - "required":false +{ + "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "id": "#", + "type": "object", + "javaType": "org.apache.streams.facebook.Page", + "javaInterfaces": [ + "java.io.Serializable" + ], + "properties": { + "about": { + "type": "string", + "required": false + }, + "username": { + "type": "string", + "required": false + }, + "accessToken": { + "type": "null", + "id": "http://jsonschema.net/accessToken", + "required": false + }, + "category": { + "type": "string", + "id": "http://jsonschema.net/category", + "required": false + }, + "checkins": { + "type": "integer", + "id": "http://jsonschema.net/checkins", + "required": false + }, + "communityPage": { + "type": "boolean", + "id": "http://jsonschema.net/communityPage", + "required": false + }, + "cover": { + "type": "object", + "id": "http://jsonschema.net/cover", + "required": false, + "properties": { + "id": { + "type": "null", + "id": "http://jsonschema.net/cover/id", + "required": false + }, + "offsetY": { + "type": "number", + "id": "http://jsonschema.net/cover/offsetY", + "required": false + }, + "source": { + "type": "string", + "id": "http://jsonschema.net/cover/source", + "required": false + } } - } - }, - "createdTime":{ - "type":"null", - "id":"http://jsonschema.net/createdTime", - "required":false - }, - "id":{ - "type":"string", - "id":"http://jsonschema.net/id", - "required":false - }, - "likes":{ - "type":"integer", - "id":"http://jsonschema.net/likes", - "required":false - }, - "link":{ - "type":"string", - "id":"http://jsonschema.net/link", - "required":false - }, - "location":{ - "type":"object", - "id":"http://jsonschema.net/location", - "required":false, - "properties":{ - "city":{ - "type":"string", - "id":"http://jsonschema.net/location/city", - "required":false - }, - "country":{ - "type":"string", - "id":"http://jsonschema.net/location/country", - "required":false - }, - "latitude":{ - "type":"null", - "id":"http://jsonschema.net/location/latitude", - "required":false - }, - "longitude":{ - "type":"null", - "id":"http://jsonschema.net/location/longitude", - "required":false - }, - "state":{ - "type":"string", - "id":"http://jsonschema.net/location/state", - "required":false - }, - "street":{ - "type":"string", - "id":"http://jsonschema.net/location/street", - "required":false - }, - "text":{ - "type":"null", - "id":"http://jsonschema.net/location/text", - "required":false - }, - "zip":{ - "type":"string", - "id":"http://jsonschema.net/location/zip", - "required":false + }, + "createdTime": { + "type": "null", + "id": "http://jsonschema.net/createdTime", + "required": false + }, + "id": { + "type": "string", + "id": "http://jsonschema.net/id", + "required": false + }, + "likes": { + "type": "integer", + "id": "http://jsonschema.net/likes", + "required": false + }, + "link": { + "type": "string", + "id": "http://jsonschema.net/link", + "required": false + }, + "location": { + "type": "object", + "id": "http://jsonschema.net/location", + "required": false, + "properties": { + "city": { + "type": "string", + "id": "http://jsonschema.net/location/city", + "required": false + }, + "country": { + "type": "string", + "id": "http://jsonschema.net/location/country", + "required": false + }, + "latitude": { + "type": "null", + "id": "http://jsonschema.net/location/latitude", + "required": false + }, + "longitude": { + "type": "null", + "id": "http://jsonschema.net/location/longitude", + "required": false + }, + "state": { + "type": "string", + "id": "http://jsonschema.net/location/state", + "required": false + }, + "street": { + "type": "string", + "id": "http://jsonschema.net/location/street", + "required": false + }, + "text": { + "type": "null", + "id": "http://jsonschema.net/location/text", + "required": false + }, + "zip": { + "type": "string", + "id": "http://jsonschema.net/location/zip", + "required": false + } } - } - }, - "metadata":{ - "type":"null", - "id":"http://jsonschema.net/metadata", - "required":false - }, - "name":{ - "type":"string", - "id":"http://jsonschema.net/name", - "required":false - }, - "phone":{ - "type":"string", - "id":"http://jsonschema.net/phone", - "required":false - }, - "picture":{ - "type":"null", - "id":"http://jsonschema.net/picture", - "required":false - }, - "published":{ - "type":"boolean", - "id":"http://jsonschema.net/published", - "required":false - }, - "talkingAboutCount":{ - "type":"integer", - "id":"http://jsonschema.net/talkingAboutCount", - "required":false - }, - "website":{ - "type":"string", - "id":"http://jsonschema.net/website", - "required":false - }, - "wereHereCount":{ - "type":"integer", - "id":"http://jsonschema.net/wereHereCount", - "required":false - } - } + }, + "metadata": { + "type": "null", + "id": "http://jsonschema.net/metadata", + "required": false + }, + "name": { + "type": "string", + "id": "http://jsonschema.net/name", + "required": false + }, + "phone": { + "type": "string", + "id": "http://jsonschema.net/phone", + "required": false + }, + "picture": { + "type": "null", + "id": "http://jsonschema.net/picture", + "required": false + }, + "published": { + "type": "boolean", + "id": "http://jsonschema.net/published", + "required": false + }, + "talkingAboutCount": { + "type": "integer", + "id": "http://jsonschema.net/talkingAboutCount", + "required": false + }, + "website": { + "type": "string", + "id": "http://jsonschema.net/website", + "required": false + }, + "wereHereCount": { + "type": "integer", + "id": "http://jsonschema.net/wereHereCount", + "required": false + } + } } \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/graph/Post.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/graph/Post.json b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/graph/Post.json index 23bcb08..487013c 100644 --- a/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/graph/Post.json +++ b/streams-contrib/streams-provider-facebook/src/main/jsonschema/org/apache/streams/facebook/graph/Post.json @@ -1,8 +1,12 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], "id": "#", + "type": "object", "javaType": "org.apache.streams.facebook.Post", + "javaInterfaces": ["java.io.Serializable"], "properties": { "id": { "type": "string" http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-edc-facebook/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-edc-facebook/pom.xml b/streams-contrib/streams-provider-gnip/gnip-edc-facebook/pom.xml index f353ee8..d273b09 100644 --- a/streams-contrib/streams-provider-gnip/gnip-edc-facebook/pom.xml +++ b/streams-contrib/streams-provider-gnip/gnip-edc-facebook/pom.xml @@ -1,4 +1,21 @@ + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-edc-flickr/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-edc-flickr/pom.xml b/streams-contrib/streams-provider-gnip/gnip-edc-flickr/pom.xml index e96b90c..d7cdf05 100644 --- a/streams-contrib/streams-provider-gnip/gnip-edc-flickr/pom.xml +++ b/streams-contrib/streams-provider-gnip/gnip-edc-flickr/pom.xml @@ -1,4 +1,21 @@ + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-edc-googleplus/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-edc-googleplus/pom.xml b/streams-contrib/streams-provider-gnip/gnip-edc-googleplus/pom.xml index 28eaf24..d796ee3 100644 --- a/streams-contrib/streams-provider-gnip/gnip-edc-googleplus/pom.xml +++ b/streams-contrib/streams-provider-gnip/gnip-edc-googleplus/pom.xml @@ -1,4 +1,21 @@ + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-edc-instagram/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-edc-instagram/pom.xml b/streams-contrib/streams-provider-gnip/gnip-edc-instagram/pom.xml index eced509..d00a54d 100644 --- a/streams-contrib/streams-provider-gnip/gnip-edc-instagram/pom.xml +++ b/streams-contrib/streams-provider-gnip/gnip-edc-instagram/pom.xml @@ -1,4 +1,21 @@ + http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-edc-instagram/src/main/jsonschema/com/instagram/Instagram.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-edc-instagram/src/main/jsonschema/com/instagram/Instagram.json b/streams-contrib/streams-provider-gnip/gnip-edc-instagram/src/main/jsonschema/com/instagram/Instagram.json index 029f6e9..0c9e4c0 100644 --- a/streams-contrib/streams-provider-gnip/gnip-edc-instagram/src/main/jsonschema/com/instagram/Instagram.json +++ b/streams-contrib/streams-provider-gnip/gnip-edc-instagram/src/main/jsonschema/com/instagram/Instagram.json @@ -1,8 +1,12 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], "id": "#", + "type": "object", "javaType" : "com.instagram.pojo.Instagram", + "javaInterfaces": ["java.io.Serializable"], "properties": { "caption": { "type": "object",