Add Policy DSL Validator, Schema Exporter, and Simulation Smoke tools
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Docs CI / lint-and-preview (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Docs CI / lint-and-preview (push) Has been cancelled
				
			- Implemented PolicyDslValidator with command-line options for strict mode and JSON output. - Created PolicySchemaExporter to generate JSON schemas for policy-related models. - Developed PolicySimulationSmoke tool to validate policy simulations against expected outcomes. - Added project files and necessary dependencies for each tool. - Ensured proper error handling and usage instructions across tools.
This commit is contained in:
		
							
								
								
									
										11
									
								
								scripts/export-policy-schemas.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								scripts/export-policy-schemas.sh
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| #!/usr/bin/env bash | ||||
| set -euo pipefail | ||||
|  | ||||
| REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")"/.. && pwd)" | ||||
| OUTPUT_DIR="${1:-$REPO_ROOT/docs/schemas}" | ||||
|  | ||||
| pushd "$REPO_ROOT" > /dev/null | ||||
|  | ||||
| dotnet run --project tools/PolicySchemaExporter -- "$OUTPUT_DIR" | ||||
|  | ||||
| popd > /dev/null | ||||
		Reference in New Issue
	
	Block a user