Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent: allow the /v1/connect/intentions/match endpoint to use the agent cache #8875

Merged
merged 2 commits into from
Oct 8, 2020

Conversation

rboyer
Copy link
Member

@rboyer rboyer commented Oct 7, 2020

This is the recommended proxy integration API for listing intentions
which should not require an active connection to the servers to resolve
after the initial cache filling.

…nt cache

This is the recommended proxy integration API for listing intentions
which should not require an active connection to the servers to resolve
after the initial cache filling.
@rboyer rboyer added this to the 1.9 milestone Oct 7, 2020
@rboyer rboyer requested a review from a team October 7, 2020 21:05
@rboyer rboyer self-assigned this Oct 7, 2020
Copy link
Contributor

@freddygv freddygv left a comment

Choose a reason for hiding this comment

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

LGTM, I think the remaining bits are: changelog and updating the agent caching mode in the docs:
https://github.com/hashicorp/consul/blob/master/website/pages/api-docs/connect/intentions.mdx#L513

I believe in this case it's background refresh like this catalog endpoint:
https://github.com/hashicorp/consul/blob/master/website/pages/api-docs/catalog.mdx#L446

Also it looks like /catalog/services and /catalog/datacenters should also have the agent caching updated. Those seem to be background refresh and simple based on their cache types.

@rboyer
Copy link
Member Author

rboyer commented Oct 8, 2020

I was going to handle the website updates for this over in the big catchall: #8869

@rboyer rboyer merged commit 46a4ef7 into master Oct 8, 2020
@rboyer rboyer deleted the intention-caching branch October 8, 2020 19:51
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.

None yet

2 participants