Commits on Apr 8, 2018
  1. Update dependencies

    unix1 committed Apr 8, 2018
Commits on Aug 24, 2017
Commits on Aug 13, 2017
  1. Remove lib360\net namespace

    unix1 committed Aug 13, 2017
Commits on Aug 12, 2017
  1. Add ForbiddenException

    unix1 committed Aug 12, 2017
  2. Add NotFoundException interface

    unix1 committed Aug 12, 2017
    General NotFoundException interface is used as a type for both API and data
    "not found" situations. Closes #18.
  3. Merge pull request #24 from unix1/api-tests

    unix1 committed Aug 12, 2017
    Unit tests for API classes
Commits on Aug 11, 2017
Commits on Aug 10, 2017
  1. Return arbitrary value after IHandler::sendResponse

    unix1 committed Aug 10, 2017
    This is mostly for cleanup so this method is more testable.
  2. Add REST API router tests

    unix1 committed Aug 10, 2017
    Adding tests for #22.
  3. JSON content type header from REST API handler

    unix1 committed Aug 10, 2017
    Also allow resposnse body to be set for a couple more response codes.
  4. Handle resource method not found exception

    unix1 committed Aug 10, 2017
    If a request operation is successfully translated to a class method but that
    method is not defined for the resource class, then we throw a
    MethodNotFoundException which results in a 405 Method Not Allowed HTTP response
    from REST router.
  5. Rename response status constant for not defined method

    unix1 committed Aug 10, 2017
    Rename Response::STATUS_METHOD_NOT_DEFINED to
    Response::STATUS_METHOD_NOT_ALLOWED and map it to HTTP response code "405
    Method Not Allowed" in REST request handler.
Commits on Aug 6, 2017
  1. Remove empty line

    unix1 committed Aug 6, 2017
Commits on Aug 4, 2017
  1. Merge pull request #23 from unix1/base-test-class

    unix1 committed Aug 4, 2017
    Add base test class, move getProtectedProperty out
  2. Make getProtectedProperty a static function

    unix1 committed Aug 4, 2017
    It is not tied to a state of the current object or class, so there's no need to
    keep it there. Util class works better for separation.