[ https://issues.apache.org/jira/browse/CLOUDSTACK-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13602220#comment-13602220 ]
Kishan Kavala commented on CLOUDSTACK-1664: ------------------------------------------- ActionEvent annotations are in manager Impl. Spring proxies the interface and not the implementing class. Since there are not annotations at the interface level, needToIntercept method in ActionEventInterceptor always returns false. TransactionContextBuilder intercepts by getting the implementing class and going through all the methods in it to match the method name. Going through all the methods every time may not be efficient. There could be multiple methods with same name, so matching by method name could be error prone aswell. > Action Events are not logged due to spring changes > -------------------------------------------------- > > Key: CLOUDSTACK-1664 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1664 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.1.0 > Environment: Build from 4.1 > Reporter: Sangeetha Hariharan > Assignee: Kelven Yang > Priority: Critical > Fix For: 4.1.0 > > > AWS Regions - Events - There are no events being generated when a new account > is added/edited/enabled. > Add a new account. > Edit details an existing account. > Enable an account that is currently disabled. > There are no events being for these actions. > I see no entries in the event table. > Deleting /Disabling an existing account , results in an event and I see the > following entry in the event DB. > | 60 | 39e54ca9-ec70-4830-bee7-30878bc8770c | ACCOUNT.DISABLE | > Scheduled | disabling account: g in domain: 1 | 2 | > 8 | 1 | 2013-03-13 17:12:18 | INFO | 0 | NULL | > | 61 | fd4408e9-4e82-45fd-988c-833a943b2eee | ACCOUNT.DELETE | > Scheduled | deleting User test (id: 8) and accountId = 5 | 2 | > 2 | 1 | 2013-03-13 17:12:57 | INFO | 0 | NULL > Since there are no events generated , we are also not able to publish these > events to the RabbitMQ server. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira