-
Notifications
You must be signed in to change notification settings - Fork 0
phase4
This document describes the requirements for the fourth and final phase of the Software Laboratory project.
Host the application on the Heroku and AppHarbor PaaS (Platform as a Service) providers, following the guidelines described in the Deploying to Heroku page and the Using a hosted SQL Server page.
Add logging of any relevant event information into the developed application. Use the Simple Logging Facade for Java (SLF4J), configured with the binding for the Simple implementation. See TimeServlet.java for an example.
The main goal for this requirement is to add support for the commands with POST
method in the HTTP interface.
For that, the representations for the following resources should be augmented with HTML forms:
-
/checklists
- form to create a new checklist. -
/checklists/{cid}
- form to add a new task to checklistcid
; forms to close or open existing tasks; form to add a new tag to checklistcid
. -
/templates
- form to create a new template. -
/templates/{tid}
- form to create a new task on templatetid
; form to create a new checklist based on templatetid
. -
/tags
- form to create a new tag.
Each one of these forms must, when submitted, send a POST request to the associated resource. For instance:
- The representation returned on a
GET /checklists
request should contain a form with the fieldsname
,description
anddueDate
. - This form, when submitted, must send a
POST
request to/checklists
containing these three fields in the body. - If the
POST
request is successful, i.e. a new checklist was created, its response should be a303 See Other
with theLocation
header pointing to the created resource (e.g./checklists/123
).
Host the application on the Heroku and AppHarbor PaaS (Platform as a Service) providers, following the guidelines described in the Deploying to Heroku page and the Using a hosted SQL Server page.
The completed project must be delivery until January 14 (end of week 15), via the creation of a 1.0.0 tag on the GitHub repository.