incubator-brooklyn.git
6 years agoBROOKLYN-212: more improvements 1136/head
Aled Sage [Thu, 14 Jan 2016 10:43:50 +0000 (10:43 +0000)] 
BROOKLYN-212: more improvements

- Resizable.resize: throw InsufficientCapacityException if didn’t
  manage to reach target size, rather than only if didn’t manage to
  increase in size at all.
- DynamicCluster: delete nodes that throw NoMachinesAvailableException,
  rather than putting them in quarantine.
- Fix AutoScalerPolicy’s max-capacity high-water mark, when
  resizeUpStabilizationDelay is used.

6 years agoAutoScaler test: remove unnecessary timeout config
Aled Sage [Mon, 11 Jan 2016 11:39:51 +0000 (11:39 +0000)] 
AutoScaler test: remove unnecessary timeout config

succeedsEventually calls can just use the default timeout (unless it’s
a performance test where it must complete in a faster time!)

6 years agoBROOKLYN-212: AutoScaling doesn’t retry if InsufficientCapacity
Aled Sage [Fri, 8 Jan 2016 21:33:25 +0000 (21:33 +0000)] 
BROOKLYN-212: AutoScaling doesn’t retry if InsufficientCapacity

- Adds Resizable.InsufficientCapacityException, thrown by
  Resizable.resize() if could not grow at all.
- DynamicCluster catches NoMachinesAvailableException, and rethrows
  as InsufficientCapacityException in resize().
- AutoScalerPolicy catches InsufficientCapacityException, and sets
  insufficientCapacityHighWaterMark to record the max size it can get
  to. Does not try again to resize above that, unless the highWaterMark
  is explicitly cleared by reconfiguring that config value.
- Tests:
  - Changes TestCluster to include history of sizes and desiredSizes
  - Changes TestCluster, so can throw InsufficientCapacityException
    when gets to a particular size.
  - Test for DynamicCluster throwing InsufficientCapacityException
  - Test for AutoScalerPolicyMetricTest, to not resize above the failure
    level again.
  - Test for AutoScalerPolicyNoMoreMachinesTest, for when BYON location
    has run out of machines in a DynamicCluster.

6 years agoAsserts: expectedFailureOfType checks caused-by as well
Aled Sage [Fri, 8 Jan 2016 21:27:23 +0000 (21:27 +0000)] 
Asserts: expectedFailureOfType checks caused-by as well

6 years agoThis closes #1115
Alex Heneveld [Wed, 13 Jan 2016 18:05:43 +0000 (18:05 +0000)] 
This closes #1115

6 years agoThis closes #1139
Sam Corbett [Wed, 13 Jan 2016 10:40:59 +0000 (10:40 +0000)] 
This closes #1139

Remove karaf-features auto-generated dependencies.xml

6 years agoThis closes #1137
Sam Corbett [Wed, 13 Jan 2016 10:31:12 +0000 (10:31 +0000)] 
This closes #1137

BROOKLYN-214: fix cancelling of AttributeWhenReady task

6 years agoThis closes #1133
Sam Corbett [Wed, 13 Jan 2016 10:19:22 +0000 (10:19 +0000)] 
This closes #1133

BROOKLYN-213 Fix localhost external IP loader

6 years ago[BROOKLYN-183] Remove dangling file 1139/head
Ciprian Ciubotariu [Tue, 12 Jan 2016 17:46:41 +0000 (19:46 +0200)] 
[BROOKLYN-183] Remove dangling file

The real stuff is karaf/src/feature/feature.xml

6 years ago[BROOKLYN-183] Remove karaf dependencies.xml from git
Ciprian Ciubotariu [Tue, 12 Jan 2016 17:35:51 +0000 (19:35 +0200)] 
[BROOKLYN-183] Remove karaf dependencies.xml from git

The dependencies.xml file can be used to track dependency changes for
karaf features. For this reason it has to be added to the git repository
so such changes can be detected between commits.

However, developers complained about having this file on git, since it
confusingly keeps showing up in commits. Also, at this stage this
tracking is unnecessary.

6 years agoBROOKLYN-214: fix cancelling of AttributeWhenReady task 1137/head
Aled Sage [Tue, 12 Jan 2016 13:24:43 +0000 (13:24 +0000)] 
BROOKLYN-214: fix cancelling of AttributeWhenReady task

