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

DCPERF-747 Allow overriding the resource_owner label #27

Merged
merged 3 commits into from
Nov 25, 2024

Conversation

jacek-foremski
Copy link
Contributor

This PR allows clients to override the resource_owner tag.
It also changes the default resource_owner tag to the current Atlassian JPT maintainer, yours truly

*/
data class Investment(
private val useCase: String,
val lifespan: Duration,
private val disposable: Boolean = true,
val reuseKey: () -> String = { "jpt-${UUID.randomUUID()}" }
val reuseKey: () -> String = { "jpt-${UUID.randomUUID()}" },
private val resourceOwner: String = "jforemski"
Copy link
Contributor

Choose a reason for hiding this comment

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

This class needs builder. I believe the change doubles the constructors count from 4 to 8 and all of them are part of lib's API.

@jacek-foremski jacek-foremski force-pushed the issue/DCPERF-747-change-aws-service-owners branch from 22c2ef4 to c336a84 Compare November 22, 2024 08:24
@jacek-foremski jacek-foremski requested a review from pczuj November 22, 2024 08:58
@jacek-foremski jacek-foremski merged commit 9575e11 into master Nov 25, 2024
3 checks passed
@jacek-foremski jacek-foremski deleted the issue/DCPERF-747-change-aws-service-owners branch November 25, 2024 13:42
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.

4 participants