Skip to content

Commit 34efce6

Browse files
committed
Fix payload in llm proxy tests
1 parent 025fe2f commit 34efce6

1 file changed

Lines changed: 18 additions & 9 deletions

File tree

gateway/it/features/llm-proxies.feature

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ Feature: LLM Proxy Management Operations
150150
spec:
151151
displayName: Lifecycle LLM Proxy
152152
version: v1.0
153-
provider: lifecycle-test-provider
153+
provider:
154+
id: lifecycle-test-provider
154155
"""
155156
Then the response status should be 201
156157
And the response should be valid JSON
@@ -171,7 +172,8 @@ Feature: LLM Proxy Management Operations
171172
spec:
172173
displayName: Updated Lifecycle LLM Proxy
173174
version: v1.1
174-
provider: lifecycle-test-provider
175+
provider:
176+
id: lifecycle-test-provider
175177
"""
176178
Then the response should be successful
177179
And the response should be valid JSON
@@ -223,7 +225,8 @@ Feature: LLM Proxy Management Operations
223225
spec:
224226
displayName: List Test LLM Proxy
225227
version: v1.0
226-
provider: list-test-provider
228+
provider:
229+
id: list-test-provider
227230
"""
228231
Then the response status should be 201
229232
# List LLM proxies
@@ -258,7 +261,8 @@ Feature: LLM Proxy Management Operations
258261
spec:
259262
displayName: Orphan LLM Proxy
260263
version: v1.0
261-
provider: non-existent-provider-12345
264+
provider:
265+
id: non-existent-provider-12345
262266
"""
263267
Then the response should be a client error
264268
And the response should be valid JSON
@@ -305,7 +309,8 @@ Feature: LLM Proxy Management Operations
305309
spec:
306310
displayName: UniqueProxyDisplayName
307311
version: v1.0
308-
provider: filter-llm-provider
312+
provider:
313+
id: filter-llm-provider
309314
"""
310315
Then the response status should be 201
311316
# Search by displayName
@@ -352,7 +357,8 @@ Feature: LLM Proxy Management Operations
352357
spec:
353358
displayName: Version Filter Proxy
354359
version: v99.0
355-
provider: version-filter-provider
360+
provider:
361+
id: version-filter-provider
356362
"""
357363
Then the response status should be 201
358364
# Search by version
@@ -411,7 +417,8 @@ Feature: LLM Proxy Management Operations
411417
displayName: Invoke Test Proxy
412418
version: v1.0
413419
context: /proxy-invoke-test
414-
provider: invoke-proxy-provider
420+
provider:
421+
id: invoke-proxy-provider
415422
"""
416423
Then the response status should be 201
417424
And I wait for 3 seconds
@@ -477,7 +484,8 @@ Feature: LLM Proxy Management Operations
477484
displayName: ACL Invoke Proxy
478485
version: v1.0
479486
context: /proxy-acl-test
480-
provider: acl-proxy-provider
487+
provider:
488+
id: acl-proxy-provider
481489
"""
482490
Then the response status should be 201
483491
And I wait for 3 seconds
@@ -537,7 +545,8 @@ Feature: LLM Proxy Management Operations
537545
displayName: Multi Request Proxy
538546
version: v1.0
539547
context: /proxy-multi-test
540-
provider: multi-request-provider
548+
provider:
549+
id: multi-request-provider
541550
"""
542551
Then the response status should be 201
543552
And I wait for 3 seconds

0 commit comments

Comments
 (0)