6 years agoThis closes #1134
Aled Sage [Fri, 8 Jan 2016 13:59:08 +0000 (13:59 +0000)] 
This closes #1134

6 years agoExpose BrooklynFeatureEnablement.setDefault 1134/head
Sam Corbett [Fri, 8 Jan 2016 12:01:11 +0000 (12:01 +0000)] 
Expose BrooklynFeatureEnablement.setDefault

6 years agoadd LoopOverGroupMembersTestCase & TargetableTestComponent. Should have been in previ... 1115/head
Graeme-Miller [Fri, 8 Jan 2016 11:56:27 +0000 (11:56 +0000)] 
add LoopOverGroupMembersTestCase & TargetableTestComponent. Should have been in previous commit but were excluded due to re-org

6 years agoRemove discontinued IP lookup service - BROOKLYN-213 1133/head
Matt Champion [Fri, 8 Jan 2016 10:58:01 +0000 (10:58 +0000)] 
Remove discontinued IP lookup service - BROOKLYN-213

The IP lookup service http://www.telize.com/ip was discontinued on the 15th of November 2015.

6 years agoFix LocalhostExternalIpLoader blocking - BROOKLYN-213
Matt Champion [Fri, 8 Jan 2016 10:56:16 +0000 (10:56 +0000)] 
Fix LocalhostExternalIpLoader blocking - BROOKLYN-213

Lookups will now block until the first successful resolve attempt or all services have been tried.

6 years agofixes for restructured directory
Graeme-Miller [Thu, 7 Jan 2016 17:01:30 +0000 (17:01 +0000)] 
fixes for restructured directory

6 years agoAdded new components to documentation
Graeme-Miller [Tue, 22 Dec 2015 14:37:05 +0000 (14:37 +0000)] 
Added new components to documentation

6 years agoAdded LoopOverGroupMembersTestCase. Removed some targeting functionality from BaseTes...
Graeme-Miller [Mon, 14 Dec 2015 16:32:38 +0000 (16:32 +0000)] 
Added LoopOverGroupMembersTestCase. Removed some targeting functionality from BaseTest and added it to a new Interface called TargetabeTestComponent
Made TestCase and ParallelTestCase TargetabeTestComponent
InfrastructureDeploymentTestCaseImpl can now deploy multiple specs
TestEffector will now check assertions
InfrastructureDeploymentTestCaseImpl made more resilient

6 years agoThis closes #1120
Aled Sage [Thu, 7 Jan 2016 16:10:27 +0000 (16:10 +0000)] 
This closes #1120

6 years agoThis closes #1129
Sam Corbett [Thu, 7 Jan 2016 15:36:30 +0000 (15:36 +0000)] 
This closes #1129

Fix getRequiredOpenPorts in SameServerDriverLifecycleEffectorTasks

6 years agoThis closes #1126
Sam Corbett [Thu, 7 Jan 2016 10:00:12 +0000 (10:00 +0000)] 
This closes #1126

Fix docs typo

6 years agoFix getRequiredOpenPorts in SameServerDriverLifecycleEffectorTasks 1129/head
Sam Corbett [Wed, 6 Jan 2016 19:32:59 +0000 (19:32 +0000)] 
Fix getRequiredOpenPorts in SameServerDriverLifecycleEffectorTasks

Previously any entity config with a value that TypeCoercions could coerce
to PortRange was included in the list of ports.

6 years agoFix docs typo 1126/head
Svet [Wed, 6 Jan 2016 13:57:17 +0000 (15:57 +0200)] 
Fix docs typo

6 years agoThis closes #1116
Sam Corbett [Tue, 5 Jan 2016 11:15:55 +0000 (11:15 +0000)] 
This closes #1116

"Getting Started" with CLI documentation updates - for review.

6 years agoMerge pull request #2 from aledsage/googlielmo/feature/deferred-supplier-persistence... 1120/head
Guglielmo Nigri [Wed, 30 Dec 2015 18:31:23 +0000 (19:31 +0100)] 
Merge pull request #2 from aledsage/googlielmo/feature/deferred-supplier-persistence-aled

More yaml AttributeWhenReady tests

