entitlement: avoid inserting duplicate blocking states

This fixes #111.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
entitlement: get rid of getBlockingHistory in BlockingStateDao

This fixes #113.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
entitlement: remove effectiveDate in getBlockingHistoryForService

It wasn't used.

See #113.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
entitlement: remove duplicate declaration in pom.xml

This fixes build warnings.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
entitlement: add RESUME_ENTITLEMENT events for RE_CREATE

This fixes #112.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
entitlement: filter events to delete on uncancel

It is possible to have other states we care about (e.g. block/clear) before
any future cancellation event. Don't delete these.

See code review for 9d84e76d0dcd366a76107024e210637d071c7116.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
entitlement: delete more future cancellation events on uncancel

Broaden the search to the base entitlement, bundle and account.

See discussion about 9d84e76d0dcd366a76107024e210637d071c7116.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
entitlement: don't create a START_BILLING event for MIGRATE_ENTITLEMENT

See code review for 5cc8630b7d4b90eeff0480ec6d2a11ec907bccea.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
account: allow search by account id for convenience

Reported-by: Kevin Postlewaite <kevinpostlewaite@gmail.com>
Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
server: update killbill-server-update-list.properties for release

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
[maven-release-plugin] prepare release killbill-0.7.2
[maven-release-plugin] prepare for next development iteration
Merge branch 'entitlement-bug-fixes'