chore: add missing source modules to version control
Deploy to Production / deploy (push) Failing after 7s
Deploy to Production / deploy (push) Failing after 7s
apix-demo, apix-portal/src, apix-spider/src, apix-registry/src, apix-common/src were never staged. Without them the CI build has no source to compile and the Docker images cannot be produced. Also adds docs/ (infrastructure notes) missed in prior commits. Co-Authored-By: Mira <noreply@anthropic.com>
This commit is contained in:
+45
@@ -0,0 +1,45 @@
|
||||
Feature: Sandbox service isolation from production
|
||||
|
||||
Background:
|
||||
Given a sandbox named "isolation-test" exists
|
||||
And a production service "ProdService" with endpoint "https://prod.example.com" is registered
|
||||
|
||||
Scenario: Service registered in sandbox does not appear in production list
|
||||
Given a sandbox service with endpoint "https://sandbox.example.com" and capability "test.cap" is registered in "isolation-test"
|
||||
When GET /services is called without authentication
|
||||
Then the response code is 200
|
||||
And "https://sandbox.example.com" is not in the endpoint list
|
||||
|
||||
Scenario: Production service does not appear in sandbox service list
|
||||
Given a sandbox service with endpoint "https://sandbox.example.com" and capability "test.cap" is registered in "isolation-test"
|
||||
When the sandbox service list for "isolation-test" is requested
|
||||
Then the response code is 200
|
||||
And "https://prod.example.com" is not in the endpoint list
|
||||
|
||||
Scenario: Service registration in sandbox requires the sandbox API key
|
||||
When a service is registered in sandbox "isolation-test" without an API key
|
||||
Then the response code is 401
|
||||
|
||||
Scenario: Service registration in sandbox with wrong key returns 401
|
||||
When a service is registered in sandbox "isolation-test" with API key "apix_sb_wrongkey"
|
||||
Then the response code is 401
|
||||
|
||||
Scenario: Sandbox search is isolated from production results
|
||||
Given a sandbox service with endpoint "https://sb-search.example.com" and capability "search.cap" is registered in "isolation-test"
|
||||
When sandbox "isolation-test" services are searched by capability "search.cap"
|
||||
Then the response code is 200
|
||||
And "https://sb-search.example.com" is in the endpoint list
|
||||
|
||||
Scenario: Sandbox search does not return production services
|
||||
Given a production service "ProdSearchService" with endpoint "https://prod-search.example.com" is registered
|
||||
When sandbox "isolation-test" services are searched by capability "device.telemetry"
|
||||
Then the response code is 200
|
||||
And "https://prod-search.example.com" is not in the endpoint list
|
||||
|
||||
Scenario: Sandbox services can be registered with extension properties and queried by them
|
||||
Given a sandbox service with endpoint "https://ext-eu.example.com" capability "data.processing" and extension "region:eu" is registered in "isolation-test"
|
||||
And a sandbox service with endpoint "https://ext-us.example.com" capability "data.processing" and extension "region:us" is registered in "isolation-test"
|
||||
When sandbox "isolation-test" services are searched by capability "data.processing" and property "region:eu"
|
||||
Then the response code is 200
|
||||
And "https://ext-eu.example.com" is in the endpoint list
|
||||
And "https://ext-us.example.com" is not in the endpoint list
|
||||
Reference in New Issue
Block a user