|
29 | 29 | import org.apache.cloudstack.api.command.admin.host.ListHostsCmd; |
30 | 30 | import org.apache.cloudstack.api.command.admin.host.UpdateHostPasswordCmd; |
31 | 31 | import org.apache.cloudstack.api.command.admin.pod.ListPodsByCmd; |
32 | | -import org.apache.cloudstack.api.command.admin.resource.ArchiveAlertsCmd; |
33 | | -import org.apache.cloudstack.api.command.admin.resource.DeleteAlertsCmd; |
34 | 32 | import org.apache.cloudstack.api.command.admin.resource.ListAlertsCmd; |
35 | 33 | import org.apache.cloudstack.api.command.admin.resource.ListCapacityCmd; |
36 | 34 | import org.apache.cloudstack.api.command.admin.resource.UploadCustomCertificateCmd; |
|
42 | 40 | import org.apache.cloudstack.api.command.admin.vlan.ListVlanIpRangesCmd; |
43 | 41 | import org.apache.cloudstack.api.command.user.address.ListPublicIpAddressesCmd; |
44 | 42 | import org.apache.cloudstack.api.command.user.config.ListCapabilitiesCmd; |
45 | | -import org.apache.cloudstack.api.command.user.event.ArchiveEventsCmd; |
46 | | -import org.apache.cloudstack.api.command.user.event.DeleteEventsCmd; |
47 | 43 | import org.apache.cloudstack.api.command.user.guest.ListGuestOsCategoriesCmd; |
48 | 44 | import org.apache.cloudstack.api.command.user.guest.ListGuestOsCmd; |
49 | 45 | import org.apache.cloudstack.api.command.user.iso.ListIsosCmd; |
50 | 46 | import org.apache.cloudstack.api.command.user.iso.UpdateIsoCmd; |
| 47 | +import org.apache.cloudstack.api.command.user.offering.ListDiskOfferingsCmd; |
| 48 | +import org.apache.cloudstack.api.command.user.offering.ListServiceOfferingsCmd; |
51 | 49 | import org.apache.cloudstack.api.command.user.ssh.CreateSSHKeyPairCmd; |
52 | 50 | import org.apache.cloudstack.api.command.user.ssh.DeleteSSHKeyPairCmd; |
53 | 51 | import org.apache.cloudstack.api.command.user.ssh.ListSSHKeyPairsCmd; |
|
57 | 55 | import org.apache.cloudstack.api.command.user.vm.GetVMPasswordCmd; |
58 | 56 | import org.apache.cloudstack.api.command.user.vmgroup.UpdateVMGroupCmd; |
59 | 57 | import org.apache.cloudstack.api.command.user.volume.ExtractVolumeCmd; |
| 58 | +import org.apache.cloudstack.api.command.user.zone.ListZonesByCmd; |
60 | 59 |
|
61 | 60 | import com.cloud.alert.Alert; |
62 | 61 | import com.cloud.capacity.Capacity; |
63 | 62 | import com.cloud.configuration.Configuration; |
| 63 | +import com.cloud.dc.DataCenter; |
64 | 64 | import com.cloud.dc.Pod; |
65 | 65 | import com.cloud.dc.Vlan; |
66 | 66 | import com.cloud.domain.Domain; |
|
72 | 72 | import com.cloud.hypervisor.Hypervisor.HypervisorType; |
73 | 73 | import com.cloud.hypervisor.HypervisorCapabilities; |
74 | 74 | import com.cloud.network.IpAddress; |
| 75 | +import com.cloud.offering.DiskOffering; |
| 76 | +import com.cloud.offering.ServiceOffering; |
75 | 77 | import com.cloud.org.Cluster; |
76 | 78 | import com.cloud.storage.GuestOS; |
77 | 79 | import com.cloud.storage.GuestOsCategory; |
@@ -192,34 +194,6 @@ public interface ManagementService { |
192 | 194 | */ |
193 | 195 | Pair<List<? extends Alert>, Integer> searchForAlerts(ListAlertsCmd cmd); |
194 | 196 |
|
195 | | - /** |
196 | | - * Archive alerts |
197 | | - * @param cmd |
198 | | - * @return True on success. False otherwise. |
199 | | - */ |
200 | | - boolean archiveAlerts(ArchiveAlertsCmd cmd); |
201 | | - |
202 | | - /** |
203 | | - * Delete alerts |
204 | | - * @param cmd |
205 | | - * @return True on success. False otherwise. |
206 | | - */ |
207 | | - boolean deleteAlerts(DeleteAlertsCmd cmd); |
208 | | - |
209 | | - /** |
210 | | - * Archive events |
211 | | - * @param cmd |
212 | | - * @return True on success. False otherwise. |
213 | | - */ |
214 | | - boolean archiveEvents(ArchiveEventsCmd cmd); |
215 | | - |
216 | | - /** |
217 | | - * Delete events |
218 | | - * @param cmd |
219 | | - * @return True on success. False otherwise. |
220 | | - */ |
221 | | - boolean deleteEvents(DeleteEventsCmd cmd); |
222 | | - |
223 | 197 | /** |
224 | 198 | * list all the capacity rows in capacity operations table |
225 | 199 | * |
|
0 commit comments