Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(webhook): Don't try to deserialize fields we don't really n… (#3202…
…) (#3207) * fix(webhook): Don't try to deserialize fields we don't really need An assumption was made that body is a can be jackon parsed into a JSON object. But that's not always the case, in fact, we actually account for it in the original parse: https://github.com/spinnaker/orca/blob/master/orca-webhook/src/main/groovy/com/netflix/spinnaker/orca/webhook/tasks/CreateWebhookTask.groovy#L71 But then disregard it in StageContext mapping This change removes those fields from being parsed since we don't actually need them for anything inside the stage (they were added in the attempt to be fully typed) * fixup! fix(webhook): Don't try to deserialize fields we don't really need Co-authored-by: Emily Burns <emjeburns@gmail.com> Co-authored-by: Ethan Rogers <ethanfrogers@users.noreply.github.com>
- Loading branch information