To run automated tests execute the following command:
gradle test
To start the application run:
gradle bootRun
Or use the provided wrapper gradlew
/gradlew.bat
script.
Endpoint | Method | Description | Response codes |
---|---|---|---|
api/v1/frameworks | GET | List of all frameworks | 200 |
api/v1/frameworks | POST | Create a new framework | 201 (success) 409 (framework already exists) |
api/v1/frameworks/{id} | PUT | Update an existing framework | 204 (success) 404 (ID does not exit) |
api/v1/frameworks/{id} | DELETE | Delete an existing framework | 204 (success) 404 (ID does not exit) |
api/v1/frameworks/{name}/versions/{version} | POST | Add a new framework version | 201 (success) 404 (framework does not exit) 409 (version already exists) |
api/v1/frameworks/search | GET | Search for a framework | 200 (success) |