ooici/coverage-model — pull request #5 by blazetopher (2012-11-19 17:35:18+00:00)
Title: IO mode, CategoryType, Testing, & bug fixes

Merges the following enhancements, additions, and bug fixes:
* Adds CategoryType parameter type - essentially an "enum" parameter type that enables definition of a custom set of code values and associated meanings. Allows the codes (typically an integer) to be transported/stored instead of a much bulkier "meaning"
* Adds 'mode' flag to Coverage model - enables the user to specify the standard python file 'modes' ('r', 'w', 'a', & 'r+'). When in 'r' mode, none of the messaging layer is activated thereby reducing overhead and improving overall performance
* Improvements to performance of 'SimplexCoverage.insert_timesteps' call - order of magnitude improvement in function return time; enables Ingestion worker to realize a 5 fold improvement in message throughput
* Adds test suite for coverage model
** Includes both UNIT and "INT" tests, the latter being tests that utilize both the Coverage Model and Persistence Layer - NO Ion service calls
* Bug fixes based on findings from lead-up and presentation of IOC demonstration