cloudstack/server/src/com/cloud/api
Remi Bergsma 535ab51b9a Merge pull request #849 from karuturi/CLOUDSTACK-8816-take2
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>
2015-10-27 19:26:44 +01:00
..
auth Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
dispatch CLOUDSTACK-8816 Fixed entityUuid missing in some cases is events 2015-09-09 14:23:27 +05:30
doc findbugs: fields of serializable made serializable 2015-06-24 20:20:12 +02:00
query CLOUDSTACK-8917 : Instance tab takes long time to load with 12K active VM (total vms: 190K) 2015-09-28 16:24:26 +05:30
response CLOUDSTACK-8155: Remove unwanted whitespaces from json response 2015-01-14 02:43:54 +05:30
ApiAsyncJobDispatcher.java Revert "Merge pull request #714 from rafaelweingartner/master-lrg-cs-hackday-003" 2015-08-31 11:27:57 +05:30
ApiDBUtils.java CLOUDSTACK-8816: fixed missing resource uuid in delete network cmd 2015-10-26 09:15:33 +05:30
ApiDispatcher.java CLOUDSTACK-8816: Project UUID is not showing for some of operations in RabbitMQ. 2015-09-09 14:23:28 +05:30
ApiGsonHelper.java API response: added new field to @Param - RoleType[] authorized() default {}. The field defines who is authorized to see this partciluar reponse field. If not specified, the parameter is returned to everybody 2014-02-20 17:15:43 -08:00
ApiResponseGsonHelper.java API response: added new field to @Param - RoleType[] authorized() default {}. The field defines who is authorized to see this partciluar reponse field. If not specified, the parameter is returned to everybody 2014-02-20 17:15:43 -08:00
ApiResponseHelper.java FIX: Ovm3 physical network traffic labels to work. 2015-10-22 11:57:42 +02:00
ApiSerializerHelper.java findbugs: fixes for ApiServer, ApiSerializerHelper and 2014-01-28 14:47:06 +01:00
ApiServer.java CLOUDSTACK-8816 Fixed entityUuid missing in some cases is events 2015-09-09 14:23:27 +05:30
ApiServlet.java CLOUDSTACK-8702: Add/refactor sessionkey checking code to HttpUtils 2015-08-14 11:56:55 +05:30
EncodedStringTypeAdapter.java findbugs: fixes for ApiServer, ApiSerializerHelper and 2014-01-28 14:47:06 +01:00
ResponseObjectTypeAdapter.java API response: added new field to @Param - RoleType[] authorized() default {}. The field defines who is authorized to see this partciluar reponse field. If not specified, the parameter is returned to everybody 2014-02-20 17:15:43 -08:00
SerializationContext.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00
StringMapTypeAdapter.java Reformat all source code. Added checkstyle to check the source code 2013-11-20 07:26:53 -08:00