CallContext was renamed from original UserContext. The semantic is pretty
much the same as before to API calls

Kelven

On 7/18/13 1:25 AM, "Prasanna Santhanam" <t...@apache.org> wrote:

>On Thu, Jul 18, 2013 at 11:58:30AM +0530, Prasanna Santhanam wrote:
>> I see the following repeated lines with API calls on master code
>> lately: What's the call context? and what's the role?
>> 
>> 2013-07-18 11:52:24,372 DEBUG [cloudstack.context.CallContext]
>>(RouterStatusMonitor-1:ctx-9bb138b4) Context removed CallContext[acct=1;
>>user=1; session=9bb138b4-29c1-4ddf-ab47-9307a600d31e]
>> 
>>  * CallContext records information about the environment the call is
>>made.  This
>>  * class must be always be available in all CloudStack code.
>> 
>> Does this mean we have to do something special when creating new APIs?
>>I'm not
>> quite clear from this description.
>> 
>It seems from the logs that all APIs are now getting the context as
>user=1,account=1 (SYSTEM). Filed CLOUDSTACK-3626.
>
>
>
>-- 
>Prasanna.,
>
>------------------------
>Powered by BigRock.com
>

Reply via email to