[jira] [Work started] (STREAMS-509) Slack.com provider

2017-05-19 Thread Steve Blackmon (JIRA)

 [ 
https://issues.apache.org/jira/browse/STREAMS-509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on STREAMS-509 started by Steve Blackmon.
--
> Slack.com provider
> --
>
> Key: STREAMS-509
> URL: https://issues.apache.org/jira/browse/STREAMS-509
> Project: Streams
>  Issue Type: New Feature
>Reporter: Steve Blackmon
>Assignee: Steve Blackmon
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Write a provider for https://api.slack.com/
> Basic capabilities:
> authentication
> get all profiles in an organization
> get all channels in an organization
> get recent posts in a channel



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (STREAMS-509) Slack.com provider

2017-05-19 Thread Steve Blackmon (JIRA)

[ 
https://issues.apache.org/jira/browse/STREAMS-509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16018318#comment-16018318
 ] 

Steve Blackmon commented on STREAMS-509:


Pushed just pom, pojos, and interfaces to meet these base requirements
https://github.com/steveblackmon/incubator-streams/commit/1e432f1451fa1b1ed31dac9ccc734655a1c60422

> Slack.com provider
> --
>
> Key: STREAMS-509
> URL: https://issues.apache.org/jira/browse/STREAMS-509
> Project: Streams
>  Issue Type: New Feature
>Reporter: Steve Blackmon
>Assignee: Steve Blackmon
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Write a provider for https://api.slack.com/
> Basic capabilities:
> authentication
> get all profiles in an organization
> get all channels in an organization
> get recent posts in a channel



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (STREAMS-510) Example Pipeline: Slack Digest

2017-05-19 Thread Steve Blackmon (JIRA)
Steve Blackmon created STREAMS-510:
--

 Summary: Example Pipeline: Slack Digest
 Key: STREAMS-510
 URL: https://issues.apache.org/jira/browse/STREAMS-510
 Project: Streams
  Issue Type: New Feature
Reporter: Steve Blackmon
Assignee: Steve Blackmon


Get the last X hours of activities within a specified slack channel
Prepare a time-ordered text digest for the period containing:
${actor.displayName}: ${content}
with urls within the content intact



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (STREAMS-508) Utilize new third-party rest proxy capability in provider-twitter and provider-instagram

2017-05-19 Thread Steve Blackmon (JIRA)
Steve Blackmon created STREAMS-508:
--

 Summary: Utilize new third-party rest proxy capability in 
provider-twitter and provider-instagram
 Key: STREAMS-508
 URL: https://issues.apache.org/jira/browse/STREAMS-508
 Project: Streams
  Issue Type: Improvement
Reporter: Steve Blackmon
Assignee: Steve Blackmon


Requires upgrade juneau dependency to 6.2.1 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Created] (STREAMS-509) Slack.com provider

2017-05-19 Thread Steve Blackmon (JIRA)
Steve Blackmon created STREAMS-509:
--

 Summary: Slack.com provider
 Key: STREAMS-509
 URL: https://issues.apache.org/jira/browse/STREAMS-509
 Project: Streams
  Issue Type: New Feature
Reporter: Steve Blackmon
Assignee: Steve Blackmon


Write a provider for https://api.slack.com/

Basic capabilities:
authentication
get all profiles in an organization
get all channels in an organization
get recent posts in a channel



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Work started] (STREAMS-461) Proof-of-concept: package and test streams provider with beam APIs / local runner

