Zlib & Json Schema Validation
Ticket:
Resolves LB591 and LB592
Description of Change:
- Added Zlib decompression for config and states
- Added Json Schema validation for fetching devices from mock device broker
How to Test:
- Add a mock device into mongodb 'mock_devices' collection that doesn't match the JSON schema.
- Try searching for the added device in config manager
- Expect device to be unavailable.
- Load a device from mock device broker with a valid schema validation.
- Device should be loaded with data decompressed.