Re: [Puppet-dev] Testing endpoint services in puppet-server

2014-12-29 Thread Kevin Corcoran
> > Since it's a reimplementation of one of the ruby puppet service, I think > what I should test is that the outcome of a given request by the clojure > code is equivalent to what the ruby part would have returned. > I think this is doable by using calling the request-handler service and > compari

Re: [Puppet-dev] Testing endpoint services in puppet-server

2014-12-29 Thread Brice Figureau
On 28/12/2014 14:13, Chris Price wrote: > On Sat, Dec 27, 2014 at 8:39 AM, Brice Figureau > mailto:brice-pup...@daysofwonder.com>> > wrote: >The second problem I'm facing is testing the service. I have a coverage > of the various core functions (the ones producing the metadata > themsel

Re: [Puppet-dev] Testing endpoint services in puppet-server

2014-12-28 Thread Brice Figureau
Hi Chris, Thanks for the answer, I'm in the process of pushing the for-review-only PR. See below for some additional comments. On 28/12/2014 14:13, Chris Price wrote: > On Sat, Dec 27, 2014 at 8:39 AM, Brice Figureau > mailto:brice-pup...@daysofwonder.com>> > wrote: > The second problem I

Re: [Puppet-dev] Testing endpoint services in puppet-server

2014-12-28 Thread Chris Price
On Sat, Dec 27, 2014 at 8:39 AM, Brice Figureau < brice-pup...@daysofwonder.com> wrote: > Hi all, > > I've started coding the file_metadata terminus as a pure clojure service > in the puppet-server and have a few existencial questions. > > I have a basic fileserver.conf parsing system, mount findi

[Puppet-dev] Testing endpoint services in puppet-server

2014-12-27 Thread Brice Figureau
Hi all, I've started coding the file_metadata terminus as a pure clojure service in the puppet-server and have a few existencial questions. I have a basic fileserver.conf parsing system, mount finding from a path, and a compojure app (and trapperkeeper service) for file_metadata (not yet file_met