Initial import with GitLab CI/CD and registry deploy flow
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
Write-Host 'Checking gateway health...'
|
||||
Invoke-RestMethod -Uri 'http://localhost:8080/health' | ConvertTo-Json -Depth 5
|
||||
|
||||
Write-Host 'Checking auth health through proxy...'
|
||||
Invoke-RestMethod -Uri 'http://localhost:8080/proxy/auth/health' | ConvertTo-Json -Depth 5
|
||||
|
||||
Write-Host 'Logging in to auth...'
|
||||
$loginBody = @{ username='admin'; password='admin123' } | ConvertTo-Json
|
||||
Invoke-RestMethod -Method Post -Uri 'http://localhost:8080/proxy/auth/auth/login' -Body $loginBody -ContentType 'application/json' | ConvertTo-Json -Depth 5
|
||||
|
||||
Write-Host 'Smoke test completed.'
|
||||
Reference in New Issue
Block a user