Repository: incubator-unomi
Updated Branches:
  refs/heads/master c0833fff4 -> db066aa8e


UNOMI-108 Some configurations should not be distributed in the cluster
- Added exclusions for the list of inbound and outbound configurations.

Signed-off-by: Serge Huber <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/db066aa8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/db066aa8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/db066aa8

Branch: refs/heads/master
Commit: db066aa8e3b6adf1ac4aa156a2f6bd07c553b021
Parents: c0833ff
Author: Serge Huber <[email protected]>
Authored: Fri Jun 30 09:06:33 2017 +0200
Committer: Serge Huber <[email protected]>
Committed: Fri Jun 30 09:06:33 2017 +0200

----------------------------------------------------------------------
 .../etc/org.apache.karaf.cellar.groups.cfg      | 81 ++++++++++++++++++++
 1 file changed, 81 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/db066aa8/package/src/main/resources/etc/org.apache.karaf.cellar.groups.cfg
----------------------------------------------------------------------
diff --git a/package/src/main/resources/etc/org.apache.karaf.cellar.groups.cfg 
b/package/src/main/resources/etc/org.apache.karaf.cellar.groups.cfg
new file mode 100644
index 0000000..05567de
--- /dev/null
+++ b/package/src/main/resources/etc/org.apache.karaf.cellar.groups.cfg
@@ -0,0 +1,81 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+#
+# 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 = *.xml
+default.bundle.blacklist.outbound = *.xml
+
+#
+# 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.cellar*, \
+                                   org.apache.karaf.management, \
+                                   org.apache.karaf.shell, \
+                                   org.ops4j.pax.logging, \
+                                   org.ops4j.pax.web, \
+                                   org.apache.aries.transaction, \
+                                   org.apache.unomi.cluster, \
+                                   org.apache.unomi.geonames, \
+                                   org.apache.unomi.persistence.elasticsearch, 
\
+                                   org.apache.unomi.router, \
+                                   org.apache.unomi.plugins.request
+default.config.blacklist.outbound = org.apache.felix.fileinstall*, \
+                                    org.apache.karaf.cellar*, \
+                                    org.apache.karaf.management, \
+                                    org.apache.karaf.shell, \
+                                    org.ops4j.pax.logging, \
+                                    org.ops4j.pax.web, \
+                                    org.apache.aries.transaction, \
+                                    org.apache.unomi.cluster, \
+                                    org.apache.unomi.geonames, \
+                                    
org.apache.unomi.persistence.elasticsearch, \
+                                    org.apache.unomi.router, \
+                                    org.apache.unomi.plugins.request
+
+#
+# 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 is not used, meaning the node or the 
cluster are not updated at all
+# cluster: if the node is the first one in the cluster, it pushes its local 
state to the cluster, else it's not the
+#       first node of the cluster, the node will update its local state with 
the cluster one (meaning that the cluster
+#       is the master)
+# node: in this case, the node is the master, it means that the cluster state 
will be overwritten by the node state.
+#
+default.bundle.sync = cluster
+default.config.sync = cluster
+default.feature.sync = cluster
+default.obr.urls.sync = cluster

Reply via email to