cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ksenia Vazhdaeva (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-10390) Wrong event type in RabbitMQ event bus
Date Wed, 08 Aug 2018 06:46:00 GMT
Ksenia Vazhdaeva created CLOUDSTACK-10390:
---------------------------------------------

             Summary: Wrong event type in RabbitMQ event bus
                 Key: CLOUDSTACK-10390
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10390
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
    Affects Versions: 4.11.1.0
            Reporter: Ksenia Vazhdaeva


Types of events ([Event.getEventType()|https://github.com/apache/cloudstack/blob/4.11.1.0/framework/events/src/org/apache/cloudstack/framework/events/Event.java#L49])
are incorrectly parsed in RabbitMQ event bus: hyphens are used instead of dots.

https://github.com/apache/cloudstack/blob/4.11.1.0/plugins/event-bus/rabbitmq/src/org/apache/cloudstack/mom/rabbitmq/RabbitMQEventBus.java#L298
https://github.com/apache/cloudstack/blob/4.11.1.0/plugins/event-bus/rabbitmq/src/org/apache/cloudstack/mom/rabbitmq/RabbitMQEventBus.java#L461

*Example:*

While creating a VM an event with [VM.CREATE|https://github.com/apache/cloudstack/blob/4.11.1.0/api/src/com/cloud/event/EventTypes.java#L85]
type is generated.

*_Actual result:_*

VM-CREATE

_*Expected result:*_

VM.CREATE



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message