Anonymous users connected to a session must be able to trial their proposed solution to an exercise.
This requires that the correct information is send to the API, which passes it on to k3s/the pod, depending on how communication flow will be.
Furthermore, it will fetch the testcases associated to the exercise in the database, and send these along with the anonymous users solution proposal.
Finally, the information received from the k3s/pod must be sent back to the frontend.
This issue further entails validating the data received from the frontend before passing it on. Also, it must be ensured that all possible responses from the pod is handled.
Unresolved questions
How the communication flow between the api and k3s requires clarification for this issue.
How the format of information returned to the frontend will be.
Definition of Done
When an endpoint is available that:
validates the information received from the frontend.
queries the testcases of the associated exercise in the database.
formats the information received from the frontend, along with the testcase from the database, in a manner acceptable to the containers in k3s.
manages the response from k3s/pods and potentially restructures this to return it to the frontend.
As part of this issue it should be ensured that all possible return values from the pod is managed.
Reference Issues
No response
Summary
Anonymous users connected to a session must be able to trial their proposed solution to an exercise.
This requires that the correct information is send to the API, which passes it on to k3s/the pod, depending on how communication flow will be. Furthermore, it will fetch the testcases associated to the exercise in the database, and send these along with the anonymous users solution proposal. Finally, the information received from the k3s/pod must be sent back to the frontend.
This issue further entails validating the data received from the frontend before passing it on. Also, it must be ensured that all possible responses from the pod is handled.
Unresolved questions
How the communication flow between the api and k3s requires clarification for this issue.
How the format of information returned to the frontend will be.
Definition of Done
When an endpoint is available that:
As part of this issue it should be ensured that all possible return values from the pod is managed.