-
Notifications
You must be signed in to change notification settings - Fork 800
feat(source/mysql): support queryParams
in MySQL source
#1299
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
feat(source/mysql): support queryParams
in MySQL source
#1299
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
898d7a4
to
7b31be3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @govegasbudapest thankyou for contributing! If you can update the docs that will be great too! ref: #1047
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your prompt response! Left a couple more comments on the changes.
Co-authored-by: Yuan Teoh <[email protected]>
Co-authored-by: Yuan Teoh <[email protected]>
Co-authored-by: Yuan Teoh <[email protected]>
Co-authored-by: Yuan Teoh <[email protected]>
Co-authored-by: Yuan Teoh <[email protected]>
Co-authored-by: Yuan Teoh <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@govegasbudapest Awesome, thank you for your contribution!! :)
/gcbrun |
queryParams
in MySQL source
queryParams
in MySQL sourcequeryParams
in MySQL source
/gcbrun |
/gcbrun |
/gcbrun |
) Fixes #1286 ### Motivation * Allow secure connections to PostgreSQL without custom code. ### Changes #### Sources * `mysql`: `Config.QueryParams` added; DSN building rewritten via `url.Values`. --------- Co-authored-by: Yuan Teoh <[email protected]> Co-authored-by: Yuan Teoh <[email protected]> 3ae2526
🤖 I have created a release *beep* *boop* --- ## [0.14.0](v0.13.0...v0.14.0) (2025-09-05) ### ⚠ BREAKING CHANGES * **bigquery:** Move `useClientOAuth` config from tool to source ([#1279](#1279)) ([8d20a48](8d20a48)) * **tools/bigquerysql:** remove `useClientOAuth` from tools config ([#1312](#1312)) ### Features * **clickhouse:** Add ClickHouse Source and Tools ([#1088](#1088)) ([75a04a5](75a04a5)) * **prebuilt/alloydb-postgres:** Support ipType and IAM users ([#1324](#1324)) ([0b2121e](0b2121e)) * **server/mcp:** Support toolbox auth in mcp ([#1140](#1140)) ([ca353e0](ca353e0)) * **source/mysql:** Support `queryParams` in MySQL source ([#1299](#1299)) ([3ae2526](3ae2526)) * **tools/bigquery:** Support end-user credential passthrough on multiple BQ tools ([#1314](#1314)) ([88f4b30](88f4b30)) * **tools/looker:** Add description for looker-get-models tool ([#1266](#1266)) ([89af3a4](89af3a4)) * **tools/looker:** Authenticate via end user credentials ([#1257](#1257)) ([8755e3d](8755e3d)) * **tools/looker:** Report field suggestions to agent ([#1267](#1267)) ([2cad82e](2cad82e)) ### Bug Fixes * Do not print usage on runtime error ([#1315](#1315)) ([afba7a5](afba7a5)) * Update env var to allow empty string ([#1260](#1260)) ([03aa9fa](03aa9fa)) * **tools/firestore:** Add document/collection path validation ([#1229](#1229)) ([14c2249](14c2249)) * **tools/looker-get-dashboards:** Fix Looker client OAuth check ([#1338](#1338)) ([36225aa](36225aa)) * **tools/oceanbase:** Fix encoded text with mysql driver ([#1283](#1283)) ([d16f89f](d16f89f)), closes [#1161](#1161) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <[email protected]>
🤖 I have created a release *beep* *boop* --- ## [0.14.0](v0.13.0...v0.14.0) (2025-09-05) ### ⚠ BREAKING CHANGES * **bigquery:** Move `useClientOAuth` config from tool to source ([#1279](#1279)) ([8d20a48](8d20a48)) * **tools/bigquerysql:** remove `useClientOAuth` from tools config ([#1312](#1312)) ### Features * **clickhouse:** Add ClickHouse Source and Tools ([#1088](#1088)) ([75a04a5](75a04a5)) * **prebuilt/alloydb-postgres:** Support ipType and IAM users ([#1324](#1324)) ([0b2121e](0b2121e)) * **server/mcp:** Support toolbox auth in mcp ([#1140](#1140)) ([ca353e0](ca353e0)) * **source/mysql:** Support `queryParams` in MySQL source ([#1299](#1299)) ([3ae2526](3ae2526)) * **tools/bigquery:** Support end-user credential passthrough on multiple BQ tools ([#1314](#1314)) ([88f4b30](88f4b30)) * **tools/looker:** Add description for looker-get-models tool ([#1266](#1266)) ([89af3a4](89af3a4)) * **tools/looker:** Authenticate via end user credentials ([#1257](#1257)) ([8755e3d](8755e3d)) * **tools/looker:** Report field suggestions to agent ([#1267](#1267)) ([2cad82e](2cad82e)) ### Bug Fixes * Do not print usage on runtime error ([#1315](#1315)) ([afba7a5](afba7a5)) * Update env var to allow empty string ([#1260](#1260)) ([03aa9fa](03aa9fa)) * **tools/firestore:** Add document/collection path validation ([#1229](#1229)) ([14c2249](14c2249)) * **tools/looker-get-dashboards:** Fix Looker client OAuth check ([#1338](#1338)) ([36225aa](36225aa)) * **tools/oceanbase:** Fix encoded text with mysql driver ([#1283](#1283)) ([d16f89f](d16f89f)), closes [#1161](#1161) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <[email protected]> 4f022b6
🤖 I have created a release *beep* *boop* --- ## [0.14.0](googleapis/genai-toolbox@v0.13.0...v0.14.0) (2025-09-05) ### ⚠ BREAKING CHANGES * **bigquery:** Move `useClientOAuth` config from tool to source ([googleapis#1279](googleapis#1279)) ([8d20a48](googleapis@8d20a48)) * **tools/bigquerysql:** remove `useClientOAuth` from tools config ([googleapis#1312](googleapis#1312)) ### Features * **clickhouse:** Add ClickHouse Source and Tools ([googleapis#1088](googleapis#1088)) ([75a04a5](googleapis@75a04a5)) * **prebuilt/alloydb-postgres:** Support ipType and IAM users ([googleapis#1324](googleapis#1324)) ([0b2121e](googleapis@0b2121e)) * **server/mcp:** Support toolbox auth in mcp ([googleapis#1140](googleapis#1140)) ([ca353e0](googleapis@ca353e0)) * **source/mysql:** Support `queryParams` in MySQL source ([googleapis#1299](googleapis#1299)) ([3ae2526](googleapis@3ae2526)) * **tools/bigquery:** Support end-user credential passthrough on multiple BQ tools ([googleapis#1314](googleapis#1314)) ([88f4b30](googleapis@88f4b30)) * **tools/looker:** Add description for looker-get-models tool ([googleapis#1266](googleapis#1266)) ([89af3a4](googleapis@89af3a4)) * **tools/looker:** Authenticate via end user credentials ([googleapis#1257](googleapis#1257)) ([8755e3d](googleapis@8755e3d)) * **tools/looker:** Report field suggestions to agent ([googleapis#1267](googleapis#1267)) ([2cad82e](googleapis@2cad82e)) ### Bug Fixes * Do not print usage on runtime error ([googleapis#1315](googleapis#1315)) ([afba7a5](googleapis@afba7a5)) * Update env var to allow empty string ([googleapis#1260](googleapis#1260)) ([03aa9fa](googleapis@03aa9fa)) * **tools/firestore:** Add document/collection path validation ([googleapis#1229](googleapis#1229)) ([14c2249](googleapis@14c2249)) * **tools/looker-get-dashboards:** Fix Looker client OAuth check ([googleapis#1338](googleapis#1338)) ([36225aa](googleapis@36225aa)) * **tools/oceanbase:** Fix encoded text with mysql driver ([googleapis#1283](googleapis#1283)) ([d16f89f](googleapis@d16f89f)), closes [googleapis#1161](googleapis#1161) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <[email protected]> 4f022b6
🤖 I have created a release *beep* *boop* --- ## [0.14.0](googleapis/genai-toolbox@v0.13.0...v0.14.0) (2025-09-05) ### ⚠ BREAKING CHANGES * **bigquery:** Move `useClientOAuth` config from tool to source ([googleapis#1279](googleapis#1279)) ([8d20a48](googleapis@8d20a48)) * **tools/bigquerysql:** remove `useClientOAuth` from tools config ([googleapis#1312](googleapis#1312)) ### Features * **clickhouse:** Add ClickHouse Source and Tools ([googleapis#1088](googleapis#1088)) ([75a04a5](googleapis@75a04a5)) * **prebuilt/alloydb-postgres:** Support ipType and IAM users ([googleapis#1324](googleapis#1324)) ([0b2121e](googleapis@0b2121e)) * **server/mcp:** Support toolbox auth in mcp ([googleapis#1140](googleapis#1140)) ([ca353e0](googleapis@ca353e0)) * **source/mysql:** Support `queryParams` in MySQL source ([googleapis#1299](googleapis#1299)) ([3ae2526](googleapis@3ae2526)) * **tools/bigquery:** Support end-user credential passthrough on multiple BQ tools ([googleapis#1314](googleapis#1314)) ([88f4b30](googleapis@88f4b30)) * **tools/looker:** Add description for looker-get-models tool ([googleapis#1266](googleapis#1266)) ([89af3a4](googleapis@89af3a4)) * **tools/looker:** Authenticate via end user credentials ([googleapis#1257](googleapis#1257)) ([8755e3d](googleapis@8755e3d)) * **tools/looker:** Report field suggestions to agent ([googleapis#1267](googleapis#1267)) ([2cad82e](googleapis@2cad82e)) ### Bug Fixes * Do not print usage on runtime error ([googleapis#1315](googleapis#1315)) ([afba7a5](googleapis@afba7a5)) * Update env var to allow empty string ([googleapis#1260](googleapis#1260)) ([03aa9fa](googleapis@03aa9fa)) * **tools/firestore:** Add document/collection path validation ([googleapis#1229](googleapis#1229)) ([14c2249](googleapis@14c2249)) * **tools/looker-get-dashboards:** Fix Looker client OAuth check ([googleapis#1338](googleapis#1338)) ([36225aa](googleapis@36225aa)) * **tools/oceanbase:** Fix encoded text with mysql driver ([googleapis#1283](googleapis#1283)) ([d16f89f](googleapis@d16f89f)), closes [googleapis#1161](googleapis#1161) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <[email protected]> 4f022b6
Fixes #1286
Motivation
Changes
Sources
mysql
:Config.QueryParams
added; DSN building rewritten viaurl.Values
.