-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Milestone
Description
Background
The /v3/spaces/{guid}/features/{name} endpoint provides information of whether a space feature is enabled. In Korifi we do not support features, however we could stub the endpoint to return a response that a feature is disabled.
Acceptance
GIVEN I have created a space
WHEN I curl the endpoint via cf curl /v3/spaces/<space-guid>/features/ssh
THEN I get HTTP 200 OK response with body
{
"name": "ssh",
"description": "Enable SSHing into apps in the space.",
"enabled": false
}
Dev notes
- Spike commit: d130c21
- In addition to the implementation we need:
- unit tests for the handler method
- e2e test to verify that the endpoint returns HTTP 200 OK response with body
enabled: false
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
✅ Done