Combined test modules from both branches to maintain all test cases including:
- sharing tests from HEAD branch
- permission field tests from api_permission_field_fix branch
- update metric tests from HEAD branch
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add UpdateField enum for unambiguous sharing parameter updates
- Replace Option<Option<T>> pattern with the more explicit enum
- Update metrics, dashboards, and collections sharing handlers
- Add validation for expiry dates and empty passwords
- Add comprehensive tests for public sharing updates
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Modified update_metric_handler to properly include verification status
- Created reusable MetricFileChangeset struct to simplify updates
- Added unit test for verification field in request
- Implemented comprehensive integration tests for status updates
- Test multiple scenarios: authorized update, unauthorized, null values
Fixes BUS-1069
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add bulk update functionality for metric verification status, allowing multiple
metrics to be updated in a single API call with efficient batch processing. This
implementation includes:
- New handler for processing bulk updates with concurrent execution
- Batch processing with customizable batch size (default 50)
- Comprehensive error handling with client-friendly error codes
- REST endpoint with request validation and rate limiting
- Unit and integration tests for success and error cases
- Performance testing with different batch sizes
Addresses ticket BUS-1070.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>