Re: [abacus] Usage submission authorization
what kind of authorization is required to submit usage to Abacus ?scope, specific to resource or resource provider ?
A resource provider is expected to present an OAuth token with the usage it
submits for a (service or runtime) resource.
That OAuth token should include:
- a user id uniquely identifying that resource provider;
- an OAuth scope named like abacus.usage.<resource_id>.write.
The precise naming syntax for that scope may still evolve in the next few
days as we progress with the implementation of user story 101703426 .
Is there a different scope required to submit runtimes usage (like cfbridge) versus other services or its possible to use single scope for all
I'd like to handle runtimes and services consistently as they're basically
just different types of resources, i.e. one scope per 'service' resource,
one scope per 'runtime' resource.
We're still working on the detailed design and implementation, but I'm not
sure we'd want to share scopes across (service and runtime) resource
providers as that'd allow a resource provider to submit usage for resources
owned by another...
@assk / @sasrin, anything I missed? Thoughts?
On Tue, Oct 6, 2015 at 6:29 PM, Piotr Przybylski <piotrp(a)us.ibm.com> wrote: