carbon-apimgt
carbon-apimgt copied to clipboard
Implement API Health Check Endpoints for the Traffic Ports and Avoid Publishing Analytics Data from File-Based APIs
Purpose
1. API Health Check from Traffic Ports
- Resolves https://github.com/wso2/api-manager/issues/3094
Implemented endpoints to retrieve the API health status through various traffic ports. This enables checking the health of APIs deployed on the Gateway. Following are the implemented Health Check Endpoints,
- https://localhost:8243/health-check
- http://localhost:9099/health-check
- https://localhost:8099/]health-check
- http://localhost:9021/health-check
- https://localhost:8021/health-check
2. Avoid Publishing Analytics Data from File-Based APIs
Introduced a new configuration to add file-based API contexts. These file-based API contexts will no longer publish data to analytics. The following configuration is added to the deployment.toml
file,
[apim.sync_runtime_artifacts.gateway]
file_based_api_contexts = ["/jwks", "/health-check"]
Add your file-based API contexts here to avoid publishing data to analytics.