This is an automated email from the ASF dual-hosted git repository.
jnioche pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git
from f1a792830 [STORM-3901] Upgrade Kryo to version 5.4.0 and remove
reflectasm-shaded (#3526)
new 8035dd1aa allow WorkerHooks to set TopContext userResources
new 31b3e90c4 swap WorkerTopologyContext with WorkerUserContext
new c2758d006 add integration test
new ada43e481 update docs
new 1401c0b84 add unit tests
new c69ade3bc add inline documentation and update README
new 77e1cfa84 formatting fixes
new a1a49a428 Merge pull request #3547 from
6harat/feature/worker-usercontext
The 10620 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
docs/Hooks.md | 15 ++-
.../apache/storm/daemon/worker/WorkerState.java | 25 +++--
.../jvm/org/apache/storm/hooks/BaseWorkerHook.java | 11 --
.../jvm/org/apache/storm/hooks/IWorkerHook.java | 19 +++-
.../jvm/org/apache/storm/task/TopologyContext.java | 27 +++++
.../apache/storm/task/WorkerTopologyContext.java | 8 ++
.../org/apache/storm/task/WorkerUserContext.java | 54 +++++++++
.../daemon/worker/TestUtilsForWorkerState.java | 124 +++++++++++++++++++++
.../storm/daemon/worker/WorkerStateTest.java | 110 ++++++++++++++++++
.../storm/integration/TopologyIntegrationTest.java | 92 +++++++++++++++
10 files changed, 464 insertions(+), 21 deletions(-)
create mode 100644
storm-client/src/jvm/org/apache/storm/task/WorkerUserContext.java
create mode 100644
storm-client/test/jvm/org/apache/storm/daemon/worker/TestUtilsForWorkerState.java
create mode 100644
storm-client/test/jvm/org/apache/storm/daemon/worker/WorkerStateTest.java