feat(qdrant): Migrate to hosted qdrant-dev.breakpilot.ai with API-Key auth
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 37s
CI / test-python-backend-compliance (push) Successful in 32s
CI / test-python-document-crawler (push) Successful in 22s
CI / test-python-dsms-gateway (push) Successful in 18s
All checks were successful
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-ai-compliance (push) Successful in 37s
CI / test-python-backend-compliance (push) Successful in 32s
CI / test-python-document-crawler (push) Successful in 22s
CI / test-python-dsms-gateway (push) Successful in 18s
- LegalRAGClient: QDRANT_HOST+PORT → QDRANT_URL + QDRANT_API_KEY - docker-compose: env vars updated for hosted Qdrant - AllowedCollections: added bp_compliance_gdpr, bp_dsfa_templates, bp_dsfa_risks - Migration scripts (bash + python) for data transfer Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,12 +31,8 @@ func TestSearchCollection_UsesCorrectCollection(t *testing.T) {
|
||||
defer qdrantMock.Close()
|
||||
|
||||
// Parse qdrant mock host/port
|
||||
qdrantAddr := strings.TrimPrefix(qdrantMock.URL, "http://")
|
||||
parts := strings.Split(qdrantAddr, ":")
|
||||
|
||||
client := &LegalRAGClient{
|
||||
qdrantHost: parts[0],
|
||||
qdrantPort: parts[1],
|
||||
qdrantURL: qdrantMock.URL,
|
||||
ollamaURL: ollamaMock.URL,
|
||||
embeddingModel: "bge-m3",
|
||||
collection: "bp_compliance_ce",
|
||||
@@ -72,12 +68,8 @@ func TestSearchCollection_FallbackDefault(t *testing.T) {
|
||||
}))
|
||||
defer qdrantMock.Close()
|
||||
|
||||
qdrantAddr := strings.TrimPrefix(qdrantMock.URL, "http://")
|
||||
parts := strings.Split(qdrantAddr, ":")
|
||||
|
||||
client := &LegalRAGClient{
|
||||
qdrantHost: parts[0],
|
||||
qdrantPort: parts[1],
|
||||
qdrantURL: qdrantMock.URL,
|
||||
ollamaURL: ollamaMock.URL,
|
||||
embeddingModel: "bge-m3",
|
||||
collection: "bp_compliance_ce",
|
||||
@@ -126,12 +118,8 @@ func TestSearch_StillWorks(t *testing.T) {
|
||||
}))
|
||||
defer qdrantMock.Close()
|
||||
|
||||
qdrantAddr := strings.TrimPrefix(qdrantMock.URL, "http://")
|
||||
parts := strings.Split(qdrantAddr, ":")
|
||||
|
||||
client := &LegalRAGClient{
|
||||
qdrantHost: parts[0],
|
||||
qdrantPort: parts[1],
|
||||
qdrantURL: qdrantMock.URL,
|
||||
ollamaURL: ollamaMock.URL,
|
||||
embeddingModel: "bge-m3",
|
||||
collection: "bp_compliance_ce",
|
||||
|
||||
Reference in New Issue
Block a user