zfcampus/zf-apigility-admin — pull request #150 by weierophinney (2014-04-28 21:52:57+00:00)
Title: Remove all config data for a service on deletion

This PR modifies the RestServiceModel and RpcServiceModel to ensure they remove all configuration artifacts for a service when deleting a service.

Notes:

- Routes and versioning configuration are **not** removed if the version detected is not V1, in order to ensure previous versions continue to work.
- MvcAuth and Content Validation configuration are untested, due to the fact that the models under test do not write that configuration. That said, these work fine, as they follow the same patterns as the other configuration items, and have been tested in a test application.
- This patch does not delete input filter configuration, as the input filter may be referenced elsewhere.