stable

Clone or download

Read-only

Introduce AsynchronousJiraRunner

This does not much expect consuming the event. The real import will be done later, to not clutter the review. For now it only logs "Not implemented yet" in worker log. This is hidden behind a feature flag. Please issue the following command in order to use it: tuleap config-set asynchronous_jira_creation 1 Reminder: with this setting, the tracker **will not be created**, it is here only for testing purpose. Part of story #14766: Have an import from jira structure Change-Id: I0b06b00535f0b089e0c91044906abcd2f6b77eb6

Modified Files

Name
M plugins/tracker/include/Tracker/Creation/JiraImporter/AsyncJiraScheduler.php +38 −7 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/AsynchronousJiraRunner.php +107 −0 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/JiraRunner.php +74 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/PendingJiraImport.php +18 −24 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/PendingJiraImportBuilder.php +76 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/PendingJiraImportCleaner.php +16 −37 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/PendingJiraImportDao.php +19 −1 Go to diff View file
A plugins/tracker/include/Tracker/Creation/JiraImporter/UnableToBuildPendingJiraImportException.php +27 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/notification-cancel-html.mustache +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/notification-cancel-text.mustache +1 −1 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +47 −19 Go to diff View file
M plugins/tracker/site-content/fr_FR/LC_MESSAGES/tuleap-tracker.po +7 −7 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/AsyncJiraSchedulerTest.php +113 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/AsynchronousJiraRunnerTest.php +165 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/JiraRunnerTest.php +118 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/PendingJiraImportBuilderTest.php +167 −0 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/PendingJiraImportCleanerTest.php +44 −127 Go to diff View file