# # Grouper client discovery configuration # ######################################## ## LDAP discovery connection settings ######################################## # urls of directory, including the base DN (distinguished name) # add more properties and increment the integer (.1, .2, etc) # e.g. ldap://server.school.edu/dc=school,dc=edu # e.g. ldaps://server.school.edu/dc=school,dc=edu grouperClient.discovery.ldap.0.url = # active/active or active/standby # active/active will pick a server randomly, # and will stick with it for as long as the affinity is set # active/standby will always use the first connection # if no errors, then try the second one etc. # if a connection has more errors and has a higher priority, # then it will not be tried again until the # takeConnectionOutOfPoolOnErrorForSeconds timeout # passes grouperClient.discovery.ldap.loadBalancing = active/active # if we are active/active, then the same connection will # be used for a certain number of seconds. If this is -1, then # always keep the same server (unless errors) grouperClient.discovery.ldap.affinitySeconds = 600 # if a connection has more errors than another, it will not be # used until this error timeout passes (unless the other is throwing errors # too) grouperClient.discovery.ldap.lowerConnectionPriorityOnErrorForMinutes = 3 # when a connection is attempted, this is the timeout that it will use before trying # another connection grouperClient.discovery.ldap.timeoutSeconds = 30 # after all connections have been attempted, it will wait for this long # to see if any finish grouperClient.discovery.ldap.extraTimeoutSeconds = 15 ######################################## ## Web service discovery Connection settings ######################################## # urls of web service, should include everything up to the first resource to access # this is for read or write operations # add more properties and increment the integer (.1, .2, etc) # e.g. http://groups.school.edu:8090/grouper-ws/servicesRest # e.g. https://groups.school.edu/grouper-ws/servicesRest grouperClient.discovery.webService.readWrite.0.url = http://localhost:8091/grouper-ws/servicesRest grouperClient.discovery.webService.readWrite.1.url = http://localhost:8091/grouper-ws2/servicesRest # url of web service, should include everything up to the first resource to access # this is for only read operations # add more properties and increment the integer (.1, .2, etc) # e.g. http://groups.school.edu:8090/grouper-ws/servicesRest # e.g. https://groups.school.edu/grouper-ws/servicesRest grouperClient.discovery.webService.readOnly.0.url = http://localhost:8091/grouper-ws3/servicesRest # active/active or active/standby # active/active will pick a server randomly, # and will stick with it for as long as the affinity is set # active/standby will always use the first connection # if no errors, then try the second one etc. # if a connection has more errors and has a higher priority, # then it will not be tried again until the # takeConnectionOutOfPoolOnErrorForSeconds timeout # passes grouperClient.discovery.webService.loadBalancing = active/active # if you want to always try read/write before readOnly (i.e. if you are # worried about if you make a write and read right after each other) grouperClient.discovery.webService.preferReadWrite = true # if we are active/active, then the same connection will # be used for a certain number of seconds. If this is -1, then # always keep the same server (unless errors) grouperClient.discovery.webService.affinitySeconds = 600 # if a connection has more errors than another, it will not be # used until this error timeout passes (unless the other is throwing errors # too) grouperClient.discovery.webService.lowerConnectionPriorityOnErrorForMinutes = 3 # when a connection is attempted, this is the timeout that it will use before trying # another connection grouperClient.discovery.webService.timeoutSeconds = 60 # after all connections have been attempted, it will wait for this long # to see if any finish grouperClient.discovery.webService.extraTimeoutSeconds = 30