feat: add dataplex-get-data-product tool#3499
Conversation
…data-products mapping fix
…ke teardowns concurrent
There was a problem hiding this comment.
Code Review
This pull request adds support for Data Products in the Dataplex (Knowledge Catalog) integration by introducing two new tools: dataplex-list-data-products and dataplex-get-data-product. The changes include updating the Dataplex source to initialize and use the DataProductClient, implementing the new tool configurations, adding comprehensive integration tests, and updating the documentation. The code reviewer provided feedback recommending the consistent capitalization of initialisms like 'ID' (e.g., locationID, dataProductID) to align with Go style guidelines, correcting a typo in a parameter description, explicitly passing the cloud platform scope when finding default credentials in tests, and using t.Fatalf to fail fast during test setup if the service account email is missing.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Important
Stacked Changeset: This PR depends on changes in previous PRs (#3337).
This PR implements the dataplex-get-data-product tool for the Dataplex
(Knowledge Catalog) source, allowing users to retrieve detailed metadata for
a specific Data Product.
Changes overview:
Product by location and ID. It maps SDK structures to a clean flat output,
including display name, description, owner emails, and access groups.
and dataProductId parameters.
and proper 401 handling on unauthorized requests.
updated the Dataplex source guide, and added the tool details to the
capabilities list.