|
|
12/3/2013 3:12:49 PM
Pierre-Alexandre Meyer <pierre@mouraf.org>
|
12/3/2013 11:47:41 AM
an account API call and BlockingStates DAO calls
when building EventStreams for add-ons.
This also removes BlockingStateDao#getBlockingHistoryForService
and BlockingStateDao#getBlockingAll, as they were not used anymore.
Not only this lets us greatly simplify ProxyBlockingStateDao, but
also helped us discover two bugs in BlockingStateDao#getBlockingAllForAccountRecordId:
* cancellationBlockingStateOnDisk was not computed in ProxyBlockingStateDao#addBlockingStatesNotOnDisk
when called via getBlockingAllForAccountRecordId
* ProxyBlockingStateDao#addBlockingStatesNotOnDisk was filtering out subscriptions
which were billing cancelled (regardless of their entitlement status)
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
|
12/5/2013 10:02:41 PM
back from a LocalDate in account TZ to
fully qualified UTC DateTime, based on the referenceTime.
The implementation simply keeps the offset (number of days) that was substracted/added when we initially
converted the DateTime into Localdate (account TZ), and use that imformation to do the reverse operation.
|
|
|
12/2/2013 7:30:17 PM
to ID level this is predictable
|
|
12/2/2013 4:32:32 PM
Meyer <pierre@mouraf.org>
|