Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] /sources implementation #55

Open
11 tasks
lgrd opened this issue Mar 20, 2023 · 0 comments
Open
11 tasks

[feat] /sources implementation #55

lgrd opened this issue Mar 20, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@lgrd
Copy link
Collaborator

lgrd commented Mar 20, 2023

Need

Code the /sources routes of the admin API.

Tasks

  • Code it. See next paragraph.
  • Update tests
    • utest/itest if modification of a classe
    • rtest if modification of an API
    • ctest if modification of a configuration
  • Run tests
    • Inside the docker provided by the project : rtest, ctest, utest, itest
    • Manually if necessary
  • Update the documentation
    • changelog.md
    • documentation directory

Code

  • Create new request and response classes
  • Modify the administrator and/or serviceManager to have a copy of each services administered. Those copies will be used to make some controls before sending requests to a service.
  • Add the route inside the router
    • Controls about the conf are made inside the controller
  • 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 computeSourceRequest(), it will call the sourceManager to :
      • create a source
      • delete a source
      • modify a source
  • Modify the sourceManager to execute the different unit actions
  • Update the getCap
@lgrd lgrd added the enhancement New feature or request label Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant