generate all script, service integration and injection

This commit is contained in:
Wolfgang Hottgenroth
2021-11-22 19:07:46 +01:00
parent 590e9da904
commit bd85599a98
8 changed files with 132 additions and 21 deletions

View File

@ -16,7 +16,7 @@ Configuration details for generator: https://openapi-generator.tech/docs/generat
Build and run the stub webservice:
docker run -it --rm -p 8080:8080 -v $PWD:/work \
devnexus.krohne.com:18079/repository/docker-krohne/dotnetcoresdkenv:5.0 \
registry.hottis.de/dockerized/dotnetcore5sdk:1.0.0 \
bash
ATTENTION: This won't work with a set UID
@ -27,5 +27,12 @@ Build:
Run:
dotnet run -p src/KROHNE.ManufacturingCycleReportWebService/KROHNE.ManufacturingCycleReportWebService.csproj
dotnet run -p src/$PACKAGE_NAME/$PACKAGE_NAME.csproj
From output/src/$PACKAGE_NAME:
* dotnet add package MySqlConnector --version 2.0.0
* make implementations directory
* copy generate endpoint implementation code to implementations directory