Skip to content

Commit

Permalink
[TM-1531] delayed job with data (#619)
Browse files Browse the repository at this point in the history
* [TM-1531] entity record and creator to delayedJOb

* [TM-1531] add useer to endpoint

* [TM-1531] add entity data for polygons validations

* [TM-1531] lint

* [TM-1531] add is_cleared

* [TM-1531] add to fix polygons entity

* [TM-1531] store delayed data for uploads

* [TM-1531] send mails when job for upload, check or fix is complete

* [TM-1531] send correct user for mails

* [TM-1531] modify column name on delayed jobs table

* [TM-1531] change attribute name to progress message

* [TM-1531] lint fix

* [TM-1531] change to is_aknowledged value

* [TM-1531] change created_by type, change to is_acknowledge

* [TM-1531] add name to delayed jobs

* [TM-1531] lint

* [TM-1531] remove comment

* [TM-1531] correct name for job

* [TM-1531] lint

---------

Co-authored-by: cesarLima1 <[email protected]>
  • Loading branch information
egrojMonroy and cesarLima1 authored Dec 18, 2024
1 parent a5b3be3 commit 6c90fbd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1254,7 +1254,7 @@ public function runSiteValidationPolygon(Request $request)
'entity_id' => $entity->id,
'entity_type' => get_class($entity),
'is_acknowledged' => false,
'name' => 'Polygon validation',
'name' => 'Polygon Validation',
]);
$job = new RunSitePolygonsValidationJob($delayedJob->id, $sitePolygonsUuids);
dispatch($job);
Expand Down Expand Up @@ -1284,7 +1284,7 @@ public function runPolygonsValidation(Request $request)
'entity_id' => $entity->id,
'entity_type' => get_class($entity),
'is_acknowledged' => false,
'name' => 'Polygon validation',
'name' => 'Polygon Validation',
]);
$job = new RunSitePolygonsValidationJob($delayedJob->id, $uuids);
dispatch($job);
Expand Down

0 comments on commit 6c90fbd

Please sign in to comment.