Closed VenissaCarolQuadros closed 1 month ago
I ran additional tests with POST requests with incorrect/ omitted fields. It now returns 400 in these cases.
Made the requested changes.
I also noticed that I was not saving 'title' to JSON- I've included it and also made it possible to change this when 'update/
Also, an exception was being raised when 'display/' was called on a valid ID that didn't exist in the JSON since abort() raises an exception.
This PR merges a containerized version of the Monarch web application that links the IMAGE-TactileAuthoring tool to the Monarch client.
As per discussions, this application has been made into a service on the IMAGE-server. New channels can be created and existing channels can be updated by the authoring tool by posting to https://monarch.unicorn.cim.mcgill.ca/create/. The JSON can be accessed by the Monarch client by getting from https://monarch.unicorn.cim.mcgill.ca/display/. Resolves #888.
Testing:
was published on code 123456.
and the change was observed on the Monarch
Checked that update fails when the secret id is incorrect The update failed when the secret key was changed
Required Information
Coding/Commit Requirements
New Component Checklist (mandatory for new microservices)
docker-compose.yml
andbuild.yml
..github/workflows
.README.md
file that describes what the component does and what it depends on (other microservices, ML models, etc.).OR