Commit Graph

37 Commits

Author SHA1 Message Date
Alessandro Pieve 8b9c9a3c95 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@148486 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-11 16:01:44 +00:00
Alessandro Pieve 4f813c31e0 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@148482 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-11 15:30:59 +00:00
Alessandro Pieve b587565545 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@148479 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-11 15:18:04 +00:00
Alessandro Pieve 987f94b896 version 3.0 Insert jackson to convert model.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@148471 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-11 14:38:38 +00:00
Alessandro Pieve d3bfd36e0c git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@146350 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-03-27 08:25:49 +00:00
Alessandro Pieve a57a673874 Add a new UsageRecord for Storage Volume
e.g.
{
"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"
}

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@141599 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-17 10:59:14 +00:00
Alessandro Pieve 9cfdaf9537 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@132290 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-10-03 07:51:52 +00:00
Alessandro Pieve f71a86ad74 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@131245 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-09-08 15:21:05 +00:00
Luca Frosini c23b53df2f Upgraded version
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@130886 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-28 12:23:47 +00:00
Luca Frosini 0762de38f2 Removed unneeded dependency
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@130786 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-25 15:35:27 +00:00
Luca Frosini 727404cc42 Using new authorization lib
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@130784 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-25 15:28:17 +00:00
Luca Frosini 3ab13d8d6e Using new authorization lib
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@130783 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-25 15:27:51 +00:00
Luca Frosini c9a03adfac Fixing distro directory
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@126982 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-11 10:40:24 +00:00
Luca Frosini 1da2c7556f refs #2358: Remove reflections dependency from accounting-lib
https://support.d4science.org/issues/2358

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124718 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-01 15:39:18 +00:00
Luca Frosini 66cafac399 refs #2358: Remove reflections dependency from accounting-lib
https://support.d4science.org/issues/2358

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124715 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-01 13:45:04 +00:00
Luca Frosini f945acc77a Set scope to provided for document-store-lib dependency
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124549 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-25 10:42:38 +00:00
Luca Frosini 43c63f2fc6 Reintroduced ScopeProvider to avoid problem in the next release
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124138 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-12 16:08:49 +00:00
Luca Frosini 9a3f477262 refs #2222: Move infrastructure tests outside of components junit tests
https://support.d4science.org/issues/2222

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124044 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-10 14:14:31 +00:00
Luca Frosini 67667da8d1 refs #2201: Remove the use of ScopeProvider if any from accounting-lib
https://support.d4science.org/issues/2201

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124017 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-09 17:46:23 +00:00
Luca Frosini ba7664dbf8 Fixed range from open to closed
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@122786 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-03 13:05:16 +00:00
Luca Frosini f0de804244 Removed bom from accounting-lib
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@122014 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-12-21 14:34:48 +00:00
Luca Frosini 6e4e3d4c93 refs #1746: Separate Accounting Model and generalize solution
https://support.d4science.org/issues/1746

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@121990 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-12-18 16:09:05 +00:00
Luca Frosini e8cba78ff3 Changed the property value type from Serializable to Comparable<? extends Serializable> which is much more what represent the value of a property. This should not imply any changes in clients.
All tests run. All tests OK.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120509 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-12-01 11:33:35 +00:00
Luca Frosini 523bb8c8bd Changed the property value type from Serializable to Comparable<? extends Serializable> which is much more what represent the value of a property. This should not imply any changes in clients.
All tests run. All tests OK.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120485 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-30 16:49:18 +00:00
Luca Frosini b12ddd2623 Direct dependencies directly included
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119251 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-09-30 12:39:37 +00:00
Luca Frosini f1f016619d Taking version from bom
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117611 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-31 12:55:23 +00:00
Luca Frosini 9995c4873b Renamed classes to avoid name and import conflicts
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117529 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-29 12:41:28 +00:00
Luca Frosini 268dafea5a Cleaned uneeded import
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117473 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-27 10:50:58 +00:00
Luca Frosini f7a1e4eeec Improving code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117123 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-09 13:35:02 +00:00
Luca Frosini 3ca48b3441 refs #200: Create accouting-lib library
https://support.d4science.org/issues/200
Fixing tests

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@116497 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-03 15:07:23 +00:00
Luca Frosini c4cfd8b5a4 refs #200: Create accouting-lib library
https://support.d4science.org/issues/200
Retrieving Persistence Connection Information from IS

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115823 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-03 10:18:51 +00:00
Luca Frosini 186bd0bdab refs #200: Create accouting-lib library
https://support.d4science.org/issues/200
Retrieving Persistence Connection Information from IS

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115811 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-03 09:02:43 +00:00
Luca Frosini f1a83888aa refs #200: Create accouting-lib library
https://support.d4science.org/issues/200
Fixed pom name and description

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115449 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-06-22 10:14:29 +00:00
Luca Frosini f0a4588f16 fixes #275: Create CouchDB connector for persistence accounting as separated project
https://support.d4science.org/issues/275

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115445 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-06-19 15:51:11 +00:00
Luca Frosini c0038b9efb refs #200: Create accouting-lib library
https://support.d4science.org/issues/200
Implementing library

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115272 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-06-09 15:36:38 +00:00
Luca Frosini 942e1451b7 refs #200: Create accouting-lib library
https://support.d4science.org/issues/200
Implementing library

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115235 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-06-05 09:43:53 +00:00
Luca Frosini 080cb3c1b4 Remaning common-accounting in accounting-lib
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115091 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-05-28 11:19:25 +00:00