Common-accounting-model ABANDONED

From Gcube Wiki
Revision as of 18:15, 6 May 2013 by Ermanno.travaglino (Talk | contribs) (Created page with '== Scope == This library contains the definition of the resource accounting record. == Data-model == The structure of a generic accounting record (Usage Record, UR) will be comp…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Scope

This library contains the definition of the resource accounting record.

Data-model

The structure of a generic accounting record (Usage Record, UR) will be composed of a set of common fields for all resource types, in particular:

  • id : an unique identifier for the UR
  • consumerId : the user actually consuming the resource (optional, for future purposes)
  • createTime : when the UR was created
  • startTime, endTime : the time window the UR refers to
  • resourceType : the type of resource the UR tracks
  • scope : the scope of the resource
  • resourceOwner : who owns the resource and/or who creates the UR

Furthermore, for each UR there will be a section to be filled with the specific properties per resource type (key-value pairs).

Resource Types

The resource types we've identified are: Execution, Service, Data-access and Storage.

Execution

to do

Service

to do

Data-access

to do

Storage

to do