cloudstack/server/test/com/cloud/user
nnesic d989c5d8be Emit a VOLUME_DELETE usage event when account deletion destroys an instance.
Currently the logic about volume deletion seems to be that an event
should be emitted when the volume delete is requested, not when the
deletion completes.

The VolumeStateListener specifically ignores destroy events for ROOT
volumes, assuming that the ROOT volume only gets deleted when the
instance is destroyed and the UserVmManager should take care of it.

When deleting an account, all of its resources get destroyed, but the
instance expunging circumvents the UserVmManager, and thus we miss the
VOLUME_DESTROY usage event. The account manager now attempts to
propperly destroy the vm before expunging it. This way the destroy
logic is respected, including the event emission.
2016-10-21 09:26:59 +00:00
..
AccountManagerImplTest.java Emit a VOLUME_DELETE usage event when account deletion destroys an instance. 2016-10-21 09:26:59 +00:00
AccountManagerImplVolumeDeleteEventTest.java Emit a VOLUME_DELETE usage event when account deletion destroys an instance. 2016-10-21 09:26:59 +00:00
AccountManagetImplTestBase.java Emit a VOLUME_DELETE usage event when account deletion destroys an instance. 2016-10-21 09:26:59 +00:00
DomainManagerImplTest.java CLOUDSTACK-9369: Restrict default login to ldap/native users 2016-05-27 15:00:05 -04:00
MockAccountManagerImpl.java Removed unnecessary @Local annotations and their respective imports from the ComponentLifecycleBase class and its subclasses. 2015-11-21 18:31:11 -02:00
MockDomainManagerImpl.java CLOUDSTACK-9369: Restrict default login to ldap/native users 2016-05-27 15:00:05 -04:00
MockUsageEventDao.java Emit a VOLUME_DELETE usage event when account deletion destroys an instance. 2016-10-21 09:26:59 +00:00