Skip to content
Snippets Groups Projects
Commit 9d90fc53 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

DOC: added a few corrections to README.md

parent ca23d5a7
No related branches found
No related tags found
1 merge request!1A few corrections for the documentation
Pipeline #52861 failed
...@@ -37,20 +37,45 @@ mvn -Dmock=true spring-boot:run ...@@ -37,20 +37,45 @@ mvn -Dmock=true spring-boot:run
### Request ### Request
By default you can access the service at `http://localhost:8080/api/`. Try By default you can access the service at `http://localhost:8081/api/v1`. Try
``` ```
curl http://localhost:8080/api/hello curl http://localhost:8081/api/v1/hello
``` ```
### API Specs ### API Specs
You can view the API specs at `http://localhost:8080/api/swagger-ui/index.html`. You can view the API specs at `http://localhost:8081/api/v1/swagger-ui/index.html`.
### Stop ### Stop
Stop the running service with `CTRL-C`. Stop the running service with `CTRL-C`.
## Troubleshooting
### Exception on startup
When running the mockup repository as described above, the following exception is shown:
```
java.io.IOException: ERROR: cannot read repository config directory: repositories
at com.indiscale.fdo.manager.service.ManagerPool.getConfig(ManagerPool.java:58)
at com.indiscale.fdo.manager.service.ManagerPool.getRepositoryRegistry(ManagerPool.java:68)
at com.indiscale.fdo.manager.service.ManagerPool.createManager(ManagerPool.java:79)
at com.indiscale.fdo.manager.service.ManagerPool$2.create(ManagerPool.java:155)
at com.indiscale.fdo.manager.service.ManagerPool$ManagerAllocator.allocate(ManagerPool.java:124)
at com.indiscale.fdo.manager.service.ManagerPool$ManagerAllocator.allocate(ManagerPool.java:114)
at stormpot.ReallocatingAdaptor.allocate(ReallocatingAdaptor.java:37)
at stormpot.BAllocThread.alloc(BAllocThread.java:255)
at stormpot.BAllocThread.increaseSizeByAllocating(BAllocThread.java:152)
at stormpot.BAllocThread.replenishPool(BAllocThread.java:113)
at stormpot.BAllocThread.continuouslyReplenishPool(BAllocThread.java:97)
at stormpot.BAllocThread.run(BAllocThread.java:89)
at java.base/java.lang.Thread.run(Thread.java:1570)
```
This configuration is not needed for the mockup repository and can be ignored.
# Contact # Contact
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment