Skip to content
Permalink
Branch: master
Commits on Oct 22, 2018
  1. removed unused 'hasBody'

    eviltester committed Oct 22, 2018
  2. pulled Body Parsing into a new object to allow unit testing and more …

    eviltester committed Oct 22, 2018
    …complex parsing e.g. to pull out nested objects and relationships
  3. added todo comments

    eviltester committed Oct 22, 2018
  4. http coverage for

    eviltester committed Oct 22, 2018
         * can not create an estimate without a todo
         * can create an estimate when added to a todo directly because relationship is created
         * when delete a todo the estimate is also deleted
         * GET estimates for a todo
         * GET todos for an estimate
  5. added deletion of things with mandatory cardinality relationships and…

    eviltester committed Oct 22, 2018
    … started exploring the impact on the API - there are things we can't do around amending mandatory relationships or creation with multiple relationships
Commits on Oct 21, 2018
Commits on Jul 28, 2018
  1. not sure that postman's sequenctial collection runner actually runs e…

    eviltester committed Jul 28, 2018
    …verything sequentially, it might be overlapping requests. Either way the collection runner exposed an issue with concurrent access to HashMap - so I have coverted to use a ConcurrentHashMap at the places I think this might occur - have not designed this to be completely multi user but I think this will avoid {"errorMessages":["java.lang.NegativeArraySizeException"]} on the HashMaps - and bumped to version 1.4 for release
  2. added a sample postman collection - to see how easy it is to script i…

    eviltester committed Jul 28, 2018
    …n comparison to programming, amended location header to use plural
  3. added a 'secret' admin url admin/data/thingifier which - when POSTed …

    eviltester committed Jul 28, 2018
    …to, will delete all the current data. Fixed wrapper exception processing so that if the exception thrown does not have a message, that the toString value is used - this is cryptic but at least it is an error message. Added validation on body conversion to map so that if empty body then an empty map is returned.
Commits on Jul 26, 2018
  1. removed unnecessary cast

    eviltester committed Jul 26, 2018
  2. moved some odd Map String String enforcement out of the API Handler i…

    eviltester committed Jul 26, 2018
    …nto the part of code that should ensure field map is a map of fields, and trimmed out redundant code from API handler and trying to identify duplicate code in the API handler to reduce the code there
  3. expanded test coverage

    eviltester committed Jul 26, 2018
  4. changed output of single object for json to be {} instead of {"type":…

    eviltester committed Jul 26, 2018
    …{}}, expanded assertion coverage to improve code coverage on api Test methods
Commits on Jul 25, 2018
  1. fixed a suspected issue with relationship creation now that plural na…

    eviltester committed Jul 25, 2018
    …mes match some relationship names - relationships should have priority in query, expanded http level execution
Commits on Jul 23, 2018
  1. added todos

    eviltester committed Jul 23, 2018
  2. basic code formatting

    eviltester committed Jul 23, 2018
  3. by separating the spark from the http message abstractions I can now …

    eviltester committed Jul 23, 2018
    …create http api tests that check for different message formats without needing to spin up a spark server
  4. started creating a non-spark http api level abstraction to support he…

    eviltester committed Jul 23, 2018
    …ader etc. testing without firing up spark or mocking spark requests - the bridge will handle conversions and we can test the bridge for the assumptions in the conversion rather than requiring a full api level test
  5. if it is a collection i.e. toods then always return it as a collectio…

    eviltester committed Jul 23, 2018
    …n even when it is an instance
  6. added 'projects' as the root level rather than project - reinstated x…

    eviltester committed Jul 23, 2018
    …ml processing - the fact that this dropped out means I need http api level test coverage (or header level coverage). Note - code has got too hacky because of not enough unit tests to check conditions
Commits on Jul 22, 2018
  1. removed todo

    eviltester committed Jul 22, 2018
Older
You can’t perform that action at this time.