Commit Graph

164 Commits

Author SHA1 Message Date
Luca Frosini 1c7574c4f3 Fixed typo
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154626 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-26 14:56:44 +00:00
Luca Frosini b1e9cfdc95 Catching the proper exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154624 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-26 14:55:56 +00:00
Luca Frosini f954b7ff03 Added guard to avoid to lose data in case of problems
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154623 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-26 14:55:39 +00:00
Luca Frosini f01c2b819c commented test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154586 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-26 14:01:26 +00:00
Luca Frosini 08605f5d1a changes in test due to changes in api
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154584 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-26 13:59:55 +00:00
Luca Frosini d7deb6e907 Added 3 retry while elaborating row
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154566 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-26 13:33:39 +00:00
Luca Frosini 81ee077a94 Sincronized getInstance() method and fixed error message
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154565 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-26 13:32:32 +00:00
Luca Frosini 3d6c113185 fixed log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154445 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-22 15:47:39 +00:00
Luca Frosini f4392280e3 fixed code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154427 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-22 13:16:04 +00:00
Luca Frosini cfc1fb3980 Allowing elaborate only when last update is before last 8 hours. This avoid to start two recovery/elaboration while the previous is not terminated.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154426 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-22 13:07:54 +00:00
Luca Frosini a7590738c1 Added possibility to specify range in aggregation and recovery. This allow to schedule multiple instance simultaneously
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154419 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-22 12:30:48 +00:00
Luca Frosini 6a9c463ac9 Updating LastUpdateTime before starting to execute any kind of operation when the AggregationStatus were already created on db
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154349 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-21 08:03:56 +00:00
Luca Frosini f531cd4e8c Fix to support old usage records
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154348 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-21 07:53:53 +00:00
Luca Frosini 5c90b8b5b4 Fixed Enum
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153262 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-19 14:41:12 +00:00
Luca Frosini d4418c58a5 Improved log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153218 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-19 08:10:08 +00:00
Luca Frosini f27a938456 Fixed log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153206 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-18 16:44:34 +00:00
Luca Frosini 756a64b2de Fixed test due to changes in api
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153172 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-18 13:38:49 +00:00
Luca Frosini 1790702918 Changed test log level
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153171 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-18 13:38:16 +00:00
Luca Frosini a6d58dc724 Patch for old records
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153168 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-18 13:07:34 +00:00
Luca Frosini db2cb04b0f fixed log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153110 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-15 09:20:13 +00:00
Luca Frosini 0d7235a52b Added malformed records management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153109 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-15 09:08:52 +00:00
Luca Frosini 4466e2bbac Added malformed records management
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153108 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-15 08:40:03 +00:00
Luca Frosini 7c45f425dc Fixed bug
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153092 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-14 10:37:02 +00:00
Luca Frosini c31b08b5b4 Patch for old records
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153087 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-14 08:58:56 +00:00
Luca Frosini 5abbf6c4c3 Added patch to support old model which uses usageRecordType instead recortType field.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153071 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-13 15:14:16 +00:00
Luca Frosini 9b6e841b37 Fixed version
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153070 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-13 15:09:21 +00:00
Luca Frosini d0ce92e10a Added patch to support old model which uses usageRecordType instead recortType field.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@153060 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-13 14:27:59 +00:00
Luca Frosini 9c0a14ae7b Fixed changelog
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@152690 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-05 15:56:12 +00:00
Luca Frosini d3c44831b7 Merged from private branch. Refactored accounting-aggregator-plugin. Fixes #9419
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@152682 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-05 15:13:50 +00:00
Luca Frosini dfa53c5f2e added test log configuration
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@150508 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-23 15:19:26 +00:00
Luca Frosini d525e336b7 Upgraded project files
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@149366 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-09 15:50:18 +00:00
Luca Frosini dea7d650b3 Fixed changelog
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@149365 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-06-09 15:50:00 +00:00
Luca Frosini db69fd904d Fixing distro directory
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@149211 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-29 14:16:43 +00:00
Alessandro Pieve 7f4e9e0349 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148743 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-16 15:37:46 +00:00
Alessandro Pieve 90e0072662 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148741 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-16 15:36:12 +00:00
Alessandro Pieve fb278bf46d git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148588 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-12 13:13:17 +00:00
Alessandro Pieve 1a019450f4 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148567 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-12 10:39:58 +00:00
Alessandro Pieve cdbdf8b800 Force compiler version with java 1.7
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148565 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-12 10:37:19 +00:00
Alessandro Pieve 53a4f29404 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148557 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-12 10:08:22 +00:00
Alessandro Pieve 1ffe476977 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148551 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-12 09:56:53 +00:00
Alessandro Pieve 43290030ed Fix a problem with pathFile
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148549 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-12 09:48:38 +00:00
Alessandro Pieve 42c2218ec6 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148546 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-12 09:16:49 +00:00
Alessandro Pieve 61c5a35097 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148463 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-10 16:05:23 +00:00
Alessandro Pieve 5147e47643 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148457 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-10 14:53:07 +00:00
Alessandro Pieve b88b5caaa6 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148455 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-10 14:14:49 +00:00
Alessandro Pieve ffd9d4a212 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148448 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-05-10 13:16:09 +00:00
Alessandro Pieve 2b16e5a527 Version 1.1.0
add input endScriptTime 

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@148447 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-05-10 13:01:46 +00:00
Alessandro Pieve 00490b54ad git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@144319 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-02-27 09:38:00 +00:00
Alessandro Pieve d3fcb61715 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@144203 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-02-23 15:25:13 +00:00
Alessandro Pieve 63c4e12b57 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@144179 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-02-23 10:41:08 +00:00