52North/timeseries-api — pull request #88 by ridoo (2014-10-27 08:02:06+00:00)
Title: return a null observation component if data is incomplete

This is a simple fix for the example DAO SPI implementation and does not affect the API in general.

If empty timeseries exist in the database setting the first/last values in the timeseries metadata failed. This fix returns `null` rather than an observation entity component if data is incomplete. This is more convenient than checking against all possible null values.