rob05c opened a new pull request #4515: Add ORT atstccfg plugin hook to modify 
files
URL: https://github.com/apache/trafficcontrol/pull/4515
 
 
   Since atstccfg now generates all files at once, just having the
   OnRequest hook was mostly useless.
   
   This changes it to a 'ModifyFiles' hook, which is called after
   generation and can add, remove, or modify generated files.
   It also receives the TOData object, so it doesn't have to fetch
   data already fetched.
   
   Includes tests.
   No docs, no public interface change. `atstccfg` is not stable and is not 
documented for TC user usage yet.
   No changelog, no public interface change.
   
   - [x] This PR is not related to any other Issue
   
   ## Which Traffic Control components are affected by this PR?
   - Traffic Ops ORT
   
   ## What is the best way to verify this PR?
   Run tests. Verify hello world plugin works as expected. Write a plugin.
   
   ## If this is a bug fix, what versions of Traffic Control are affected?
   Not a bug fix.
   
   ## The following criteria are ALL met by this PR
   - [x] This PR includes tests OR I have explained why tests are unnecessary
   - [x] This PR includes documentation OR I have explained why documentation 
is unnecessary
   - [x] This PR includes an update to CHANGELOG.md OR such an update is not 
necessary
   - [x] This PR includes any and all required license headers
   - [x] This PR ensures that database migration sequence is correct OR this PR 
does not include a database migration
   - [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY** (see [the 
Apache Software Foundation's security 
guidelines](https://www.apache.org/security/) for details)
   
   ## Additional Information

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to