|
 | src/main/java/org/dataone/bookkeeper/api/Quota.java (diff) |
|
 | src/main/java/org/dataone/bookkeeper/jdbi/QuotaStore.java (diff) |
|
 | src/test/java/org/dataone/bookkeeper/api/QuotaTest.java (diff) |
|
 | src/test/java/org/dataone/bookkeeper/helpers/ProductHelper.java (diff) |
|
 | src/test/java/org/dataone/bookkeeper/api/FeatureTest.java (diff) |
|
 | src/main/java/org/dataone/bookkeeper/api/Order.java (diff) |
Commit
946914ffaa8e7212d67f6f45acfc36afae2fab81
by csjFind orders by a subject list, not a single subject: This allows us to return orders for groups associated with the caller as well as the caller's subject. We did this previously in the SubscriptionStore, so we're migrating the functionality over here. refs #70
|
 | src/main/java/org/dataone/bookkeeper/jdbi/OrderStore.java (diff) |
|
 | src/test/java/org/dataone/bookkeeper/jdbi/OrderStoreTest.java (diff) |
Commit
c3e9dbab3038bb17a9e21a34b74a90bce9001fca
by csjImprove calls to listOrders(): Handle admin calls separately from non-admin calls, and always list orders for admins. When no orders exist, return 404 NotFound. For non-admins, return orders if the caller subject equals the customer subject - i.e. they own the order. When passing in a list of subjects, redact orders unless the customer subject matches the caller subject. We want to expose financial portions of the order to owners, but send back other order details pertinent to order group members. Note that we need to not redact when the caller subject is a group owner. This is a future TODO. refs #70
|
 | src/main/java/org/dataone/bookkeeper/resources/OrdersResource.java (diff) |
Commit
8f62c3e131868fe91b7f6711a410edb4376f1157
by csjImprove the console logging output: Include io.dropwizard DEGUG entries, and remove the appender json layout. We need to discuss what format is best for Kubernetes logging. refs #70
|
 | bookkeeper.yml (diff) |