Skip to content
Snippets Groups Projects
Verified Commit b67ab557 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'main' into f-client

parents 1c26a8da 9d90fc53
No related branches found
No related tags found
No related merge requests found
Pipeline #52890 failed
......@@ -39,20 +39,45 @@ java -Dmock=true -jar application/target/fdo-manager-service.application-${versi
### 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
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 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment