Feature #5789

Accounting Lib add a new UsageRecord for Storage Volume

Added by Alessandro Pieve about 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:Nov 16, 2016
Priority:NormalDue date:
Assignee:Alessandro Pieve% Done:

100%

Category:accounting
Sprint:zz - UnSprintable
Milestones:
Duration:

Description

Accounting Lib add a new UsageRecord for Storage Volume


Related issues

Related to gCube - Release #6573: document-store-lib-couchbase 1.3.0 (gCore) Released Jan 24, 2017
Related to gCube - Release #6588: document-store-lib-couchbase 1.3.0 Released Jan 25, 2017
Related to gCube - Release #6600: org.gcube.accounting.accounting-analytics-persistence-cou... Released Jan 25, 2017
Related to gCube - Release #6602: org.gcube.accounting.accounting-lib.2-4-0 Released Jan 25, 2017

History

#4 Updated by Alessandro Pieve about 3 years ago

  • % Done changed from 0 to 10
  • Status changed from New to In Progress

StorageUsageVolume
Identifies the exploitation (in terms of storage volume) of a storage resource type by an identifiable entity.
Specific storage usage attributes:
* consumerID (owner)
* scope
* dataVolume( Kbytes)
* dataCount number of objects
* dataType (STORAGE, TREE, GEO, DATABASE)
* dataServiceClass
* dataServiceName
* dataServiceId
* providerId

#5 Updated by Alessandro Pieve almost 3 years ago

Create a new bucket in dev for testing with this example document:
{
"scope": "/gcube",
"operationCount": 2,
"dataCount": 2802,
"dataServiceName": "dataServiceName",
"endTime": 1480606453491,
"consumerId": "alessandro.pieve",
"startTime": 1480606453487,
"id": "6e6808bf-3567-4ebf-93d3-0d55c97202a1",
"dataVolume": 5104,
"dataType": "STORAGE",
"operationResult": "SUCCESS",
"dataServiceId": "dataServiceId",
"aggregated": true,
"providerId": "testprotocol://providerURI",
"creationTime": 1480606453494,
"recordType": "StorageStatusRecord",
"dataServiceClass": "dataServiceClass"
}

@roberto.cirillo@isti.cnr.it the fields chosen in the new model(StorageStatusRecord) can be fine?

#6 Updated by Alessandro Pieve almost 3 years ago

  • % Done changed from 10 to 30

#7 Updated by Alessandro Pieve almost 3 years ago

  • % Done changed from 30 to 80

integrate a new map-reduce for query usage value

#8 Updated by Alessandro Pieve almost 3 years ago

  • % Done changed from 80 to 100

In testing on node20.d.d4science.research-infrastructures.eu:8080

#9 Updated by Alessandro Pieve almost 3 years ago

  • Status changed from In Progress to Closed

for testing use :
accounting-lib 2.4.0
document-store-lib 1.5.0
document-store-lib-couchbase 1.3.0

#10 Updated by Alessandro Pieve almost 3 years ago

  • Related to Release #6573: document-store-lib-couchbase 1.3.0 (gCore) added

#11 Updated by Alessandro Pieve almost 3 years ago

  • Related to Release #6588: document-store-lib-couchbase 1.3.0 added

#12 Updated by Alessandro Pieve almost 3 years ago

  • Related to Release #6600: org.gcube.accounting.accounting-analytics-persistence-couchbase.1-3-0 added

#13 Updated by Alessandro Pieve almost 3 years ago

  • Related to Release #6602: org.gcube.accounting.accounting-lib.2-4-0 added

Also available in: Atom PDF