Commit e7be881
authored
UNOMI-877: Remove all reference to cellar and hazelcast. (#725)
* UNOMI-877: Remove all reference to cellar and hazelcast.
UNOMI-877: Not sending event to cluster anymore.
UNOMI-877: Replace Karaf Cellar and Hazelcast with PersistenceService for cluster synchronization (code isolated from branch unomi-3-dev made by Serge Huber)
* Remove unused imports from ClusterNode, RouterCamelContext, and ClusterService.
* Remove unused `clusterService` property from blueprint.xml.
* Add `bundleWatcher` reference and properties to blueprint.xml.
* Add clusterNode mapping definition for Elasticsearch.
* Reorder `shutdownNow` to ensure proper node removal from PersistenceService during shutdown.
* Clarify comment on node removal timing in `destroy` method.
* Refactor configuration handling and remove unused OSGi ServiceTracker references.
* Cache cluster nodes to optimize retrieval and reduce reliance on PersistenceService.1 parent c22ff47 commit e7be881
File tree
31 files changed
+837
-1008
lines changed- api/src/main/java/org/apache/unomi/api
- services
- extensions/router/router-core
- src/main
- java/org/apache/unomi/router/core
- context
- event
- resources/OSGI-INF/blueprint
- itests/src/test/java/org/apache/unomi/itests
- kar
- src/main/feature
- manual/src/main/asciidoc
- package
- src/main/resources/etc
- persistence-elasticsearch/core
- src/main
- java/org/apache/unomi/persistence/elasticsearch
- resources
- META-INF/cxs/mappings
- OSGI-INF/blueprint
- persistence-spi/src/main/java/org/apache/unomi/persistence/spi/config
- services
- src/main
- java/org/apache/unomi/services/impl
- cluster
- rules
- resources
- OSGI-INF/blueprint
31 files changed
+837
-1008
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
25 | | - | |
| 23 | + | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| 46 | + | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
| |||
165 | 172 | | |
166 | 173 | | |
167 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
168 | 229 | | |
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | 53 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 136 | | |
147 | 137 | | |
148 | 138 | | |
| |||
Lines changed: 0 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
75 | 73 | | |
76 | 74 | | |
77 | 75 | | |
78 | | - | |
79 | 76 | | |
80 | 77 | | |
81 | 78 | | |
| |||
102 | 99 | | |
103 | 100 | | |
104 | 101 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | 102 | | |
110 | 103 | | |
111 | 104 | | |
| |||
240 | 233 | | |
241 | 234 | | |
242 | 235 | | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | 236 | | |
250 | 237 | | |
251 | 238 | | |
| |||
266 | 253 | | |
267 | 254 | | |
268 | 255 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | 256 | | |
275 | 257 | | |
276 | 258 | | |
| |||
291 | 273 | | |
292 | 274 | | |
293 | 275 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | 276 | | |
300 | 277 | | |
301 | 278 | | |
| |||
Lines changed: 0 additions & 38 deletions
This file was deleted.
Lines changed: 0 additions & 76 deletions
This file was deleted.
Lines changed: 1 addition & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | 115 | | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
122 | 121 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 122 | | |
136 | 123 | | |
137 | 124 | | |
| |||
141 | 128 | | |
142 | 129 | | |
143 | 130 | | |
144 | | - | |
145 | 131 | | |
146 | | - | |
147 | 132 | | |
148 | | - | |
| 133 | + | |
0 commit comments