Skip to content

Move sign_in from google_identity_platform_project_default_config to google_identity_platform_config.#8559

Merged
shuyama1 merged 38 commits into
GoogleCloudPlatform:mainfrom
mraouffouad:gcip_config_new
Sep 15, 2023
Merged

Move sign_in from google_identity_platform_project_default_config to google_identity_platform_config.#8559
shuyama1 merged 38 commits into
GoogleCloudPlatform:mainfrom
mraouffouad:gcip_config_new

Conversation

@mraouffouad

@mraouffouad mraouffouad commented Aug 4, 2023

Copy link
Copy Markdown
Contributor

Move sign_in from google_identity_platform_project_default_config to google_identity_platform_config. Mark the former as deprecated. For more context, see #8064.

If this PR is for Terraform, I acknowledge that I have:

  • Searched through the issue tracker for an open issue that this either resolves or contributes to, commented on it to claim it, and written "fixes {url}" or "part of {url}" in this PR description. If there were no relevant open issues, I opened one and commented that I would like to work on it (not necessary for very small changes).
  • Ensured that all new fields I added that can be set by a user appear in at least one example (for generated resources) or third_party test (for handwritten resources or update tests).
  • Generated Terraform providers, and ran make test and make lint in the generated providers to ensure it passes unit and linter tests.
  • Ran relevant acceptance tests using my own Google Cloud project and credentials (If the acceptance tests do not yet pass or you are unable to run them, please let your reviewer know).
  • Read Write release notes before writing my release note below.

Release Note Template for Downstream PRs (will be copied)

identityplayform: added `sign-in` field to `google_identity_platform_config` resource
identityplayform: deprecated `google_identity_platform_project_default_config` resource. Use `google_identity_platform_config` resource instead

@modular-magician

Copy link
Copy Markdown
Collaborator

Hello! I am a robot. It looks like you are a community contributor. @shuyama1, a repository maintainer, has been assigned to review your changes. If you have not received review feedback within 2 business days, please leave a comment on this PR asking them to take a look.

You can help make sure that review is quick by doing a self-review and by running impacted tests locally.

@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 5 files changed, 616 insertions(+), 3 deletions(-))
Terraform Beta: Diff ( 5 files changed, 616 insertions(+), 3 deletions(-))
TF Conversion: Diff ( 3 files changed, 225 insertions(+), 3 deletions(-))

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 2930
Passed tests 2628
Skipped tests: 302
Affected tests: 0

$\textcolor{green}{\textsf{All tests passed in REPLAYING mode.}}$
View the build log

@mraouffouad

Copy link
Copy Markdown
Contributor Author

@shuyama1 This PR is waiting for your approval.

@shuyama1

shuyama1 commented Aug 9, 2023

Copy link
Copy Markdown
Member

@mraouffouad Thanks for the ping! Sorry this fell off my radar. Working on the review now.

@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 5 files changed, 615 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 5 files changed, 615 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 222 insertions(+))

@shuyama1 shuyama1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Overall looks good, only some small comments

Comment thread mmv1/products/identityplatform/Config.yaml
Comment thread mmv1/products/identityplatform/Config.yaml
Comment thread mmv1/products/identityplatform/Config.yaml
@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 2939
Passed tests 2637
Skipped tests: 302
Affected tests: 0

$\textcolor{green}{\textsf{All tests passed in REPLAYING mode.}}$
View the build log

Comment thread mmv1/third_party/terraform/website/docs/guides/version_5_upgrade.html.markdown Outdated
@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 5 files changed, 615 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 5 files changed, 615 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 222 insertions(+))

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 2939
Passed tests 2637
Skipped tests: 302
Affected tests: 0

$\textcolor{green}{\textsf{All tests passed in REPLAYING mode.}}$
View the build log

@shuyama1 shuyama1 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Would you mind resolving the merge conflicts in the upgrade guide? Thanks!

Comment thread mmv1/products/identityplatform/Config.yaml
@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 6 files changed, 746 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 6 files changed, 746 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 222 insertions(+))

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 3055
Passed tests 2755
Skipped tests: 298
Affected tests: 2

Action taken

Found 2 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccIdentityPlatformConfig_update|TestAccDataSourceGoogleServiceAccountJwt

Get to know how VCR tests work

@modular-magician

Copy link
Copy Markdown
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccDataSourceGoogleServiceAccountJwt[Debug log]

Rerun these tests in REPLAYING mode to catch issues

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccIdentityPlatformConfig_update[Error message] [Debug log]

$\textcolor{red}{\textsf{Please fix these to complete your PR.}}$
View the build log or the debug log for each test

Set send_empty_value to true for anonymous.enabled.
@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 6 files changed, 746 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 6 files changed, 746 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 222 insertions(+))

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 3056
Passed tests 2757
Skipped tests: 298
Affected tests: 1

