This pull request is finishing the update_step functionality for the trackerapi so that when our orthanc data logger agent is processing a job, it can update the steps in the backend as they get completed.
Implementation
An update event router was added to the backend.
Update database functions were implemented in ../services
An update_event function in the trackerapi module was implemented
Orthanc_data_logging.py was modified so that the agent correctly uses the trackerapi update function
A schema for sending update data was implemented in the backend/schemas/events.py file
Testing
Unit tests for the router and database were written in the backend in backend/app/tests/routers/test_events.py
Unit tests for the api were written in trackerapi/tests/test_api.py
Manual tests were run to ensure it is displayed on the front end. See screenshots below
Problems Faced
Notes
There is a lot of comments and naming refactorization that will need to occur in the backend and trackerapi. This will be a new issue.
Overview
This pull request is finishing the update_step functionality for the trackerapi so that when our orthanc data logger agent is processing a job, it can update the steps in the backend as they get completed.
Implementation
Testing
Unit tests for the router and database were written in the backend in backend/app/tests/routers/test_events.py Unit tests for the api were written in trackerapi/tests/test_api.py Manual tests were run to ensure it is displayed on the front end. See screenshots below
Problems Faced
Notes
There is a lot of comments and naming refactorization that will need to occur in the backend and trackerapi. This will be a new issue.
Checks off #86