Browse Source

Set limit=10000 on REST calls for caslibs & tables

Now that a limit of 10 caslibs and cas tables is being enforced by the casManagement service's REST API, we need to set a higher limit to see all the results
master
David Stern 6 years ago
committed by GitHub
parent
commit
6fc6a9f1ad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      listcastables.py

4
listcastables.py

@ -71,7 +71,7 @@ for server in servers:
#print(servername)
# List the caslibs in this server
endpoint='/casManagement/servers/'+servername+'/caslibs?excludeItemLinks=true'
endpoint='/casManagement/servers/'+servername+'/caslibs?excludeItemLinks=true&limit=10000'
method='get'
caslibs_result_json=callrestapi(endpoint,method)
if debug:
@ -84,7 +84,7 @@ for server in servers:
#print('a: '+servername+','+caslibname)
# List the tables in the caslib
endpoint='/casManagement/servers/'+servername+'/caslibs/'+caslibname+'/tables?excludeItemLinks=true'
endpoint='/casManagement/servers/'+servername+'/caslibs/'+caslibname+'/tables?excludeItemLinks=true&limit=10000'
method='get'
#print('about to list tables')

Loading…
Cancel
Save