http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-edc-reddit/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-edc-reddit/pom.xml b/streams-contrib/streams-provider-gnip/gnip-edc-reddit/pom.xml index 1b520ac..d420f43 100644 --- a/streams-contrib/streams-provider-gnip/gnip-edc-reddit/pom.xml +++ b/streams-contrib/streams-provider-gnip/gnip-edc-reddit/pom.xml @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ 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. + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-edc-youtube/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-edc-youtube/pom.xml b/streams-contrib/streams-provider-gnip/gnip-edc-youtube/pom.xml index 7077b33..040cb24 100644 --- a/streams-contrib/streams-provider-gnip/gnip-edc-youtube/pom.xml +++ b/streams-contrib/streams-provider-gnip/gnip-edc-youtube/pom.xml @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ 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. + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-powertrack/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-powertrack/pom.xml b/streams-contrib/streams-provider-gnip/gnip-powertrack/pom.xml index d26a9a3..41f6b71 100644 --- a/streams-contrib/streams-provider-gnip/gnip-powertrack/pom.xml +++ b/streams-contrib/streams-provider-gnip/gnip-powertrack/pom.xml @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ 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. + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/jsonschema/com/gnip/Gnip.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/jsonschema/com/gnip/Gnip.json b/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/jsonschema/com/gnip/Gnip.json index 3cc24ca..ec3a468 100644 --- a/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/jsonschema/com/gnip/Gnip.json +++ b/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/jsonschema/com/gnip/Gnip.json @@ -1,8 +1,12 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", - "javaType": "com.gnip.pojo.Gnip", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], "id": "#", + "type": "object", + "javaType": "com.gnip.pojo.Gnip", + "javaInterfaces": ["java.io.Serializable"], "properties": { "profileLocations": { "properties": { http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/xmlschema/com/gnip/binding.xjb ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/xmlschema/com/gnip/binding.xjb b/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/xmlschema/com/gnip/binding.xjb index 0f31d3c..d94a76b 100644 --- a/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/xmlschema/com/gnip/binding.xjb +++ b/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/xmlschema/com/gnip/binding.xjb @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + ~ 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. + --> <jaxb:bindings xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd" http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/xmlschema/com/gnip/entry.xsd ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/xmlschema/com/gnip/entry.xsd b/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/xmlschema/com/gnip/entry.xsd index 04119e9..da7cf99 100644 --- a/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/xmlschema/com/gnip/entry.xsd +++ b/streams-contrib/streams-provider-gnip/gnip-powertrack/src/main/xmlschema/com/gnip/entry.xsd @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<!-- + ~ 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. + --> <xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="entry" type="entry"/> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-gnip/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-gnip/pom.xml b/streams-contrib/streams-provider-gnip/pom.xml index 68d6591..e94fa3f 100644 --- a/streams-contrib/streams-provider-gnip/pom.xml +++ b/streams-contrib/streams-provider-gnip/pom.xml @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ 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. + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gmail/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gmail/pom.xml b/streams-contrib/streams-provider-google/google-gmail/pom.xml index 27cdee1..5aa0464 100644 --- a/streams-contrib/streams-provider-google/google-gmail/pom.xml +++ b/streams-contrib/streams-provider-google/google-gmail/pom.xml @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ 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. + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gmail/src/main/jsonschema/com/google/gmail/GMailConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gmail/src/main/jsonschema/com/google/gmail/GMailConfiguration.json b/streams-contrib/streams-provider-google/google-gmail/src/main/jsonschema/com/google/gmail/GMailConfiguration.json index b25d5e0..2a6a468 100644 --- a/streams-contrib/streams-provider-google/google-gmail/src/main/jsonschema/com/google/gmail/GMailConfiguration.json +++ b/streams-contrib/streams-provider-google/google-gmail/src/main/jsonschema/com/google/gmail/GMailConfiguration.json @@ -1,8 +1,11 @@ { - "type": "object", "$schema": "http://json-schema.org/draft-03/schema", + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], "id": "#", "javaType" : "com.google.gmail.GMailConfiguration", + "javaInterfaces": ["java.io.Serializable"], "properties": { "userName": { "type": "string" http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/pom.xml b/streams-contrib/streams-provider-google/google-gplus/pom.xml index 1d322df..9e5f2e4 100644 --- a/streams-contrib/streams-provider-google/google-gplus/pom.xml +++ b/streams-contrib/streams-provider-google/google-gplus/pom.xml @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ 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. + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusDataCollector.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusDataCollector.java b/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusDataCollector.java index 1894dc4..5be2f9c 100644 --- a/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusDataCollector.java +++ b/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusDataCollector.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 com.google.gplus.provider; import com.google.api.client.googleapis.json.GoogleJsonResponseException; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserActivityCollector.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserActivityCollector.java b/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserActivityCollector.java index f1824b5..d76e225 100644 --- a/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserActivityCollector.java +++ b/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserActivityCollector.java @@ -15,6 +15,7 @@ * specific language governing permissions and limitations * under the License. */ + package com.google.gplus.provider; import com.fasterxml.jackson.core.JsonGenerationException; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserActivityProvider.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserActivityProvider.java b/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserActivityProvider.java index a80a7ab..933feab 100644 --- a/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserActivityProvider.java +++ b/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserActivityProvider.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 com.google.gplus.provider; import com.google.api.services.plus.Plus; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserDataCollector.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserDataCollector.java b/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserDataCollector.java index 65ef9b1..90efd99 100644 --- a/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserDataCollector.java +++ b/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserDataCollector.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 com.google.gplus.provider; import com.fasterxml.jackson.databind.DeserializationFeature; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserDataProvider.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserDataProvider.java b/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserDataProvider.java index e2c8c5c..1833d41 100644 --- a/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserDataProvider.java +++ b/streams-contrib/streams-provider-google/google-gplus/src/main/java/com/google/gplus/provider/GPlusUserDataProvider.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 com.google.gplus.provider; import com.google.api.services.plus.Plus; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/src/main/jsonschema/com/google/gplus/GPlusConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/src/main/jsonschema/com/google/gplus/GPlusConfiguration.json b/streams-contrib/streams-provider-google/google-gplus/src/main/jsonschema/com/google/gplus/GPlusConfiguration.json index 0b96694..3b7795b 100644 --- a/streams-contrib/streams-provider-google/google-gplus/src/main/jsonschema/com/google/gplus/GPlusConfiguration.json +++ b/streams-contrib/streams-provider-google/google-gplus/src/main/jsonschema/com/google/gplus/GPlusConfiguration.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.google.gplus.GPlusConfiguration", + "javaInterfaces": ["java.io.Serializable"], "properties": { "protocol": { "type": "string", http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestAbstractGPlusProvider.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestAbstractGPlusProvider.java b/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestAbstractGPlusProvider.java index d5cfb2c..f7b3dfb 100644 --- a/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestAbstractGPlusProvider.java +++ b/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestAbstractGPlusProvider.java @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.google.gplus.provider; import com.carrotsearch.randomizedtesting.RandomizedTest; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestGPlusUserActivityCollector.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestGPlusUserActivityCollector.java b/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestGPlusUserActivityCollector.java index 1484af5..3afaec4 100644 --- a/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestGPlusUserActivityCollector.java +++ b/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestGPlusUserActivityCollector.java @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.google.gplus.provider; import com.carrotsearch.randomizedtesting.RandomizedTest; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestGPlusUserDataCollector.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestGPlusUserDataCollector.java b/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestGPlusUserDataCollector.java index 784e1b5..1251b9a 100644 --- a/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestGPlusUserDataCollector.java +++ b/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/provider/TestGPlusUserDataCollector.java @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + package com.google.gplus.provider; import com.google.api.client.googleapis.json.GoogleJsonResponseException; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/serializer/util/GPlusEventClassifierTest.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/serializer/util/GPlusEventClassifierTest.java b/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/serializer/util/GPlusEventClassifierTest.java index 308afe0..8b4c29b 100644 --- a/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/serializer/util/GPlusEventClassifierTest.java +++ b/streams-contrib/streams-provider-google/google-gplus/src/test/java/com/google/gplus/serializer/util/GPlusEventClassifierTest.java @@ -15,6 +15,7 @@ * specific language governing permissions and limitations * under the License. */ + package com.google.gplus.serializer.util; import com.fasterxml.jackson.databind.node.ObjectNode; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-google/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-google/pom.xml b/streams-contrib/streams-provider-google/pom.xml index 99cd158..fbe62de 100644 --- a/streams-contrib/streams-provider-google/pom.xml +++ b/streams-contrib/streams-provider-google/pom.xml @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ 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. + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-instagram/metadata/InstagramMediaDataActivitySerializer.mup ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-instagram/metadata/InstagramMediaDataActivitySerializer.mup b/streams-contrib/streams-provider-instagram/metadata/InstagramMediaDataActivitySerializer.mup index deddd26..39c49c4 100644 --- a/streams-contrib/streams-provider-instagram/metadata/InstagramMediaDataActivitySerializer.mup +++ b/streams-contrib/streams-provider-instagram/metadata/InstagramMediaDataActivitySerializer.mup @@ -1,894 +1,897 @@ { - "title": "InstagramMediaDataActivitySerializer", - "id": 1, - "formatVersion": 2, - "ideas": { - "1": { - "title": "activity", - "id": 2, - "ideas": { + "$license": [ + "http://www.apache.org/licenses/LICENSE-2.0" + ], + "title": "InstagramMediaDataActivitySerializer", + "id": 1, + "formatVersion": 2, + "ideas": { "1": { - "title": "published", - "id": 25 - }, - "2": { - "title": "id:instagram:post:<id>", - "id": 26 - }, - "3": { - "title": "provider", - "id": 27, - "ideas": { - "1": { - "title": "id", - "id": 28, - "ideas": { + "title": "activity", + "id": 2, + "ideas": { "1": { - "title": "id:providers:instagram", - "id": 31 - } - } - }, - "2": { - "title": "displayName", - "id": 29, - "ideas": { - "1": { - "title": "Instagram", - "id": 30 - } - } - } - } - }, - "6": { - "title": "url", - "id": 40 - }, - "7": { - "title": "object", - "id": 46, - "ideas": { - "1": { - "title": "objectType", - "id": 38, - "attr": { - "style": {} - } - }, - "2": { - "title": "attachments", - "id": 51, - "ideas": { - "1": { - "title": "object", - "id": 52, - "ideas": { - "1": { - "title": "objectType", - "id": 53, - "ideas": { + "title": "published", + "id": 25 + }, + "2": { + "title": "id:instagram:post:<id>", + "id": 26 + }, + "3": { + "title": "provider", + "id": 27, + "ideas": { "1": { - "title": "\"image\"", - "id": 81 + "title": "id", + "id": 28, + "ideas": { + "1": { + "title": "id:providers:instagram", + "id": 31 + } + } + }, + "2": { + "title": "displayName", + "id": 29, + "ideas": { + "1": { + "title": "Instagram", + "id": 30 + } + } } - } - }, - "2": { - "title": "image", - "id": 54, - "ideas": { + } + }, + "6": { + "title": "url", + "id": 40 + }, + "7": { + "title": "object", + "id": 46, + "ideas": { "1": { - "title": "url", - "id": 55 + "title": "objectType", + "id": 38, + "attr": { + "style": {} + } }, "2": { - "title": "height", - "id": 56 + "title": "attachments", + "id": 51, + "ideas": { + "1": { + "title": "object", + "id": 52, + "ideas": { + "1": { + "title": "objectType", + "id": 53, + "ideas": { + "1": { + "title": "\"image\"", + "id": 81 + } + } + }, + "2": { + "title": "image", + "id": 54, + "ideas": { + "1": { + "title": "url", + "id": 55 + }, + "2": { + "title": "height", + "id": 56 + }, + "3": { + "title": "width", + "id": 57 + } + } + } + } + }, + "2": { + "title": "object", + "ideas": { + "1": { + "title": "objectType", + "ideas": { + "1": { + "title": "\"image\"", + "id": 101 + } + }, + "id": 100 + }, + "2": { + "title": "image", + "ideas": { + "1": { + "title": "url", + "id": 103 + }, + "2": { + "title": "height", + "id": 104 + }, + "3": { + "title": "width", + "id": 105 + } + }, + "id": 102 + } + }, + "id": 99, + "attr": { + "style": {} + } + }, + "3": { + "title": "object", + "ideas": { + "1": { + "title": "objectType", + "ideas": { + "1": { + "title": "\"video\"", + "id": 108 + } + }, + "id": 107 + }, + "2": { + "title": "image", + "ideas": { + "1": { + "title": "url", + "id": 110 + }, + "2": { + "title": "height", + "id": 111 + }, + "3": { + "title": "width", + "id": 112 + } + }, + "id": 109 + } + }, + "id": 106, + "attr": { + "style": {} + } + } + } }, "3": { - "title": "width", - "id": 57 + "title": "image\n\nIF objectType == video\nimage = data.videos.standard_resolution\nELSE \nimage = data.images.standard_resolution", + "id": 62, + "attr": { + "position": [ + 74.5, + 74, + 1 + ], + "style": {} + }, + "ideas": { + "1": { + "title": "url", + "id": 64 + }, + "2": { + "title": "height", + "id": 65 + }, + "3": { + "title": "width", + "id": 66 + } + } + }, + "4": { + "title": "content", + "id": 113 } - } } - } }, - "2": { - "title": "object", - "ideas": { - "1": { - "title": "objectType", - "ideas": { + "8": { + "title": "extensions", + "id": 75, + "ideas": { "1": { - "title": "\"image\"", - "id": 101 + "title": "instagram", + "id": 91, + "attr": { + "style": {} + } + }, + "2": { + "title": "location", + "id": 77, + "ideas": { + "1": { + "title": "coordinates", + "id": 78, + "ideas": { + "1": { + "title": "type", + "id": 79, + "ideas": { + "1": { + "title": "\"Point\"", + "id": 80 + } + } + }, + "0.5": { + "title": "coordinates\n\n[longitude,latitude]", + "id": 82, + "attr": { + "style": {} + } + } + } + } + } + }, + "12": { + "title": "hashtags", + "id": 76, + "attr": { + "position": [ + 93.5, + 125.5, + 1 + ], + "style": {} + } + }, + "13": { + "title": "user_mentions", + "id": 92, + "ideas": { + "1": { + "title": "id", + "id": 93 + }, + "2": { + "title": "handle", + "id": 94 + } + } + }, + "9.5": { + "title": "rebroadcasts", + "id": 88, + "attr": { + "style": {} + } + }, + "10.75": { + "title": "likes", + "id": 87, + "attr": { + "style": {} + }, + "ideas": { + "1": { + "title": "count", + "id": 90 + } + } } - }, - "id": 100 }, - "2": { - "title": "image", - "ideas": { + "attr": {} + }, + "9": { + "title": "content", + "id": 114 + }, + "0.5": { + "title": "actor", + "id": 32, + "ideas": { "1": { - "title": "url", - "id": 103 + "title": "id:instagram:<id>", + "id": 35 }, "2": { - "title": "height", - "id": 104 + "title": "image", + "id": 49, + "ideas": { + "1": { + "title": "url", + "id": 50 + } + } }, - "3": { - "title": "width", - "id": 105 + "0.5": { + "title": "handle", + "id": 36, + "attr": { + "position": [ + 63.5, + -66, + 1 + ], + "style": {} + } + }, + "0.25": { + "title": "extensions", + "id": 47, + "ideas": { + "1": { + "title": "screenName", + "id": 48, + "attr": { + "style": {} + } + } + }, + "attr": { + "position": [ + 60.5, + -126.5, + 2 + ], + "style": {} + } } - }, - "id": 102 } - }, - "id": 99, - "attr": { - "style": {} - } - }, - "3": { - "title": "object", - "ideas": { - "1": { - "title": "objectType", - "ideas": { + } + } + }, + "-1": { + "title": "data", + "id": 4, + "ideas": { + "1": { + "title": "comments", + "id": 5, + "ideas": { "1": { - "title": "\"video\"", - "id": 108 + "title": "data", + "id": 44 } - }, - "id": 107 - }, - "2": { - "title": "image", - "ideas": { + } + }, + "3": { + "title": "caption", + "id": 7, + "ideas": {} + }, + "4": { + "title": "links", + "id": 9 + }, + "5": { + "title": "link", + "id": 10 + }, + "6": { + "title": "user", + "id": 11, + "ideas": { "1": { - "title": "url", - "id": 110 + "title": "username", + "id": 33 }, "2": { - "title": "height", - "id": 111 + "title": "profile_picture", + "id": 34 }, "3": { - "title": "width", - "id": 112 + "title": "id", + "id": 37 } - }, - "id": 109 } - }, - "id": 106, - "attr": { - "style": {} - } - } - } - }, - "3": { - "title": "image\n\nIF objectType == video\nimage = data.videos.standard_resolution\nELSE \nimage = data.images.standard_resolution", - "id": 62, - "attr": { - "position": [ - 74.5, - 74, - 1 - ], - "style": {} - }, - "ideas": { - "1": { - "title": "url", - "id": 64 }, - "2": { - "title": "height", - "id": 65 + "9": { + "title": "type", + "id": 21 }, - "3": { - "title": "width", - "id": 66 - } - } - }, - "4": { - "title": "content", - "id": 113 - } - } - }, - "8": { - "title": "extensions", - "id": 75, - "ideas": { - "1": { - "title": "instagram", - "id": 91, - "attr": { - "style": {} - } - }, - "2": { - "title": "location", - "id": 77, - "ideas": { - "1": { - "title": "coordinates", - "id": 78, - "ideas": { - "1": { - "title": "type", - "id": 79, - "ideas": { + "12": { + "title": "videos", + "id": 41, + "ideas": { "1": { - "title": "\"Point\"", - "id": 80 + "title": "low_resolution", + "id": 42, + "ideas": { + "1": { + "title": "url", + "id": 67 + }, + "2": { + "title": "height", + "id": 68 + }, + "3": { + "title": "width", + "id": 69 + } + } + }, + "2": { + "title": "standard_resolution", + "id": 43, + "ideas": { + "1": { + "title": "height", + "id": 70 + }, + "2": { + "title": "width", + "id": 71 + }, + "3": { + "title": "url", + "id": 72 + } + } } - } - }, - "0.5": { - "title": "coordinates\n\n[longitude,latitude]", - "id": 82, - "attr": { - "style": {} - } } - } - } - } - }, - "12": { - "title": "hashtags", - "id": 76, - "attr": { - "position": [ - 93.5, - 125.5, - 1 - ], - "style": {} - } - }, - "13": { - "title": "user_mentions", - "id": 92, - "ideas": { - "1": { - "title": "id", - "id": 93 - }, - "2": { - "title": "handle", - "id": 94 - } - } - }, - "9.5": { - "title": "rebroadcasts", - "id": 88, - "attr": { - "style": {} - } - }, - "10.75": { - "title": "likes", - "id": 87, - "attr": { - "style": {} - }, - "ideas": { - "1": { - "title": "count", - "id": 90 - } - } - } - }, - "attr": {} - }, - "9": { - "title": "content", - "id": 114 - }, - "0.5": { - "title": "actor", - "id": 32, - "ideas": { - "1": { - "title": "id:instagram:<id>", - "id": 35 - }, - "2": { - "title": "image", - "id": 49, - "ideas": { - "1": { - "title": "url", - "id": 50 - } - } - }, - "0.5": { - "title": "handle", - "id": 36, - "attr": { - "position": [ - 63.5, - -66, - 1 - ], - "style": {} - } - }, - "0.25": { - "title": "extensions", - "id": 47, - "ideas": { - "1": { - "title": "screenName", - "id": 48, - "attr": { - "style": {} - } - } - }, - "attr": { - "position": [ - 60.5, - -126.5, - 2 - ], - "style": {} - } - } - } - } - } - }, - "-1": { - "title": "data", - "id": 4, - "ideas": { - "1": { - "title": "comments", - "id": 5, - "ideas": { - "1": { - "title": "data", - "id": 44 - } - } - }, - "3": { - "title": "caption", - "id": 7, - "ideas": {} - }, - "4": { - "title": "links", - "id": 9 - }, - "5": { - "title": "link", - "id": 10 - }, - "6": { - "title": "user", - "id": 11, - "ideas": { - "1": { - "title": "username", - "id": 33 - }, - "2": { - "title": "profile_picture", - "id": 34 - }, - "3": { - "title": "id", - "id": 37 - } - } - }, - "9": { - "title": "type", - "id": 21 - }, - "12": { - "title": "videos", - "id": 41, - "ideas": { - "1": { - "title": "low_resolution", - "id": 42, - "ideas": { - "1": { - "title": "url", - "id": 67 - }, - "2": { - "title": "height", - "id": 68 - }, - "3": { - "title": "width", - "id": 69 - } - } - }, - "2": { - "title": "standard_resolution", - "id": 43, - "ideas": { - "1": { - "title": "height", - "id": 70 }, - "2": { - "title": "width", - "id": 71 - }, - "3": { - "title": "url", - "id": 72 - } - } - } - } - }, - "13": { - "title": "tags", - "id": 45, - "ideas": {} - }, - "14": { - "title": "users_in_photo", - "id": 95, - "ideas": { - "1": { - "title": "id", - "id": 96, - "ideas": {} - }, - "2": { - "title": "profile_picture", - "id": 98 - }, - "3": { - "title": "username", - "id": 97, - "attr": { - "style": {} - } - } - } - }, - "11.5": { - "title": "images", - "id": 14, - "ideas": { - "1": { - "title": "low_resolution", - "id": 15, - "ideas": { - "1": { - "title": "url", - "id": 18 + "13": { + "title": "tags", + "id": 45, + "ideas": {} }, - "2": { - "title": "height", - "id": 58 + "14": { + "title": "users_in_photo", + "id": 95, + "ideas": { + "1": { + "title": "id", + "id": 96, + "ideas": {} + }, + "2": { + "title": "profile_picture", + "id": 98 + }, + "3": { + "title": "username", + "id": 97, + "attr": { + "style": {} + } + } + } }, - "3": { - "title": "width", - "id": 59 - } - } - }, - "2": { - "title": "thumbnail", - "id": 16, - "ideas": { - "1": { - "title": "url", - "id": 19 + "11.5": { + "title": "images", + "id": 14, + "ideas": { + "1": { + "title": "low_resolution", + "id": 15, + "ideas": { + "1": { + "title": "url", + "id": 18 + }, + "2": { + "title": "height", + "id": 58 + }, + "3": { + "title": "width", + "id": 59 + } + } + }, + "2": { + "title": "thumbnail", + "id": 16, + "ideas": { + "1": { + "title": "url", + "id": 19 + }, + "2": { + "title": "height", + "id": 60 + }, + "3": { + "title": "width", + "id": 61 + } + } + }, + "3": { + "title": "standard_resolution", + "id": 17, + "ideas": { + "1": { + "title": "url", + "id": 20 + }, + "2": { + "title": "height", + "id": 73 + }, + "3": { + "title": "width", + "id": 74 + } + } + } + } }, - "2": { - "title": "height", - "id": 60 + "6.5": { + "title": "id", + "id": 23 }, - "3": { - "title": "width", - "id": 61 - } - } - }, - "3": { - "title": "standard_resolution", - "id": 17, - "ideas": { - "1": { - "title": "url", - "id": 20 + "6.25": { + "title": "created_time", + "id": 12 }, - "2": { - "title": "height", - "id": 73 + "12.5": { + "title": "likes", + "id": 6, + "ideas": { + "1": { + "title": "count", + "id": 89 + } + }, + "attr": { + "style": {} + } }, - "3": { - "title": "width", - "id": 74 - } - } - } - } - }, - "6.5": { - "title": "id", - "id": 23 - }, - "6.25": { - "title": "created_time", - "id": 12 - }, - "12.5": { - "title": "likes", - "id": 6, - "ideas": { - "1": { - "title": "count", - "id": 89 - } - }, - "attr": { - "style": {} - } - }, - "12.25": { - "title": "location", - "id": 24, - "ideas": { - "1": { - "title": "latitude", - "id": 83 - }, - "2": { - "title": "longitude", - "id": 84 - } - }, - "attr": { - "style": {} - } - } - } - } - }, - "links": [ - { - "ideaIdFrom": 23, - "ideaIdTo": 26, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 33, - "ideaIdTo": 36, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 37, - "ideaIdTo": 35, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 12, - "ideaIdTo": 25, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 21, - "ideaIdTo": 38, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 33, - "ideaIdTo": 48, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 50, - "ideaIdTo": 34, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 83, - "ideaIdTo": 82, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 84, - "ideaIdTo": 82, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 45, - "ideaIdTo": 76, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 89, - "ideaIdTo": 90, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 91, - "ideaIdTo": 4, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 40, - "ideaIdTo": 10, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 97, - "ideaIdTo": 94, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 96, - "ideaIdTo": 93, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 64, - "ideaIdTo": 20, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 65, - "ideaIdTo": 73, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 66, - "ideaIdTo": 74, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 66, - "ideaIdTo": 71, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 65, - "ideaIdTo": 70, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 64, - "ideaIdTo": 72, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 55, - "ideaIdTo": 19, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 56, - "ideaIdTo": 60, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 61, - "ideaIdTo": 57, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 103, - "ideaIdTo": 18, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 104, - "ideaIdTo": 58, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 59, - "ideaIdTo": 105, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 110, - "ideaIdTo": 67, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 111, - "ideaIdTo": 68, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 112, - "ideaIdTo": 69, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" - } - } - }, - { - "ideaIdFrom": 7, - "ideaIdTo": 114, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" + "12.25": { + "title": "location", + "id": 24, + "ideas": { + "1": { + "title": "latitude", + "id": 83 + }, + "2": { + "title": "longitude", + "id": 84 + } + }, + "attr": { + "style": {} + } + } + } } - } }, - { - "ideaIdFrom": 113, - "ideaIdTo": 7, - "attr": { - "style": { - "color": "#FF0000", - "lineStyle": "dashed" + "links": [ + { + "ideaIdFrom": 23, + "ideaIdTo": 26, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 33, + "ideaIdTo": 36, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 37, + "ideaIdTo": 35, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 12, + "ideaIdTo": 25, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 21, + "ideaIdTo": 38, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 33, + "ideaIdTo": 48, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 50, + "ideaIdTo": 34, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 83, + "ideaIdTo": 82, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 84, + "ideaIdTo": 82, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 45, + "ideaIdTo": 76, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 89, + "ideaIdTo": 90, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 91, + "ideaIdTo": 4, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 40, + "ideaIdTo": 10, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 97, + "ideaIdTo": 94, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 96, + "ideaIdTo": 93, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 64, + "ideaIdTo": 20, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 65, + "ideaIdTo": 73, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 66, + "ideaIdTo": 74, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 66, + "ideaIdTo": 71, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 65, + "ideaIdTo": 70, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 64, + "ideaIdTo": 72, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 55, + "ideaIdTo": 19, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 56, + "ideaIdTo": 60, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 61, + "ideaIdTo": 57, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 103, + "ideaIdTo": 18, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 104, + "ideaIdTo": 58, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 59, + "ideaIdTo": 105, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 110, + "ideaIdTo": 67, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 111, + "ideaIdTo": 68, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 112, + "ideaIdTo": 69, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 7, + "ideaIdTo": 114, + "attr": { + "style": { + "color": "#FF0000", + "lineStyle": "dashed" + } + } + }, + { + "ideaIdFrom": 113, + "ideaIdTo": 7, + "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-instagram/pom.xml ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-instagram/pom.xml b/streams-contrib/streams-provider-instagram/pom.xml index db2415f..e8c6880 100644 --- a/streams-contrib/streams-provider-instagram/pom.xml +++ b/streams-contrib/streams-provider-instagram/pom.xml @@ -1,4 +1,21 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- + ~ 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. + --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-instagram/src/main/java/org/apache/streams/instagram/serializer/InstagramUserInfoSerializer.java ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-instagram/src/main/java/org/apache/streams/instagram/serializer/InstagramUserInfoSerializer.java b/streams-contrib/streams-provider-instagram/src/main/java/org/apache/streams/instagram/serializer/InstagramUserInfoSerializer.java index 055169b..648c798 100644 --- a/streams-contrib/streams-provider-instagram/src/main/java/org/apache/streams/instagram/serializer/InstagramUserInfoSerializer.java +++ b/streams-contrib/streams-provider-instagram/src/main/java/org/apache/streams/instagram/serializer/InstagramUserInfoSerializer.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.instagram.serializer; import com.google.common.collect.Lists; http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-instagram/src/main/jsonschema/com/instagram/InstagramConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-instagram/src/main/jsonschema/com/instagram/InstagramConfiguration.json b/streams-contrib/streams-provider-instagram/src/main/jsonschema/com/instagram/InstagramConfiguration.json index bcb5fd7..891c1da 100644 --- a/streams-contrib/streams-provider-instagram/src/main/jsonschema/com/instagram/InstagramConfiguration.json +++ b/streams-contrib/streams-provider-instagram/src/main/jsonschema/com/instagram/InstagramConfiguration.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.instagram.InstagramConfiguration", "javaInterfaces": ["java.io.Serializable"], "properties": { http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/4e382970/streams-contrib/streams-provider-instagram/src/main/jsonschema/com/instagram/InstagramUserInformationConfiguration.json ---------------------------------------------------------------------- diff --git a/streams-contrib/streams-provider-instagram/src/main/jsonschema/com/instagram/InstagramUserInformationConfiguration.json b/streams-contrib/streams-provider-instagram/src/main/jsonschema/com/instagram/InstagramUserInformationConfiguration.json index b6a8c6b..42eb5d6 100644 --- a/streams-contrib/streams-provider-instagram/src/main/jsonschema/com/instagram/InstagramUserInformationConfiguration.json +++ b/streams-contrib/streams-provider-instagram/src/main/jsonschema/com/instagram/InstagramUserInformationConfiguration.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.instagram.InstagramUserInformationConfiguration", "extends": {"$ref":"InstagramConfiguration.json"}, "javaInterfaces": ["java.io.Serializable"],