6 years agoMore yaml AttributeWhenReady tests
Aled Sage [Tue, 29 Dec 2015 23:27:31 +0000 (23:27 +0000)] 
More yaml AttributeWhenReady tests

6 years agoAddress comments
Guglielmo Nigri [Tue, 29 Dec 2015 17:09:08 +0000 (18:09 +0100)] 
Address comments

6 years agoThis closes #1121
Aled Sage [Tue, 29 Dec 2015 16:14:31 +0000 (16:14 +0000)] 
This closes #1121

6 years agoThis closes #1122
Aled Sage [Tue, 29 Dec 2015 15:54:13 +0000 (15:54 +0000)] 
This closes #1122

6 years agoTest AWR value is not leaked in the persistent state
Guglielmo Nigri [Tue, 29 Dec 2015 15:34:26 +0000 (16:34 +0100)] 
Test AWR value is not leaked in the persistent state

- set test-cluster sensor `sensor` e.g. to `foo` and then ensure that
  `foo` is not being written

6 years agoAdd new test for attributeWhenReady in EntitySpec
Guglielmo Nigri [Mon, 28 Dec 2015 15:59:47 +0000 (16:59 +0100)] 
Add new test for attributeWhenReady in EntitySpec

 - tests ATW is persisted correctly while a task is waiting for its value
 - rebase to master

6 years agoAddress comments
Guglielmo Nigri [Tue, 22 Dec 2015 21:38:32 +0000 (22:38 +0100)] 
Address comments

- sanity check on serialized value
- set up test for attributeWhenReady in entity spec (not working ATM see
  FIXME comment)

6 years agoTest correct persistence of attributeWhenReady
Guglielmo Nigri [Tue, 22 Dec 2015 15:43:22 +0000 (16:43 +0100)] 
Test correct persistence of attributeWhenReady

6 years agoUpdate for using a file for complex / multi-line invoke parameter values. 1122/head
lloyddave [Wed, 23 Dec 2015 19:10:17 +0000 (19:10 +0000)] 
Update for using a file for complex / multi-line invoke parameter values.

6 years agoUpdate command to examine policy to be more succinct by using its ID. 1116/head
Geoff Macartney [Wed, 23 Dec 2015 17:55:20 +0000 (17:55 +0000)] 
Update command to examine policy to be more succinct by using its ID.

6 years agoUpdate documentation notes on cluster size.
Geoff Macartney [Wed, 23 Dec 2015 17:52:51 +0000 (17:52 +0000)] 
Update documentation notes on cluster size.

6 years agoSome fixes to quotation style.
Geoff Macartney [Wed, 23 Dec 2015 17:26:44 +0000 (17:26 +0000)] 
Some fixes to quotation style.

6 years agoUpdated to remove catalog related remarks.
Geoff Macartney [Wed, 23 Dec 2015 17:13:24 +0000 (17:13 +0000)] 
Updated to remove catalog related remarks.

Maybe restore this when we update the catalog pages with the new registry commands.

6 years agoFix `VaultAppIdExternalConfigSupplier` dynamic constructor 1121/head
Valentin Aitken [Wed, 23 Dec 2015 16:58:46 +0000 (18:58 +0200)] 
Fix `VaultAppIdExternalConfigSupplier` dynamic constructor

6 years agoRemoving previous "Getting Started" pages.
Geoff Macartney [Wed, 23 Dec 2015 15:18:21 +0000 (15:18 +0000)] 
Removing previous "Getting Started" pages.

6 years agoUpdates following Scott's comments.
Geoff Macartney [Tue, 22 Dec 2015 23:11:03 +0000 (23:11 +0000)] 
Updates following Scott's comments.

6 years agoPolicy updates.
Geoff Macartney [Thu, 17 Dec 2015 17:27:12 +0000 (17:27 +0000)] 
Policy updates.

6 years agoUpdated blueprint-cli and managing-cli.
Geoff Macartney [Thu, 17 Dec 2015 16:44:31 +0000 (16:44 +0000)] 
Updated blueprint-cli and managing-cli.

6 years agoInitial copy of cli docs.
Geoff Macartney [Thu, 17 Dec 2015 12:11:06 +0000 (12:11 +0000)] 
Initial copy of cli docs.

6 years agomove cli docs from #1118 to reorg structure
Alex Heneveld [Wed, 23 Dec 2015 11:04:53 +0000 (11:04 +0000)] 
move cli docs from #1118 to reorg structure

