[Engine-devel] REST-API: Exposing correlation-ID

Mike Kolesnik mkolesni at redhat.com
Sun May 6 10:51:45 UTC 2012


> On 05/06/2012 10:03 AM, Ori Liel wrote:
> > Still need to decide about this:
> >
> >> 1) what's the name you'd give this parameter? job-id? batch-id?
> >> flow-id? command-id? correlation-id???
> 
> job-id will confuse us with engine's job-id which is a single command
> today.
> correleation-id is pretty long and confusing as implies on
> correlation
> of something.
> 
> I'm for flow-id or batch-id.
> batch-id sounds the right one to me, as this is identifying a batch
> of
> calls.

How about log-id?
It isn't supposed to be unique, or of any format, it's just used to log calls, so log-id is the most natural (or log-tag or whatever name you prefer).

Also I think it's more of a header-type parameter since it's metadata for the call, not an actual parameter that influences the outcome of the "flow".

> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 



More information about the Devel mailing list