cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daan Hoogland <>
Subject Re: [DISCUSS] CallContext and related questions
Date Sun, 10 Mar 2019 20:24:31 GMT
Nikos, I am not sure if I understand your objective. It would seem to me
that all information to proces an event should be in the event. Does it
suffice to add information to the event message for your purposes?

On Sun, Mar 10, 2019 at 10:52 AM Nikolaos Dalezios <>

> Hello developers. I am implementing CADF event logging . In "server"
> project, in class ActionEventUtils, I am calling  my method to log the CADF
> event.
> Something like
> createCadfRecord(EventVO event)
> All the mapping and information I am using for CADF are being extracted
> from the event.
> My problem is what happens when I want to use information from other
> classes ( I am not asking for general information on
> interclass communication.
> eg. I want to use the clientIpAddress from to
> Is CallContext a valid choice/solution?
> In, method processRequestInContext, I am adding to
> CallContext.current() the ip address (or any arbitary data).
> In ActionEventUtils when I try to get that data the value is null. After a
> little debugging I noticed that the contextid in ActionEventUtils is
> different from that in ApiServlet.
> Any ideas?
> Thank you
> Nikos Dalezios


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message