Skip to content

Specify whether to get WRP or Payload when registering #19

@kristinapathak

Description

@kristinapathak

https://github.com/xmidt-org/webpa-common/blob/main/webhook/webhook.go#L25

Currently, if a specific ContentType is specified in the WRP webhook registration, the full WRP encoded as Msgpack is sent instead of just the WRP's payload field. This functionality is not straightfoward to webhook clients, so we are proposing an additional field that would specify whether Caduceus sends the full WRP. The ContentType would no longer be involved in this logic.

Some name options for this new field:

  • SendFullWRP
  • IncludeFullWRP
  • IncludeWRP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions