Files
splunk-mcp/tests/test_config.py
livehybrid 8bb6d9f4fd Additional testing, setup and docs (#3)
* feat(api): Add OpenAPI/Swagger documentation for MCP tools

- Add Swagger UI and ReDoc documentation endpoints

- Document MCP tools as operations under a single /execute endpoint

- Add proper parameter schemas and response types for each tool

- Group endpoints by MCP Core and MCP Tools tags

- Include tool descriptions and parameters in OpenAPI schema

- Add proper error responses and validation schemas

* feat(api): Add Splunk MCP tool documentation

- Implement OpenAPI/Swagger documentation for MCP tools

- Add documentation endpoints (/docs, /redoc)

- Create unified schema for tool operations

- Add parameter validation and response types

- Group endpoints by Core and Tools categories

- Document SSE and message endpoints
2025-03-25 16:52:34 +00:00

23 lines
724 B
Python

"""
Configuration for test_endpoints.py.
This file contains settings used by the endpoint testing script.
"""
# Server configuration
SSE_BASE_URL = "http://localhost:8000" # SSE mode base URL
# Connection timeouts (seconds)
CONNECTION_TIMEOUT = 5 # Timeout for basic connection check
REQUEST_TIMEOUT = 30 # Timeout for API requests
# Search test configuration
TEST_SEARCH_QUERY = "index=_internal | head 5"
SEARCH_EARLIEST_TIME = "-10m"
SEARCH_LATEST_TIME = "now"
SEARCH_MAX_RESULTS = 5
# Default index for testing (leave empty to auto-select)
DEFAULT_TEST_INDEX = "_internal"
# Output settings
VERBOSE_OUTPUT = True # Show detailed output