From 2ae919d3dc262557cef91a79128f31e24b21c56b Mon Sep 17 00:00:00 2001 From: Anthony Williams Date: Thu, 6 Jun 2024 09:08:12 -0700 Subject: [PATCH] Fds 1981 cross manifest valiation (#179) * Add cross manifest validation to test config * add enable_cross_manifest_validation to schema --- schemas/dca_config.schema.json | 9 ++++++++- test/test_cross_manifest_validation_type_dca_config.json | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/schemas/dca_config.schema.json b/schemas/dca_config.schema.json index 56268bb..6675031 100644 --- a/schemas/dca_config.schema.json +++ b/schemas/dca_config.schema.json @@ -135,12 +135,19 @@ "model_validate": { "description": "Parameteres to pass to Schematic model validate", "type": "object", - "required": [ "restrict_rules" ], + "required": [ + "restrict_rules", + "enable_cross_manifest_validation" + ], "additionalProperties": false, "properties": { "restrict_rules": { "description": "Schematic model validate option", "type": "boolean" + }, + "enable_cross_manifest_validation": { + "description": "Use cross manifest validation", + "type": "boolean" } } }, diff --git a/test/test_cross_manifest_validation_type_dca_config.json b/test/test_cross_manifest_validation_type_dca_config.json index d54bf64..b8cd80b 100644 --- a/test/test_cross_manifest_validation_type_dca_config.json +++ b/test/test_cross_manifest_validation_type_dca_config.json @@ -22,7 +22,8 @@ "use_annotations": false }, "model_validate": { - "restrict_rules": false + "restrict_rules": false, + "enable_cross_manifest_validation": true }, "model_submit": { "use_schema_labels": true,