@onlineapps/conn-orch-validator 2.0.13 → 2.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlineapps/conn-orch-validator",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "Validation orchestrator for OA Drive microservices - coordinates validation across all layers (base, infra, orch, business)",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -369,8 +369,17 @@ class ServiceReadinessValidator {
369
369
  }
370
370
  break;
371
371
  case 'file':
372
- // For file types, generate a placeholder - actual file handling depends on implementation
373
- testData[fieldName] = fieldSpec.default || 'minio://test/validation/placeholder.txt';
372
+ // For file types, generate a VALID Content Descriptor object (type=file)
373
+ // This keeps endpoint checks predictable and avoids service-specific file upload flows.
374
+ testData[fieldName] = fieldSpec.default || {
375
+ _descriptor: true,
376
+ type: 'file',
377
+ storage_ref: 'minio://test/validation/placeholder.txt',
378
+ filename: 'placeholder.txt',
379
+ content_type: 'text/plain',
380
+ size: 1,
381
+ fingerprint: 'test-fingerprint'
382
+ };
374
383
  break;
375
384
  default:
376
385
  testData[fieldName] = null;