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

[CLOUDGA-22927][CLOUDGA-22911] Updated GET call to use latest API and added FF for GCP integration #251

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

Siddarth-Baldwa
Copy link
Contributor

@Siddarth-Baldwa Siddarth-Baldwa commented Sep 6, 2024

Summary

CLOUDGA 22927

The delete call used metrics-exporter list API to fetch the telemetry provider using config-id (uuid). However, old APIs do not recognise GoogleCloud Enum, hence resulted in errors. As part of this change we use the latest APIs in the GET call

CLOUDGA 22911

Added the FF for google cloud integration (telemetry provider). Following are the cases and their respective behaviour

Note - GoogleCloud FF = false
a. Using correct full command
image

b. Using unknown flag
image

c. Using correct but inconsistent flags- Eg: If this case is not handled, the error thrown will as for --googlecloud-cred-filepath flag even after setting the FF to false
image

Test

  1. Added UTs
  2. Test the functionality e2e with FF= true and false
  3. Verified that the error is fixed

@Siddarth-Baldwa Siddarth-Baldwa merged commit b62d4e7 into main Sep 12, 2024
2 checks passed
@Siddarth-Baldwa Siddarth-Baldwa deleted the sbaldwa/22927-22911 branch September 12, 2024 05:36
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.

3 participants