From 9d90fc53ad5c7687fc5c9e37c293de2308f55acf Mon Sep 17 00:00:00 2001 From: Alexander Schlemmer <a.schlemmer@indiscale.com> Date: Wed, 5 Jun 2024 15:03:12 +0200 Subject: [PATCH] DOC: added a few corrections to README.md --- README.md | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e4fe0c1..8889c20 100644 --- a/README.md +++ b/README.md @@ -37,20 +37,45 @@ mvn -Dmock=true spring-boot:run ### 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 -- GitLab