Conversation
|
I didn't review this thoroughly and this is a comment related less to this particular PR as to a more general design aspect. I think the bigger issue is the fact that we handle I have a more concrete proposal, but still not 100% fleshed out. I will post it on the dev@ list. If you want this PR merged, I am ok with it, but I think we'll revisit it in not far in the future. |
|
Thanks @hzbarcea The I think that at some level of our code, we'll hit the use of an ssh-client or a winrm-client (unless we went all-in with chef/puppet/salt etc). Therefore I think the bulk of this PR is not related to the problems you refer to. We want to remove the dependency on As for I'd therefore like us to merge it before we tackle the big |
There was a problem hiding this comment.
Do you have to put null here?
|
Very good start for putting alternative WinRm implementations! As part of this refactoring I want to remind you to review #950 . Basically I think that we have to have only |
|
@aledsage |
|
Looks good, merging. |
We want the interface/class within Brooklyn so that the rest of the code doesn't depend on winrm4j directly.
We also want to be able to swap out the Winrm4jTool for an alternative implementation, just through configuration.
Note that the unqualified interface name / class name are the same as the names in
io.cloudsoft.winrm4j.winrm.WinRmToolandio.cloudsoft.winrm4j.winrm.WinRmToolResponse. Is that a good idea? Any better suggestions for names?