6 years agoThis closes #1118
Alex Heneveld [Wed, 23 Dec 2015 11:01:46 +0000 (11:01 +0000)] 
This closes #1118

6 years agoThis closes #1119
Alex Heneveld [Wed, 23 Dec 2015 11:01:16 +0000 (11:01 +0000)] 
This closes #1119

6 years ago[DIST] fix url in readme 1119/head
Alex Heneveld [Tue, 22 Dec 2015 18:05:43 +0000 (18:05 +0000)] 
[DIST] fix url in readme

6 years ago[ALL] keep version properties in one place
Alex Heneveld [Tue, 22 Dec 2015 16:08:20 +0000 (16:08 +0000)] 
[ALL] keep version properties in one place

in server/pom.xml (inherited by parent) for most things, but library/pom.xml for software

6 years ago[DIST] put a minimal README in the dist (instead of the "historical repo" readme!)
Alex Heneveld [Tue, 22 Dec 2015 15:34:47 +0000 (15:34 +0000)] 
[DIST]  put a minimal README in the dist (instead of the "historical repo" readme!)

6 years ago[JCLOUDS] fix unit test so it uses empty context and runs much faster
Alex Heneveld [Tue, 22 Dec 2015 13:41:42 +0000 (13:41 +0000)] 
[JCLOUDS] fix unit test so it uses empty context and runs much faster

6 years ago[ALL] comment about relativePath in pom
Alex Heneveld [Tue, 22 Dec 2015 12:38:38 +0000 (12:38 +0000)] 
[ALL] comment about relativePath in pom

and prevent root from misbehaving if their is a pom in its parent dir

6 years ago[SERVER] fix load of JS UI in BrooklynJavascriptGuiLauncher
Alex Heneveld [Tue, 22 Dec 2015 12:32:51 +0000 (12:32 +0000)] 
[SERVER] fix load of JS UI in BrooklynJavascriptGuiLauncher

6 years ago[ALL] pom hints for eclipse to exclude certain maven build steps
Alex Heneveld [Tue, 22 Dec 2015 12:32:13 +0000 (12:32 +0000)] 
[ALL]  pom hints for eclipse to exclude certain maven build steps

prevents errors when opening project in eclipse

6 years agoAdd CLI documentation to the Operations Guide 1118/head
lloyddave [Tue, 22 Dec 2015 11:01:01 +0000 (11:01 +0000)] 
Add CLI documentation to the Operations Guide

941b427: Includes CLI Reference Guide and Usage Guide
c6daba9: Provide info and links between Server CLI and Client CLI docs
dfc6799: Updates for typo errors

6 years ago[SPLITPREP] apply version reversion in missed places, and add BROOKLY_VERSION label...
Alex Heneveld [Mon, 21 Dec 2015 12:29:32 +0000 (12:29 +0000)] 
[SPLITPREP] apply version reversion in missed places, and add BROOKLY_VERSION label for script to work in future

6 years ago[SPLITPREP] revert version to 0.9.0-SNAPSHOT
Alex Heneveld [Mon, 21 Dec 2015 12:25:50 +0000 (12:25 +0000)] 
[SPLITPREP] revert version to 0.9.0-SNAPSHOT

6 years ago[DIST] reparent the downstream project so it doesn't get rat check, plus comments
Alex Heneveld [Mon, 21 Dec 2015 11:18:03 +0000 (11:18 +0000)] 
[DIST] reparent the downstream project so it doesn't get rat check, plus comments

