Commit Graph

222 Commits

Author SHA1 Message Date
Luca Frosini 372b5a2e5d Deprecated not needed properties to reduce data and improve aggregation 2021-04-14 01:07:20 +02:00
Luca Frosini b2a8885fe3 fixed tests 2021-04-14 00:55:43 +02:00
Luca Frosini 248c745e69 Deprecating not needed fields 2021-04-13 21:26:27 +02:00
Luca Frosini 5bc7453225 Switching to gcube-jackson 2020-07-10 18:30:52 +02:00
Luca Frosini e3d4611bb9 Fxing and adding rules 2020-04-10 15:07:54 +02:00
Luca Frosini 34935414ea Adding and fixing rules 2020-03-31 16:16:05 +02:00
Luca Frosini d17a98cbaa Fixed bug 2020-03-23 12:33:07 +01:00
Luca Frosini e151b63f09 Ading resource-regsitry rules 2020-03-12 16:28:50 +01:00
Luca Frosini c4b6808b36 Properly terminating RegexRulesAggregator scheduled thread. 2020-03-06 17:57:44 +01:00
Luca Frosini 5f82f611c3 Adding/fixing aggregation rules 2020-01-07 11:07:06 +01:00
Luca Frosini d72858196c Fixed method name 2019-11-26 11:48:31 +01:00
Luca Frosini 264d22b3a0 Adding the possibility to replace serviceClass and serviceName apart
calledMethod
2019-11-15 13:38:37 +01:00
Luca Frosini a6d3ec40c1 Switched deprecated API to the new one. 2019-11-13 11:33:20 +01:00
Luca Frosini 92e4d99c47 Merged from branch version 3.4 of release 4.13
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@173920 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-02 11:36:39 +00:00
Luca Frosini 7f3ce5e96f Refs #12184: Create different pools for Scheduled Thread in accounting stack
Task-Url: https://support.d4science.org/issues/12184

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@169818 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-07-18 14:19:47 +00:00
Luca Frosini 3a19a8465c Added LOCAL as additional value of DataType
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@164677 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-03-02 15:59:56 +00:00
Luca Frosini 12f3c4eca8 Refs #11230: Retrieve Accounting Regex rules through Service Endpoint
Task-Url: https://support.d4science.org/issues/11230

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@164461 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-20 17:24:14 +00:00
Luca Frosini 3aadd103b2 Refs #10646: Add the posisbility to rewrite the calledMethod which match a regular expression
Task-Url: https://support.d4science.org/issues/10646

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@160493 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-14 10:09:58 +00:00
Luca Frosini cff624ac31 Fixed javadoc warning
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@157768 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-27 16:17:37 +00:00
Luca Frosini 333e440a1a Fixing accounting lib
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@154346 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-21 07:52:10 +00:00
Luca Frosini 716952eaef Fixed jackson annotations for a proper marshalling/unmershalling
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@153169 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-18 13:08:46 +00:00
Luca Frosini dff433de7c Fixed jackson serialization
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@153094 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-14 12:21:23 +00:00
Luca Frosini 8e592a4f0f Revisited models. Refined jackson support refs #9617
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@152713 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-06 09:47:13 +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 cd4d3838be git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@146421 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-03-29 10:31:44 +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
Luca Frosini 0d80ace47a Changed classes signature
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@133100 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-12 12:15:28 +00:00
Alessandro Pieve e4106b214c git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@132052 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-09-29 11:45:29 +00:00
Alessandro Pieve 4310511cd9 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@132051 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-09-29 11:44:25 +00:00
Alessandro Pieve 50953662fc git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@132025 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-09-29 08:37:39 +00:00
Luca Frosini d1763925cf Adding a connection renewal to refresh connection when to much fallback occurs
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@131783 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-26 11:03:17 +00:00
Luca Frosini 5a92c474db Solving querable keys issue
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@131482 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-19 10:53:57 +00:00
Alessandro Pieve 392c09eaae git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@131473 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-09-19 09:06:46 +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 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 87e0ba1ba0 Removed unused keys
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@128083 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-14 12:50:56 +00:00
Luca Frosini 56738c036a Removed unused import
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@128082 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-14 12:42:15 +00:00
Luca Frosini 7c07bee695 refs #3253: Couchdb does not support documents with object key starting with _
https://support.d4science.org/issues/3253

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@128059 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-04-13 14:44:22 +00:00
Luca Frosini bee51230d8 made variable public
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@126040 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-22 13:38:04 +00:00
Luca Frosini 1485749a35 Revisited internals
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@125517 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-16 17:36:46 +00:00
Luca Frosini 8a2d672b6d 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@124717 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-03-01 15:20:48 +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 34df63030e refs #2437: Some records accounted on fallback are not recovered in the proper way in a special case
https://support.d4science.org/issues/2437
Added Tests

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124673 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-29 14:30:48 +00:00
Luca Frosini 9ba2a2e788 refs #2437: Some records accounted on fallback are not recovered in the proper way in a special case
https://support.d4science.org/issues/2437

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124667 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-29 14:16:54 +00:00
Luca Frosini 262975dbf7 Rationalizing the way of creating AccountingPersistence
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124351 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-19 11:41:41 +00:00
Luca Frosini c4fd8c253c Catching the right exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124342 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-19 10:49:07 +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 70e0570c82 Fixed Tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124114 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-12 11:20:04 +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