Difference between revisions of "Common-accounting-model ABANDONED"

From Gcube Wiki
Jump to: navigation, search
(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…')
 
(Storage)
Line 28: Line 28:
  
 
=== Storage ===
 
=== Storage ===
to do
+
 
 +
Specific storage attributes
 +
 
 +
* operationType : GET, PUT (update or new file), DELETE
 +
* targetFile : remote full path of the storage resource
 +
* fileDimension : storage resource dimension
 +
* serviceClass: service class used by the client of the storage library at the initialization time of the library
 +
* serviceName: service name used by the client of the storage library at the initialization time of the library
 +
* hostname: hostname of the host where the storage library is invoked

Revision as of 16:27, 11 May 2013

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

Specific storage attributes

  • operationType : GET, PUT (update or new file), DELETE
  • targetFile : remote full path of the storage resource
  • fileDimension : storage resource dimension
  • serviceClass: service class used by the client of the storage library at the initialization time of the library
  • serviceName: service name used by the client of the storage library at the initialization time of the library
  • hostname: hostname of the host where the storage library is invoked