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

LITE-23321: Adding owner data to product on get_products #83

Merged

Conversation

akodelia
Copy link
Contributor

@akodelia akodelia commented Aug 9, 2023

No description provided.

@@ -127,6 +127,7 @@ def add_deployments(installation, listings, config, logger):


def process_ppr_from_product_update(data, config, context, client, logger):
logger.error("NEW data arrived")
Copy link
Contributor

Choose a reason for hiding this comment

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

[COD-C] Are sure to log the info as an ERROR?

@@ -87,6 +89,10 @@ def get_hubs(client, hubs_ids):
return client.hubs.filter(rql)


def get_partners(client, account_ids):
Copy link
Contributor

Choose a reason for hiding this comment

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

[COD-C] It will not work for the syndication products, since there is no way to know the vendor. Why you don't want to extract that information from the product itself? I think it contains owner id and name

Copy link
Contributor

Choose a reason for hiding this comment

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

Or even store in DB the owner also? Just two plain fields

@akodelia akodelia force-pushed the feature/LITE-28321-Add-owner-data-into-get-product-response branch from 33ecd93 to fe8b495 Compare August 11, 2023 10:22
@akodelia akodelia requested a review from d3rky August 11, 2023 10:38
@akodelia akodelia force-pushed the feature/LITE-28321-Add-owner-data-into-get-product-response branch from fe8b495 to a35e3d9 Compare August 11, 2023 10:40
@d3rky d3rky merged commit 057d365 into master Aug 17, 2023
4 checks passed
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.

2 participants