-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.e2e.https.yml
More file actions
29 lines (29 loc) · 1014 Bytes
/
config.e2e.https.yml
File metadata and controls
29 lines (29 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# E2E HTTPS config: use with E2E_REGISTRY_URL=https://127.0.0.1:8082 make test-e2e-swift
# Nexus must be running. Requires certs (make test-e2e-generate-certs) and keychain trust.
server:
hostname: 127.0.0.1
port: 8082
listPageSize: 1 # E2E: paginate with 1 per page to test Link headers (first, prev, next, last)
tlsEnabled: true
certs:
cert: testdata/e2e/certs/server.crt
key: testdata/e2e/certs/server.key
repo:
type: maven
maven:
baseURL: http://localhost:8081/repository/private
authMode: passthrough
timeout: 30
publish:
maxSize: 204800
auth:
enabled: true
type: basic
users:
- username: admin
password: 240be518fabd2724ddb6f04eeb1da5967448d7e831c08c8fa822809f74c720a9 # sha256 of admin123
packageCollections:
enabled: true
requirePackageJson: false
allowAuthQueryParam: true # swift package-collection add cannot send headers
# No publicRead: use ?auth=<base64(user:pass)> for swift package-collection add