Permalink
Commits on Jan 24, 2017
  1. payment: trivial renaming in DefaultPaymentDao

    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 24, 2017
  2. payment: trivial cleanup

    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 24, 2017
  3. travis: disable beatrix tests

    This seems the most straightforward way to cut down our build time.
    
    It's also a work-around for flaky tests (see #485).
    
    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 24, 2017
  4. travis: tweak logging

    We're currently hitting the maximum time limit for jobs (50').
    Let's see if reducing log output helps speed them up (less I/O?),
    otherwise we may have to disable some tests.
    
    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 24, 2017
  5. account: add fast search option

    The fast search option is triggered when limit == 1 and offset == -1.
    In that case, exact match queries only are performed and the first result is returned.
    
    This is to optimize the case when the user knows the email or name for example.
    
    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 24, 2017
Commits on Jan 23, 2017
  1. payment: first pass at optimizing pagination queries

    The listing API now pages through all payments, instead of going plugin by plugin.
    This allows us to use the optimization from 8aabb26
    and also makes the results ordering less confusing (natural ordering instead of per plugin name).
    
    The search API will also now optimize the search to query by state name only, if the search key looks like a state name.
    One caveat is that the API will now miss payments with an external key that looks like a state name (e.g. paymentKey_ERRORED).
    
    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 23, 2017
  2. util: optimize pagination query

    Force the offset on the index only, to avoid retrieving full records which will be discarded anyways.
    
    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 23, 2017
Commits on Jan 21, 2017
  1. bin: Remove debug trace

    sbrossie committed Jan 21, 2017
  2. Fix broken test in 83d0eae

    sbrossie committed Jan 21, 2017
  3. Fix broken test in 83d0eae

    sbrossie committed Jan 21, 2017
Commits on Jan 20, 2017
  1. util: Change CSV separator to be the '|' instead of ','. See #689

    The current separator when exporting data is the ',' so our import script does not understand the difference between
    a value separated from another value versus values that contain JSON (and therefore ',' as well). Using a completely different
    (unused) symbol makes the process of importing much simpler (and reliable)
    
    import script has been changed accordingly to now handle the new '|' separator and i verifed notifications and bus_history tables are now correctly imported.
    sbrossie committed Jan 20, 2017
Commits on Jan 19, 2017
  1. bin: Fix import-account to take additional ENV variable to specify re…

    …quired user/pwd and tenant key/secret
    
    Also add a new action to allow both export and import into one 'go'
    sbrossie committed Jan 19, 2017
Commits on Jan 18, 2017
  1. payment: (Re)Allow refunds to be made after original payment method h…

    …ad been deleted. See #694
    
    We had changed this behavior when fixing #255, but unfortunately, although that change was made consciously,
    we don't recall the reasoning behind it. It seems like this was a poor choice so we are reverting that behavior.
    
    /cc @pierre Should we also allow other operations to happen as well (e.g Void) when payment method has been deleted,
    ot should we restrict it to Refund and Chargeback?
    sbrossie committed Jan 18, 2017
Commits on Jan 12, 2017
  1. entitlement. Code cleanup

    sbrossie committed Jan 12, 2017
  2. entitlement, overdue: Fix NPE when cancelling EOT all subscription fo…

    …r last overdue status. Fixes #687
    sbrossie committed Jan 12, 2017
Commits on Jan 11, 2017
  1. catalog: Add default initialization for non required `Double` fields …

    …in the catalog. Fixes #688
    
    Note that code in JAXRS can now safely assume such fields will be not null and the NPE reported in the bug
    disappears (as shown by the new profile test)
    sbrossie committed Jan 11, 2017
Commits on Jan 10, 2017
  1. catalog: Add catalog validation at the time we upload catalog to dete…

    …ct upload of the same version. Fixes #690
    sbrossie committed Jan 10, 2017
Commits on Jan 5, 2017
  1. jaxrs: Add some validation to not allow by default past effective dat…

    …e when changing subscription BCD.
    
    Behavior can be overriden by new query parameter forceNewBcdWithPastEffectiveDate=true
    sbrossie committed Jan 5, 2017
Commits on Jan 4, 2017
  1. subscription: Add unit tests for subscription BCD efective date compu…

    …tation and fix one issue
    sbrossie committed Jan 4, 2017
  2. jaxrs: fix typo in AdminResource

    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 4, 2017
Commits on Jan 3, 2017
  1. pom.xml: updates for release 0.18.2

    See https://github.com/killbill/killbill/releases/tag/killbill-0.18.2
    
    Signed-off-by: Kill Bill core team <contact@killbill.io>
    killbillio committed Jan 3, 2017
  2. jaxrs: support empty strings for minDate

    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 3, 2017
  3. jaxrs: expose historical queues records

    See killbill/killbill-admin-ui#82.
    
    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 3, 2017
Commits on Jan 2, 2017
  1. jaxrs: new admin endpoint to expose queues and notifications entries

    See killbill/killbill-admin-ui#82.
    
    Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
    pierre committed Jan 2, 2017
Commits on Dec 30, 2016
  1. entitlement: Fix badly populated event START_ENTITLEMENT when cancela…

    …tion is immediate (leading to NPE in JAXRS)
    sbrossie committed Dec 30, 2016
  2. subscription: Fix issue with cancellation/uncancellation of a pending…

    … subscription
    
    The code will also fix an NPE that was happening during handling of UNCANCEL event.
    
    Also refactor code a bit to rename cancelSubscriptionsOnBasePlanEvent -> notifyOnBasePlanEvent since this method
    was doing more than what it adertised.
    sbrossie committed Dec 30, 2016