2017-05-19 Thread Steve Blackmon (JIRA)

 [ 
https://issues.apache.org/jira/browse/STREAMS-461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on STREAMS-461 started by Steve Blackmon.
--
> Proof-of-concept: package and test streams provider with beam APIs / local 
> runner
> -
>
> Key: STREAMS-461
> URL: https://issues.apache.org/jira/browse/STREAMS-461
> Project: Streams
>  Issue Type: New Feature
>Reporter: Steve Blackmon
>Assignee: Steve Blackmon
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Proof-of-concept: package and test streams provider with beam APIs / local 
> runner



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


Build failed in Jenkins: streams-examples #210

2017-05-19 Thread Apache Jenkins Server
See 

--
[...truncated 727.72 KB...]
[INFO] --- apache-rat-plugin:0.12:check (default) @ 
streams-flink-twitter-collection ---
[INFO] Enabled default license matchers.
[INFO] Will parse SCM ignores for exclusions...
[INFO] Finished adding exclusions from SCM ignore files.
[INFO] 61 implicit excludes (use -debug for more details).
[INFO] Exclude: .git
[INFO] Exclude: .gitignore
[INFO] Exclude: .git/**
[INFO] Exclude: .idea/**
[INFO] Exclude: .java-version
[INFO] Exclude: **/DEPENDENCIES
[INFO] Exclude: **/LICENSE
[INFO] Exclude: **/MANIFEST.MF
[INFO] Exclude: **/NOTICE
[INFO] Exclude: **/README.*
[INFO] Exclude: **/target/**
[INFO] Exclude: **/overlays/**
[INFO] Exclude: **/src/test/resources/**/*.csv
[INFO] Exclude: **/src/test/resources/**/*.tsv
[INFO] Exclude: **/src/site/resources/**/*
[INFO] Exclude: **/.gitignore
[INFO] Exclude: **/*.properties
[INFO] Exclude: **/*.iml
[INFO] Exclude: **/*.ini
[INFO] Exclude: **/*.jar
[INFO] Exclude: **/*.svg
[INFO] Exclude: dependency-reduced-pom.xml
[INFO] Exclude: rat.txt
[INFO] Exclude: apache-maven-3.3.9/**/*
[INFO] Exclude: src/test/resources/1000twitterids.txt
[INFO] Exclude: src/test/resources/asf.txt
[INFO] 33 resources included (use -debug for more details)
[INFO] Rat check: Summary over all files. Unapproved: 0, unknown: 0, generated: 
0, approved: 33 licenses.
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @ 
streams-flink-twitter-collection ---
[INFO] Source directory: 

 added.
[WARNING] Failed to getClass for 
org.apache.streams.plugins.StreamsPojoSourceGeneratorMojo
[INFO] 
[INFO] <<< streams-plugin-pojo:0.5.1-incubating-SNAPSHOT:generate-sources 
(default) < generate-sources @ streams-flink-twitter-collection <<<
[INFO] 
[INFO] --- streams-plugin-pojo:0.5.1-incubating-SNAPSHOT:generate-sources 
(default) @ streams-flink-twitter-collection ---
[INFO] 
[INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @ 
streams-flink-twitter-collection ---
[INFO] Source directory: 

 added.
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ 
streams-flink-twitter-collection ---
[INFO] 
[INFO] --- maven-remote-resources-plugin:1.4:process (process-resource-bundles) 
@ streams-flink-twitter-collection ---
[INFO] 
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
streams-flink-twitter-collection ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 8 resources
[INFO] Copying 4 resources
[INFO] Copying 4 resources
[INFO] Copying 4 resources
[INFO] Copying 4 resources
[INFO] 
[INFO] --- scala-maven-plugin:3.2.2:add-source (scala-compile-first) @ 
streams-flink-twitter-collection ---
[INFO] 
[INFO] --- scala-maven-plugin:3.2.2:compile (scala-compile-first) @ 
streams-flink-twitter-collection ---
[WARNING]  Expected all dependencies to require Scala version: 2.10.6
[WARNING]  
org.apache.streams:streams-flink-twitter-collection:0.5.1-incubating-SNAPSHOT 
requires scala version: 2.10.6
[WARNING]  org.scala-lang:scala-compiler:2.10.6 requires scala version: 2.10.6
[WARNING]  
org.apache.streams:streams-flink-twitter-collection:0.5.1-incubating-SNAPSHOT 
requires scala version: 2.10.6
[WARNING]  org.scala-lang:scala-reflect:2.10.6 requires scala version: 2.10.6
[WARNING]  org.scalatest:scalatest_2.10:2.2.5 requires scala version: 2.10.5
[WARNING] Multiple versions of scala libraries detected!
[INFO] 
:-1:
 info: compiling
[INFO] 
:-1:
 info: compiling
[INFO] 
:-1:
 info: compiling
[INFO] Compiling 5 source files to 

 at 1495175858496
[ERROR] 
:30:
 error: object flink is not a member of package org.apache.streams
[ERROR] import org.apache.streams.flink.{FlinkBatchConfiguration, 
FlinkStreamingConfiguration, StreamsFlinkConfiguration}
[ERROR]   ^
[ERROR] 
:46:
 error: not found: type StreamsFlinkConfiguration
[ERROR]   var streamsFlinkConfiguration: StreamsFlinkConfiguration = _
[ERROR] 

Build failed in Jenkins: streams-examples #211

2017-05-19 Thread Apache Jenkins Server
See 

--
Started by upstream project "streams-project" build number 368
originally caused by:
 Started by an SCM change
 Started by an SCM change
[EnvInject] - Loading node environment variables.
ERROR: SEVERE ERROR occurs
org.jenkinsci.lib.envinject.EnvInjectException: 
hudson.remoting.ChannelClosedException: channel is already closed
at 
org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:79)
at 
org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:80)
at 
org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:42)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:572)
at 
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:492)
at hudson.model.Run.execute(Run.java:1728)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:544)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:405)
Caused by: hudson.remoting.ChannelClosedException: channel is already closed
at hudson.remoting.Channel.send(Channel.java:605)
at hudson.remoting.Request.call(Request.java:130)
at hudson.remoting.Channel.call(Channel.java:829)
at hudson.FilePath.act(FilePath.java:1080)
at 
org.jenkinsci.plugins.envinject.service.EnvironmentVariablesNodeLoader.gatherEnvironmentVariablesNode(EnvironmentVariablesNodeLoader.java:48)
... 8 more
Caused by: java.io.IOException
at hudson.remoting.Channel.close(Channel.java:1292)
at hudson.slaves.ChannelPinger$1.onDead(ChannelPinger.java:180)
at hudson.remoting.PingThread.ping(PingThread.java:130)
at hudson.remoting.PingThread.run(PingThread.java:86)
Caused by: java.util.concurrent.TimeoutException: Ping started at 1495178233306 
hasn't completed by 1495178473307
... 2 more
[EnvInject] - [ERROR] - SEVERE ERROR occurs: channel is already closed


