Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integration delete handler fixes (#493)
* Add telemetry support for DELETE HTTP operations - Introduce a new `telemetry_delete` macro to wrap DELETE requests with telemetry functionality. - Modify the `/integration-delete` route to use the `telemetry_delete` macro for enhanced tracking. - Update `handle_v1_integration_delete` function to parse request body as JSON and validate integration paths more robustly. - Switch query parameter integration path type to `PathBuf` for better path handling. - Improve logging and error messages for clarity in path deletion and error responses. * Remove obsolete telemetry_delete macro and update integration delete handling in v1 routers - Remove the `telemetry_delete` macro from `utils.rs`, as it is no longer needed. - Update `handle_v1_integration_delete` function to use query parameters instead of parsing JSON from the request body. - Modify the `/integration-delete` route in `v1.rs` to directly use the `delete` handler without the telemetry macro.
- Loading branch information