Commit Graph

159 Commits

Author SHA1 Message Date
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 8d888861a2 refs #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@120261 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-12 13:26:31 +00:00
Luca Frosini fe78dc48f1 Restored unpatched version for IC
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120227 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-11-06 16:59:35 +00:00
Lucio Lelii fc9b9bb023 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120135 82a268e6-3cf1-43bd-a215-b396298e98cf 2015-10-30 15:56:38 +00:00
Luca Frosini 0871f66b87 Added way to add property to configuration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@120083 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-10-28 17:57:01 +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 90ca3ebafd refs #1117: Accounting lib's StackOverflow
https://support.d4science.org/issues/1117

Added missing logging argument.

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119870 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-10-19 15:59:09 +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 bb83977427 Fixing distro files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119264 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-09-30 14:04:34 +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 7eb9cd6f66 Fixing distro files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119242 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-09-30 10:31:40 +00:00
Luca Frosini 90b98dc119 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119236 82a268e6-3cf1-43bd-a215-b396298e98cf 2015-09-30 10:20:35 +00:00
Luca Frosini 27e87d2aa5 Fixing distro files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119232 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-09-30 10:17:35 +00:00
Luca Frosini d3e8b3a4a1 Fixing distro files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119231 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-09-30 10:16:02 +00:00
Luca Frosini 94e7e8d700 Changed log from debug to error with exception info
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119210 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-09-29 16:24:03 +00:00
Luca Frosini 534b1aa042 Changed log from debug to error with exception info
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119209 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-09-29 16:22:58 +00:00
Luca Frosini f66e3bbfcb Changed log from debug to error with exception info
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@119205 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-09-29 16:14:05 +00:00
Luca Frosini 7882d02696 fixes #360
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117730 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-08-28 12:49:36 +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 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 67f32854d5 Changed way to log and throw up exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117434 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-22 15:28:30 +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 7283ad5e24 Automatically setting the scope
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117353 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-20 13:45:27 +00:00
Luca Frosini f0b9f1cd4b Extended visibility of constant
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117296 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-17 08:54:14 +00:00
Luca Frosini d08b708616 Fixing tests
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117225 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-14 13:23:44 +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 8e2217c293 Improving code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117222 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-14 13:09:23 +00:00
Luca Frosini 8872c8a9e5 Improving code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117218 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-14 12:44:40 +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 21e648a08e Restored ExecutorService pool
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117211 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-14 10:11:24 +00:00
Luca Frosini 107fabd78a Improving code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117210 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-14 10:07:06 +00:00
Luca Frosini fe76ed1a22 Fixed Synchronization issue on ExecutorService pool
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117209 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-14 10:04:13 +00:00
Luca Frosini 9e971f5967 Added key on log when a validation fails
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117185 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-13 13:12:21 +00:00
Luca Frosini 16c90b7ab7 Removed uneeded logs
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117183 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-13 10:55:57 +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 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 ed68ace4b2 Improving code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117122 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-09 13:34:31 +00:00
Luca Frosini d583cf10ef Fixing eclipse classpath
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117118 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-09 12:41:11 +00:00
Luca Frosini 7b0e7b48ef Fixing eclipse classpath
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117117 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-09 12:39:07 +00:00
Luca Frosini 9e57ef9259 Fixed eclipse classpath
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-lib@117114 82a268e6-3cf1-43bd-a215-b396298e98cf
2015-07-09 09:36:26 +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