mirror of https://github.com/apache/cloudstack.git
Cloudstack-8816 some of the events do not have resource uuidsThe key objects in the context map are sometimes String and sometimes object. This causes missing uuids when an entity put in the context map with key entity.toString is queried with key entity Testing: manually tested by deploying a vm and checked that the created events in rabbitmq now has uuids. events before and after the change are update at https://issues.apache.org/jira/browse/CLOUDSTACK-8816?focusedCommentId=14805239 unittests ``` $ mvn -pl :cloud-api test -Dtest=CallContextTest ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.cloudstack.context.CallContextTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.152 sec - in org.apache.cloudstack.context.CallContextTest Results : Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 11.445 s [INFO] Finished at: 2015-09-18T14:58:53+05:30 [INFO] Final Memory: 55M/448M [INFO] ------------------------------------------------------------------------ ``` * pr/849: CLOUDSTACK-8816 added missing events CLOUDSTACK-8816: fixed missing resource uuid in delete network cmd CLOUDSTACK-8816: fixed missing resource uuid in destroy vm event Cloudstack-8816: Fixed missing resource uuid in delete snapshot events CLOUDSTACK-8816: some of the events do not have resource uuids CLOUDSTACK-8816: some of the events do not have resource uuids Signed-off-by: Remi Bergsma <github@remi.nl> |
||
|---|---|---|
| .. | ||
| conf | ||
| resources | ||
| scripts | ||
| src | ||
| test | ||
| pom.xml | ||