incubator-brooklyn.git
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 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

6 years agoFix concurrent use of entity.setAttribute() 1110/head
Aled Sage [Tue, 15 Dec 2015 21:41:29 +0000 (21:41 +0000)] 
Fix concurrent use of entity.setAttribute()

Previously we were using a vanilla LinkedHashMap for storing attributes
(ever since the FEATURE_USE_BROOKLYN_LIVE_OBJECTS_DATAGRID_STORAGE
was disabled by default!)

Now uses ConcurrentMap, or for some other things a synchronised set
so that we preserve order with the underlying LinkedHashSet.

Adds EntityConcurrencyTest for concurrently:
- setting attributes
- setting config
- adding tags
- adding groups
- adding children
- adding locations
- adding policies
- adding enrichers
- adding feeds

6 years agoThis closes #1112
Aled Sage [Thu, 17 Dec 2015 12:54:11 +0000 (12:54 +0000)] 
This closes #1112

6 years agoBrooklynProperties handles externalised config 1112/head
Aled Sage [Wed, 16 Dec 2015 20:44:44 +0000 (20:44 +0000)] 
BrooklynProperties handles externalised config

- Adds DeferredBrooklynProperties
- Adds tests (ExternalConfigBrooklynPropertiesTest)

6 years agotype registry: adds validation, best version support, aliases, tags
Alex Heneveld [Thu, 26 Nov 2015 10:04:02 +0000 (10:04 +0000)] 
type registry: adds validation, best version support, aliases, tags

and a simple registry with lookup tests

6 years agointroduce VersionComparator and use it where appropriate
Alex Heneveld [Thu, 26 Nov 2015 08:45:19 +0000 (08:45 +0000)] 
introduce VersionComparator and use it where appropriate

in prep for RegisteredType best version support

6 years agoThis closes #1096
Alex Heneveld [Thu, 17 Dec 2015 12:32:05 +0000 (12:32 +0000)] 
This closes #1096

6 years agoTest loading downstream-project into catalogue 1114/head
Sam Corbett [Thu, 17 Dec 2015 12:26:20 +0000 (12:26 +0000)] 
Test loading downstream-project into catalogue

Acceptance test that auto-checks whether projects using
downstream-parent will work when loaded from bundle libraries rather
than the classpath.

6 years agodownstream-parent excludes a number of non-OSGi packages
Sam Corbett [Wed, 16 Dec 2015 14:38:56 +0000 (14:38 +0000)] 
downstream-parent excludes a number of non-OSGi packages

All of them can break catalogue loading.

6 years agodownstream-parent does not set Export-Package
Sam Corbett [Wed, 16 Dec 2015 14:38:11 +0000 (14:38 +0000)] 
downstream-parent does not set Export-Package

There's no need for a downstream project to automatically export
brooklyn.* and org.apache.brooklyn.* and it causes a number of issues
when loading bundles into catalogues.

6 years agoForbid all imports from com.google.api.client
Sam Corbett [Wed, 16 Dec 2015 11:27:24 +0000 (11:27 +0000)] 
Forbid all imports from com.google.api.client

Rather than com.google.api.client.repackaged.

6 years agoThis closes #1082
Alex Heneveld [Thu, 17 Dec 2015 12:12:59 +0000 (12:12 +0000)] 
This closes #1082

6 years agotidy of dependent configuration methods
Alex Heneveld [Thu, 17 Dec 2015 12:08:17 +0000 (12:08 +0000)] 
tidy of dependent configuration methods

6 years agoThis closes #1090
Alex Heneveld [Thu, 17 Dec 2015 12:03:36 +0000 (12:03 +0000)] 
This closes #1090

6 years agoadd log message to #1104
Alex Heneveld [Thu, 17 Dec 2015 12:01:37 +0000 (12:01 +0000)] 
add log message to #1104

6 years agoThis closes #1104
Alex Heneveld [Thu, 17 Dec 2015 12:00:22 +0000 (12:00 +0000)] 
This closes #1104

6 years agoMerge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-brooklyn
Alex Heneveld [Thu, 17 Dec 2015 11:59:35 +0000 (11:59 +0000)] 
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/incubator-brooklyn