mirror of
https://github.com/owncloud/ocis.git
synced 2025-04-18 23:44:07 +03:00
update doc
Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
This commit is contained in:
parent
d2ff8f49ff
commit
5bd85a2634
@ -10,6 +10,9 @@ geekdocFilePath: testing.md
|
||||
{{< toc >}}
|
||||
|
||||
To run tests in the test suite you have two options. You may go the easy way and just run the test suite in docker. But for some tasks you could also need to install the test suite natively, which requires a little more setup since PHP and some dependencies need to be installed.
|
||||
{{< hint info >}}
|
||||
To run the tests PHP version ">= 8.2.0" is required.
|
||||
{{< /hint >}}
|
||||
|
||||
Both ways to run tests with the test suites are described here.
|
||||
|
||||
|
@ -1,14 +1,18 @@
|
||||
## oCIS Wrapper
|
||||
|
||||
A tool that wraps the oCIS binary and provides a way to re-configure the running oCIS instance.
|
||||
It is essentially a wrapper layer to dynamically configure and extend a running oCIS instance by sending a JSON payload with updated environment variables.
|
||||
It allows live configuration updates without needing to restart the oCIS server manually.
|
||||
|
||||
When run, **ociswrapper** starts an API server that exposes some endpoints to re-configure the oCIS server.
|
||||
|
||||
### Usage
|
||||
|
||||
1. Build
|
||||
1. Build the wrapper
|
||||
# working dir: ocis repo root dir
|
||||
|
||||
```bash
|
||||
cd tests/ociswrapper
|
||||
make build
|
||||
```
|
||||
|
||||
@ -25,11 +29,13 @@ When run, **ociswrapper** starts an API server that exposes some endpoints to re
|
||||
```
|
||||
|
||||
```bash
|
||||
--bin string Full oCIS binary path (default "/usr/bin/ocis")
|
||||
--url string oCIS server url (default "https://localhost:9200")
|
||||
--retry string Number of retries to start oCIS server (default "5")
|
||||
-p, --port string Wrapper API server port (default "5200")
|
||||
--admin-username string admin username for oCIS server
|
||||
--admin-password string admin password for oCIS server
|
||||
--skip-ocis-run Skip running oCIS server
|
||||
```
|
||||
|
||||
Access the API server at `http://localhost:5200`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user