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.
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!)
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.
Aled Sage [Fri, 8 Jan 2016 21:27:23 +0000 (21:27 +0000)]
Asserts: expectedFailureOfType checks caused-by as well
Alex Heneveld [Wed, 13 Jan 2016 18:05:43 +0000 (18:05 +0000)]
This closes #1115
Sam Corbett [Wed, 13 Jan 2016 10:40:59 +0000 (10:40 +0000)]
This closes #1139
Remove karaf-features auto-generated dependencies.xml
Sam Corbett [Wed, 13 Jan 2016 10:31:12 +0000 (10:31 +0000)]
This closes #1137
BROOKLYN-214: fix cancelling of AttributeWhenReady task
Sam Corbett [Wed, 13 Jan 2016 10:19:22 +0000 (10:19 +0000)]
This closes #1133
BROOKLYN-213 Fix localhost external IP loader
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
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.
Aled Sage [Tue, 12 Jan 2016 13:24:43 +0000 (13:24 +0000)]
BROOKLYN-214: fix cancelling of AttributeWhenReady task
Aled Sage [Fri, 8 Jan 2016 13:59:08 +0000 (13:59 +0000)]
This closes #1134
Sam Corbett [Fri, 8 Jan 2016 12:01:11 +0000 (12:01 +0000)]
Expose BrooklynFeatureEnablement.setDefault
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
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.
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.
Graeme-Miller [Thu, 7 Jan 2016 17:01:30 +0000 (17:01 +0000)]
fixes for restructured directory
Graeme-Miller [Tue, 22 Dec 2015 14:37:05 +0000 (14:37 +0000)]
Added new components to documentation
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
Aled Sage [Thu, 7 Jan 2016 16:10:27 +0000 (16:10 +0000)]
This closes #1120
Sam Corbett [Thu, 7 Jan 2016 15:36:30 +0000 (15:36 +0000)]
This closes #1129
Fix getRequiredOpenPorts in SameServerDriverLifecycleEffectorTasks
Sam Corbett [Thu, 7 Jan 2016 10:00:12 +0000 (10:00 +0000)]
This closes #1126
Fix docs typo
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.
Svet [Wed, 6 Jan 2016 13:57:17 +0000 (15:57 +0200)]
Fix docs typo
Sam Corbett [Tue, 5 Jan 2016 11:15:55 +0000 (11:15 +0000)]
This closes #1116
"Getting Started" with CLI documentation updates - for review.
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
Aled Sage [Tue, 29 Dec 2015 23:27:31 +0000 (23:27 +0000)]
More yaml AttributeWhenReady tests
Guglielmo Nigri [Tue, 29 Dec 2015 17:09:08 +0000 (18:09 +0100)]
Address comments
Aled Sage [Tue, 29 Dec 2015 16:14:31 +0000 (16:14 +0000)]
This closes #1121
Aled Sage [Tue, 29 Dec 2015 15:54:13 +0000 (15:54 +0000)]
This closes #1122
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
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
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)
Guglielmo Nigri [Tue, 22 Dec 2015 15:43:22 +0000 (16:43 +0100)]
Test correct persistence of attributeWhenReady
lloyddave [Wed, 23 Dec 2015 19:10:17 +0000 (19:10 +0000)]
Update for using a file for complex / multi-line invoke parameter values.
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.
Geoff Macartney [Wed, 23 Dec 2015 17:52:51 +0000 (17:52 +0000)]
Update documentation notes on cluster size.
Geoff Macartney [Wed, 23 Dec 2015 17:26:44 +0000 (17:26 +0000)]
Some fixes to quotation style.
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.
Valentin Aitken [Wed, 23 Dec 2015 16:58:46 +0000 (18:58 +0200)]
Fix `VaultAppIdExternalConfigSupplier` dynamic constructor
Geoff Macartney [Wed, 23 Dec 2015 15:18:21 +0000 (15:18 +0000)]
Removing previous "Getting Started" pages.
Geoff Macartney [Tue, 22 Dec 2015 23:11:03 +0000 (23:11 +0000)]
Updates following Scott's comments.
Geoff Macartney [Thu, 17 Dec 2015 17:27:12 +0000 (17:27 +0000)]
Policy updates.
Geoff Macartney [Thu, 17 Dec 2015 16:44:31 +0000 (16:44 +0000)]
Updated blueprint-cli and managing-cli.
Geoff Macartney [Thu, 17 Dec 2015 12:11:06 +0000 (12:11 +0000)]
Initial copy of cli docs.
Alex Heneveld [Wed, 23 Dec 2015 11:04:53 +0000 (11:04 +0000)]
move cli docs from #1118 to reorg structure
Alex Heneveld [Wed, 23 Dec 2015 11:01:46 +0000 (11:01 +0000)]
This closes #1118
Alex Heneveld [Wed, 23 Dec 2015 11:01:16 +0000 (11:01 +0000)]
This closes #1119
Alex Heneveld [Tue, 22 Dec 2015 18:05:43 +0000 (18:05 +0000)]
[DIST] fix url in readme
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
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!)
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
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
Alex Heneveld [Tue, 22 Dec 2015 12:32:51 +0000 (12:32 +0000)]
[SERVER] fix load of JS UI in BrooklynJavascriptGuiLauncher
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
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
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
Alex Heneveld [Mon, 21 Dec 2015 12:25:50 +0000 (12:25 +0000)]
[SPLITPREP] revert version to 0.9.0-SNAPSHOT
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
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)
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
John McCabe [Sat, 19 Dec 2015 16:34:58 +0000 (16:34 +0000)]
[LIBRARY] add database dependency for camp 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
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
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
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
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
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)
John McCabe [Thu, 17 Dec 2015 23:20:24 +0000 (23:20 +0000)]
[SERVER] updated BrooklynJavascriptGuiLauncherTest to use a non brooklyn-library test entity
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
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
John McCabe [Wed, 16 Dec 2015 22:17:50 +0000 (22:17 +0000)]
[LIBRARY] switch back to using brooklyn-parent
John McCabe [Wed, 16 Dec 2015 22:16:20 +0000 (22:16 +0000)]
[SERVER] minor fixes to existing poms
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
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
John McCabe [Wed, 16 Dec 2015 19:51:08 +0000 (19:51 +0000)]
[SERVER] replaced ProxySslConfig with a dummy POJO
John McCabe [Wed, 16 Dec 2015 19:44:07 +0000 (19:44 +0000)]
[SERVER] [LIBRARY] moved webapp related CAMP tests to brooklyn-library
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
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
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.
John McCabe [Wed, 16 Dec 2015 14:17:22 +0000 (14:17 +0000)]
[SERVER] delete dependencies on software-* jars from brooklyn-library repo
John McCabe [Wed, 16 Dec 2015 14:12:59 +0000 (14:12 +0000)]
[SERVER] omit jsgui feature from launcher build (no code update)
John McCabe [Wed, 16 Dec 2015 14:10:02 +0000 (14:10 +0000)]
[SERVER] omit jsgui feature from karaf
John McCabe [Wed, 16 Dec 2015 14:08:16 +0000 (14:08 +0000)]
[SERVER] simple pom.xml updates post-reorg
John McCabe [Wed, 16 Dec 2015 12:00:20 +0000 (12:00 +0000)]
[SPLITPREP] brookly version 0.9.SPLITWIP-SNAPSHOT for test purposes
Alex Heneveld [Mon, 21 Dec 2015 13:36:45 +0000 (13:36 +0000)]
[LIBRARY] fix GeoDns test
Alex Heneveld [Mon, 21 Dec 2015 12:37:58 +0000 (12:37 +0000)]
[SPLITPREP] move more PR items to the right place
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
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
Alex Heneveld [Mon, 21 Dec 2015 11:43:09 +0000 (11:43 +0000)]
This closes #1114
Alex Heneveld [Mon, 21 Dec 2015 11:40:58 +0000 (11:40 +0000)]
tidy-up following review of #1117, thx @iyovcheva
Alex Heneveld [Mon, 21 Dec 2015 11:39:37 +0000 (11:39 +0000)]
This closes #1117
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)
Aled Sage [Sat, 19 Dec 2015 19:51:15 +0000 (19:51 +0000)]
MachineEntity.exec: better NPE if no driver
Aled Sage [Sat, 19 Dec 2015 19:50:41 +0000 (19:50 +0000)]
Use Sanitiser.sanitize when logging
Alex Heneveld [Thu, 17 Dec 2015 14:22:41 +0000 (14:22 +0000)]
misc tidy
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()
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.
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
Aled Sage [Thu, 17 Dec 2015 13:04:15 +0000 (13:04 +0000)]
This closes #1110