###
# ~~~~~~licensing~~~~~~
# entaxy-karaf
# ==========
# Copyright (C) 2020 - 2023 EmDev LLC
# ==========
# You may not use this file except in accordance with the License Terms of the Copyright
# Holder located at: https://entaxy.ru/eula . All copyrights, all intellectual property
# rights to the Software and any copies are the property of the Copyright Holder. Unless
# it is explicitly allowed the Copyright Holder, the User is prohibited from using the
# Software for commercial purposes to provide services to third parties.
# 
# The Copyright Holder hereby declares that the Software is provided on an "AS IS".
# Under no circumstances does the Copyright Holder guarantee or promise that the
# Software provided by him will be suitable or not suitable for the specific purposes
# of the User, that the Software will meet all commercial and personal subjective
# expectations of the User, that the Software will work properly, without technical
# errors, quickly and uninterruptedly.
# 
# Under no circumstances shall the Copyright Holder or its Affiliates is not liable
# to the User for any direct or indirect losses of the User, his expenses or actual
# damage, including, downtime; loss of bussines; lost profit; lost earnings; loss
# or damage to data, property, etc.
# ~~~~~~/licensing~~~~~~
###
#
# This property stores the cluster groups for which the local node is member
#
groups = default

#
# Filtering of the bundles in the default cluster group
#
default.bundle.whitelist.inbound=*
default.bundle.whitelist.outbound=*
default.bundle.blacklist.inbound=none
default.bundle.blacklist.outbound=none

#
# Filtering of the configurations in the default cluster group
#
default.config.whitelist.inbound=*
default.config.whitelist.outbound=*
default.config.blacklist.inbound=org.apache.felix.fileinstall*, \
                                   org.apache.karaf.management, \
                                   org.apache.karaf.shell, \
                                   org.ops4j.pax.web, \
                                   org.apache.aries.transaction, \
                                   org.ops4j.pax.logging, \
				   org.ops4j.pax.transx.tm.geronimo, \	
				   org.ops4j.pax.url.mvn, \
                                   org.apache.karaf.cellar.node, \
                                   org.apache.karaf.cellar.groups, \
                                   org.apache.karaf.cellar.groups.cfg
default.config.blacklist.outbound=org.apache.felix.fileinstall*, \
                                    org.apache.karaf.management, \
                                    org.apache.karaf.shell, \
                                    org.ops4j.pax.web, \
                                    org.apache.aries.transaction, \
                                    org.ops4j.pax.logging, \
                                    org.ops4j.pax.transx.tm.geronimo, \	
                                    org.ops4j.pax.url.mvn, \
                                    org.apache.karaf.cellar.node, \
                                    org.apache.karaf.cellar.groups, \
                                    org.apache.karaf.cellar.groups.cfg

#
# Filtering of the features in the default cluster group
#
default.feature.whitelist.inbound=*
default.feature.whitelist.outbound=*
default.feature.blacklist.inbound=none
default.feature.blacklist.outbound=none

#
# The following properties define the behavior to use when the node joins the cluster (the usage of the bootstrap
# synchronizer), per cluster group and per resource.
# The following values are accepted:
# disabled: means that the synchronizer doesn't sync cluster group and node states
# cluster: the synchronizer retrieves the state from the cluster group first (pull first), and push the node the state
#          to the cluster group after (push after)
# node: the synchronizer push the node state to the cluster group (push first), and pull the state from the cluster group
#        after (pull after)
# clusterOnly: the cluster is the "master", the node only retrieves and applies the cluster group state, nothing is
#              pushed to the cluster group
# nodeOnly: the node is the "master", the node pushes his state to the cluster group, nothing is pulled from the
#           cluster group
#
#default.bundle.sync=cluster
#default.config.sync=cluster
#default.feature.sync=cluster
#default.obr.urls.sync=cluster
#default.balanced.servlet.sync=cluster
default.bundle.sync = clusterOnly
default.config.sync = disabled
default.feature.sync = clusterOnly
default.obr.urls.sync = clusterOnly
default.balanced.servlet.sync = clusterOnly
default.event.whitelist.inbound = subscription
default.event.whitelist.outbound = subscription
default.event.blacklist.inbound=none
default.event.blacklist.outbound=none
