You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Jeremy Daggett <no...@github.com> on 2014/09/26 17:02:23 UTC

[jclouds] Refactor ssh properties (#532)

This PR pulls out all String references into a new `SshProperties` class.
You can merge this Pull Request by running:

  git pull https://github.com/rackspace/jclouds ssh-props

Or you can view, comment on it, or merge it online at:

  https://github.com/jclouds/jclouds/pull/532

-- Commit Summary --

  * Refactor ssh property strings into SshProperties

-- File Changes --

    M apis/openstack-nova-ec2/src/main/java/org/jclouds/openstack/nova/ec2/NovaEC2ApiMetadata.java (8)
    M apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/NovaApiMetadata.java (6)
    A compute/src/main/java/org/jclouds/ssh/config/SshProperties.java (34)
    M drivers/sshj/src/main/java/org/jclouds/sshj/SSHClientConnection.java (16)
    M drivers/sshj/src/main/java/org/jclouds/sshj/SshjSshClient.java (14)
    M drivers/sshj/src/test/java/org/jclouds/sshj/SshjSshClientTest.java (18)

-- Patch Links --

https://github.com/jclouds/jclouds/pull/532.patch
https://github.com/jclouds/jclouds/pull/532.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/532

Re: [jclouds] Refactor ssh properties (#532)

Posted by Jeremy Daggett <no...@github.com>.
>     @Resource
> -   @Named("jclouds.ssh")
> +   @Named(SSH_LOGGER_NAME)

No, it isn't a lazy question!  I am not aware of any and that's why I added it. :) My opinion is that it provides more context than the string `"jclouds.ssh"`. That said, _should_ we have a single place where they are all defined?  Is there perceived value here or should we just nuke it?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/532/files#r18292629

Re: [jclouds] Refactor ssh properties (#532)

Posted by BuildHive <no...@github.com>.
[jclouds ยป jclouds #1672](https://buildhive.cloudbees.com/job/jclouds/job/jclouds/1672/) SUCCESS
This pull request looks good
[(what's this?)](https://www.cloudbees.com/what-is-buildhive)

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/532#issuecomment-56981601

Re: [jclouds] Refactor ssh properties (#532)

Posted by Andrew Phillips <no...@github.com>.
>     @Resource
> -   @Named("jclouds.ssh")
> +   @Named(SSH_LOGGER_NAME)

Lazy question: do we use constants for loggers anywhere else?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/532/files#r18254563

Re: [jclouds] Refactor ssh properties (#532)

Posted by Jeremy Daggett <no...@github.com>.
@demobox Should we just close this? It was a little refactor, but if there is no perceived value, let's just close it. Let me know, thanks!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/532#issuecomment-70351036

Re: [jclouds] Refactor ssh properties (#532)

Posted by Jeremy Daggett <no...@github.com>.
@demobox Closing this PR.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/532#issuecomment-72109665

Re: [jclouds] Refactor ssh properties (#532)

Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-pull-requests #1197](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests/1197/) SUCCESS
This pull request looks good

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/532#issuecomment-56983919

Re: [jclouds] Refactor ssh properties (#532)

Posted by CloudBees pull request builder plugin <no...@github.com>.
[jclouds-pull-requests-java-6 #108](https://jclouds.ci.cloudbees.com/job/jclouds-pull-requests-java-6/108/) SUCCESS
This pull request looks good

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/532#issuecomment-56973890