Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Get more data from GCP about images #63

Merged
merged 1 commit into from
Oct 24, 2022
Merged

Get more data from GCP about images #63

merged 1 commit into from
Oct 24, 2022

Conversation

major
Copy link
Member

@major major commented Oct 18, 2022

The original proof of concept functions only retrieved the name of the image from GCP but no additional data was included. This patch updates those methods by adding in pertinent information from Google's image list object that could be useful in the locator.

Google returns an unusual object (with more objects under attributes) that is difficult to parse, so it required an additional function to normalize the data and return it similarly to how we handle AWS and Azure.

Fixes #62

Signed-off-by: Major Hayden major@redhat.com

@major major force-pushed the get-more-gcp-data branch from 653e961 to 4f48484 Compare October 18, 2022 18:58
Copy link
Member

@F-X64 F-X64 left a comment

Choose a reason for hiding this comment

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

Looking good.

The original proof of concept functions only retrieved the name of the
image from GCP but no additional data was included. This patch updates
those methods by adding in pertinent information from Google's image
list object that could be useful in the locator.

Google returns an unusual object (with more objects under attributes)
that is difficult to parse, so it required an additional function to
normalize the data and return it similarly to how we handle AWS and
Azure.

Signed-off-by: Major Hayden <major@redhat.com>
@F-X64 F-X64 force-pushed the get-more-gcp-data branch from 4f48484 to 5e6eea4 Compare October 24, 2022 13:19
@F-X64
Copy link
Member

F-X64 commented Oct 24, 2022

@major had to manually rebase to fix merge conflicts. I'll go ahead and merge once tests have passed.

@F-X64 F-X64 merged commit 654ee58 into main Oct 24, 2022
@F-X64 F-X64 deleted the get-more-gcp-data branch October 24, 2022 13:22
@major
Copy link
Member Author

major commented Oct 24, 2022

Thanks, @FKolwa! 🫂

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Collect more data from GCP about images
2 participants