Build failed in Jenkins: streams-project-site #183

2017-05-19 Thread Apache Jenkins Server
See 

--
Started by upstream project "streams-project" build number 368
originally caused by:
 Started by an SCM change
 Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on ubuntu-4 (ubuntu trusty) in workspace 

Wiping out workspace first.
Cloning the remote Git repository
Cloning repository https://git-wip-us.apache.org/repos/asf/incubator-streams.git
 > git init  # 
 > timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/incubator-streams.git
 > git --version # timeout=10
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/incubator-streams.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/incubator-streams.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # 
 > timeout=10
 > git config remote.origin.url 
 > https://git-wip-us.apache.org/repos/asf/incubator-streams.git # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
No valid HEAD. Skipping the resetting
 > git clean -fdx # timeout=10
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/incubator-streams.git
 > git fetch --tags --progress 
 > https://git-wip-us.apache.org/repos/asf/incubator-streams.git 
 > +refs/heads/*:refs/remotes/origin/*
 > git rev-parse origin/master^{commit} # timeout=10
Checking out Revision c64da77f2161ed6f9a508330cb64f81c440fc996 (origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c64da77f2161ed6f9a508330cb64f81c440fc996
 > git rev-list c64da77f2161ed6f9a508330cb64f81c440fc996 # timeout=10
Parsing POMs
using settings config with name simple-deploy-settings-no-mirror
Replacing all maven server entries not found in credentials list is true
Modules changed, recalculating dependency graph
Established TCP socket on 46247
maven33-agent.jar already up to date
maven33-interceptor.jar already up to date
maven3-interceptor-commons.jar already up to date
[streams-project-site] $ /home/jenkins/tools/java/latest1.8/bin/java -Xmx2g 
-Xms256m -XX:MaxPermSize=512m -Dfile.encoding=UTF-8 -cp 
/home/jenkins/jenkins-slave/maven33-agent.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/boot/plexus-classworlds-2.5.2.jar:/home/jenkins/tools/maven/apache-maven-3.3.9/conf/logging
 jenkins.maven3.agent.Maven33Main /home/jenkins/tools/maven/apache-maven-3.3.9 
/home/jenkins/jenkins-slave/slave.jar 
/home/jenkins/jenkins-slave/maven33-interceptor.jar 
/home/jenkins/jenkins-slave/maven3-interceptor-commons.jar 46247
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; 
support was removed in 8.0
<===[JENKINS REMOTING CAPACITY]===>   channel started
using settings config with name simple-deploy-settings-no-mirror
Replacing all maven server entries not found in credentials list is true
Executing Maven:  -B -f 
 
-Dmaven.repo.local=/home/jenkins/jenkins-slave/maven-repositories/0 -s 
/tmp/settings290279238860570.xml -q -U generate-sources site:site site:stage
Saving to 
outputFile=
Processed 0 file(s)
Found 0 errors
Found 0 warnings
Found 0 infos
Finished in 192 ms
[JENKINS] Archiving site from 
 to 
/x1/jenkins/jenkins-home/jobs/streams-project-site/site
Saving to 
outputFile=
Processed 0 file(s)
Found 0 errors
Found 0 warnings
Found 0 infos
Finished in 2 ms
[JENKINS] Archiving site from 

 to /x1/jenkins/jenkins-home/jobs/streams-project-site/site/streams-testing
Saving to 
outputFile=
Processed 0 file(s)
Found 0 errors
Found 0 warnings
Found 0 infos
Finished in 2 ms
[JENKINS] Archiving site from 

 to /x1/jenkins/jenkins-home/jobs/streams-project-site/site/streams-schemas
Saving to 
outputFile=
Processed 0 file(s)
Found 0 errors
Found 0 warnings
Found 0 infos
Finished in 1 ms
[JENKINS] Archiving site from 

 to 
/x1/jenkins/jenkins-home/jobs/streams-project-site/site/streams-schemas/streams-schema-activitystreams