Commit 69b8bc1
refactor: Fine tuning of the API and SPI (apache#1786)
* refactor: Fine tuning of the API and SPI to allow ILLEGAL_ADDRESS responses for individual invalid addresses (Alongside a major cleanup)
* refactor: Major cleanup of the PlcValueHandler
* refactor: Major cleanup of the PlcValueHandler
* refactor: Added more testcases to the PlcValueHandler tests
* refactor: Updated the PlcValue types and the single item tests.
* refactor: Moved the PlcTagHandler from the driver to the PlcConnection/Protocol so we can start making connection-aware tag-handlers in the future.
* fix: Disabled another OPC-UA test, which seems to be randomly failing the build.
* doc: Updated the RELEASE_NOTES
* refactor: Renamed some of the variables in the Plc4xProtocolBase class
---------
Co-authored-by: Sebastian Rühl <[email protected]>1 parent b03981b commit 69b8bc1
File tree
207 files changed
+5355
-4111
lines changed- plc4go
- assets/testing/protocols
- ads
- eip
- modbus/tcp
- s7
- spi/model
- plc4j
- api/src/main/java/org/apache/plc4x/java/api
- exceptions
- messages
- drivers
- ab-eth/src
- main/java/org/apache/plc4x/java/abeth
- protocol
- test/resources
- ads/src
- main/java/org/apache/plc4x/java/ads
- protocol
- tag
- test/java/org/apache/plc4x
- java/ads/tag
- protocol/ads
- bacnet/src
- main/java/org/apache/plc4x/java/bacnetip
- protocol
- test/resources
- c-bus/src
- main/java/org/apache/plc4x/java/cbus
- protocol
- test/resources
- canopen/src
- main/java/org/apache/plc4x/java/canopen
- protocol
- test/resources
- can/src
- main/java/org/apache/plc4x/java/can
- adapter
- conversation
- generic
- protocol
- tag
- test
- java/org/apache/plc4x/java/can/generic
- resources
- ctrlx/src/main/java/org/apache/plc4x/java/ctrlx/readwrite/connection
- eip/src
- main/java/org/apache/plc4x/java/eip
- base
- protocol
- logix
- test
- java/org/apache/plc4x/java/eip/base
- resources
- firmata/src/main/java/org/apache/plc4x/java/firmata/readwrite
- protocol
- iec-60870/src/main/java/org/apache/plc4x/java/iec608705104/readwrite
- messages
- protocol
- knxnetip/src
- main/java/org/apache/plc4x/java/knxnetip
- protocol
- test
- java/org/apache/plc4x/java/knxnetip
- resources
- mock/src/main/java/org/apache/plc4x/java/mock/connection
- modbus/src
- main/java/org/apache/plc4x/java/modbus
- ascii
- protocol
- base
- optimizer
- tag
- rtu
- protocol
- tcp
- protocol
- test
- java/org/apache/plc4x/java/modbus
- base/optimizer
- resources
- opcua/src
- main/java/org/apache/plc4x/java/opcua
- optimizer
- protocol
- test
- java/org/apache/plc4x/java/opcua
- protocol/chunk
- resources
- open-protocol/src
- main/java/org/apache/plc4x/java/openprotocol
- protocol
- test/resources
- plc4x/src/main/java/org/apache/plc4x/java/plc4x
- protocol
- profinet-ng/src/main/java/org/apache/plc4x/java/profinet
- discovery
- protocol
- profinet/src/main/java/org/apache/plc4x/java/profinet
- device
- protocol
- s7/src
- main/java/org/apache/plc4x/java/s7
- events
- readwrite
- connection
- discovery
- optimizer
- protocol
- tag
- test
- java/org/apache/plc4x/java/s7/readwrite
- resources
- simulated/src
- main/java/org/apache/plc4x/java/simulated
- connection
- tag
- test
- java/org/apache/plc4x/java/simulated
- connection
- tag
- resources
- spi/src
- main/java/org/apache/plc4x/java/spi
- connection
- internal
- messages
- utils
- model
- optimizer
- transaction
- values
- test/java/org/apache/plc4x/java/spi
- connection
- values
- tools
- connection-cache/src/main/java/org/apache/plc4x/java/utils/cache
- opm/src/test/java/org/apache/plc4x/java/opm
- scraper/src/test/java/org/apache/plc4x/java/scraper
- triggeredscraper
- utils/test-utils/src/main/java/org/apache/plc4x/test/manual
- protocols
- ads/src/test/resources/protocols/ads
- canopen/src/test/resources/protocols/canopen
- eip/src/test/resources/protocols/eip
- iec-60870/src/test/resources
- modbus/src/test/resources/protocols/modbus/tcp
- s7/src/test/resources/protocols/s7
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
207 files changed
+5355
-4111
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
32 | 38 | | |
33 | 39 | | |
34 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1150 | 1150 | | |
1151 | 1151 | | |
1152 | 1152 | | |
1153 | | - | |
1154 | | - | |
1155 | | - | |
| 1153 | + | |
| 1154 | + | |
| 1155 | + | |
| 1156 | + | |
| 1157 | + | |
| 1158 | + | |
| 1159 | + | |
1156 | 1160 | | |
1157 | 1161 | | |
1158 | 1162 | | |
1159 | 1163 | | |
1160 | 1164 | | |
1161 | 1165 | | |
1162 | 1166 | | |
1163 | | - | |
| 1167 | + | |
1164 | 1168 | | |
1165 | 1169 | | |
1166 | 1170 | | |
| |||
1232 | 1236 | | |
1233 | 1237 | | |
1234 | 1238 | | |
1235 | | - | |
| 1239 | + | |
1236 | 1240 | | |
1237 | 1241 | | |
1238 | 1242 | | |
| |||
1580 | 1584 | | |
1581 | 1585 | | |
1582 | 1586 | | |
1583 | | - | |
| 1587 | + | |
1584 | 1588 | | |
1585 | 1589 | | |
1586 | 1590 | | |
1587 | 1591 | | |
1588 | | - | |
| 1592 | + | |
1589 | 1593 | | |
1590 | 1594 | | |
1591 | 1595 | | |
| |||
1754 | 1758 | | |
1755 | 1759 | | |
1756 | 1760 | | |
1757 | | - | |
| 1761 | + | |
1758 | 1762 | | |
1759 | 1763 | | |
1760 | 1764 | | |
1761 | 1765 | | |
1762 | | - | |
| 1766 | + | |
1763 | 1767 | | |
1764 | 1768 | | |
1765 | | - | |
| 1769 | + | |
1766 | 1770 | | |
1767 | 1771 | | |
1768 | 1772 | | |
1769 | 1773 | | |
1770 | | - | |
| 1774 | + | |
1771 | 1775 | | |
1772 | 1776 | | |
1773 | 1777 | | |
| |||
2040 | 2044 | | |
2041 | 2045 | | |
2042 | 2046 | | |
2043 | | - | |
| 2047 | + | |
2044 | 2048 | | |
2045 | 2049 | | |
2046 | 2050 | | |
2047 | 2051 | | |
2048 | | - | |
| 2052 | + | |
2049 | 2053 | | |
2050 | 2054 | | |
2051 | 2055 | | |
| |||
2319 | 2323 | | |
2320 | 2324 | | |
2321 | 2325 | | |
2322 | | - | |
| 2326 | + | |
2323 | 2327 | | |
2324 | 2328 | | |
2325 | 2329 | | |
2326 | 2330 | | |
2327 | | - | |
| 2331 | + | |
2328 | 2332 | | |
2329 | 2333 | | |
2330 | 2334 | | |
| |||
2474 | 2478 | | |
2475 | 2479 | | |
2476 | 2480 | | |
2477 | | - | |
| 2481 | + | |
2478 | 2482 | | |
2479 | 2483 | | |
2480 | 2484 | | |
2481 | 2485 | | |
2482 | | - | |
| 2486 | + | |
2483 | 2487 | | |
2484 | 2488 | | |
2485 | 2489 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
406 | 410 | | |
407 | 411 | | |
408 | 412 | | |
409 | 413 | | |
410 | 414 | | |
411 | 415 | | |
412 | 416 | | |
413 | | - | |
| 417 | + | |
414 | 418 | | |
415 | 419 | | |
416 | 420 | | |
417 | 421 | | |
418 | | - | |
| 422 | + | |
419 | 423 | | |
420 | 424 | | |
421 | 425 | | |
| |||
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
205 | | - | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | | - | |
| 368 | + | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
373 | | - | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| |||
0 commit comments