Skip to content

Convert integrations resources to new in memory cache collection#54487

Merged
rosstimothy merged 1 commit intomasterfrom
tross/cache_integrations
May 5, 2025
Merged

Convert integrations resources to new in memory cache collection#54487
rosstimothy merged 1 commit intomasterfrom
tross/cache_integrations

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

Moves integrations, access monitoring rules, and plugin static credentials to the new cache collection scheme that was introduced in #52210. No additional functionality changes have been made here. This should be a purely mechanical translation to the new internal caching machinery.

@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label May 2, 2025
@rosstimothy rosstimothy force-pushed the tross/cache_integrations branch 2 times, most recently from 23ac159 to ff2bad3 Compare May 2, 2025 17:41
@rosstimothy rosstimothy marked this pull request as ready for review May 2, 2025 18:23
@rosstimothy rosstimothy requested a review from fspmarshall May 2, 2025 18:45
func TestAccessMonitoringRules(t *testing.T) {
t.Parallel()

p := newTestPack(t, ForAuth)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Some day we should make newTestPack do the t.Cleanup itself.

I prefer that functions that take a *testing.T register their own cleanups, and functions that don't return a closer or a func that can be deferred, etc.

It's hard to tell when you're expected to clean up after things if we're not consistent here.

Anyway, end rant. :-)

Moves integrations, access monitoring rules, and plugin static
credentials to the new cache collection scheme that was introduced
in #52210. No additional functionality changes have been made here.
This should be a purely mechanical translation to the new internal
caching machinery.
@rosstimothy rosstimothy force-pushed the tross/cache_integrations branch from ff2bad3 to 92c785f Compare May 5, 2025 21:22
@rosstimothy rosstimothy enabled auto-merge May 5, 2025 21:22
@rosstimothy rosstimothy added this pull request to the merge queue May 5, 2025
Merged via the queue into master with commit 4062e74 May 5, 2025
41 checks passed
@rosstimothy rosstimothy deleted the tross/cache_integrations branch May 5, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants