Fanch
25ba855cca
fix(ad pause): add pause in sql query
2024-05-21 08:35:57 +00:00
Fanch
b52644ee3b
fix(ad pause): fix code after merge of update ad
2024-05-21 08:35:57 +00:00
Fanch
d937a84182
feat(pause ad): add first basic ad pause flag
2024-05-21 08:35:57 +00:00
Fanch
f6d00f5e37
feat(pause ad): add pause in db with prisma
2024-05-21 08:35:57 +00:00
Romain Thouvenin
cc9b45c6a1
Handle ad.updated integration events
2024-05-16 17:16:51 +02:00
Romain Thouvenin
3be2d73c60
Implement the UpdateAdCommand
2024-05-16 17:16:51 +02:00
Romain Thouvenin
34ad357f47
Refactor AdEntity creation in a factory in the domain layer
2024-05-16 17:16:51 +02:00
Romain Thouvenin
2d9409d147
Upgrade ddd-library
2024-05-16 17:16:51 +02:00
Romain Thouvenin
35e8de4cfa
Improve the driver search query to make use of the toDate index
2024-05-15 08:23:44 +02:00
Romain Thouvenin
e2beba299b
Take care of candidate processing peculiarities of having pax and driver depart on different day
2024-05-15 08:23:44 +02:00
Romain Thouvenin
3c65582d8e
Improve support for trips that span more than one date
...
- Remove the where clause on schedule times, as it is not possible to compute a sensible driver date within the SQL query.
- Simplify the date clause comparisons
- Replace the compared date range with one adjusted with the driver duration, to catch ads that depart on a different day
2024-05-15 08:23:44 +02:00
Romain Thouvenin
a9f5c36d49
Add integration tests for PassengerOrientedSelector to reproduce Redmine#7812
2024-05-15 08:23:44 +02:00
Romain Thouvenin
f6b27978e9
Refactor ad props fixtures of integration tests into a separate re-usable file
2024-05-15 08:23:44 +02:00
Romain Thouvenin
0ef0a1dd39
Refactor testing module for integration tests into re-usable function
2024-05-07 17:03:26 +02:00
Romain Thouvenin
7fa1ac7fe6
Fix tests path in build config
2024-05-07 17:03:26 +02:00
Romain Thouvenin
18486012c6
Prepare release 1.8
2024-05-07 10:19:46 +02:00
Romain Thouvenin
d48d01f051
Implement distributed event handler to propagate ad deletion
2024-04-25 16:06:59 +02:00
Romain Thouvenin
1701fbbeb1
Implement a DeleteAdCommand
2024-04-25 16:06:59 +02:00
Romain Thouvenin
a7c281d740
fix retrieval of DB records not including schedule or waypoints
2024-04-25 15:14:35 +02:00
Romain Thouvenin
01ebac7e74
DRY the pax/driver schedule adjustment logic
2024-04-12 11:33:17 +02:00
Romain Thouvenin
104559d03d
Add a test for punctual search matching a recurrent driver schedule
2024-04-05 11:44:10 +02:00
Romain Thouvenin
173e5ebba5
Rename schedule fixtures for better readability of tests
2024-04-05 11:43:30 +02:00
Romain Thouvenin
0dc01da2b0
Combine journey creation and filtering to avoid missing results
2024-04-04 17:24:23 +02:00
Sylvain Briat
945ce80840
improve documentation
2024-04-03 13:39:09 +02:00
Sylvain Briat
16ebe8d543
handle excluded ad in query and selector
2024-04-03 13:02:31 +02:00
Sylvain Briat
0c29e522ed
add excludedAdId to proto and dto
2024-04-03 13:01:12 +02:00
Romain Thouvenin
c51c368d83
Remove the controller-level cache from MatchGrpcController
2024-04-03 07:52:37 +00:00
Sylvain Briat
0446d267ef
improve creation of schedules
2024-04-02 11:14:05 +00:00
Sylvain Briat
100fb3487d
add possibility to have more than one driver target in carpool path item (eg. when a user adds 2 same waypoints with a different target)
2024-04-02 11:14:05 +00:00
Romain Thouvenin
e501bef249
Move test job to a common template
2024-04-02 12:23:03 +02:00
Sylvain Briat
71ac97410a
return frequency in match response
2024-04-02 10:06:34 +00:00
Romain Thouvenin
5696ac57bd
Generic test job that also runs on release merge requests
2024-04-02 12:01:38 +02:00
Romain Thouvenin
f759581157
Move build job to a common template
2024-04-02 11:42:54 +02:00
Romain Thouvenin
08b5af7511
Update CI script for release-branch workflow
2024-04-02 11:23:34 +02:00
Romain Thouvenin
4581af5e9f
Define an exception filter to log the cause of exceptions
2024-04-02 10:27:53 +02:00
Romain Thouvenin
7f7a51d19b
Let Nest exception filter handle unexpected exceptions
2024-04-02 10:27:53 +02:00
Sylvain Briat
739d05b095
improve candidate entity for empty driver or passenger schedule
2024-03-29 15:10:10 +01:00
Sylvain Briat
212b609e26
add array min size check on schedule property
2024-03-29 15:10:10 +01:00
Romain Thouvenin
bd6fc1576b
Apply 1 suggestion(s) to 1 file(s)
2024-03-29 14:04:57 +00:00
Sylvain Briat
53df6183bd
fix driverTime in journey item
2024-03-29 11:56:42 +01:00
Sylvain Briat
ffeb009497
fix readme for optional schedule
2024-03-28 17:12:30 +00:00
Sylvain Briat
3786fcc2c2
improve TODO explanation in journey value object
2024-03-28 17:12:30 +00:00
Sylvain Briat
e53c12ba74
fix readme for optional schedule
2024-03-28 17:12:30 +00:00
Sylvain Briat
c5a5e33256
update readme for optional schedule
2024-03-28 17:12:30 +00:00
Sylvain Briat
924547c316
update mtching mapper to handle empty schedules
2024-03-28 17:12:30 +00:00
Sylvain Briat
5f8dd8b4a0
handle empty schedule in candidates
2024-03-28 17:12:30 +00:00
Sylvain Briat
90ae3cf9cb
update passenger oriented selector to handle empty schedule; improve punctual where part
2024-03-28 17:12:30 +00:00
Sylvain Briat
6b9bf53b4a
set schedule to optional in match query and query handler
2024-03-28 17:12:30 +00:00
Sylvain Briat
4fd2950027
set schedule to optional in match request
2024-03-28 17:12:30 +00:00
Romain Thouvenin
2ce2a46c95
Allow remote debugging of dev container
2024-03-28 16:59:28 +01:00