Skip to content

Commit df7c67f

Browse files
add documentation
1 parent 27074ac commit df7c67f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

tests/ociswrapper/README.md

+28
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,31 @@ Also, see `./bin/ociswrapper help` for more information.
124124

125125
- `200 OK` - oCIS server is stopped
126126
- `500 Internal Server Error` - Unable to stop oCIS server
127+
128+
6. `POST /services/<service-name>`
129+
130+
Restart oCIS with service excluded and start excluded oCIS service individually, not covered by the oCIS supervisor.
131+
132+
Body of the request should be a JSON object with the following structure:
133+
134+
```json
135+
{
136+
"ENV_KEY1": "value1",
137+
"ENV_KEY2": "value2"
138+
}
139+
```
140+
141+
Returns:
142+
143+
- `200 OK` - oCIS server is stopped
144+
- `500 Internal Server Error` - Unable to stop oCIS server
145+
146+
7. `DELETE /services/<service-name>`
147+
148+
Stop individually running oCIS service
149+
150+
Returns:
151+
152+
- `200 OK` - command is successfully executed
153+
- `400 Bad Request` - request body is not a valid JSON object
154+
- `500 Internal Server Error`

0 commit comments

Comments
 (0)