Closes #678 JcloudsLocationCustomizer.onObtainError
Makes customizers aware of obtain failures in case they need to clean up. Also wraps the customizer calls into a delegate. Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/9fb61c13 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/9fb61c13 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/9fb61c13 Branch: refs/heads/master Commit: 9fb61c13a7f868ba6f75354d7a2e146d6e536914 Parents: d7ff39c 96967fb Author: Geoff Macartney <[email protected]> Authored: Wed Jun 14 09:42:42 2017 +0100 Committer: Geoff Macartney <[email protected]> Committed: Wed Jun 14 09:42:42 2017 +0100 ---------------------------------------------------------------------- .../ConfigLocationInheritanceYamlTest.java | 5 +- .../command/support/CloudExplorerSupport.java | 8 +- .../jclouds/BasicJcloudsLocationCustomizer.java | 14 +- .../location/jclouds/JcloudsLocation.java | 141 +++++------ .../jclouds/JcloudsLocationCustomizer.java | 18 ++ .../jclouds/LocationCustomizerDelegate.java | 239 +++++++++++++++++++ .../jclouds/BailOutJcloudsLocation.java | 8 +- .../JcloudsSshMachineLocationStubbedTest.java | 87 +++++++ 8 files changed, 421 insertions(+), 99 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/9fb61c13/locations/jclouds/src/main/java/org/apache/brooklyn/location/jclouds/JcloudsLocation.java ----------------------------------------------------------------------
