We are running Sonatype Nexus RepositoryOSS 3.54.1-0
I am looking for references to the default values for settings.
For example:
HTTP request settings
- User-agent customization:
- Connection retries:
- Connection timeout:
- Enable circular redirects:
- Enable cookies:
Some of these seem fairly obvious (boolean values with checkboxes).
But some, like ‘Connection timeout’, are not so clear.
I did find the following in the source code that seems to indicate connection read timeout is 30 seconds.
def url = "http://localhost:${rcConfig.port}/service/metrics/ping"
String encoded = Base64.getEncoder().encodeToString("admin:admin123".getBytes(StandardCharsets.UTF_8))
HttpURLConnection connection = (HttpURLConnection) new URL(url).openConnection()
connection.setConnectTimeout(30000)
connection.setReadTimeout(30000)
connection.setRequestMethod("GET")
connection.setRequestProperty("Authorization", "Basic ${encoded}")
Is there a place where all these defaults are documented?