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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jacek-foremski
Copy link

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
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