Action taken

Found 1 affected test(s) by replaying old test recordings. Starting RECORDING based on the most recent commit. Click here to see the affected tests
TestAccIdentityPlatformConfig_update

Get to know how VCR tests work

@modular-magician

Copy link
Copy Markdown
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccIdentityPlatformConfig_update[Debug log]

Rerun these tests in REPLAYING mode to catch issues

$\textcolor{green}{\textsf{No issues found for passed tests after REPLAYING rerun.}}$


$\textcolor{green}{\textsf{All tests passed!}}$
View the build log or the debug log for each test

@c2thorn

c2thorn commented Sep 15, 2023

Copy link
Copy Markdown
Member

add @c2thorn to confirm: do we still accept new PRs for major release at this moment?

We'll accept 5.0.0 PR's until 9/22

@shuyama1

Copy link
Copy Markdown
Member

@mraouffouad Confirmed that the test is passing. Thanks for working on it. Overall looks good. For one last part, would you mind resolving the conflicts in mmv1/third_party/terraform/website/docs/guides/version_5_upgrade.html.markdown? Thanks!

@mraouffouad

mraouffouad commented Sep 15, 2023

Copy link
Copy Markdown
Contributor Author

Tests passed during RECORDING mode: TestAccIdentityPlatformConfig_update[Debug log]

Rerun these tests in REPLAYING mode to catch issues

No issues found for passed tests after REPLAYING rerun.

All tests passed! View the build log or the debug log for each test

@shuyama1 Tests are passing in VCR. I removed the comment to skip VCR, like the case it was before this PR.

@shuyama1

Copy link
Copy Markdown
Member

Tests passed during RECORDING mode: TestAccIdentityPlatformConfig_update[Debug log]

Rerun these tests in REPLAYING mode to catch issues

No issues found for passed tests after REPLAYING rerun.
All tests passed! View the build log or the debug log for each test

@shuyama1 Tests are passing in VCR. I removed the comment to skip VCR, like the case it was before this PR. Hope this is it.

Thanks for working on it. One last thing about the merge conflict though, please see my comments in #8559 (comment)
Thank you so much!

@mraouffouad

mraouffouad commented Sep 15, 2023

Copy link
Copy Markdown
Contributor Author

Tests passed during RECORDING mode: TestAccIdentityPlatformConfig_update[Debug log]

Rerun these tests in REPLAYING mode to catch issues

No issues found for passed tests after REPLAYING rerun.
All tests passed! View the build log or the debug log for each test

@shuyama1 Tests are passing in VCR. I removed the comment to skip VCR, like the case it was before this PR. Hope this is it.

Thanks for working on it. One last thing about the merge conflict though, please see my comments in #8559 (comment) Thank you so much!

Done. Thanks for reviewing!

@shuyama1 wrt the next PR, should we be removing mmv1/products/identityplatform/ProjectDefaultConfig.yaml and its associated files / docs?

@shuyama1

shuyama1 commented Sep 15, 2023

Copy link
Copy Markdown
Member

Tests passed during RECORDING mode: TestAccIdentityPlatformConfig_update[Debug log]

Rerun these tests in REPLAYING mode to catch issues

No issues found for passed tests after REPLAYING rerun.
All tests passed! View the build log or the debug log for each test

@shuyama1 Tests are passing in VCR. I removed the comment to skip VCR, like the case it was before this PR. Hope this is it.

Thanks for working on it. One last thing about the merge conflict though, please see my comments in #8559 (comment) Thank you so much!

Done. Thanks for reviewing!

@shuyama1 wrt the next PR, should we be removing mmv1/products/identityplatform/ProjectDefaultConfig.yaml and its associated files / docs?

Yes, and see https://googlecloudplatform.github.io/magic-modules/develop/make-a-breaking-change/#make-the-breaking-change-on-feature-branch-major-release-500 for more details on how to make major release breaking change PRs

@modular-magician

Copy link
Copy Markdown
Collaborator

Hi there, I'm the Modular magician. I've detected the following information about your changes:

Diff report

Your PR generated some diffs in downstreams - here they are.

Terraform GA: Diff ( 6 files changed, 746 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 6 files changed, 746 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 222 insertions(+))

@modular-magician

Copy link
Copy Markdown
Collaborator

Tests analytics

Total tests: 3060
Passed tests 2761
Skipped tests: 299
Affected tests: 0

$\textcolor{green}{\textsf{All tests passed in REPLAYING mode.}}$
View the build log

@mraouffouad

Copy link
Copy Markdown
Contributor Author

`

Created PR #9036.

nevzheng pushed a commit to nevzheng/magic-modules that referenced this pull request Sep 22, 2023
…google_identity_platform_config. (GoogleCloudPlatform#8559)

Co-authored-by: Shuya Ma <87669292+shuyama1@users.noreply.github.com>
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.

5 participants