generated from coulomb/repo-seed
OpenCMIS in-memory server
This commit is contained in:
@@ -128,6 +128,42 @@ The `.local/` directory is ignored and must not be committed.
|
||||
|
||||
## Real TCK Run
|
||||
|
||||
For a controlled local pilot target, start the Apache Chemistry OpenCMIS
|
||||
in-memory server:
|
||||
|
||||
```sh
|
||||
cd /home/worsch/open-cmis-tck
|
||||
source .local/toolchains/env.sh
|
||||
export OPENCMIS_INMEMORY_USER=dummyuser
|
||||
export OPENCMIS_INMEMORY_PASSWORD=dummysecret
|
||||
python3 scripts/opencmis_inmemory_server.py start
|
||||
```
|
||||
|
||||
Then run the in-memory pilot profile:
|
||||
|
||||
```sh
|
||||
cd /home/worsch/guide-board
|
||||
source /home/worsch/open-cmis-tck/.local/toolchains/env.sh
|
||||
export OPENCMIS_INMEMORY_USER=dummyuser
|
||||
export OPENCMIS_INMEMORY_PASSWORD=dummysecret
|
||||
PYTHONPATH=src python3 -m guide_board \
|
||||
--extension-dir ../open-cmis-tck \
|
||||
run \
|
||||
--target ../open-cmis-tck/profiles/targets/opencmis-inmemory-local.json \
|
||||
--assessment ../open-cmis-tck/profiles/assessments/cmis-browser-inmemory-pilot.json \
|
||||
--output-dir ../open-cmis-tck/.local/runs/opencmis-inmemory-pilot
|
||||
```
|
||||
|
||||
Stop the local pilot server after the run:
|
||||
|
||||
```sh
|
||||
cd /home/worsch/open-cmis-tck
|
||||
python3 scripts/opencmis_inmemory_server.py stop
|
||||
```
|
||||
|
||||
The in-memory target is a test infrastructure pilot only. It proves the local
|
||||
TCK path before running against the actual CMIS-capable system.
|
||||
|
||||
After bootstrap reports `ready`, run the baseline assessment:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user