NODE-38: refactor ConsumptionDatum DAO layer to not use upload table. Also drop synthetic primary key, was not really needed with primary key defined as (created, source_id).
NODE-28: support setting creation date from domain object, instead of
relying on auto-generated default from DB.
NODE-38: update PowerDatum DAO to not use upload table, and use (created,source_id) as primary key.
Fix unused alias.
Remove duplicates before change primary key.
Update PriceDatum DAO to not use upload table and use (created, source_id) as primary key.
Primary key on PriceDatum should be (created, location_id) — not source_id. In fact, source_id need not be persisted.
Fix bugs in switch to location_id.
Rename .price.location.ws to .location.ws as we can share this with other location lookups (such as weather).
Reformat.
Source ID should default to empty string, not null, as we expect this to
be a non-null property.
Support persisting PriceDatum using locationId as primary key, which is
a Long and didn't work with default configuration (using the String
sourceId).
Remove sourceId as that is now available in super class.
Move towards generic Location support in base node bundles.
Support displaying "Price Source" rather than generic "Location Source"
for price proxies, while allowing this to be customized in furture for
"Weather Source".
Update to latest API.
Update to latest API.
Add price location message bundle.
Update price proxy for consumption bundles to new API.
Update price proxy for power bundles to new API.