stable

Clone or download

Read-only

Create ProgramIncrementUpdate from ArtifactUpdated event

part of story #22675 replicate program increment changes to mirrored program increments How to test: No functional change expected when creating mirror program increments. You can use cypress tests for non-regression. Notes: This object will be the basis for the replication of changes from source PI to Mirrored PIs. It also has the advantage of grouping together ids that should be related: artifact id should be related to tracker id and changeset id. Change-Id: I65920aa9958a5842b3ea33572932dd1db19fe647

Modified Files

Name
M plugins/program_management/include/Adapter/Events/ArtifactUpdatedProxy.php +18 −4 Go to diff View file
M plugins/program_management/include/Domain/Events/ArtifactUpdatedEvent.php +2 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ArtifactUpdatedHandler.php +17 −25 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/IterationReplicationScheduler.php +15 −35 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementUpdate.php +61 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrementTracker/ProgramIncrementTrackerIdentifier.php +42 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Events/ArtifactUpdatedProxyTest.php +12 −6 Go to diff View file
A plugins/program_management/tests/unit/Builder/ProgramIncrementUpdateBuilder.php +53 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactUpdatedHandlerTest.php +11 −11 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/IterationReplicationSchedulerTest.php +16 −26 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementIdentifierTest.php +13 −8 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementUpdateTest.php +78 −0 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrementTracker/ProgramIncrementTrackerIdentifierTest.php +48 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Event/ArtifactUpdated.php +7 −7 Go to diff View file
A plugins/tracker/tests/unit/Builders/ChangesetTestBuilder.php +70 −0 Go to diff View file
M plugins/tracker/tests/unit/Builders/TrackerTestBuilder.php +1 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Artifact/Event/ArtifactUpdatedTest.php +41 −0 Go to diff View file