58026c83ab
* Moved Item, PropertyHelp to the com.jdblabs.gtd namespace. * Broke out common functions from GTCLI to a new Util class. * Created a GTDServlet class which responds to the following endpoints: * `/login` (POST): Expects JSON input in the request body in the form of `{"username": "joe_user", "password": "password1234" }`. The username and password are validated against the values listed in the GTD root directory .properties file. * `/contexts` (GET): Returns all the GTD contexts the current user has `read` access to. * `/contexts/<contextId>` (GET): Returns a single context. The ID is the GTD context directory name. * `/projects` (GET): Returns all the GTD projects the current user has `read` access to. * `/projects/<projectId>` (GET): Returns a single project. The ID is the GTD project directory name. * `/next-actions/<categoryNames>` (GET): Returns all the next actions for a list of contexts or projects. The categoryNames value is expected to be a comma-delimited list of project and context names. |
||
---|---|---|
.. | ||
web.xml |