stable

Clone or download

Read-only

Asynchronously create a mirror release in contributor projects

part of story #16125 [release management] create a new Aggregator Release How to test: make sure to have redis working create an artifact, it should be also created in contributor projects you can see steps in logs located in: - multi_project_backlog_syslog - worker_log sorry about the patch size, at first artifact weren't created in contributors project. Creation and validation is now done in asynchronous mode and I had to give the submitter user everywhere. Change-Id: I0f01543932b7ea94a49ea18c4255a713362eaae6

Modified Files

Name
M plugins/agiledashboard/include/agiledashboardPlugin.php +1 −9 Go to diff View file
M plugins/multi_project_backlog/db/install.sql +7 −0 Go to diff View file
M plugins/multi_project_backlog/db/uninstall.sql +1 −0 Go to diff View file
M plugins/multi_project_backlog/include/Aggregator/Milestone/Mirroring/ArtifactCreatedHandler.php +21 −73 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/Mirroring/Asynchronous/CreateMirrorsRunner.php +154 −0 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/Mirroring/Asynchronous/CreateMirrorsTask.php +195 −0 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/Mirroring/Asynchronous/PendingArtifactChangesetNotFoundException.php +33 −0 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/Mirroring/Asynchronous/PendingArtifactCreationDao.php +58 −0 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/Mirroring/Asynchronous/PendingArtifactNotFoundException.php +33 −0 Go to diff View file
A plugins/multi_project_backlog/include/Aggregator/Milestone/Mirroring/Asynchronous/PendingArtifactUserNotFoundException.php +35 −0 Go to diff View file
M plugins/multi_project_backlog/include/multi_project_backlogPlugin.php +22 −71 Go to diff View file
M plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/Mirroring/ArtifactCreatedHandlerTest.php +39 −175 Go to diff View file
A plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/Mirroring/Asynchronous/CreateMirrorsRunnerTest.php +197 −0 Go to diff View file
A plugins/multi_project_backlog/tests/unit/Aggregator/Milestone/Mirroring/Asynchronous/CreateMirrorsTaskTest.php +228 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/AtGivenDateFieldsValidator.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/FieldsValidator.class.php +5 −7 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChanagesetFieldsValidator.class.php +25 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetCreator.class.php +19 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetCreatorBase.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetFieldsValidator.class.php +5 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetFieldsWithoutRequiredValidationValidator.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Event/ArtifactCreated.php +15 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +2 −13 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactCreator.class.php +3 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php +2 −26 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_ChangesetFactoryBuilder.class.php +4 −6 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field.class.php +3 −5 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Computed.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_CrossReferences.class.php +4 −7 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_LastModifiedBy.class.php +3 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_LastUpdateDate.class.php +4 −7 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_PermissionsOnArtifact.class.php +3 −4 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_Priority.class.php +4 −3 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_SubmittedBy.class.php +4 −7 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_SubmittedOn.class.php +8 −7 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +1 −4 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Field/PermissionsOnArtifact/Tracker_FormElement_Field_PermissionsOnArtifactTest.php +31 −7 Go to diff View file
M plugins/tracker/tests/unit/Tracker/FormElement/Tracker_FormElement_Field_ComputedTest.php +6 −6 Go to diff View file
M plugins/tracker/tests/unit/Tracker/TrackerTest.php +10 −1 Go to diff View file
M plugins/tracker/tests/unit/Tracker_FormElement_FieldTest.php +1 −0 Go to diff View file