stable

Clone or download

Read-only

Define payload content

This is part of story #11035 trigger webhook on artifact updates The payload contains: * The action (create or update) * The minimal user info of submitter (like git webhook) * Current changeset representation * Previous changeset representation if any Each changeset representation contains all field data, without any permission check. Change-Id: Ie94919b47a51884aea7bfa8bd2132ca98cbbc556

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/ChangesetCreatorBase.class.php +8 −2 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/NewChangesetCreatorBase.class.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset.class.php +37 −0 Go to diff View file
M plugins/tracker/include/Tracker/Webhook/ArtifactPayload.php +40 −5 Go to diff View file