@onlineapps/conn-orch-validator 2.0.4 → 2.0.6

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.4",
3
+ "version": "2.0.6",
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": {
@@ -149,11 +149,11 @@ class ValidationOrchestrator {
149
149
  });
150
150
  }
151
151
 
152
- return FingerprintUtils.calculate({
152
+ return FingerprintUtils.generate({
153
153
  serviceVersion: config.service?.version || pkg.version,
154
154
  operations: operations,
155
155
  dependencies: deps,
156
- configHash: FingerprintUtils.hashObject(config)
156
+ configHash: FingerprintUtils.generate(config)
157
157
  });
158
158
  } catch (error) {
159
159
  throw new Error(`Failed to calculate fingerprint: ${error.message}`);
@@ -443,23 +443,14 @@ class ValidationOrchestrator {
443
443
  const fingerprint = await this.calculateFingerprint();
444
444
  const proof = {
445
445
  serviceName: this.serviceName,
446
- serviceVersion: this.serviceVersion,
447
- fingerprint: fingerprint,
446
+ version: this.serviceVersion,
448
447
  validator: '@onlineapps/conn-orch-validator',
449
448
  validatorVersion: require('../package.json').version,
450
449
  validatedAt: new Date().toISOString(),
451
450
  testsRun: results.totalTests,
452
451
  testsPassed: results.passedTests,
453
452
  testsFailed: results.failedTests,
454
- durationMs: duration,
455
- steps: {
456
- structure: results.steps.structure?.valid || false,
457
- config: results.steps.config?.valid || false,
458
- operations: results.steps.operations?.valid || false,
459
- cookbooks: results.steps.cookbooks?.success || false,
460
- readiness: results.steps.readiness?.valid || false,
461
- connectors: results.steps.connectors?.valid || false
462
- }
453
+ durationMs: duration
463
454
  };
464
455
 
465
456
  // Encode proof using ValidationProofCodec