Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/code.cloudfoundry.org/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require (
code.cloudfoundry.org/cf-networking-helpers v0.63.0
code.cloudfoundry.org/clock v1.53.0
code.cloudfoundry.org/debugserver v0.73.0
code.cloudfoundry.org/diego-logging-client v0.77.0
code.cloudfoundry.org/filelock v0.49.0
code.cloudfoundry.org/garden v0.0.0-20251029021825-d47b35eadfbb
code.cloudfoundry.org/lager/v3 v3.53.0
Expand Down Expand Up @@ -52,7 +53,6 @@ require (
)

require (
code.cloudfoundry.org/diego-logging-client v0.77.0 // indirect
code.cloudfoundry.org/durationjson v0.56.0 // indirect
code.cloudfoundry.org/go-diodes v0.0.0-20251027221130-fc49a49e17eb // indirect
code.cloudfoundry.org/go-log-cache/v3 v3.1.1 // indirect
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-----BEGIN X509 CRL-----
MIICfDBmAgEBMA0GCSqGSIb3DQEBCwUAMA0xCzAJBgNVBAMTAkNBFw0yNTAzMTIx
OTIxNDZaFw0yNjA5MTIxOTIxNDZaMACgIzAhMB8GA1UdIwQYMBaAFGatVIC9ULEj
vDVDmvFfIReHkT9wMA0GCSqGSIb3DQEBCwUAA4ICAQBKdxDWxUDOhPBPcLfdEs1y
VPSc5wV15Rrd6n5ZSQCSIbKOdZrxYDg/OtS17Ux4g4qfISLNX2/I8Z2AlaD6L3jJ
z073jGW9bOo99N2B8ShNDV704gd8djyUnDAPtsrs3kbR4qlLGxdWVEbCKueUcOZG
QxKp+oRwc6z2LR6KjT9nKL1Kypj2ZP7rBsds87Y7Qua6h/YEgzhWuOX20rA6UI9f
jXcuHuWTXcVHfyK8q7ENIZBkpdSd+2W0SiBuJ2SWq7ya75Bg/wnJeSVEQXAnqkIB
ai3IenmCBca2B8ea2X+yHHU3EurBCmRezi5TpqBuFUSkdyt68qcTlhHeU/EPBPil
r/WaMFUVwLGpMhy5XNnhBy0ZShxxw+XR8/lsYyjc0Qwyb5mCK3NtpxdeDkBKKsCj
aHyxGi6jgrnQv9cDScgbfa3ZfY4h9z6FFntba95sXm4y3g35A6xYF3dBttNSttQP
JuXyinNqIuqB3RGol7jeC6o49Zwlu2oyOiN2ioF4HC4B5sVeRheDeF4oCBzqPTnV
s4FErfnGJM0ceb16UFtzvWCal3FyecAXUwjT/qkTD01ERYYn0WUY2bSWEkBrcB2I
KwfaeR2gI/+cu44P2bnYp7hFJCn5UQrgiWlT7Elu4zMWUmmjBsAMILIHOmzAcXSE
WuDXdYZVKZk/lniujq+TZw==
-----END X509 CRL-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN CERTIFICATE-----
MIIE2jCCAsKgAwIBAgIBATANBgkqhkiG9w0BAQsFADANMQswCQYDVQQDEwJDQTAe
Fw0yNTAzMTIxOTExNDZaFw0yNjA5MTIxOTIxNDZaMA0xCzAJBgNVBAMTAkNBMIIC
IjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA2XaluMKh5rB8vyv4v+w6jPh8
TZBU9lDzT2L8uPyUOmFgDsvuaMszmy/5p0z2pnitGa7Gw4qHHs9YHtfwBI6SoCFH
vaMs8eK/aM/mP98PosPhnmFW0H5P/nmkMZV1jK3VvLFDuxPTZORENJSmxTkQRTAI
+17NWWivN4KOg5EFLTob230HboREz0qBBwnCdvxViQg03lMTVqrFEZUluOFQNYa3
yrvFfq2uDj0vEkOx2S0r24JU1UHGgPTP34oNLYDnN3S6JxIc02VUHilyx9RudhVd
dKdlG8h/3OrRPAyJ1pPeU7xMTZjkZ6GuuxXnX7XgOxHR5spoGXix1/efOG5vQXet
LQ3EtfOZMhCCE7/zu14qdGopwWChe3qpG9d4Enz6hRx4MqyA3XnX2PPH+XAubYtd
/NNY/eXEeZ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XAeDjmFL/GsZLb1bGZ4Y6Q==
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
-----BEGIN RSA PRIVATE KEY-----
MIIJKQIBAAKCAgEA2XaluMKh5rB8vyv4v+w6jPh8TZBU9lDzT2L8uPyUOmFgDsvu
aMszmy/5p0z2pnitGa7Gw4qHHs9YHtfwBI6SoCFHvaMs8eK/aM/mP98PosPhnmFW
0H5P/nmkMZV1jK3VvLFDuxPTZORENJSmxTkQRTAI+17NWWivN4KOg5EFLTob230H
boREz0qBBwnCdvxViQg03lMTVqrFEZUluOFQNYa3yrvFfq2uDj0vEkOx2S0r24JU
1UHGgPTP34oNLYDnN3S6JxIc02VUHilyx9RudhVddKdlG8h/3OrRPAyJ1pPeU7xM
TZjkZ6GuuxXnX7XgOxHR5spoGXix1/efOG5vQXetLQ3EtfOZMhCCE7/zu14qdGop
wWChe3qpG9d4Enz6hRx4MqyA3XnX2PPH+XAubYtd/NNY/eXEeZ5x/FNHDDYu1xqh
HJo5ET2QY/tJ+YG8rMfWenQLBs1jyYRtvDt9GuoEWgCcA74wAAKbnz1JkUNy+ywj
HduRXYxqIBL/nOs9/B706STN7YAGs2C8P2Y2IuDeLK9vLM2eWzyKjA0WT5DorLeU
ZA1Y6UxoLiDh4crjo70I0pmzk5S5lsL3FSaOrI2mys4w4yD6rBepGJKudgI0YZBd
nilJNwUY8oauQQ0GZncoOpRq1rdd2ojO9OSP11n0NQ/YVAx3TXYbonuu2OECAwEA
AQKCAgEAl0uw6Oag9Xr8j5TsL7sO0V1gPiaYtfaEEUtxQNKZ3jQ5PJItgMM/WEz8
iKVHRXLYG/I5X3pVn93qFStvVfxLjxUYcJvCfVegjC94ph9vJXLa2fInEE+RIB9J
WSX+7q1S80DxOosEnEEkIuD5VmXpJ/nPhfPjMr1eimRO+sI+s8Sl9QL71Kw5o27W
bisgHOBaMkh/X960qauOCDmYURSRVWwxGt+g/A2h904iHbbzWYHP7ZyzoNtuW/H3
XjM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Uk3Y1sAVJMTHR5WT8ynlDjtbLQo1
-----END RSA PRIVATE KEY-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
-----BEGIN CERTIFICATE-----
MIIELjCCAhagAwIBAgIQD9IN+3b0iJ/gvY8e3EjX/DANBgkqhkiG9w0BAQsFADAN
MQswCQYDVQQDEwJDQTAeFw0yNTAzMTIxOTExNDdaFw0yNjA5MTIxOTIxNDVaMBEx
DzANBgNVBAMTBmNsaWVudDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEB
ANIwrvpkR/cFu2sdZcr2hxPUdD7RL+FM7sX6HPDYPzAUiTWg2Ieq1S/WmtEhfKWX
+FayX0aKSGGHQhDHgqLwnCqiXrMsLcPYg47J11pA1XKk1HJhBSL0tqiDjekQ+uBe
CrwR+ndQcsN8Nc8ttnaQqC7Rp85rcDVqm5xJFObNV0r7hyEkG0aaldtfPvwcN+m7
cHgKP98sJjyxS5TupuAY+E+Rvf2voxf6aSIvB9UGRi2f+jdRGEEhQRw0EptKCbku
Tree9zv01VLm0ig3xIZvzqH1+aP4a/RKfFNo4qAAcG5ja80Gzrt7PF1+kY3LCQAB
WEWMclSSYO9axGG++GC6Gg0CAwEAAaOBhTCBgjAOBgNVHQ8BAf8EBAMCA7gwHQYD
VR0lBBYwFAYIKwYBBQUHAwEGCCsGAQUFBwMCMB0GA1UdDgQWBBRIYS//6MuAlNi6
uW+bkMkkZEG8mDAfBgNVHSMEGDAWgBRmrVSAvVCxI7w1Q5rxXyEXh5E/cDARBgNV
HREECjAIggZjbGllbnQwDQYJKoZIhvcNAQELBQADggIBAJsRQybNjgz7Gql5arhp
nSgZ7K5ZTlgR2Pb2Axi6fILdyowphIbSdEt//xubxy346UMQk5sAR0V73AYXJoFe
Ph6hQbCB17vW5blap5iJfO1A5g++cr5V+8gYDC4AFQszHKkwVELPtHcXvB0uesVu
5wd/8nmT3LeGlgI8HSapirZEU7jVcwglAcI0gpX0StJ/hzuko5IajrF4b2bLlXws
1UvMGf5CC41NOIh/lUcwVKSvHoJCQ+wF/MUjZh/058dwpFrPY6FZwMCapnpj9hj0
0581V6BO2YLq07ohyJT6EFSIM226a2gggPwcg/uc8V9whv3kRr4qiHq5pZCiGcMd
adHUu1ke/aPwL+9m210CXf3foPDxT+6m0/OGY6e4AF3zbryjeeuFzUFsH1PLi4XV
9ZCK+m5vGCrzb1jHf4ncmsK+Y0JOViW1wwTmfn5V2E4bfDUmHddgya9SS1+bMLOy
UqNU9fYlyfO9uJWzkHYcPGV2NBZFeO6gpsA4V5ei8pEpLaxg9AT6lCXsNW8ugh3h
r8acYR0IpIwc61axwaZnp5p9WniJjLFWHUFQQybSLJIBxBGjvuUJbjlutxcDT2eG
UqesH251s3n4q3LC1jUSmOUWrLMVvB7aNA1IvAdcAXL6Mhe5kXjZ6zVu5d0TyUcl
7mNziBINtPvTbzTIXq9Pc8xt
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICejCCAWICAQAwETEPMA0GA1UEAxMGY2xpZW50MIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEA0jCu+mRH9wW7ax1lyvaHE9R0PtEv4Uzuxfoc8Ng/MBSJ
NaDYh6rVL9aa0SF8pZf4VrJfRopIYYdCEMeCovCcKqJesywtw9iDjsnXWkDVcqTU
cmEFIvS2qION6RD64F4KvBH6d1Byw3w1zy22dpCoLtGnzmtwNWqbnEkU5s1XSvuH
ISQbRpqV218+/Bw36btweAo/3ywmPLFLlO6m4Bj4T5G9/a+jF/ppIi8H1QZGLZ/6
N1EYQSFBHDQSm0oJuS5Ot573O/TVUubSKDfEhm/OofX5o/hr9Ep8U2jioABwbmNr
zQbOu3s8XX6RjcsJAAFYRYxyVJJg71rEYb74YLoaDQIDAQABoCQwIgYJKoZIhvcN
AQkOMRUwEzARBgNVHREECjAIggZjbGllbnQwDQYJKoZIhvcNAQELBQADggEBAJwt
xyZYX0RPuKiN42zItLD0sj8yURUslONqbLMCwtCCToSmClG4U+Fq3Q8GaTEiGJxd
O3TQnWCU4L1eBZnQesWiuQcWXvnqrYKHnMuDOUwYqGy9aF2C5ICUhdPUhmuK0Tun
F/ikLhH/JAvBWPhy2gD1IcWoUF57IDGw2elDjMEhw5KxCdn9fQxnJyT9r/a39108
UmGIXszVdE8e2HSFLpDUOHbG7fzpXjc6jYC9KcTPISFsrTqf+UssMzp7PZZG/ZSf
BSqRAVDnJPX3o/jg0c/LH7nwE2J7e/YLPY1VoPKF8/ZIPDXjNnkcZp1islL41gfq
G3JWy0gIel2EuxcVZTE=
-----END CERTIFICATE REQUEST-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA0jCu+mRH9wW7ax1lyvaHE9R0PtEv4Uzuxfoc8Ng/MBSJNaDY
h6rVL9aa0SF8pZf4VrJfRopIYYdCEMeCovCcKqJesywtw9iDjsnXWkDVcqTUcmEF
IvS2qION6RD64F4KvBH6d1Byw3w1zy22dpCoLtGnzmtwNWqbnEkU5s1XSvuHISQb
RpqV218+/Bw36btweAo/3ywmPLFLlO6m4Bj4T5G9/a+jF/ppIi8H1QZGLZ/6N1EY
QSFBHDQSm0oJuS5Ot573O/TVUubSKDfEhm/OofX5o/hr9Ep8U2jioABwbmNrzQbO
u3s8XX6RjcsJAAFYRYxyVJJg71rEYb74YLoaDQIDAQABAoIBAQCF7Rsw1AC+ttpK
T/ryLc63peFDvUpCxiBF6S3TkBYC7rLWhtww5Xrc9mLC6hFf+cr0gscOTUH9Uo+X
3Wexppn62GZ6x6WJakW5D4a2LSVT3Q64qnT5Zu+Tw+8CGB2iJIm2d8YdjBbz1Ar9
LWVbeqSO4GuJrQ9cGcd491/oB+KdFSvRoMuUqzOBUeSbYjaad7LcG5YfDdddZv0U
PTO7WrpboYlbkkNwrN3Lwqa1sRnfYP4f/yM5Nujjl8VkWxu6PnHalFOAlKJAgRRV
jtPEQgi/ce1MFgq/8yR6brmBj+16yvRd7VFyYb4ET6oHVvP44KOjyuQFla3JTguX
KhcbgAOBAoGBAOlyqbUUspBKwNW24E792tqz0dKhSIiRJCMa6Boq7bTol/lWxSmy
IhXuNvbWGdNTsYaU11Xh80uwobLyNKMim+P8BXo7hizLtTtnqidqCSGgnWFnIVS4
dU8H+SBqp7aRwkAxCM0mMt8MgXMIQSWCQrPedTqBVBwjaFQOrP+kSrfdAoGBAOZ+
1wMnIuLmR1htl7V+e0/wyXAIioxsYUKlieDzUVxA20Glupm/ym4mLCk4v40TLF+Y
C8Hay5yPjdsE1JzJS48tyUs9kL03yFJt5NGnzIwcopxLxz6H2jOM6nTAy7qeG4E2
Cvt3d/WygOALiNBaRP8VVIyh6AP9l+WrFR7+SF/xAoGAZJCImwE3iwEo4OfO6Thi
NySPlvTzkiE0OAs3QU6M6Anqrfa7KKMcG+Zqtxq0NV0wdJFZ0h1r+Yc1oSjFlCEs
lqHSmj1aJ6H5iIW3vxLmrB3MrlEHAsATiOAeaeCILxXLYGu/JuD1uTBh83Py3H2o
zmNejL15xkVahBtuWxIjPeECgYAYA6cLIQy1byCHygNAWYknbwLNtVYaA0Cu3Ohc
k30qi2dMk6O5WQ4SI8/+C3eJjzHUU9cFv3HvQdWZuAseuqowpKiQOj3WOPWaAPES
FtVs057tgcekcCr/q/LRbzTKoKZk8+h5Ap1w78QVk54RdxYxLVu9uzCdGdK1jvmI
XR3VQQKBgHezTtDoZGZQGlZJZclLKoBMhMNEkcLlxcIEusLmaYYJRkqPTEhUucGD
1Dc/0w7k4UWkteImHfoiCqB+G54EjVChoc5uS5ADKYaW/18bWxCG789M/bg5Ji8v
sT+rAvhNO5jFNhQ4aen8n8Ev0L2S0zR69d98IgUy8x3Ubhv7mdrR
-----END RSA PRIVATE KEY-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
-----BEGIN CERTIFICATE-----
MIIELjCCAhagAwIBAgIQbzv3sI3TskO8v1YfgeB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qE+0Tg+QFAw4QWlRd961td3G5d2ACtnlbljfvh35NdJ0q+fukyXBX6Qk
xV1Mb+wZLV6oGcn5yHBwU0reDKpuYelQzCElsVcCi49eXf812Ct/DWVpVAF1edVj
m0Y+Ls3QVMtCW6LXUmpHMkGP+W4BNA9MjUYKCETErZIntiOyGwu70lpK9brq/Lu/
nhdwUUqnIFlIwotEhU9EJ9nqgB89UFJIOkxuGKeRKVwWtx1A9fDoIgf5yPLXueKi
UFlJdyL37xaK0ceBSOLOzc6JwcNCsNpJs3maRcZICQ86X2QLsaQMUck5yYe22/I9
YRaA/pkIGSPtBB1lIiESfvO7
-----END CERTIFICATE-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICejCCAWICAQAwETEPMA0GA1UEAxMGbWV0cm9uMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEA1h4fEfrm8VLURPpaqeqIXqv1sIU0LzNHQUwundYIRniP
7gec54pHDHyaY1LKinCa1EiOEgGcI77r7Hrn6jujL4U0+sYJOUMnQZxkgeH5J1pm
t+IHy4rMlo+iVzfN9vcQXtU1dhApLsr4VBlwOR++wyNz5jqH7UpLrLA7OXG/4aMH
09htWIRZKcn8vuQNq1C58/Pt/RwJYRvu3zoK6Slm2wADzaStvO8tjwra4/lFip27
x0rWmDkhTCypqsQ8QY/+JGZleueJJ5ZiBf+HTrVtDKBsIWHgPLj8+iDatkgvu3kL
co2x/5f6Mfos2pjZ0KHKBa63a1NM5rzjrG6kZv8kcQIDAQABoCQwIgYJKoZIhvcN
AQkOMRUwEzARBgNVHREECjAIggZtZXRyb24wDQYJKoZIhvcNAQELBQADggEBALkF
FipoLqstPkaU3y3OEVKIynBN0bT2UvHzrrmCmu5c+X/5VrlsNdaxSNzRLFdTfW1k
nG55MObSbBK7fUJpJ4lhtBch51SXUGXEfWRjkAeLC2s5Aiwi/jUGy+dBqFww5om4
CcN9MYjRIHVVvcQuR8qMkuHwPMs5TVY6ErM0x3saLEZwl5qSu052tH2uNMT0m7Uz
9u2R3slQpSwc1lwqhaPvvf5WGk9mhb+NmzUYvFiV+hxViB+Ok7DnG6N25o1wIYSE
xkU+yr+I05v2qAMaAAwtuzurWJjCm0swaxSsyHSMmrVHjSQnSHCPm+tszvi912xM
bthBnu8Job78UOOFGtM=
-----END CERTIFICATE REQUEST-----
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA1h4fEfrm8VLURPpaqeqIXqv1sIU0LzNHQUwundYIRniP7gec
54pHDHyaY1LKinCa1EiOEgGcI77r7Hrn6jujL4U0+sYJOUMnQZxkgeH5J1pmt+IH
y4rMlo+iVzfN9vcQXtU1dhApLsr4VBlwOR++wyNz5jqH7UpLrLA7OXG/4aMH09ht
WIRZKcn8vuQNq1C58/Pt/RwJYRvu3zoK6Slm2wADzaStvO8tjwra4/lFip27x0rW
mDkhTCypqsQ8QY/+JGZleueJJ5ZiBf+HTrVtDKBsIWHgPLj8+iDatkgvu3kLco2x
/5f6Mfos2pjZ0KHKBa63a1NM5rzjrG6kZv8kcQIDAQABAoIBAQCDUaH4owr0wroR
PAJS59aPSaO7iVaCBE8VSyXkA5q7rcGIWP7wOqxsihceB27VDU7IF1+ax4X9nmCP
fqmxzLW+tVHS45ZQmlD/Om2iAveOHTGWYXgqa4wiYyFLoJwfdVOC9fx91leLrUw0
OA3N2xxiDeJNN2SaMdDLrqIEDzGBrh41D8QjOFnWxiQzDMqk8WQ8Pvkft4fu+bO6
5mV5WWElfX315nM0FW8MeG+hg5BvtS9475CyYJ4sWJYiGwFm7g069waomwCUjMmg
FNRNFgZH+mI7yv0AfNxzuH77gGvrRZ+O5bk7bBXiirEWiHlcVNlJdReDEfrcmClI
3AQZWBNJAoGBAOjQPgZArYcCFNuZGtxE2cZ4DYXL2OMXTw1medQjFRgGyit+5Xzb
JvvixpIY69MWFL8WuONjeDxO9r2fZdwBZ4ltIy/LhTU1F5Q/Qh376LXUhryI4/31
kAh/XpSmw+u3fhcD2SMA5LIEc+mv1owi6L5Orax9wTCNnWowb80aTmx3AoGBAOtx
NzcdXUqjhe2dKYV2Iec7bJhtfAPkUTavwPAKP7QxtG2aeRKgEv+WO58om213apYO
n12fG/gg5fYQopEaI08EWkSuKdOMgSJAK6H/DnlzlWXt7pLo0lRBJo6km8v/fJLa
t51rhvuaub1obXEsxcLMoZOIGfBVfG0VZMDfI/hXAoGALffQB1QF7z5N9/4G+67s
gO97XAufy1by2OZ+74/tvky45lWr4jczP1DLfFVHWuplNkW6Q8uEFgRRW6d5aTMt
ykiuReWda6AMA81ptJnknOJVqCwvOBmgUs0zU46J6KTWVJ0B5pNqlGukp2N8rTbH
VawbRo+d8YRErI7bxFeJXIkCgYASlYQrOIklnBS1NcOSQknYy6r9uR6h3ALBE0xi
ZhyzJ307bYcC/lmhjQU1wenK0TM7lvnjVOzLQCWGr7d1Rp/k284YP7sTdLK4tmH7
TnuhAIuZWReMxw3bEq1tcvbNOmRl3xfBODyWXZctqTGCTmtpvec/Eu4hN04z+g1S
4AohzwKBgQCCMR5DzKcPnRvMxvIF3pqqRo0wTr4ZNju+DWR0lA4IEO03HAU5Ksvf
OzYaEwaRGm63fc/JDvAimJeggxpzj45ZOqlx9scPXIZCIzh00zqg2RZf20ykzPq6
UM3hjrsIq6V/2HBQpzz1rs4NQwUCDpjfDLkaUt/TUBbiMr4JcI77oA==
-----END RSA PRIVATE KEY-----
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,23 @@ import (
"fmt"
"io"
"net/http"
"path/filepath"
"time"

"code.cloudfoundry.org/cf-networking-helpers/db"
"code.cloudfoundry.org/cf-networking-helpers/testsupport"
"code.cloudfoundry.org/cf-networking-helpers/testsupport/metrics"
"code.cloudfoundry.org/cf-networking-helpers/testsupport/ports"
loggingclient "code.cloudfoundry.org/diego-logging-client"
logginghelper "code.cloudfoundry.org/diego-logging-client/testhelpers"
locketconfig "code.cloudfoundry.org/locket/cmd/locket/config"
lockettestrunner "code.cloudfoundry.org/locket/cmd/locket/testrunner"
"code.cloudfoundry.org/policy-server/api"
"code.cloudfoundry.org/policy-server/cc_client"
"code.cloudfoundry.org/policy-server/config"
"code.cloudfoundry.org/policy-server/integration/helpers"
testhelpers "code.cloudfoundry.org/test-helpers"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/onsi/gomega/gexec"
Expand All @@ -28,22 +32,40 @@ import (

var _ = Describe("Internal API Listing security groups", func() {
var (
sessions []*gexec.Session
asgSyncerSession *gexec.Session
asgSyncerConfig config.ASGSyncerConfig
tlsConfig *tls.Config
policyServerConfs []config.Config
policyServerInternalConfs []config.InternalConfig
internalConf config.InternalConfig
dbConf db.Config
locketDBConf db.Config
locketProcess ifrit.Process
sessions []*gexec.Session
asgSyncerSession *gexec.Session
asgSyncerConfig config.ASGSyncerConfig
tlsConfig *tls.Config
policyServerConfs []config.Config
policyServerInternalConfs []config.InternalConfig
internalConf config.InternalConfig
dbConf db.Config
locketDBConf db.Config
locketProcess ifrit.Process
signalMetricsChan chan struct{}
testIngressServer *logginghelper.TestIngressServer
metronCAFile, metronServerCertFile, metronServerKeyFile string

fakeMetron metrics.FakeMetron
mockCCServer *helpers.ConfigurableMockCCServer
)

BeforeEach(func() {
fixturesPath := "fixtures"

var err error
metronCAFile = filepath.Join(fixturesPath, "metron", "CA.crt")
metronServerCertFile = filepath.Join(fixturesPath, "metron", "metron.crt")
metronServerKeyFile = filepath.Join(fixturesPath, "metron", "metron.key")
testIngressServer, err = logginghelper.NewTestIngressServer(metronServerCertFile, metronServerKeyFile, metronCAFile)
Expect(err).NotTo(HaveOccurred())

receiversChan := testIngressServer.Receivers()
testIngressServer.Start()

_, signalMetricsChan = logginghelper.TestMetricChan(receiversChan)
metricsPort, _ := testIngressServer.Port()

fakeMetron = metrics.NewFakeMetron()

dbConf = testsupport.GetDBConfig()
Expand Down Expand Up @@ -108,6 +130,12 @@ var _ = Describe("Internal API Listing security groups", func() {
cfg.ListenAddress = locketAddress
cfg.DatabaseDriver = dbConf.Type
cfg.DatabaseConnectionString = locketDBConnectionString
cfg.LoggregatorConfig = loggingclient.Config{
APIPort: metricsPort,
CACertPath: metronCAFile,
CertPath: metronServerCertFile,
KeyPath: metronServerKeyFile,
}
})

locketProcess = ifrit.Invoke(locketRunner)
Expand Down Expand Up @@ -140,6 +168,9 @@ var _ = Describe("Internal API Listing security groups", func() {
fakeMetron.Close()
ginkgomon.Interrupt(locketProcess, 5*time.Second)
testhelpers.RemoveDatabase(locketDBConf)

testIngressServer.Stop()
close(signalMetricsChan)
})

Describe("listing security groups", func() {
Expand Down
Loading