Browse Source

Set limit=10000 for lists of caslibs and tables

master
David Stern 6 years ago
committed by GitHub
parent
commit
75e326b33d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      listcastablesandeffectiveaccess.py

4
listcastablesandeffectiveaccess.py

@ -74,7 +74,7 @@ for server in servers:
servername=server['name'] servername=server['name']
# List the caslibs in this server # List the caslibs in this server
endpoint='/casManagement/servers/'+servername+'/caslibs?excludeItemLinks=true' endpoint='/casManagement/servers/'+servername+'/caslibs?excludeItemLinks=true&limit=10000'
method='get' method='get'
caslibs_result_json=callrestapi(endpoint,method) caslibs_result_json=callrestapi(endpoint,method)
if debug: if debug:
@ -87,7 +87,7 @@ for server in servers:
#print(servername+','+caslibname) #print(servername+','+caslibname)
# Get the tables in the caslib # Get 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' method='get'
#print('about to list tables') #print('about to list tables')

Loading…
Cancel
Save