commit | 64bf8e0839fc9a73bff427f643949e294f067415 | [log] [tgz] |
---|---|---|
author | Monty Taylor <mordred@inaugust.com> | Tue Jan 23 16:39:30 2018 -0600 |
committer | Monty Taylor <mordred@inaugust.com> | Fri Feb 02 16:48:02 2018 -0600 |
tree | 8f27881caae7d9b9ee4794b2bb19f7b9b539069e | |
parent | e0bad8dc0523af8a500ca865c66b9cc9d6f016a6 [diff] |
Add facility for plugins to register web routes Rather than special-casing github and sql in zuul-web, add a registration method to Connection to allow a Connection to register routes. Provide two types of WebHandler classes - a 'raw' class and a 'driver' class. The driver class prepends '/connection/{connection}' to the provided path. Shift the github webhook and SQL web methods to use the plugin interface. Change-Id: I065937b20447248e7894e1dfeec269faa6fd30d2