This closes #264
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/f8eb654c Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/f8eb654c Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/f8eb654c Branch: refs/heads/master Commit: f8eb654c79e94437a363e82b1da6938933b9569a Parents: 284f110 213fc5e Author: Aled Sage <aled.s...@gmail.com> Authored: Wed Jul 20 18:19:41 2016 +0100 Committer: Aled Sage <aled.s...@gmail.com> Committed: Wed Jul 20 18:19:41 2016 +0100 ---------------------------------------------------------------------- .../rebind/mementos/BrooklynMementoRawData.java | 13 + .../DeleteOrphanedLocationsTransformer.java | 125 ---------- .../impl/DeleteOrphanedStateTransformer.java | 203 +++++++++++++++ .../brooklyn/util/core/xstream/XmlUtil.java | 10 +- .../brooklyn/util/core/xstream/XmlUtilTest.java | 29 +++ .../brooklyn/launcher/common/BasicLauncher.java | 7 +- launcher/pom.xml | 9 + ...stractBrooklynLauncherRebindTestFixture.java | 155 ++++++++++++ .../AbstractCleanOrphanedStateTest.java | 179 +++++++++++++ .../BrooklynLauncherCleanStateTest.java | 112 +++++++++ .../BrooklynLauncherRebindTestFixture.java | 114 +-------- .../launcher/CleanOrphanedAdjunctsTest.java | 76 ++++++ .../CleanOrphanedLocationsIntegrationTest.java | 248 +++++++++++++++++++ .../launcher/CleanOrphanedLocationsTest.java | 219 ++++++++++++++++ .../emptyDirKeeper | 0 .../entities/xk1z8wlgx2 | 34 +++ .../entities/yudk65cb3j | 22 ++ .../locations/banby1jx4j | 20 ++ .../locations/msyp655po0 | 18 ++ .../locations/ppamsemxgo | 11 + .../locations/pudtixbw89 | 11 + .../locations/tjdywoxbji | 18 ++ .../entities/xk1z8wlgx2 | 34 +++ .../entities/yudk65cb3j | 22 ++ .../locations/pudtixbw89 | 11 + .../locations/tjdywoxbji | 18 ++ .../entities/exq3hn5eug | 19 ++ .../entities/ntvotn3iwc | 18 ++ .../locations/jf4rwubqyb | 7 + .../locations/m72nvkl799 | 10 + .../locations/pski1c4s14 | 7 + .../main/java/org/apache/brooklyn/cli/Main.java | 77 ++++++ 32 files changed, 1619 insertions(+), 237 deletions(-) ----------------------------------------------------------------------