SolidWallOfCode / txn_box

Transaction Box - a transaction tool box plugin for Apache Traffic Server
Apache License 2.0
8 stars 8 forks source link

Add utility to check if a file is a valid txn_box config file #86

Open rob05c opened 2 years ago

rob05c commented 2 years ago

Add a utility to check if a file is a valid txn_box config file, and whether it will load successfully when ATS is reloaded.

This will let users with ATS config generation (such as Apache Traffic Control) determine if a txn_box file, potentially created by untrusted or minimally trusted tenants, will cause ATS to fail to reload, so the config generation tools can decide to not set that file for that remap/service.

v-init-h commented 2 years ago

+1 for the linter

(we only rely on yaml lint and ATS reload to check on errors - if any)