[openstack-dev] [barbican] CloudKeep API - Updates

Jay Pipes jaypipes at gmail.com
Thu May 9 01:20:42 UTC 2013


On 05/07/2013 08:31 PM, John Wood wrote:
> Thanks for the input Nate.  Some comments below please:
> 
> [
>> We propose changing from 'orders' to 'requests'...so to request that Barbican
>> create a new secret (or start a process to generate a secret) clients would
>> issue a 'request'. This seems more natural, and a bit less overused than
>> 'orders'.
> 
> I think request sounds more overused than orders. I was not that thrilled with
> orders, but I do like it more than request. What about something like
> secretfactory, secretgenerator, or something else along those lines? I'm not
> too picky either way with whatever you pick.
> ]
> 
> This interface will also be used to start the automated SSL cert generation process in the not too far off future. This will kick off a process that involves interacting with the CA to eventually generate an SSL cert, that will be stored in Barbican as a secret.  
> 
> This SSL cert generation process can be a long-running async process, so we were looking for terms that implied the secret generation would not necessary happen quickly, and instead have a state machine that could be long lived.  So 'order' probably fits this mode of operation the best. 
> 
> When I think of a 'factory' I'm expecting an instance to be created right then and there, which doesn't seem to fit the long-running nature of some secret creation processes.  
> 
> 'Request' is seem between these two modes to me, and maybe overused as you point out, esp. in the context of http interactions. 
> 
> So it seems 'orders' is more appropriate here.  Thoughts though?

Jobs or Tasks?

-jay



More information about the OpenStack-dev mailing list