6 years ago[DIST] revert parent updates and move archetype to last built module (currently faili...
John McCabe [Sat, 19 Dec 2015 19:21:19 +0000 (19:21 +0000)] 
[DIST] revert parent updates and move archetype to last built module (currently failing Rat)

6 years ago[LIBRARY] move camp webapp related tests from software-webapp to qa module
John McCabe [Sat, 19 Dec 2015 19:17:26 +0000 (19:17 +0000)] 
[LIBRARY] move camp webapp related tests from software-webapp to qa module
adding them to software-webapp had introduced a dependency on software-database

6 years ago[LIBRARY] add database dependency for camp tests
John McCabe [Sat, 19 Dec 2015 16:34:58 +0000 (16:34 +0000)] 
[LIBRARY] add database dependency for camp tests

6 years ago[SERVER] use catalog entities from software-base in rest-server tests
John McCabe [Sat, 19 Dec 2015 13:48:21 +0000 (13:48 +0000)] 
[SERVER] use catalog entities from software-base in rest-server tests
removes dependency on software-library submodule repo

6 years ago[UI] fix jasmine tests
John McCabe [Sat, 19 Dec 2015 12:13:56 +0000 (12:13 +0000)] 
[UI] fix jasmine tests
copies rest-api fixtures from brooklyn-server submodule repo

6 years ago[SERVER] [LIBRARY] fix/move rest-server and camp-brooklyn tests
John McCabe [Sat, 19 Dec 2015 03:46:28 +0000 (03:46 +0000)] 
[SERVER] [LIBRARY] fix/move rest-server and camp-brooklyn tests
*note* this includes an update to VersionResourceTest.java to disable the version test, due to the use of the dummy 0.9.SPLITWIP-SNAPSHOT version and must be reverted before merging

6 years ago[ALL] update README file in each repo to be appropriate to that repo, with building...
Alex Heneveld [Fri, 18 Dec 2015 22:57:12 +0000 (22:57 +0000)] 
[ALL]  update README file in each repo to be appropriate to that repo, with building instructions

6 years ago[UBER] add pom in brooklyn uber project subdir to build everything
Alex Heneveld [Fri, 18 Dec 2015 22:37:01 +0000 (22:37 +0000)] 
[UBER]  add pom in brooklyn uber project subdir to build everything

it's the same as the pom in the root, but referring to ../ for submodules

6 years ago[SERVER] fix rat violations
Alex Heneveld [Fri, 18 Dec 2015 22:33:34 +0000 (22:33 +0000)] 
[SERVER]  fix rat violations

one in the proxy ssl config replacement test file,
the other in README.md (but curiously only for library, not for server/README.md)

6 years ago[SERVER] updated BrooklynJavascriptGuiLauncherTest to use a non brooklyn-library...
John McCabe [Thu, 17 Dec 2015 23:20:24 +0000 (23:20 +0000)] 
[SERVER] updated BrooklynJavascriptGuiLauncherTest to use a non brooklyn-library test entity

6 years ago[SERVER] [LIBRARY] [DIST] multiple pom updates to pull brooklyn-parent via relative...
John McCabe [Thu, 17 Dec 2015 18:14:41 +0000 (18:14 +0000)] 
[SERVER] [LIBRARY] [DIST] multiple pom updates to pull brooklyn-parent via relative path to brooklyn-server repo, added dist and a root pom to build the all modules that are built in the pre-split incubator-brooklyn repo

Conflicts:
pom.xml - versions removed in root, hazelcast version updated in PR's; new version applied to server/library poms

6 years ago[SERVER] [UI] moved BrooklynJavascriptGuiLauncher from ui to server repo, relative...
John McCabe [Thu, 17 Dec 2015 18:06:47 +0000 (18:06 +0000)] 
[SERVER] [UI] moved BrooklynJavascriptGuiLauncher from ui to server repo, relative paths updated, tested in both IntelliJ and Eclipse

6 years ago[LIBRARY] switch back to using brooklyn-parent
John McCabe [Wed, 16 Dec 2015 22:17:50 +0000 (22:17 +0000)] 
[LIBRARY] switch back to using brooklyn-parent

6 years ago[SERVER] minor fixes to existing poms
John McCabe [Wed, 16 Dec 2015 22:16:20 +0000 (22:16 +0000)] 
[SERVER] minor fixes to existing poms

6 years ago[SERVER] [LIBRARY] moved missing resources and fixed CAMP tests moved in 7007c65
John McCabe [Wed, 16 Dec 2015 20:40:59 +0000 (20:40 +0000)] 
[SERVER] [LIBRARY] moved missing resources and fixed CAMP tests moved in 7007c65

6 years ago[SERVER] [UNDO HACK] readded test deps after fixing/moving tests - undoes commit...
John McCabe [Wed, 16 Dec 2015 20:03:05 +0000 (20:03 +0000)] 
[SERVER] [UNDO HACK] readded test deps after fixing/moving tests - undoes commit 906ad0c

6 years ago[SERVER] replaced ProxySslConfig with a dummy POJO
John McCabe [Wed, 16 Dec 2015 19:51:08 +0000 (19:51 +0000)] 
[SERVER] replaced ProxySslConfig with a dummy POJO

6 years ago[SERVER] [LIBRARY] moved webapp related CAMP tests to brooklyn-library
John McCabe [Wed, 16 Dec 2015 19:44:07 +0000 (19:44 +0000)] 
[SERVER] [LIBRARY] moved webapp related CAMP tests to brooklyn-library

6 years ago[LIBRARY] added root brooklyn-library pom (dumb copy of incubator-brooklyn root and...
John McCabe [Wed, 16 Dec 2015 18:10:47 +0000 (18:10 +0000)] 
[LIBRARY] added root brooklyn-library pom (dumb copy of incubator-brooklyn root and parent), updated submodule poms. This currently builds successfully after brooklyn-server

6 years ago[LIBRARY] removed brooklyn-dist depdency
John McCabe [Wed, 16 Dec 2015 18:08:00 +0000 (18:08 +0000)] 
[LIBRARY] removed brooklyn-dist depdency

Conflicts:
brooklyn-library/qa/pom.xml -- added rat exclude for README in downstream

6 years ago[SERVER] [HACK] commented out dependencies on test jars to allow use of -Dmaven.test...
John McCabe [Wed, 16 Dec 2015 14:26:18 +0000 (14:26 +0000)] 
[SERVER] [HACK] commented out dependencies on test jars to allow use of -Dmaven.test.skip=true, even though tests are being skipped the test jars are considered during buildplan creation which causes the build to fail. At this point in the repo-fix some tests fail to compile so we need to exclude them, they will be fixed for the split, *but* it should be possible to build Brooklyn without test jars having been generated imho.

6 years ago[SERVER] delete dependencies on software-* jars from brooklyn-library repo
John McCabe [Wed, 16 Dec 2015 14:17:22 +0000 (14:17 +0000)] 
[SERVER] delete dependencies on software-* jars from brooklyn-library repo

6 years ago[SERVER] omit jsgui feature from launcher build (no code update)
John McCabe [Wed, 16 Dec 2015 14:12:59 +0000 (14:12 +0000)] 
[SERVER] omit jsgui feature from launcher build (no code update)

6 years ago[SERVER] omit jsgui feature from karaf
John McCabe [Wed, 16 Dec 2015 14:10:02 +0000 (14:10 +0000)] 
[SERVER] omit jsgui feature from karaf

6 years ago[SERVER] simple pom.xml updates post-reorg
John McCabe [Wed, 16 Dec 2015 14:08:16 +0000 (14:08 +0000)] 
[SERVER] simple pom.xml updates post-reorg

6 years ago[SPLITPREP] brookly version 0.9.SPLITWIP-SNAPSHOT for test purposes
John McCabe [Wed, 16 Dec 2015 12:00:20 +0000 (12:00 +0000)] 
[SPLITPREP] brookly version 0.9.SPLITWIP-SNAPSHOT  for test purposes

6 years ago[LIBRARY] fix GeoDns test
Alex Heneveld [Mon, 21 Dec 2015 13:36:45 +0000 (13:36 +0000)] 
[LIBRARY] fix GeoDns test

6 years ago[SPLITPREP] move more PR items to the right place
Alex Heneveld [Mon, 21 Dec 2015 12:37:58 +0000 (12:37 +0000)] 
[SPLITPREP] move more PR items to the right place

6 years agoMerge commit 'e430723' into reorg2
Alex Heneveld [Mon, 21 Dec 2015 12:09:30 +0000 (12:09 +0000)] 
Merge commit 'e430723' into reorg2

Newer PR's moved to the right place.

Conflicts:
brooklyn-library/sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastCluster.java
brooklyn-library/sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastClusterImpl.java
brooklyn-library/sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNode.java
brooklyn-library/sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNodeDriver.java
brooklyn-library/sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNodeImpl.java
brooklyn-library/sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNodeSshDriver.java
brooklyn-library/sandbox/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/hazelcast/hazelcast-brooklyn.xml
brooklyn-library/sandbox/nosql/src/test/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastClusterEc2LiveTest.java
brooklyn-library/sandbox/nosql/src/test/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastClusterSoftlayerLiveTest.java
sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastCluster.java
sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastClusterImpl.java
sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNode.java
sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNodeDriver.java
sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNodeImpl.java
sandbox/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNodeSshDriver.java
sandbox/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/hazelcast/hazelcast-brooklyn.xml
sandbox/nosql/src/test/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastClusterEc2LiveTest.java
sandbox/nosql/src/test/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastClusterSoftlayerLiveTest.java
software/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastCluster.java
software/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastClusterImpl.java
software/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNode.java
software/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNodeDriver.java
software/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNodeImpl.java
software/nosql/src/main/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastNodeSshDriver.java
software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/hazelcast/hazelcast-brooklyn.xml
software/nosql/src/test/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastClusterSoftlayerLiveTest.java
software/nosql/src/test/java/org/apache/brooklyn/entity/nosql/hazelcast/HazelcastTestHelper.java

6 years agoThis closes #1073
Alex Heneveld [Mon, 21 Dec 2015 11:49:06 +0000 (11:49 +0000)] 
This closes #1073

Conflicts:
core/src/main/java/org/apache/brooklyn/core/typereg/BasicBrooklynTypeRegistry.java -- imports only

6 years agoThis closes #1114
Alex Heneveld [Mon, 21 Dec 2015 11:43:09 +0000 (11:43 +0000)] 
This closes #1114

6 years agotidy-up following review of #1117, thx @iyovcheva
Alex Heneveld [Mon, 21 Dec 2015 11:40:58 +0000 (11:40 +0000)] 
tidy-up following review of #1117, thx @iyovcheva

6 years agoThis closes #1117
Alex Heneveld [Mon, 21 Dec 2015 11:39:37 +0000 (11:39 +0000)] 
This closes #1117

6 years agoFix jclouds machine subnetHostname 1117/head
Aled Sage [Sat, 19 Dec 2015 20:00:04 +0000 (20:00 +0000)] 
Fix jclouds machine subnetHostname

- Fix JcloudsSshMachineLocation.getHostname(): delegate to
  jcloudLocation.getPublicHostname()
- Fix JcloudsSshMachineLocation.getSubnetHostname(): delegate to
  jcloudsLocatoin.getPrivateHostname()
- Persist JcloudsSshMachineLocation.privateHostname
- Adds SshMachineLocation.tryGetPrivateKeyData()
  (extracted from SshMachineLocation.findKeyPair())

Without this fix, single-node Cassandra fails:
* In AWS it got the public IP for the seed (which could not be reached
  from the VM itself).
* In vcloud-director it got the VM’s hostname (which is a random badly
  confirmed name that is not reachable from the VM itself)

6 years agoMachineEntity.exec: better NPE if no driver
Aled Sage [Sat, 19 Dec 2015 19:51:15 +0000 (19:51 +0000)] 
MachineEntity.exec: better NPE if no driver

6 years agoUse Sanitiser.sanitize when logging
Aled Sage [Sat, 19 Dec 2015 19:50:41 +0000 (19:50 +0000)] 
Use Sanitiser.sanitize when logging

6 years agomisc tidy 1073/head
Alex Heneveld [Thu, 17 Dec 2015 14:22:41 +0000 (14:22 +0000)] 
misc tidy

6 years agoresolve the curious Maybe.Present(null) making use of new Absent.isNull()
Alex Heneveld [Thu, 17 Dec 2015 13:59:48 +0000 (13:59 +0000)] 
resolve the curious Maybe.Present(null) making use of new Absent.isNull()

6 years agosupport isNull on Maybe, including an "absent because null" semantics.
Alex Heneveld [Thu, 17 Dec 2015 13:44:07 +0000 (13:44 +0000)] 
support isNull on Maybe, including an "absent because null" semantics.
simplifies api usage when contexts handle null differently, but a present null is confusing.

6 years agoclean-up of type registry work following PR comments; all addressed apart from weird...
Alex Heneveld [Thu, 10 Dec 2015 14:17:31 +0000 (14:17 +0000)] 
clean-up of type registry work following PR comments; all addressed apart from weird validate semantics

6 years agoThis closes #1110
Aled Sage [Thu, 17 Dec 2015 13:04:15 +0000 (13:04 +0000)] 
This closes #1110