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

support vertexai featureonlinestore_featureview GA (standard url) #9696

Merged

Conversation

kkram01
Copy link
Contributor

@kkram01 kkram01 commented Dec 21, 2023

Fixed hashicorp/terraform-provider-google#16507

This PR is to support vertexai FeatureOnlineStore.Featureview Resource with Terraform GA provider.

Release Note Template for Downstream PRs (will be copied)

google_vertex_ai_feature_online_store_featureview

@modular-magician
Copy link
Collaborator

Hello! I am a robot. It looks like you are a: Community Contributor Googler Core Contributor. Tests will run automatically.

@roaks3, 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
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, 1377 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 6 files changed, 1377 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 145 insertions(+))
TF OiCS: Diff ( 4 files changed, 170 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 37
Passed tests 35
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • vertexai

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccVertexAIFeatureOnlinestoreFeatureview_vertexAiFeatureonlinestoreFeatureviewExample[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:}}$
TestAccVertexAIFeatureOnlinestoreFeatureview_vertexAiFeatureonlinestoreFeatureview_updated[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

@modular-magician
Copy link
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, 1377 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 6 files changed, 1377 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 145 insertions(+))
TF OiCS: Diff ( 4 files changed, 170 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 37
Passed tests 36
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlinestoreFeatureview_vertexAiFeatureonlinestoreFeatureview_updated

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccVertexAIFeatureOnlinestoreFeatureview_vertexAiFeatureonlinestoreFeatureview_updated[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

@modular-magician
Copy link
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, 1377 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 6 files changed, 1377 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 145 insertions(+))
TF OiCS: Diff ( 4 files changed, 170 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 37
Passed tests 37
Skipped tests: 0
Affected tests: 0

Click here to see the affected service packages
  • vertexai

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

@kkram01 kkram01 force-pushed the feature/vertexai_featureview1 branch 2 times, most recently from 937aff4 to d4b276b Compare December 21, 2023 20:22
@melinath
Copy link
Member

/gcbrun

@modular-magician
Copy link
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, 1384 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 6 files changed, 1384 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 145 insertions(+))
TF OiCS: Diff ( 4 files changed, 170 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests 37
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • vertexai

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccVertexAIFeatureOnlinestoreFeatureview_vertexAiFeatureonlinestoreFeatureview_updated[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:}}$
TestAccVertexAIFeatureOnlinestoreFeatureview_vertexAiFeatureonlinestoreFeatureviewExample[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

Copy link
Contributor

@slevenick slevenick left a comment

Choose a reason for hiding this comment

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

Test failure is due to reused resource names. Paramaterization will fix it in the long run

@modular-magician
Copy link
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 ( 7 files changed, 1384 insertions(+), 7 deletions(-))
Terraform Beta: Diff ( 6 files changed, 1384 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 145 insertions(+))
TF OiCS: Diff ( 4 files changed, 170 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests 38
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlinestoreFeatureview_vertexAiFeatureonlinestoreFeatureviewExample

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{red}{\textsf{Tests failed during RECORDING mode:}}$
TestAccVertexAIFeatureOnlinestoreFeatureview_vertexAiFeatureonlinestoreFeatureviewExample[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

@kkram01
Copy link
Contributor Author

kkram01 commented Jan 2, 2024

@slevenick can you please check and let me know if any other changes are required? Thanks.

@modular-magician
Copy link
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, 1369 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 6 files changed, 1369 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 145 insertions(+))
TF OiCS: Diff ( 4 files changed, 170 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests 37
Skipped tests: 0
Affected tests: 2

Click here to see the affected service packages
  • vertexai

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

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureview_updated[Debug log]
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureviewExample[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

@melinath melinath removed the request for review from roaks3 January 5, 2024 00:49

func testAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureview_update(context map[string]interface{}) string {
return acctest.Nprintf(`
resource "google_vertex_ai_feature_online_store" "featureonlinestore" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Spacing from here down looks broken

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ran go fmt again.

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like they continue to be oddly spaced. I don't think go fmt will work on this file as this is a terraform config represented as a string, so the formatter doesn't know how to handle it

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah ok. I've ran the terraform formatter separately on the terraform portions and added it back. pls check now.

@modular-magician
Copy link
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, 1369 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 7 files changed, 1374 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 145 insertions(+))
TF OiCS: Diff ( 4 files changed, 170 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests 38
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureview_updated

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureview_updated[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


func testAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureview_update(context map[string]interface{}) string {
return acctest.Nprintf(`
resource "google_vertex_ai_feature_online_store" "featureonlinestore" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like they continue to be oddly spaced. I don't think go fmt will work on this file as this is a terraform config represented as a string, so the formatter doesn't know how to handle it

@modular-magician
Copy link
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, 1369 insertions(+), 2 deletions(-))
Terraform Beta: Diff ( 6 files changed, 1369 insertions(+), 2 deletions(-))
TF Conversion: Diff ( 1 file changed, 145 insertions(+))
TF OiCS: Diff ( 4 files changed, 170 insertions(+))

@modular-magician
Copy link
Collaborator

Tests analytics

Total tests: 39
Passed tests 38
Skipped tests: 0
Affected tests: 1

Click here to see the affected service packages
  • vertexai

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
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureview_updated

Get to know how VCR tests work

@modular-magician
Copy link
Collaborator

$\textcolor{green}{\textsf{Tests passed during RECORDING mode:}}$
TestAccVertexAIFeatureOnlineStoreFeatureview_vertexAiFeatureonlinestoreFeatureview_updated[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

@slevenick slevenick merged commit bc2a741 into GoogleCloudPlatform:main Jan 8, 2024
12 checks passed
bskaplan pushed a commit to bskaplan/magic-modules that referenced this pull request Jan 17, 2024
…ogleCloudPlatform#9696)

* support vertexai featureonlinestore_featureview GA

* fix pr featureview test failure

* fix featureview pr issues

* add FeatureView resource with standard base_url

* update featureview name

* fix spacing in test
kylase pushed a commit to yuanchuankee/magic-modules that referenced this pull request Jan 21, 2024
…ogleCloudPlatform#9696)

* support vertexai featureonlinestore_featureview GA

* fix pr featureview test failure

* fix featureview pr issues

* add FeatureView resource with standard base_url

* update featureview name

* fix spacing in test
balanaguharsha pushed a commit to balanaguharsha/magic-modules that referenced this pull request May 2, 2024
…ogleCloudPlatform#9696)

* support vertexai featureonlinestore_featureview GA

* fix pr featureview test failure

* fix featureview pr issues

* add FeatureView resource with standard base_url

* update featureview name

* fix spacing in test
pengq-google pushed a commit to pengq-google/magic-modules that referenced this pull request May 21, 2024
…ogleCloudPlatform#9696)

* support vertexai featureonlinestore_featureview GA

* fix pr featureview test failure

* fix featureview pr issues

* add FeatureView resource with standard base_url

* update featureview name

* fix spacing in test
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.

Support google_vertex_ai_feature_online_store resources
5 participants