| 📂 | openapi | A git submodule (ForgeETSI ) pointing to the repo containing the API specification file |
| 📂 | openapi | A git submodule (ForgeETSI ) pointing to the repo containing the API specification file |
| 📂 | client | The folder where the python code will be generated, the openapi generator is set to not overwrite some files used to test the client system |
| 📂 | client | The folder where the python code will be generated, the openapi generator is set to not overwrite some files used to test the client system |
| 📂 | client/ETSI-ARF | Folder with a python script to test the availibility of a World Storage |
## Requirements
## Requirements
@@ -63,27 +64,31 @@ Open a command shell and execute:
npx openapi-generator-cli generate
npx openapi-generator-cli generate
```
```
# Use client within a Docker
## Installing the python module on your local computer
## Creating the python docker ##
It's recommended to create the enviroment with conda (if available)
tbd
```
conda create -n openapi
conda activate openapi
```
Install the World Storage OpenAPI:
open a command shell and generate docker by executing:
```
```
build-iis-docker-ws.bat
cd client\generated
pip install .
```
```
## How to start (with Docker-Compose)
## Running the test script
The easiest way is to use docker-compose:
Open a command shell and use docker-compose (if necessary adapt docker-compose.yml) by executing`:
If using conda, activate first enviroment:
```
```
docker-compose.bat
conda activate openapi
```
```
## How to stop
Run python script with:
Open a command shell by executing in `server/worldstorage/src/ETSI.ARF.OpenAPI.WorldStorage`: