stable
Clone or download
Read-only
When MediaWiki Standalone service is activated and deactivated the corresponding instance is either created, suspended & resumed accordingly. A refactoring of the creation of instance was required to deal with suspended/resume after initial creation. Part of: story #24228 create/update/delete mediawiki-standalone in my project Change-Id: I66b29648a632fffd6c46d73f44314643a35127b6
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/mediawiki_standalone/include/Instance/CreateInstance.php | +67 | −6 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Instance/CreateInstanceTask.php | +55 | −0 | Go to diff View file |
M | plugins/mediawiki_standalone/include/Instance/InstanceManagement.php | +1 | −1 | Go to diff View file |
M | plugins/mediawiki_standalone/include/Instance/InstanceOperation.php | +3 | −0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Instance/SuspendInstanceTask.php | +54 | −0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Service/InvalidServiceActivationEvent.php | +39 | −0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Service/ServiceActivationEvent.php | +56 | −0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Service/ServiceActivationHandler.php | +47 | −0 | Go to diff View file |
A | plugins/mediawiki_standalone/include/Service/ValidServiceActivationEvent.php | +35 | −0 | Go to diff View file |
M | plugins/mediawiki_standalone/include/mediawiki_standalonePlugin.php | +4 | −5 | Go to diff View file |
M | plugins/mediawiki_standalone/tests/unit/Instance/InstanceManagementTest.php | +48 | −1 | Go to diff View file |
A | plugins/mediawiki_standalone/tests/unit/Service/ServiceActivationHandlerTest.php | +85 | −0 | Go to diff View file |
M | src/common/Queue/EnqueueTask.php | +1 | −1 | Go to diff View file |
A | src/common/Queue/EnqueueTaskInterface.php | +29 | −0 | Go to diff View file |