Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fd4250d
cleanup updated
rahulpinto19 Jan 8, 2026
edf8377
test
rahulpinto19 Jan 8, 2026
1a39de7
test1
rahulpinto19 Jan 8, 2026
c3c2cec
test
rahulpinto19 Jan 8, 2026
96904e2
test
rahulpinto19 Jan 8, 2026
1bfe394
test
rahulpinto19 Jan 8, 2026
3932efb
docs: link medium blogs to toolbox docsite (#2269)
twishabansal Jan 8, 2026
2bcfca0
fix(server): Add `embeddingModel` config initialization (#2281)
duwenxin99 Jan 8, 2026
7d5af5f
feat: add allowed-hosts flag (#2254)
Yuan325 Jan 8, 2026
ca4a12b
feat: add default value to manifest (#2264)
Yuan325 Jan 8, 2026
0b7ffa4
chore: update mcp registry schema version (#2266)
Yuan325 Jan 8, 2026
0cfac29
fix(tools/alloydbainl): only add psv when NL Config Param is defined …
Yuan325 Jan 8, 2026
edaa1c2
chore: update hugo for release (#2282)
Yuan325 Jan 8, 2026
be7560f
chore(main): release 0.25.0 (#2218)
release-please[bot] Jan 8, 2026
81b42ac
Merge branch 'main' into integration-test-cleanup-testing
rahulpinto19 Jan 9, 2026
87ff915
printign in common.go
rahulpinto19 Jan 9, 2026
cc3c527
test
rahulpinto19 Jan 9, 2026
6ff567d
test
rahulpinto19 Jan 9, 2026
65b2196
test
rahulpinto19 Jan 9, 2026
eedd0ab
docs: add issue and pr triaging and SLO (#2257)
Yuan325 Jan 9, 2026
49d2552
feat(bigquery): make maximum rows returned from queries configurable …
shobsi Jan 9, 2026
bde46e1
Merge branch 'main' into integration-test-cleanup-testing
rahulpinto19 Jan 12, 2026
c835af4
test
rahulpinto19 Jan 12, 2026
1225a2f
Merge branch 'main' into integration-test-cleanup-testing
rahulpinto19 Jan 16, 2026
fd26fa4
docs: fix redis array sample (#2301)
duwenxin99 Jan 16, 2026
2bf2461
docs(tools/cloudgda): update cloud gda datasource references note (#2…
wangauone Jan 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/en/resources/tools/cloudgda/cloud-gda-query.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ aliases:

The `cloud-gemini-data-analytics-query` tool allows you to send natural language questions to the Gemini Data Analytics API and receive structured responses containing SQL queries, natural language answers, and explanations. For details on defining data agent context for database data sources, see the official [documentation](https://docs.cloud.google.com/gemini/docs/conversational-analytics-api/data-agent-authored-context-databases).

> [!NOTE]
> Only `alloydb`, `spannerReference`, and `cloudSqlReference` are supported as [datasource references](https://clouddocs.devsite.corp.google.com/gemini/docs/conversational-analytics-api/reference/rest/v1beta/projects.locations.dataAgents#DatasourceReferences).

## Example

```yaml
Expand Down
4 changes: 4 additions & 0 deletions docs/en/resources/tools/redis/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ following config for example:
- name: userNames
type: array
description: The user names to be set.
items:
name: userName # the item name doesn't matter but it has to exist
type: string
description: username
```

If the input is an array of strings `["Alice", "Sid", "Bob"]`, The final command
Expand Down
24 changes: 23 additions & 1 deletion tests/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,15 @@
PostgresListDatabaseStatsToolKind = "postgres-list-database-stats"
PostgresListRolesToolKind = "postgres-list-roles"
PostgresListStoredProcedureToolKind = "postgres-list-stored-procedure"

Check failure on line 217 in tests/common.go

View workflow job for this annotation

GitHub Actions / lint

File is not properly formatted (goimports)

)

tools, ok := config["tools"].(map[string]any)
if !ok {
t.Fatalf("unable to get tools from config")
}

tools["list_tables"] = map[string]any{
"kind": PostgresListTablesToolKind,
"source": "my-instance",
Expand Down Expand Up @@ -943,6 +946,8 @@

// Finds and drops all tables in a postgres database.
func CleanupPostgresTables(t *testing.T, ctx context.Context, pool *pgxpool.Pool) {
// fmt.println("")
t.Logf("in cleanupPostgrestTables");
query := `
SELECT table_name FROM information_schema.tables
WHERE table_schema = 'public' AND table_type = 'BASE TABLE';`
Expand All @@ -964,14 +969,31 @@
}

if len(tablesToDrop) == 0 {
t.Logf("No tables to drop in 'public' schema")
return
}

t.Logf("Tables to drop in 'public' schema: %s", strings.Join(tablesToDrop, ", "))

dropQuery := fmt.Sprintf("DROP TABLE IF EXISTS %s CASCADE;", strings.Join(tablesToDrop, ", "))

if _, err := pool.Exec(ctx, dropQuery); err != nil {
t.Fatalf("Failed to drop all tables in 'public' schema: %v", err)
}

t.Logf("Dropped tables in 'public' schema: %s", strings.Join(tablesToDrop, ", "))


// // 1. Drop the entire public schema (this kills tables, views, types, etc.)
// dropSchema := "DROP SCHEMA public CASCADE;"
// // 2. Recreate the empty public schema
// createSchema := "CREATE SCHEMA public;"
// // 3. Grant permissions back (Postgres default)
// grantPublic := "GRANT ALL ON SCHEMA public TO public;"

// _, err := pool.Exec(ctx, dropSchema + createSchema + grantPublic)
// if err != nil {
// t.Fatalf("Failed to nuclear-wipe the public schema: %v", err)
// }
}

// Finds and drops all tables in a mysql database.
Expand Down
Loading