Commit Graph

89 Commits

Author SHA1 Message Date
Luca Frosini a00a70e57b Fixed test
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@162697 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-26 17:24:34 +00:00
Luca Frosini 61359077fa Added test for fix of old records persisted using double instead of long for creationTime, startTime, endTime and instead of int for duration and fixed bugs
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@162675 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-26 15:02:43 +00:00
Luca Frosini f705b73ca9 Added test for fix of old records persisted using double instead of long for creationTime, startTime, endTime and instead of int for duration and fixed bugs
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@162674 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-26 15:02:30 +00:00
Luca Frosini 4cf6d72113 Added fix for old records persisted using double instead of long for creationTime, startTime, endTime and instead of int for duration.
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@162662 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-26 14:00:16 +00:00
Luca Frosini 07677541f1 Removed unneeded constant
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@160505 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-14 14:28:53 +00:00
Luca Frosini 6bdb7e85f4 Refs #10136: Modify accounting-aggregator-se-plugin pom.xml to create uber-jar instead of jar-with-dependencies and to use new make-servicearchive directive
Task-Url: https://support.d4science.org/issues/10136

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@158037 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-31 10:31:26 +00:00
Luca Frosini b78c0c5f57 Refs #10136: Modify accounting-aggregator-se-plugin pom.xml to create uber-jar instead of jar-with-dependencies and to use new make-servicearchive directive
Task-Url: https://support.d4science.org/issues/10136

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@158036 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-31 10:30:32 +00:00
Luca Frosini 2c6b5d39b5 Refs #10136: Modify accounting-aggregator-se-plugin pom.xml to create uber-jar instead of jar-with-dependencies and to use new make-servicearchive directive
Task-Url: https://support.d4science.org/issues/10136

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@158035 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-31 10:25:31 +00:00
Luca Frosini 93f5d87c33 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157934 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-10-30 11:16:44 +00:00
Luca Frosini 0339adb4f6 fixed README
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157900 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-30 10:20:39 +00:00
Luca Frosini a4fd75bdd5 Fixed license file
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157772 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-27 16:37:58 +00:00
Luca Frosini 9e632edc59 Fixed profile.xml
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157771 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-27 16:33:00 +00:00
Luca Frosini a7bc1df83b Fixed profile.xml
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157750 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-27 15:43:37 +00:00
Luca Frosini 50258981aa ignored .settings folder
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157749 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-27 15:39:07 +00:00
Luca Frosini a48ed2ee7a Fixed README
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157742 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-27 15:30:16 +00:00
Luca Frosini 42ec1b8357 Added directive to create service archive
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157737 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-27 15:19:20 +00:00
Luca Frosini 5c8ae266b9 Fixed descriptor for cross-platform compatibility
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157731 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-27 14:52:07 +00:00
Luca Frosini 13262bdb72 Fixed javadoc warning
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157730 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-27 14:50:14 +00:00
Luca Frosini d7731934f5 Removed .settings folder from svn
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@157687 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-27 13:15:09 +00:00
Luca Frosini 3a658c5695 Fixed typo in changelog
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@155180 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-12 14:44:41 +00:00
Luca Frosini ac439e076d Fixed changelog
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@155056 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-10 10:33:33 +00:00
Luca Frosini fd8335ff5c Upgraded version after release
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@155054 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-10 10:25:38 +00:00
Luca Frosini 26c9cf5cf2 Merged from branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@155053 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-10 10:25:13 +00:00
Luca Frosini b2e0eb62cb Merged from branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154647 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-26 16:07:54 +00:00
Luca Frosini 891d15e355 Fixing exception message
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/accounting/accounting-aggregator-se-plugin@154628 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-09-26 15:00:05 +00:00
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