0.3.0 Release Version
This commit is contained in:
69
test/test_config.json
Normal file
69
test/test_config.json
Normal file
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"server_endpoints": {
|
||||
"http": {
|
||||
"url": "http://localhost:3000/mcp",
|
||||
"timeout": 30,
|
||||
"headers": {
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
},
|
||||
"http_network": {
|
||||
"url": "http://192.168.31.168:3000/mcp",
|
||||
"timeout": 30,
|
||||
"headers": {
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
},
|
||||
"stdio": {
|
||||
"command": "uv",
|
||||
"args": ["run", "python", "-m", "doris_mcp_server.main", "--transport", "stdio"],
|
||||
"timeout": 30,
|
||||
"working_directory": ".."
|
||||
}
|
||||
},
|
||||
"test_settings": {
|
||||
"default_transport": "http",
|
||||
"retry_attempts": 3,
|
||||
"retry_delay": 1.0,
|
||||
"test_timeout": 60,
|
||||
"enable_performance_tests": true,
|
||||
"enable_security_tests": true
|
||||
},
|
||||
"test_data": {
|
||||
"sample_queries": [
|
||||
"SELECT 1 as test_value",
|
||||
"SHOW DATABASES",
|
||||
"SELECT COUNT(*) FROM information_schema.tables"
|
||||
],
|
||||
"test_databases": ["test_db", "demo_db"],
|
||||
"test_tables": ["users", "orders", "products"],
|
||||
"auth_tokens": {
|
||||
"valid_token": "valid_token_123",
|
||||
"admin_token": "admin_token_456",
|
||||
"invalid_token": "invalid_token_789"
|
||||
}
|
||||
},
|
||||
"expected_tools": [
|
||||
"exec_query",
|
||||
"get_db_list",
|
||||
"get_db_table_list",
|
||||
"get_table_schema",
|
||||
"get_table_comment",
|
||||
"get_table_column_comments",
|
||||
"get_table_indexes",
|
||||
"column_analysis",
|
||||
"performance_stats",
|
||||
"get_recent_audit_logs",
|
||||
"get_catalog_list"
|
||||
],
|
||||
"expected_resources": [
|
||||
"database",
|
||||
"table",
|
||||
"view"
|
||||
],
|
||||
"expected_prompts": [
|
||||
"sql_query_assistant",
|
||||
"data_analysis_helper",
|
||||
"schema_explorer"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user