diff --git a/README.md b/README.md index 378ee9014b89955a4ade6ab00e90acefd42d0703..16eb86063d187fb560ecebe1417e11dbbf7db34f 100644 --- a/README.md +++ b/README.md @@ -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