This pull request refactors the officehours_api.backends.zoom package and replaces custom implementation of Zoom API calls with functions from the PyZoom package, version 1.0.8.
The requirements.txt file was updated to reflect this additional package.
We made substantial modifications for the _spend_authorization_code, _get_access_token, _create_meeting and _get_me functions, while maintaining the same public functions for ease of interface with existing modules of the office hour API.
We also provided brief documentation with regards to our code changes in the form of comments and docstrings in the source code file.
Local Testing
We performed acceptance testing to ensure that the Zoom-related functionalities of this site stays identical from the perspective of the end user.
During testing on a local environment, we modified the beginning of docker-compose.yml to reflect dummy environmental variables and a mocking instance of a Zoom application that we created.
We also added the command python -m pip install --no-cache-dir --upgrade pyzoom to the src/docker-entrypoint.sh script since our local Docker instances weren't able to automatically install and detect PyZoom otherwise.
This pull request refactors the
officehours_api.backends.zoom
package and replaces custom implementation of Zoom API calls with functions from the PyZoom package, version 1.0.8. Therequirements.txt
file was updated to reflect this additional package.We made substantial modifications for the
_spend_authorization_code
,_get_access_token
,_create_meeting
and_get_me
functions, while maintaining the same public functions for ease of interface with existing modules of the office hour API. We also provided brief documentation with regards to our code changes in the form of comments and docstrings in the source code file.Local Testing
We performed acceptance testing to ensure that the Zoom-related functionalities of this site stays identical from the perspective of the end user. During testing on a local environment, we modified the beginning of
docker-compose.yml
to reflect dummy environmental variables and a mocking instance of a Zoom application that we created.We also added the command
python -m pip install --no-cache-dir --upgrade pyzoom
to thesrc/docker-entrypoint.sh
script since our local Docker instances weren't able to automatically install and detect PyZoom otherwise.