svn-broker -- the part of project repository aggregator.
Command for build:
gradle build
Commands for run (Windows and Linux):
svn-broker
The REST-service schema is in /specs/service.yaml (Swagger-compatible).
Using POST-requests for /repositories requires the HTTP-headers:
Content-Type: multipart/form-data; boundary=HereGoes
You can use for test SVN-repository of the Codeblocks project: http://svn.code.sf.net/p/codeblocks/code
First of all you need to register your repository in web-service. You can do it with Curl:
curl -F "url=svn://svn.code.sf.net/p/codeblocks/code" \
-F "id=codeblocks" \
-H "Content-Type: multipart/form-data; boundary=HereGoes" \
-X POST http://localhost:3003/repositories
After you can do GET-requests to repository using ID, which you noted on registration:
You can also run the Unit-tests:
gradle test
Note: Some caching processes are working asynchronously and taking time. You can see info about it in warnings. Please, don’t stop web-service until they finished.