Commit Graph

223 Commits

Author SHA1 Message Date
Fanch 56c38dae1a Merge branch 'pause-ad' into 'next-release'
Add pause ad flag

See merge request mobicoop/v3/service/ad!47
2024-05-23 05:19:45 +00:00
Fanch bfc731bd96 test(ad pause): fix test after adding update event emission 2024-05-23 07:19:39 +02:00
Fanch d213408c83 feat(pause ad): emit update event after pause ad 2024-05-23 07:08:52 +02:00
Fanch 2ce64cd1c4 fix(ad pause): fix code after merge of update ad 2024-05-21 08:33:55 +00:00
Fanch be2a2badcf test(pause ad): adapt current test after adding pause flag in ad 2024-05-21 08:33:55 +00:00
Fanch 54d1dab461 feat(pause ad): add pause in db with prisma 2024-05-21 08:33:55 +00:00
Fanch 3b8ab49396 feat(pause ad): add pause as rpc route in proto 2024-05-21 08:33:55 +00:00
Fanch 3bef47c27e feat(pause ad): add first basic ad pause service 2024-05-21 08:33:55 +00:00
Romain Thouvenin 12c237b980 Update the README doc 2024-05-16 17:13:34 +02:00
Romain Thouvenin f6f9696620 Add a zero-value to the Frequency GRPC enum (required by protobuf specs) 2024-05-16 17:13:34 +02:00
Romain Thouvenin 5aa4d9e568 Unit tests for the update-ad service 2024-05-16 17:13:34 +02:00
Romain Thouvenin f6c3204708 Emit the AdUpdated domain event from the service instead of the repository
This is to avoid storing the event in the entity, which prevents serializing it into JSON
(because it has a circular dependency to AdEntity)
2024-05-16 17:13:34 +02:00
Romain Thouvenin 659c1baea8 Implement the GRPC controller to update ads 2024-05-16 17:13:34 +02:00
Romain Thouvenin 7a84bff260 Implement update ad command 2024-05-16 17:13:34 +02:00
Romain Thouvenin 3d4ff00066 publish integration event when an ad is updated 2024-05-16 17:13:34 +02:00
Romain Thouvenin 3ff5277d5f Add update method to Ad entity 2024-05-16 17:13:34 +02:00
Romain Thouvenin 62e5fd56d9 Upgrade ddd-library 2024-05-16 17:13:34 +02:00
Romain Thouvenin c7d4792893 Consistent and DRY declarations of ScheduleItem types 2024-05-07 10:43:49 +02:00
Romain Thouvenin 5e449ad69a Prepare release 2.6 2024-05-07 10:42:54 +02:00
Romain Thouvenin 51ca6cf9c4 Update documentation about the delete command 2024-04-29 08:34:40 +02:00
Romain Thouvenin be2af64f60 Update the documentation about integration events 2024-04-29 08:29:50 +02:00
Romain Thouvenin 9fb7ef2eac Listen to user.deleted events to delete the corresponding user ads 2024-04-26 12:31:16 +02:00
Romain Thouvenin 492bb3ca44 Expose the debugger in the dev container 2024-04-26 12:29:06 +02:00
Romain Thouvenin e8903099d7 Implement the delete GRPC command 2024-04-26 10:58:44 +02:00
Romain Thouvenin b17fc32a12 Fix tests path in build config 2024-04-26 10:57:45 +02:00
Romain Thouvenin 8c7512b6c3 Use common test and build jobs 2024-04-03 08:51:29 +02:00
Romain Thouvenin 15236904e3 Prepare release 2.5 2024-04-03 08:48:51 +02:00
Romain Thouvenin a7b342c049 Add optional comment to Ad type and records #7409 2024-02-29 14:47:53 +01:00
Sylvain Briat da4b30350b fix coverage results path in package.json 2024-02-26 15:07:42 +01:00
Sylvain Briat 55c7e2b11c removed local vscode settings 2024-02-20 16:44:28 +01:00
Sylvain Briat c52afbb243 update readme 2024-02-16 16:52:20 +01:00
Sylvain Briat 98d2b521ab add controller in module 2024-02-16 16:52:20 +01:00
Sylvain Briat bbb96cfd36 find ads by user id query, dto and controller 2024-02-16 16:52:14 +01:00
Sylvain Briat 909ef04e69 move tests folder to the root 2024-02-16 16:02:04 +01:00
Fanch 540c63d297 copy file from v3 gitlab template repo 2024-02-05 19:16:00 +01:00
Sylvain Briat c72c64e6da Merge branch 'use_prisma_deploy' into 'main'
use prisma deploy as default for migrate, add migrate:dev command

See merge request v3/service/ad!37
2024-01-31 14:18:11 +00:00
Fanch 8f57dc2c7a use prisma deploy as default for migrate, add migrate:dev command 2024-01-31 12:47:27 +01:00
Fanch 41073539bf Merge branch 'fix_test_install' into 'main'
Fix test install

See merge request v3/service/ad!34
2024-01-24 14:15:51 +00:00
Fanch 483e947d92 use node lts image for docker 2024-01-23 14:50:32 +01:00
Fanch b13df86745 use full registry path for docker image 2024-01-23 14:50:32 +01:00
Fanch 61c1d6ffcb Merge branch 'fixAdValidation' into 'main'
Fix ad validation

See merge request v3/service/ad!36
2024-01-19 14:02:19 +00:00
Sylvain Briat fbc0ae2a33 2.4.5 2024-01-18 15:53:57 +01:00
Sylvain Briat b039dbb3bd fix ad validation : remove schedule and waypoints duplication 2024-01-18 15:53:48 +01:00
Sylvain Briat 2009355b18 2.4.4 2024-01-17 12:00:00 +01:00
Sylvain Briat 5d6547a184 fix bad validation : wrong cascade update after ad status change 2024-01-17 11:59:51 +01:00
Sylvain Briat 40e8b5f733 Merge branch 'updatePackages' into 'main'
Update packages

See merge request v3/service/ad!35
2024-01-17 08:03:01 +00:00
Sylvain Briat 98068d021f pretty 2024-01-17 08:56:34 +01:00
Sylvain Briat 4e236551ae 2.4.3 2024-01-17 08:51:40 +01:00
Sylvain Briat 4bd7ca64de update packages 2024-01-17 08:51:34 +01:00
Sylvain Briat 3e1c4afce3 Merge branch 'secureBroker' into 'main'
Secure broker

See merge request v3/service/ad!33
2023-12-18 14:36:48 +00:00