TwoRavens

TA2 Interface

This application plays the role of Back-end in our program. Namely, it handles the communication between remote TA2 server and process the response. Different pages will be rendered based on the url received.

URL Patterns

All acceptable url patterns (in regex) are presented below (Most url pattern here should not be directly called, they are just part of other application):

where ‘?’ denotes optional extra pattern, please refer to corresponding section for detailed information.


Pattern: store-problem-form

      Return a web page that the user can submit the problem form

alt text


Pattern: store-user-problem

      Send a HttpRequest that contains a json string that describes user-defined problem.


Pattern: get-problem-schema

      Return a web page that describes the problem schema. (BUG)


Pattern: debug-pipeline-steps

      Return a web page that the user can submit the problem form

alt text


Pattern: retrieve-output-data

      Return a web page presents the output of specific task


Pattern: download-file

      A http request to download a file


Pattern: retrieve-output-confusion-data

      Return a web page presents the confusion matrix of specific task


Pattern: retrieve-output-EFD-data

      Return a web page presents the EFD of specific task


Pattern: stored-request/(?P[\w]{40, 200})

      Return a web page that shows the list of stored requests

None


Pattern: stored-response/(?P[\w]{40, 200})

      Return a web page that shows the list of stored responses.


Pattern: view-grpc-search-history-json/(?P[\d]{1, 7})

      Return a list of recent grpc search history in json format.


Pattern: view-grpc-stored-history/(?P[\d]{1, 7})

      Return a list of recent grpc search history in json format.

None


Pattern:clear-grpc-stored-history

      Clear the grpc history