Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Extend collection test to validate member item URI (#398) * Adding DELETE operation to drone collection * English typos * Maintaining examples synchronized * Add crud test for nested objects and refactor other tests (#399) * Use HydraStatus and HydraError to return status response * Add a helper function to apply filtering. * Add helper function to create IriTemplates. * Use iri_template generator and attach generated iri_template to the colection response. * Implement searching * Add support for pagination of search results. * Add function to include mappings for properties of nested classes in IriTemplate * Add support for search over nested property values * Add tests for IriTemplates generated by hydrus. * Add test for searching mechanism(get_collection()) * Refactor by adding functions for parameter parsing and calculating page limit and offset * Refactor code by removing redundant check based on value of path variable * Add exception handling for invalid parameters * Add mechanism to support client-controlled pagination (#409) * Add helper function to attach pagination related mappings to the IriTemplate * Add an exception to handle incomaptible parameters * Add mechanism to handle client-guided pagination * Refactor code and add exception for out of range offset value. * Add tests for client controlled pagination. * Debug test_pep8.py and make codebase pep8 compatible. * Update hydrus with latest changes made at core (#411) * Update hydrus to use updated core and adapt code accordingly. * Update tests and add test for readable properties. * Bump version to 0.2.6 * Refactor crud.insert and create new file for other helper functions. * Add basic socket connection functionality to hydrus. * Add socketio update event for synchronization. * Add an endpoint for modification-table-diff. * Refactor some code and add inline comments. * Rename new_job_id field in response to job_id. * Add support to propagate multiple_delete modifications. * Add sync functionality for PUT and refactor code. * Add a thread to do routine cleanup of modification records. * Refactor 'modification-table endpoint' code. * Add tests for sync updates and modification-table. * Send an empty response with status-code 204 for outdated clients. * Use socketio event to send modification-table-diff. * Add reconnect event and extend tests. * Refactor and add comments. * Remove uuid and timestamp, and use incremental ids instead. * Use incremental job_id instead of timestamp to clean stale records. * Remove unused imports. * Use HydraLink to improve handling of nested object props. * Add links as GraphIII triples instead of GraphIIT triples. * Add link_prop to assist insertion of linked properties as GraphIII. * Adapt test for nested fields defined with hydra:Link. * Refactor insertion of GraphIII triples for link properties. * Add explicit type check for link properties. * Use latest hydra-python-core from the master branch. * Version bump to 0.3.0 * Update hydra-python-core branch to master
- Loading branch information