Skip to content

Fix event UUIDS missing on event bus - #1127

Merged
asfgit merged 1 commit into
apache:4.6from
greenqloud:pr-eventbus-uuids-4.6
Nov 27, 2015
Merged

asfgit merged 1 commit into
apache:4.6from
greenqloud:pr-eventbus-uuids-4.6

Conversation

@ProjectMoon

Copy link
Copy Markdown

Same as pull request #1111, but this time on the 4.6 branch for forward merging in accordance with the wiki.

The fixing of CLOUDSTACK-8816 introduced a regression that removed the first class entities in the event bus description property. This is because everything was changed to use the Class as a key... Everything but the populateFirstClassEntities method in ActionEventUtils.

This commit tries to load the class key instead of the String key, which re-enables the populateFirstClassEntities method.

Likely this was not caught because of the trace exception handling... maybe some better logging/unit tests would be good for this PR.

The fixing of CLOUDSTACK-8816 introduced a regression that removed the
first class entities in the event bus description property. This is
because everything was changed to use the Class as a key... Everything
but the populateFirstClassEntities method in ActionEventUtils.
@karuturi

Copy link
Copy Markdown
Member

Thanks @ProjectMoon
👍 from me based on my previous tests.
ping @remibergsma and @DaanHoogland to merge

@DaanHoogland

Copy link
Copy Markdown
Contributor

regression tests pass:
1127.network.results.txt
1127.vpc.results.txt

LGTM

@asfgit
asfgit merged commit 7d44e90 into apache:4.6 Nov 27, 2015
asfgit pushed a commit that referenced this pull request Nov 27, 2015
Fix event UUIDS missing on event busSame as pull request #1111, but this time on the 4.6 branch for forward merging in accordance with [the wiki](https://cwiki.apache.org/confluence/display/CLOUDSTACK/Release+principles+for+Apache+CloudStack+4.6+and+up#ReleaseprinciplesforApacheCloudStack4.6andup-HowtomergeaPullRequest?).

The fixing of CLOUDSTACK-8816 introduced a regression that removed the first class entities in the event bus description property. This is because everything was changed to use the Class as a key... Everything but the populateFirstClassEntities method in ActionEventUtils.

This commit tries to load the class key instead of the String key, which re-enables the populateFirstClassEntities method.

Likely this was not caught because of the trace exception handling... maybe some better logging/unit tests would be good for this PR.

* pr/1127:
  Fix event UUIDS missing on event bus

Signed-off-by: Daan Hoogland <daan@onecht.net>
@ProjectMoon
ProjectMoon deleted the pr-eventbus-uuids-4.6 branch November 28, 2015 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants