Code the /services/{service}/projections/{projection} route of the admin API. This is its first part : return a 200 if the projection exists, 404 in the other case.
Tasks
[x] Be sure of the IO inside the API yaml
[x] Code it. See next paragraph.
[x] Update tests
[x] utest/itest if modification/Creation of a class
[x] rtest if modification of an API
[x] Run tests
[x] Inside the docker provided by the project : rtest, ctest, utest, itest
[x] Manually if necessary
[x] Update the documentation
[x] changelog.md
[x] documentation API
Code
Create new request and response classes
Add the route inside the router
Controls about the the ids are made here
Create a function computeRequest() inside the administrateur to send the request to its serviceManager
Modify the service class to handle this new request
Modify computeAdminRequest()
Create the function computeProjectionRequest(), it will call the projectionManager.isProjectionLoaded(id)
Need
Code the /services/{service}/projections/{projection} route of the admin API. This is its first part : return a 200 if the projection exists, 404 in the other case.
Tasks
Code