Change in ovirt-engine[master]: restapi: Add the "max" parameter to all the "List" methods

juan.hernandez at redhat.com juan.hernandez at redhat.com
Tue Dec 1 18:17:18 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: restapi: Add the "max" parameter to all the "List" methods
......................................................................


restapi: Add the "max" parameter to all the "List" methods

All the "List" methods support a "max" parameter that indicates the
maximum number of results to return. Currently this is documented in the
RSDL, but not in the model. This patch adds this parameter to the model,
so that in the future it will be available in the documentation.

Change-Id: I727034038efa5a34d7eac17949ec273d8a58184e
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/restapi/model/src/main/java/services/AffinityGroupVmsService.java
M backend/manager/modules/restapi/model/src/main/java/services/AffinityGroupsService.java
M backend/manager/modules/restapi/model/src/main/java/services/AssignedCpuProfilesService.java
M backend/manager/modules/restapi/model/src/main/java/services/AssignedDiskProfilesService.java
M backend/manager/modules/restapi/model/src/main/java/services/AssignedNetworksService.java
M backend/manager/modules/restapi/model/src/main/java/services/AssignedRolesService.java
M backend/manager/modules/restapi/model/src/main/java/services/AssignedTagsService.java
M backend/manager/modules/restapi/model/src/main/java/services/AssignedVnicProfilesService.java
M backend/manager/modules/restapi/model/src/main/java/services/AttachedStorageDomainsService.java
M backend/manager/modules/restapi/model/src/main/java/services/BalancesService.java
M backend/manager/modules/restapi/model/src/main/java/services/BookmarksService.java
M backend/manager/modules/restapi/model/src/main/java/services/ClustersService.java
M backend/manager/modules/restapi/model/src/main/java/services/CpuProfilesService.java
M backend/manager/modules/restapi/model/src/main/java/services/DataCentersService.java
M backend/manager/modules/restapi/model/src/main/java/services/DiskProfilesService.java
M backend/manager/modules/restapi/model/src/main/java/services/DiskSnapshotsService.java
M backend/manager/modules/restapi/model/src/main/java/services/EventsService.java
M backend/manager/modules/restapi/model/src/main/java/services/ExternalProviderCertificatesService.java
M backend/manager/modules/restapi/model/src/main/java/services/FenceAgentsService.java
M backend/manager/modules/restapi/model/src/main/java/services/FilesService.java
M backend/manager/modules/restapi/model/src/main/java/services/FiltersService.java
M backend/manager/modules/restapi/model/src/main/java/services/GraphicsConsolesService.java
M backend/manager/modules/restapi/model/src/main/java/services/HostDevicesService.java
M backend/manager/modules/restapi/model/src/main/java/services/HostHooksService.java
M backend/manager/modules/restapi/model/src/main/java/services/HostNicsService.java
M backend/manager/modules/restapi/model/src/main/java/services/HostNumaNodesService.java
M backend/manager/modules/restapi/model/src/main/java/services/HostsService.java
M backend/manager/modules/restapi/model/src/main/java/services/IconsService.java
M backend/manager/modules/restapi/model/src/main/java/services/ImagesService.java
M backend/manager/modules/restapi/model/src/main/java/services/InstanceTypeNicsService.java
M backend/manager/modules/restapi/model/src/main/java/services/InstanceTypeWatchdogsService.java
M backend/manager/modules/restapi/model/src/main/java/services/InstanceTypesService.java
M backend/manager/modules/restapi/model/src/main/java/services/IscsiBondsService.java
M backend/manager/modules/restapi/model/src/main/java/services/JobsService.java
M backend/manager/modules/restapi/model/src/main/java/services/LabelsService.java
M backend/manager/modules/restapi/model/src/main/java/services/MacPoolsService.java
M backend/manager/modules/restapi/model/src/main/java/services/NetworkAttachmentsService.java
M backend/manager/modules/restapi/model/src/main/java/services/NetworksService.java
M backend/manager/modules/restapi/model/src/main/java/services/OperatingSystemsService.java
M backend/manager/modules/restapi/model/src/main/java/services/PermitsService.java
M backend/manager/modules/restapi/model/src/main/java/services/QossService.java
M backend/manager/modules/restapi/model/src/main/java/services/QuotaClusterLimitsService.java
M backend/manager/modules/restapi/model/src/main/java/services/QuotaStorageLimitsService.java
M backend/manager/modules/restapi/model/src/main/java/services/QuotasService.java
M backend/manager/modules/restapi/model/src/main/java/services/RolesService.java
M backend/manager/modules/restapi/model/src/main/java/services/SchedulingPoliciesService.java
M backend/manager/modules/restapi/model/src/main/java/services/SchedulingPolicyUnitsService.java
M backend/manager/modules/restapi/model/src/main/java/services/SnapshotCdromsService.java
M backend/manager/modules/restapi/model/src/main/java/services/SnapshotDisksService.java
M backend/manager/modules/restapi/model/src/main/java/services/SnapshotNicsService.java
M backend/manager/modules/restapi/model/src/main/java/services/SnapshotsService.java
M backend/manager/modules/restapi/model/src/main/java/services/StatisticsService.java
M backend/manager/modules/restapi/model/src/main/java/services/StepsService.java
M backend/manager/modules/restapi/model/src/main/java/services/StorageDomainContentDisksService.java
M backend/manager/modules/restapi/model/src/main/java/services/StorageDomainServerConnectionsService.java
M backend/manager/modules/restapi/model/src/main/java/services/StorageDomainTemplatesService.java
M backend/manager/modules/restapi/model/src/main/java/services/StorageDomainVmsService.java
M backend/manager/modules/restapi/model/src/main/java/services/StorageDomainsService.java
M backend/manager/modules/restapi/model/src/main/java/services/StorageServerConnectionExtensionsService.java
M backend/manager/modules/restapi/model/src/main/java/services/StorageServerConnectionsService.java
M backend/manager/modules/restapi/model/src/main/java/services/TagsService.java
M backend/manager/modules/restapi/model/src/main/java/services/TemplateCdromsService.java
M backend/manager/modules/restapi/model/src/main/java/services/TemplateDisksService.java
M backend/manager/modules/restapi/model/src/main/java/services/TemplateNicsService.java
M backend/manager/modules/restapi/model/src/main/java/services/TemplateWatchdogsService.java
M backend/manager/modules/restapi/model/src/main/java/services/TemplatesService.java
M backend/manager/modules/restapi/model/src/main/java/services/UnmanagedNetworksService.java
M backend/manager/modules/restapi/model/src/main/java/services/VirtualFunctionAllowedNetworksService.java
M backend/manager/modules/restapi/model/src/main/java/services/VmApplicationsService.java
M backend/manager/modules/restapi/model/src/main/java/services/VmCdromsService.java
M backend/manager/modules/restapi/model/src/main/java/services/VmDisksService.java
M backend/manager/modules/restapi/model/src/main/java/services/VmHostDevicesService.java
M backend/manager/modules/restapi/model/src/main/java/services/VmNicsService.java
M backend/manager/modules/restapi/model/src/main/java/services/VmNumaNodesService.java
M backend/manager/modules/restapi/model/src/main/java/services/VmPoolsService.java
M backend/manager/modules/restapi/model/src/main/java/services/VmReportedDevicesService.java
M backend/manager/modules/restapi/model/src/main/java/services/VmSessionsService.java
M backend/manager/modules/restapi/model/src/main/java/services/VmWatchdogsService.java
M backend/manager/modules/restapi/model/src/main/java/services/VnicProfilesService.java
M backend/manager/modules/restapi/model/src/main/java/services/WeightsService.java
M backend/manager/modules/restapi/model/src/main/java/services/aaa/DomainGroupsService.java
M backend/manager/modules/restapi/model/src/main/java/services/aaa/DomainUsersService.java
M backend/manager/modules/restapi/model/src/main/java/services/aaa/DomainsService.java
M backend/manager/modules/restapi/model/src/main/java/services/aaa/GroupsService.java
M backend/manager/modules/restapi/model/src/main/java/services/aaa/SshPublicKeysService.java
M backend/manager/modules/restapi/model/src/main/java/services/aaa/UsersService.java
M backend/manager/modules/restapi/model/src/main/java/services/externalhostproviders/ExternalComputeResourcesService.java
M backend/manager/modules/restapi/model/src/main/java/services/externalhostproviders/ExternalDiscoveredHostsService.java
M backend/manager/modules/restapi/model/src/main/java/services/externalhostproviders/ExternalHostGroupsService.java
M backend/manager/modules/restapi/model/src/main/java/services/externalhostproviders/ExternalHostProvidersService.java
M backend/manager/modules/restapi/model/src/main/java/services/externalhostproviders/ExternalHostsService.java
M backend/manager/modules/restapi/model/src/main/java/services/externalhostproviders/KatelloErrataService.java
M backend/manager/modules/restapi/model/src/main/java/services/gluster/GlusterBricksService.java
M backend/manager/modules/restapi/model/src/main/java/services/gluster/GlusterHooksService.java
M backend/manager/modules/restapi/model/src/main/java/services/gluster/GlusterVolumesService.java
M backend/manager/modules/restapi/model/src/main/java/services/openstack/OpenstackImageProvidersService.java
M backend/manager/modules/restapi/model/src/main/java/services/openstack/OpenstackImagesService.java
M backend/manager/modules/restapi/model/src/main/java/services/openstack/OpenstackNetworkProvidersService.java
M backend/manager/modules/restapi/model/src/main/java/services/openstack/OpenstackNetworksService.java
M backend/manager/modules/restapi/model/src/main/java/services/openstack/OpenstackSubnetsService.java
M backend/manager/modules/restapi/model/src/main/java/services/openstack/OpenstackVolumeAuthenticationKeysService.java
M backend/manager/modules/restapi/model/src/main/java/services/openstack/OpenstackVolumeProvidersService.java
M backend/manager/modules/restapi/model/src/main/java/services/openstack/OpenstackVolumeTypesService.java
103 files changed, 551 insertions(+), 15 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/49324
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I727034038efa5a34d7eac17949ec273d8a58184e
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list