Skip to content

Send agent context in integration request bodies#32

Merged
ChezCrawford merged 3 commits intomainfrom
send-agent-context-in-integration-request-bodies
Aug 30, 2021
Merged

Send agent context in integration request bodies#32
ChezCrawford merged 3 commits intomainfrom
send-agent-context-in-integration-request-bodies

Conversation

@rafusel
Copy link
Copy Markdown
Contributor

@rafusel rafusel commented Aug 27, 2021

Add agent context to integration request bodies so that all integrations can work with a Global Event Routing Key.

@rafusel rafusel force-pushed the send-agent-context-in-integration-request-bodies branch from c8f688f to 0b40c10 Compare August 27, 2021 20:51
@ChezCrawford ChezCrawford self-requested a review August 30, 2021 14:38
Comment thread pkg/eventsapi/v1.go
type DetailsV1 map[string]interface{}

// AgentContext is used for pdagent integrations
type AgentContext struct {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm bummed that we have to include this on the Event struct but there do not seem to be any quick workarounds for now.

@ChezCrawford ChezCrawford merged commit 3a8c0f2 into main Aug 30, 2021
@ChezCrawford ChezCrawford deleted the send-agent-context-in-integration-request-bodies branch August 30, 2021 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants