HomePhorge

(PUP-3526) Define routes in one place
bc6ae9f6b66eUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-3526) Define routes in one place

Previously, all of Puppet's routes were defined separately in the Webrick and
Rack REST interfaces. This was okay when all that was being registered was the
v1 and v2 routes. However, with the CA routes now separated from the master
routes, there is quite a bit more logic there, and it is unwieldy (and hard to
test) with it defined in both places.

This commit defines the CA and master routes in one place, so that only
ca_routes and master_routes have to be registered for each webserver.

Details

Provenance
Ruth Linehan <ruth@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUb9e2daa36329: (maint) Separate out testing handler into reusable helper
Branches
Unknown
Tags
Unknown

Event Timeline

Ruth Linehan <ruth@puppetlabs.com> committed rPUbc6ae9f6b66e: (PUP-3526) Define routes in one place (authored by Ruth Linehan <ruth@puppetlabs.com>).Jan 24 2015, 12:38 AM