This is an automated email from the ASF dual-hosted git repository.
sergehuber pushed a change to branch UNOMI-1006-scheduler-cluster-node-id
in repository https://gitbox.apache.org/repos/asf/unomi.git
from 6cffe0a7e UNOMI-1006: Close gaps in the duplicate node id check
add 22923d2ea UNOMI-1006: Generate and remember a node id per node
No new revisions were added by this update.
Summary of changes:
.../java/org/apache/unomi/api/ClusterNode.java | 20 ++
docker/README.md | 2 +
docker/src/main/docker/entrypoint.sh | 60 ++++++
.../test/java/org/apache/unomi/itests/AllITs.java | 1 +
.../test/java/org/apache/unomi/itests/BaseIT.java | 3 -
.../org/apache/unomi/itests/NodeIdentityIT.java | 84 ++++++++
.../java/org/apache/unomi/itests/SchedulerIT.java | 14 --
kar/src/main/feature/feature.xml | 1 +
lifecycle-watcher/pom.xml | 41 ++++
.../org/apache/unomi/lifecycle/BundleWatcher.java | 15 ++
.../apache/unomi/lifecycle/BundleWatcherImpl.java | 77 ++++++++
.../org/apache/unomi/lifecycle/NodeIdentity.java | 106 +++++++++++
.../resources/OSGI-INF/blueprint/blueprint.xml | 3 +
.../{unomi-logo.txt => org.apache.unomi.node.cfg} | 14 +-
.../lifecycle/BundleWatcherNodeIdentityTest.java | 211 +++++++++++++++++++++
.../apache/unomi/lifecycle/NodeIdentityTest.java | 90 +++++++++
manual/src/main/asciidoc/clustering.adoc | 43 ++++-
manual/src/main/asciidoc/configuration.adoc | 6 +
manual/src/main/asciidoc/scheduler.adoc | 12 +-
package/pom.xml | 9 +
.../main/resources/etc/custom.system.properties | 11 +-
.../config/ShippedAdminPasswordConfigTest.java | 65 ++++++-
.../services/impl/cluster/ClusterServiceImpl.java | 1 +
.../resources/OSGI-INF/blueprint/blueprint.xml | 4 +-
.../main/resources/org.apache.unomi.cluster.cfg | 8 +-
.../impl/cluster/ClusterServiceImplTest.java | 10 +
26 files changed, 855 insertions(+), 56 deletions(-)
create mode 100644
itests/src/test/java/org/apache/unomi/itests/NodeIdentityIT.java
create mode 100644
lifecycle-watcher/src/main/java/org/apache/unomi/lifecycle/NodeIdentity.java
copy lifecycle-watcher/src/main/resources/{unomi-logo.txt =>
org.apache.unomi.node.cfg} (62%)
create mode 100644
lifecycle-watcher/src/test/java/org/apache/unomi/lifecycle/BundleWatcherNodeIdentityTest.java
create mode 100644
lifecycle-watcher/src/test/java/org/apache/unomi/lifecycle/NodeIdentityTest.java