You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by sv...@apache.org on 2017/02/03 17:18:34 UTC

[3/3] brooklyn-server git commit: Closes #543

Closes #543

Remove uses of EntityLocal

Deletes usage of the deprecated `EntityLocal` (folk should just use `Entity` wherever possible, as it's a lot simpler to explain/understand!).

This is careful to not change the signature of any interfaces or methods that folk might be overriding. It does change some static utility methods though, to take `Entity` instead of `EntityLocal` as a param, because that is safe.


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-server/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-server/commit/68a07aa1
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-server/tree/68a07aa1
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-server/diff/68a07aa1

Branch: refs/heads/master
Commit: 68a07aa10a3678b850eaf846cedcccb68961aeb7
Parents: 5ce7ba6 bda9e83
Author: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Authored: Fri Feb 3 19:18:13 2017 +0200
Committer: Svetoslav Neykov <sv...@cloudsoftcorp.com>
Committed: Fri Feb 3 19:18:13 2017 +0200

----------------------------------------------------------------------
 .../brooklyn/core/effector/Effectors.java       |  3 +-
 .../brooklyn/core/entity/AbstractEntity.java    |  2 +-
 .../core/entity/EntityAndAttribute.java         |  3 +-
 .../brooklyn/core/entity/EntityFunctions.java   |  5 +--
 .../entity/lifecycle/ServiceStateLogic.java     | 42 ++++++++++----------
 .../core/entity/trait/StartableMethods.java     |  7 ++--
 .../apache/brooklyn/core/feed/AbstractFeed.java |  7 ++--
 .../core/feed/AttributePollHandler.java         |  6 +--
 .../brooklyn/core/feed/ConfigToAttributes.java  |  6 +--
 .../org/apache/brooklyn/core/feed/Poller.java   |  8 ++--
 .../brooklyn/core/sensor/AttributeMap.java      |  4 +-
 .../sensor/AttributeSensorAndConfigKey.java     |  4 +-
 .../core/sensor/DependentConfiguration.java     |  3 +-
 .../stock/AbstractAggregatingEnricher.java      |  2 +-
 .../entity/group/AbstractGroupImpl.java         |  9 ++---
 .../entity/group/DynamicFabricImpl.java         |  5 +--
 .../brooklyn/feed/function/FunctionFeed.java    |  9 +++--
 .../org/apache/brooklyn/feed/http/HttpFeed.java |  7 ++--
 .../apache/brooklyn/feed/shell/ShellFeed.java   |  7 ++--
 .../org/apache/brooklyn/feed/ssh/SshFeed.java   |  7 ++--
 .../core/entity/hello/LocalEntitiesTest.java    |  7 ++--
 ...DynamicClusterWithAvailabilityZonesTest.java | 15 ++++---
 .../policy/jclouds/os/CreateUserPolicy.java     |  2 +-
 .../AbstractFollowTheSunPolicyTest.java         |  3 +-
 .../FollowTheSunPolicySoakTest.java             |  3 +-
 .../LoadBalancingPolicyConcurrencyTest.java     |  3 +-
 .../LoadBalancingPolicySoakTest.java            |  3 +-
 .../brooklyn/rest/resources/EntityResource.java |  8 ++--
 .../brooklyn/entity/chef/ChefAttributeFeed.java | 15 +++----
 .../brooklyn/entity/java/JavaAppUtils.java      | 29 +++++++-------
 .../apache/brooklyn/entity/java/JmxSupport.java |  9 ++---
 .../entity/machine/AddMachineMetrics.java       |  5 ++-
 .../org/apache/brooklyn/feed/jmx/JmxFeed.java   |  7 ++--
 .../org/apache/brooklyn/feed/jmx/JmxHelper.java | 10 ++---
 .../dynamic/clocker/StubHostLocation.java       |  1 -
 .../BrooklynNodeIntegrationTest.java            |  3 +-
 .../entity/brooklynnode/BrooklynNodeTest.java   |  3 +-
 .../brooklynnode/SelectMasterEffectorTest.java  |  5 +--
 .../entity/java/VanillaJavaAppTest.java         | 13 +++---
 .../base/SoftwareProcessEntityRebindTest.java   |  4 +-
 .../MachineLifecycleEffectorTasksTest.java      |  3 +-
 ...rWithAvailabilityZonesMultiLocationTest.java |  3 +-
 .../PortAttributeSensorAndConfigKeyTest.java    |  4 +-
 .../windows/WindowsPerformanceCounterFeed.java  | 14 +++----
 .../winrm/AdvertiseWinrmLoginPolicy.java        |  2 +-
 45 files changed, 152 insertions(+), 168 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/68a07aa1/core/src/main/java/org/apache/brooklyn/entity/group/DynamicFabricImpl.java
----------------------------------------------------------------------