Commit c33346b
authored
Refactor messaging services (#48)
* Add Messaging.Tests project
Includes Testcontainers project for end to end Rabbit message testing
* WIP: refactor RabbitService, use single Publish/Subscribe method
* Refactor DMS messaging. Use single Publish/Subscribe methods.
* Remove StatusPublish/StatusSubscribe and use generic Publish/Subscribe
* Remove IDbMessagingService and replace with generic IMessageService
* Rename messages and use DbRequestMessage<TResponse>
* Ensure RabbitService serializes generic type to concrete implementation
* Remove constructors and rely on properties for initialisation
Migrates from constructor-based to property-based initialization for message payloads,
ensuring consistency in data transfer between services.1 parent 0b226af commit c33346b
File tree
125 files changed
+980
-1432
lines changed- src
- Blocking
- Cleanup
- CleanupServices/LiveCleanup
- DbInteractions
- Services
- Delius.Parser
- Core
- Services
- FileSync
- Import
- Libraries/Messaging
- Extensions
- Interfaces
- Messages
- BlockingMessages
- DbMessages
- Receiving
- Sending
- ImportMessages
- MatchingMessages
- Clustering
- MergingMessages
- CleanupMessages
- StagingMessages
- Delius
- Offloc
- StatusMessages
- Queues
- Services
- Logging
- Matching.Engine/Services
- Offloc.Cleaner
- Services
- Offloc.Parser
- Services/ParsingStrategy
- tests/Messaging.Tests
- TestMessages
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
125 files changed
+980
-1432
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
97 | 96 | | |
98 | 97 | | |
99 | 98 | | |
| 99 | + | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
545 | 546 | | |
546 | 547 | | |
547 | 548 | | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
548 | 561 | | |
549 | 562 | | |
550 | 563 | | |
| |||
590 | 603 | | |
591 | 604 | | |
592 | 605 | | |
| 606 | + | |
593 | 607 | | |
594 | 608 | | |
595 | 609 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 14 | | |
27 | 15 | | |
28 | | - | |
| 16 | + | |
29 | 17 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
36 | 21 | | |
37 | 22 | | |
38 | 23 | | |
39 | 24 | | |
40 | | - | |
41 | | - | |
| 25 | + | |
| 26 | + | |
42 | 27 | | |
43 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 16 | | |
36 | 17 | | |
37 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
38 | 22 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
43 | 27 | | |
44 | | - | |
| 28 | + | |
45 | 29 | | |
46 | | - | |
47 | 30 | | |
48 | 31 | | |
49 | 32 | | |
50 | | - | |
| 33 | + | |
51 | 34 | | |
52 | | - | |
53 | 35 | | |
54 | 36 | | |
55 | 37 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 38 | | |
Lines changed: 3 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | 2 | | |
6 | 3 | | |
7 | 4 | | |
8 | | - | |
| 5 | + | |
9 | 6 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 7 | + | |
| 8 | + | |
20 | 9 | | |
21 | 10 | | |
22 | 11 | | |
| |||
0 commit comments