splitio / split-synchronizer

Golang agent for Split SDKs
Other
16 stars 15 forks source link

Split Proxy - TLS Support #209

Closed mredolatti closed 1 year ago

mredolatti commented 1 year ago

How to test manually:

if you don't want to create your own certs skip the next 4 bullet points:

(continued)

 ./split-proxy \
    -apikey=<YOUR_APIKEY> \
    -server-tls-enabled \
    -server-tls-private-key-fn=./test/certs/https/proxy.key \
    -server-tls-cert-chain-fn=./test/certs/https/proxy.crt \
    -server-tls-min-tls-version=1.3 \
    -server-tls-allowed-cipher-suites=TLS_CHACHA20_POLY1305_SHA256
curl -v \
    https://split-proxy:3000/api/splitChanges \
    -H"Authorization: Bearer SDK_API_KEY" \
    --cacert test/certs/https/ca.crt
curl -v \
    https://split-proxy-admin:3010/health/application \
    --cacert test/certs/https/ca.crt
sonarqube-pull-requests[bot] commented 1 year ago

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

66.3% 66.3% Coverage
0.0% 0.0% Duplication

sonarqube-pull-requests[bot] commented 1 year ago

SonarQube Quality Gate

Quality Gate failed

Failed condition 55.6% 55.6% Coverage on New Code (is less than 80%)

See analysis details on SonarQube

sonarqube-pull-requests[bot] commented 1 year ago

SonarQube Quality Gate

Quality Gate failed

Failed condition 55.6% 55.6% Coverage on New Code (is less than 80%)

See analysis details on SonarQube