Commit Graph

28 Commits

Author SHA1 Message Date
4555957292
Made Handlers an object instead of a string reference.
All checks were successful
continuous-integration/drone/push Build is passing
Handlers should now be added as objects, adding some flexibility to the developer.
Developers are still cautioned to take great care that Handlers work approriately. Handlers can potentially crash the SuperVisor if not taken good care of.
2020-06-03 11:35:16 +02:00
d9da4cfc95
Try with only Redis.
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-26 17:56:15 +02:00
5f5718cb72
Made many changes. Fixed race-conditions in test code.
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-26 16:16:50 +02:00
db08da8213
Now try while flushing a selected database.
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-26 13:53:10 +02:00
18d702ec26
Try again in the new environment.
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-26 13:35:07 +02:00
1dacc29d86
Maybe Events are the problem?
Some checks failed
continuous-integration/drone/push Build is failing
2020-05-19 22:19:55 +02:00
19f11d9c7e
Fixed DummyTaskStorage persisting outside of the storage.
Some checks failed
continuous-integration/drone/push Build is failing
Awkward how that could go wrong...
2020-05-19 22:13:47 +02:00
5f369c784b
Added TaskModifyEvent.
Some checks failed
continuous-integration/drone/push Build is failing
Event gets fired when an Event is modified by sending it to TaskStorage::modifyEvent. This allows components to observe changes and report these to the user. Might also be useful to cancel unwanted changes.
2020-05-19 22:07:44 +02:00
8bcebfc1c3
Made the Docker image Alpine-based. Should work better when running Async in a Cron environment.
Also removed compatibility with PHP 7.2.
2020-05-19 12:01:48 +02:00
72cd7637b5
Implemented many unit tests.
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-16 19:12:22 +02:00
33c81e6c18
Now with coverage
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-15 21:41:39 +02:00
e2101bf059
And remove the Redis debug again
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-15 21:36:20 +02:00
99bae3c100
Now?
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-15 21:34:48 +02:00
19c84bc0d6
Temporarily check if Redis works
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-15 21:33:26 +02:00
4639660640
Added separate environments for DummyTaskStorage and RedisTaskStorage.
All checks were successful
continuous-integration/drone/push Build is passing
System now uses environment variables imported through Docker. See test/config.tasks.php for all environment options available.
2020-05-15 21:19:35 +02:00
5145d65d1d
Now try with an added service
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-15 18:40:45 +02:00
f1aef62615
Attempt to run a PHPUnit batch
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-15 18:35:15 +02:00
9fa7145593
Try with a modified environment.
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is passing
2020-05-15 18:30:06 +02:00
29c3db2159
Try again
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2020-05-15 18:28:17 +02:00
3499eed388
Started implementing Drone 2020-05-15 18:26:30 +02:00
b3982f2b2e
ControllerHandler now works. Next up is a distinction between Task and Process status. 2020-02-19 16:42:35 +01:00
820624e180
Started implementing ControllerHandler.
ControllerHandler is a standard utility handler for MVCR Controllers. This allows the user to create a task which is handled by a standardized controller.
Not finished yet! Needs some love.
2020-02-19 00:42:48 +01:00
b60ac20786
Add 'addTasks' method to Tasks class 2020-02-14 15:30:42 +01:00
f229be0305
Implemented basic RedisTaskStorage.
- Fixed bug where worker is not provided with bootstrap by ShellExecutor.
- Added composer and Redis to Dockerfile
- Added more output to ParallelSuperVisor
2020-02-14 13:49:27 +01:00
ab198e9ef1
Updated config format. 2020-02-13 14:06:23 +01:00
974a381b5a
Implemented changes to binaries. Binaries now accept a 'bootstrap' argument, allowing the developer to load a custom bootstrap from the project they're working on.
This allows Async to run in the same environment as the project it's part of.
2020-02-12 15:28:03 +01:00
d35f15114b Finished Async into a working state (#1)
Initial release.

Removed Tracy dependency

Implemented dependencyConstraint.

Partially fixes #3.

Built foundation.

System is now fully in a working order, though many parts must still be developed.
System still requires the following components:
- Dependency Constraint. Only run when all dependencies have ran.
- TaskScheduler. Standardized task that plans task periodically and maintains consistency.
- Better TaskStorage.
- Proper documentation

Brought everything back into working condition.

Also updated all copyright notices.

Moved files into right place.

Co-authored-by: Abel Hoogeveen <abel@techfuze.net>
Reviewed-on: #1
2020-02-01 14:32:36 +01:00
8ccb179643
Initial commit 2020-01-28 11:04:57 +01:00