Commit Graph

81 Commits

Author SHA1 Message Date
Luca Frosini 1ef3cedd3d Improved tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124255 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-17 14:09:32 +00:00
Luca Frosini c5790461b4 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@124250 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-02-17 13:17:13 +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
Luca Frosini 426355ce88 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@124026 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-10 09:31:40 +00:00
Luca Frosini 1a10ead141 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@124021 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-02-09 17:55:16 +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 d106fe5b4c Fixing internals
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@122626 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-28 17:29:11 +00:00
Luca Frosini 51cc51f546 Improving Model
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@122582 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-28 10:28:38 +00:00
Luca Frosini 1a48e45faa Fixed Aggregations and added/fixed tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@122218 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-01-13 15:18:59 +00:00
Luca Frosini 345c850de8 Switched to validators added to document-store library
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@122000 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-12-21 10:50:09 +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 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 492d32550e Fixed constructor visibility
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120317 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-19 14:51:47 +00:00
Luca Frosini be10ea589e refs #1282: New Accounting: IS-Collector doesn't start correctly after upgrade to ghn 6.0.0
https://support.d4science.org/issues/1282

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120303 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-18 15:40:29 +00:00
Luca Frosini 6ef06f9ecd refs #1282: New Accounting: IS-Collector doesn't start correctly after upgrade to ghn 6.0.0
https://support.d4science.org/issues/1282

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120287 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-17 10:58:16 +00:00
Luca Frosini c5134be2b6 refs #1282: New Accounting: IS-Collector doesn't start correctly after upgrade to ghn 6.0.0
https://support.d4science.org/issues/1282

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120286 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-17 10:22:41 +00:00
Luca Frosini 15ccd8487a refs #1352: Create repetitive thread to retry to persist UsageRecords
https://support.d4science.org/issues/1352

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120285 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-17 08:32:41 +00:00
Luca Frosini 92f5d42e48 Recoded the code redesign. Recoded the function which retrieve the AccountingPersistenceBackend class to use.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120270 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-13 10:43:18 +00:00
Luca Frosini e55ab7f5b7 Fixes tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120268 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-12 16:23:09 +00:00
Luca Frosini 49f67ae804 fixes #1349: Recheck Accounting Persistence when using fallback as default
https://support.d4science.org/issues/1349

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120267 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-12 15:56:22 +00:00
Luca Frosini 42ba6dc4c5 Added test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120069 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-10-28 15:37:08 +00:00
Luca Frosini f9b21e7f9e refs #1117: Accounting lib's StackOverflow
https://support.d4science.org/issues/1117
The bug should be fixed. Some junit tests were added

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119889 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-10-20 12:40:30 +00:00
Luca Frosini dcf3e3ec1c Reorganizing library
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119712 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-10-14 08:46:13 +00:00
Luca Frosini 623f6955e3 Fixing problem on scopes
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119630 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-10-12 16:03:39 +00:00
Luca Frosini 78dc833d14 Merged from branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119574 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-10-09 12:52:42 +00:00
Luca Frosini b12e0f11a3 Added test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119318 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-10-01 14:16:53 +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 b16f6751ac Fixed bug on StorageUsageRecord and created test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117470 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-27 10:45:23 +00:00
Luca Frosini 98db31d173 The scope is get from scope provider if available
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117357 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-20 15:02:43 +00:00
Luca Frosini ddec6efb47 Fixing tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117224 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-14 13:22:50 +00:00
Luca Frosini 80101b5b7c Awaiting termination of pool in flush
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117212 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-14 10:20:36 +00:00
Luca Frosini c1867e56ce Added calledMethod field
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117179 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-13 09:26:50 +00:00
Luca Frosini 196351946f Fixed bug on calculation average duration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117147 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-10 09:58:29 +00:00
Luca Frosini 51cc4bff5a Improving code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117094 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-08 14:41:05 +00:00
Luca Frosini 56be686649 Fixed bug on timeout for buffering records and renamed Persistence* in AccountingPersistence* to avoid name misunderstanding in smartgears
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117048 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-07 10:10:52 +00:00
Luca Frosini cdceacdce8 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@117044 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-06 16:10:20 +00:00
Luca Frosini 311e106118 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@117034 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-06 15:01:03 +00:00
Luca Frosini fbf99786bb 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@117029 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-06 13:33:54 +00:00
Luca Frosini 317b72c11a 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@117009 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-06 10:36:41 +00:00
Luca Frosini 92d6313635 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@116498 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-03 15:10:48 +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 7d69ed0851 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@115779 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-02 10:01:59 +00:00
Luca Frosini 70e2291a4e refs #200: Create accouting-lib library
https://support.d4science.org/issues/200
Adding tests and fixing found bugs

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115768 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-02 09:00:10 +00:00
Luca Frosini 08d1b0bdd8 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@115765 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-01 16:09:42 +00:00
Luca Frosini 6ede5f2509 refs #200: Create accouting-lib library
https://support.d4science.org/issues/200
Reorganizing library

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115760 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-01 14:40:49 +00:00
Luca Frosini 4c9e924f9e refs #200: Create accouting-lib library
https://support.d4science.org/issues/200
Adding tests

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115756 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-01 13:13:55 +00:00
Luca Frosini 0907cc7810 refs #200: Create accouting-lib library
https://support.d4science.org/issues/200
Reorganizing library

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@115752 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-01 10:50:46 +00:00