-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add stack transformations #677
Conversation
public TestOptions(@Nullable String projectName, @Nullable String stackName, boolean preview) { | ||
this.projectName = projectName != null ? projectName : "project"; | ||
this.stackName = stackName != null ? stackName : "stack"; | ||
this.preview = preview; | ||
this.resourceTransformations = List.of(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note to self: make sure to add ability to set this in #553
sdk/java/pulumi/src/main/java/com/pulumi/resources/ResourceTransformation.java
Show resolved
Hide resolved
*/ | ||
@Deprecated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't wanted to remove this right away since I'm not sure if examples or providers use it (unlikely?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing is OK but needs to be highlighted in CHANGELOG_PENDING to start building the habits. There is no signifiant use yet.
sdk/java/pulumi/src/main/java/com/pulumi/resources/StackOptions.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had some qns but this is looking perfect - add transformations coverage and new feature on stack transformations with coverage for that also - thank you.
I've only skimmed the tests lmk if you want me to read into those. Looks thorough though.
Thank you.
Should I remove |
- update javadoc - update getters style
- add builder - adjust getter/setter convention
- add Pulumi.withOptions
7766bef
to
e0f9e19
Compare
e0f9e19
to
8aa73ad
Compare
I've remove |
|
||
class StackOptionsTest { | ||
|
||
public static Stream<Arguments> testMerge() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a unit test
Getting very weird CI errors, but I see them on other builds as well, so does not look related to the PR. Should I merge? |
Let's not merge till we fix main and get green here, which is also failing afaik, let's figure this out. |
Description
Fixes #478
Checklist