Project

General

Profile

User story #2144

Updated by François ARMAND over 12 years ago

We need to define a REST API that will allow to manage common service in Rudder (in short, more or less all the one with a batches, plus some other) : 

 * regenerate dyn groups 
 * reload PT library 
 * generate promises (deploy) 
 * etc 

 That issue is only API need to bootstrap the REST API (only /api/status and /api/deploy/start implemented), other issues track: have some authentication scheme, easily integrable with Lift.  
 We found these references: 

 * authentication #2204 http://blog.getintheloop.eu/2011/02/23/http-dispatch-guards-using-partial-function/ 
 * individual services:  
 ** dyngroup reloading: #2205 https://groups.google.com/forum/#!topic/liftweb/NOHtPYd5UdA 
 ** pt-lib reloading: #2206 * https://groups.google.com/d/topic/liftweb/zHWxR9gl8xE/discussion 

 For a first implementation, we may use something like Basic Auth scheme (no need for a full PKI with certificates at the beginning) 

Back