Commit Graph

214 Commits

Author SHA1 Message Date
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
Sylvain Briat d4a37b237e 2.4.2 2023-12-18 15:32:39 +01:00
Sylvain Briat b2cf66139a secure broker 2023-12-18 15:31:39 +01:00
Sylvain Briat 99017b0e55 Merge branch 'fixAdValidation' into 'main'
Fix ad validation

See merge request v3/service/ad!32
2023-12-07 10:16:04 +00:00
Sylvain Briat ee0a2cb386 2.4.1 2023-12-07 11:11:59 +01:00
Sylvain Briat f69e8a95f1 fix ad validation after matcher ad creation 2023-12-07 11:11:52 +01:00
Sylvain Briat 976a3c3779 Merge branch 'adStatus' into 'main'
Handle matcher messages, handle ad statuses

See merge request v3/service/ad!31
2023-12-06 15:13:02 +00:00
Sylvain Briat c85d6fb756 2.4.0 2023-12-06 15:51:50 +01:00
Sylvain Briat e0a4b07733 handle matcher messages 2023-12-06 15:51:46 +01:00
Sylvain Briat dfe4db8276 Merge branch 'findAllByIds' into 'main'
Find all by ids

See merge request v3/service/ad!30
2023-11-22 16:23:49 +00:00