You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ge...@apache.org on 2017/03/03 12:01:35 UTC

[6/6] brooklyn-server git commit: Closes #564

Closes #564

Winrm CmdFeed

Please, review commits one by one to have better differences view.
PR can be considered as WIP however I think it is in good shape.

The PR moves SshFeed to AbstractCommandFeed. This way it can be reused by ShellFeed and also for Windows based command.

TODOs which I will try to do in additional commits.

1. Add SshFeed rebind test
1. Consider changing SshPollValue to CommandPollValue
1. Make an abstract CommandFeedIntegrationTest


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/8e20de06
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/8e20de06
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/8e20de06

Branch: refs/heads/master
Commit: 8e20de068b716d099e2ec6e828377e7d8687007a
Parents: 1aa222a 1382b38
Author: Geoff Macartney <ge...@cloudsoftcorp.com>
Authored: Fri Mar 3 12:01:12 2017 +0000
Committer: Geoff Macartney <ge...@cloudsoftcorp.com>
Committed: Fri Mar 3 12:01:12 2017 +0000

----------------------------------------------------------------------
 .../core/sensor/ssh/SshCommandSensor.java       |   6 +-
 .../brooklyn/feed/AbstractCommandFeed.java      | 259 ++++++++++++++++++
 .../apache/brooklyn/feed/CommandPollConfig.java | 179 +++++++++++++
 .../org/apache/brooklyn/feed/ssh/SshFeed.java   | 217 +++------------
 .../apache/brooklyn/feed/ssh/SshPollConfig.java | 177 +------------
 .../deserializingClassRenames.properties        |   3 +
 .../feed/ssh/SshFeedIntegrationTest.java        |  20 +-
 .../core/sensor/windows/WinRmCommandSensor.java | 167 ++++++++++++
 .../apache/brooklyn/feed/windows/CmdFeed.java   |  83 ++++++
 .../util/core/internal/winrm/WinRmTool.java     |   6 +
 .../internal/winrm/winrm4j/Winrm4jTool.java     |   7 +-
 .../feed/windows/WinRmFeedIntegrationTest.java  | 262 +++++++++++++++++++
 12 files changed, 1019 insertions(+), 367 deletions(-)
----------------------------------------------------------------------