From ded551108db0147bd24f579d919d008069a23ee3 Mon Sep 17 00:00:00 2001 From: Robert Zondervan Date: Fri, 4 Oct 2024 14:21:41 +0200 Subject: [PATCH] Fix version numbers, and add short descriptions --- .../Action/vrijbrp.createCaseNotification.action.json | 2 +- .../vrijbrp.createStatusNotification.action.json | 2 +- src/ActionHandler/NotificationCaseHandler.php | 2 ++ src/ActionHandler/NotificationUpdateHandler.php | 2 ++ src/ActionHandler/SynchronizeCollectionHandler.php | 2 ++ src/Service/NewSynchronizationService.php | 11 +++++++++++ 6 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Installation/Action/vrijbrp.createCaseNotification.action.json b/Installation/Action/vrijbrp.createCaseNotification.action.json index edc6218..f17d446 100644 --- a/Installation/Action/vrijbrp.createCaseNotification.action.json +++ b/Installation/Action/vrijbrp.createCaseNotification.action.json @@ -2,7 +2,7 @@ "title": "CreateCaseNotification", "$id": "https://commongateway.nl/action/vrijbrp.createCaseNotification.action.json", "$schema": "https://docs.commongateway.nl/schemas/Action.schema.json", - "version": "0.0.2", + "version": "0.0.1", "description": "This is an example Action. This action is triggered when commongateway.object.create event is thrown and the data (object) of the event has entity = https://example.com/schema/example.schema.json. In order for this condition to work the ref https://example.com/schema/example.schema.json has to be translated to an id, see installation.json['actions']['fixConfigRef'] for how to do this.", "listens": [ "commongateway.object.post.create" diff --git a/Installation/Action/vrijbrp.createStatusNotification.action.json b/Installation/Action/vrijbrp.createStatusNotification.action.json index 7c98c08..24b2c25 100644 --- a/Installation/Action/vrijbrp.createStatusNotification.action.json +++ b/Installation/Action/vrijbrp.createStatusNotification.action.json @@ -2,7 +2,7 @@ "title": "CreateStatusNotification", "$id": "https://commongateway.nl/action/vrijbrp.createStatusNotification.action.json", "$schema": "https://docs.commongateway.nl/schemas/Action.schema.json", - "version": "0.0.2", + "version": "0.0.1", "description": "This is an example Action. This action is triggered when commongateway.object.create event is thrown and the data (object) of the event has entity = https://example.com/schema/example.schema.json. In order for this condition to work the ref https://example.com/schema/example.schema.json has to be translated to an id, see installation.json['actions']['fixConfigRef'] for how to do this.", "listens": [ "commongateway.object.post.create" diff --git a/src/ActionHandler/NotificationCaseHandler.php b/src/ActionHandler/NotificationCaseHandler.php index 601498b..882b15a 100644 --- a/src/ActionHandler/NotificationCaseHandler.php +++ b/src/ActionHandler/NotificationCaseHandler.php @@ -18,6 +18,8 @@ class NotificationCaseHandler implements ActionHandlerInterface /** + * The constructor. + * * @param VrijBrpService $vrijBrpService The VrijBRP Service */ public function __construct( diff --git a/src/ActionHandler/NotificationUpdateHandler.php b/src/ActionHandler/NotificationUpdateHandler.php index 4fbda5b..a4ab2b3 100644 --- a/src/ActionHandler/NotificationUpdateHandler.php +++ b/src/ActionHandler/NotificationUpdateHandler.php @@ -19,6 +19,8 @@ class NotificationUpdateHandler implements ActionHandlerInterface /** + * The constructor. + * * @param VrijBrpService $vrijBrpService The VrijBRP Service */ public function __construct( diff --git a/src/ActionHandler/SynchronizeCollectionHandler.php b/src/ActionHandler/SynchronizeCollectionHandler.php index 91b7e18..b2b5ff5 100644 --- a/src/ActionHandler/SynchronizeCollectionHandler.php +++ b/src/ActionHandler/SynchronizeCollectionHandler.php @@ -19,6 +19,8 @@ class SynchronizeCollectionHandler implements ActionHandlerInterface /** + * The constructor. + * * @param NewSynchronizationService $syncService The synchronization service. * @param VrijBrpService $vrijBrpService The VrijBRP service. */ diff --git a/src/Service/NewSynchronizationService.php b/src/Service/NewSynchronizationService.php index 36fe425..56bcdb9 100644 --- a/src/Service/NewSynchronizationService.php +++ b/src/Service/NewSynchronizationService.php @@ -35,6 +35,17 @@ class NewSynchronizationService { + /** + * The constructor. + * + * @param GatewayResourceService $resourceService The resourceService + * @param CallService $callService The callService + * @param SynchronizationService $syncService The SynchronizationService + * @param LoggerInterface $synchronizationLogger The Logger + * @param EntityManagerInterface $entityManager The Entity Manager + * @param MappingService $mappingService The mappingService + * @param HydrationService $hydrationService The hydrationService + */ public function __construct( private readonly GatewayResourceService $resourceService, private readonly CallService $callService,