Commit Graph

225 Commits

Author SHA1 Message Date
Lampros Smyrnaios cb458553f0 - Update the "RepositoryServiceImpl.getCompatibilityClasses()" method to recognise additional "CRIS" modes.
- Catch exceptions thrown in "RepositoryServiceImpl.searchApi()".
- Code optimization.
- Update dependencies.
2024-04-03 14:59:43 +03:00
Lampros Smyrnaios c836de5761 Use the new DSM-2.0 API to obtain the "aggregation history" of a repository. 2024-03-22 11:51:22 +02:00
Lampros Smyrnaios 6dfe11484e - Add the Maven Central repository.
- Add/update/fix/cleanup dependencies.
- Add the "show-actuator"-config for springdoc.
- Remove obsolete configuration.
2024-03-15 13:58:38 +02:00
Lampros Smyrnaios 0deeb00ee5 - Replaced DSM's "AggregationInfo" with "CollectionInfoV2" in "eu.dnetlib.repo.manager.domain.AggregationInfo".
- Cleanup related dependencies.

Co-authored-by: Konstantinos Spyrou <spyroukon@gmail.com>
2024-03-13 18:20:45 +02:00
Lampros Smyrnaios 91e0b66b28 Merge pull request 'Merge develop into master' (#6) from develop into master
Reviewed-on: #6
2023-11-02 14:05:14 +01:00
Lampros Smyrnaios c838f71227 merge from disable_compliance_failure_emails 2023-11-02 15:04:19 +02:00
Konstantinos Spyrou bd315848e0 fixed typo 2023-10-11 14:53:44 +03:00
Konstantinos Spyrou 4b5132358a created repository metrics calls and excluded them from authentication 2023-10-11 14:45:53 +03:00
Konstantinos Spyrou 39596cfcc1 added method to get if piwik is validated 2023-10-11 13:03:00 +03:00
Konstantinos Spyrou 5138605163 added method to get if piwik is validated 2023-10-11 13:00:48 +03:00
TheQuaker 9da5fa5c1e Fix typo for DataType param 2023-09-29 15:36:55 +03:00
Lampros Smyrnaios 842468a175 Improve performance and error-handling in "InterfaceComplianceService.cleanUp()". 2023-09-27 12:24:22 +03:00
Lampros Smyrnaios 4e1f9cb965 Disable sending emails about compliance failure. 2023-07-24 13:45:24 +03:00
Lampros Smyrnaios 3cb8e7a5f6 - Update dependencies.
- Code polishing.
2023-07-05 13:16:48 +03:00
Lampros Smyrnaios a2a387be90 - Fix a security config for Swagger.
- Add the "displayRequestDuration" for "Try it out" requests in Swagger.
- Code polishing.
2023-06-02 14:23:54 +03:00
Lampros Smyrnaios dc469df9d6 Add JPA configuration. This fixes a missing Bean error. 2023-06-02 13:00:25 +03:00
Lampros Smyrnaios 8f6426eaf6 - Upgrade Spring and other dependencies.
- Migrate to SpringDoc, since SpringFox is dead.
2023-06-01 20:48:01 +03:00
Konstantinos Spyrou 6024e0c5b5 changed application type and replaced counters with gauges 2023-04-04 18:45:07 +03:00
Konstantinos Spyrou ab854a6624 changed application type and replaced counters with gauges 2023-04-04 18:43:48 +03:00
Lampros Smyrnaios 311442854a Add missing "sushiliteR5Endpoint" property. 2023-03-29 15:15:53 +03:00
Lampros Smyrnaios dfc4a4690e Update Json and Gson dependencies. 2023-03-29 12:11:19 +03:00
Lampros Smyrnaios 0ce67b6355 Avoid assigning an empty list, in case the "reportItems" is null, inside "SushiliteServiceImpl.getReportResults()". 2023-03-29 12:08:43 +03:00
Lampros Smyrnaios 54ebb35161 Detect the "504 Gateway Time-out" error from Sushilite-R5 and provide a mention to it, in the response-body. 2023-03-29 12:04:34 +03:00
Lampros Smyrnaios 97e85c2a75 Add suchilite-R5 support. 2023-03-28 15:08:20 +03:00
Lampros Smyrnaios 7cab17c133 Move Sushilite Service in its own package. Later, additional Sushilite Services will be added. 2023-03-22 13:35:20 +02:00
Lampros Smyrnaios d2973871a8 Inform the developer about the possibility of a "RestClientException" being thrown by various methods of "HttpUtils" and "RegistryCalls" classes. 2023-03-08 15:26:26 +02:00
Lampros Smyrnaios a0fd5f67a7 Fix the "NoSuchBeanDefinitionException: No bean named 'transactionManager' available", when trying to run the scheduled task -during initialization- for assigning pending user roles. 2023-03-08 13:57:29 +02:00
Lampros Smyrnaios 59fc344730 - Use the production AAI url, as the "beta" one has issues.
- Polish the application.yml
2023-03-02 16:15:54 +02:00
Lampros Smyrnaios fe1a398773 - Show error-messages for Broker's errors.
- Code polishing.
2023-03-02 15:03:30 +02:00
Lampros Smyrnaios 3684f09970 Update application.yml 2023-03-02 15:03:06 +02:00
Lampros Smyrnaios 19fcda5ae1 Update the "getRepositoriesByCountry"-endpoint to return up to 10_000 repositories. 2023-03-02 15:02:52 +02:00
Konstantinos Spyrou e9fedc90d4 experimental: temp save role if assign fails 2023-02-17 20:40:51 +02:00
Konstantinos Spyrou 0ad86025b3 throw error when assigning role to a user who is not found in the aai registry 2023-02-17 17:35:18 +02:00
Konstantinos Spyrou bae9a132cb Merge branch 'develop' of code-repo.d4science.org:MaDgIK/uoa-repository-manager-service into develop 2023-02-17 16:17:56 +02:00
Konstantinos Spyrou b67e98976d Improved role functionality 2023-02-17 16:17:37 +02:00
Lampros Smyrnaios c006c7baa0 - Show error-messages for Broker's errors.
- Code polishing.
2023-02-15 18:31:13 +02:00
Lampros Smyrnaios 8f5aed3aab Update application.yml 2023-02-15 18:03:20 +02:00
Lampros Smyrnaios 0f0163dc2d Update the "getRepositoriesByCountry"-endpoint to return up to 10_000 repositories. 2023-02-15 17:14:02 +02:00
Konstantinos Spyrou 9ad28a2640 merge branch new_registry 2023-02-08 10:21:02 +02:00
Lampros Smyrnaios 06cea537bf Improve performance of "DashboardController.getCollectionMonitorSummary()"-endpoint.
Now, a single "getRepositoryAggregations"-call is made, which results in just one "DSM-aggregationhistory"-api-call. Previously, multiple api-calls where made, each requesting the whole "aggregationhistory"-data and then trimming it down to only a few results.
2023-02-03 14:19:43 +02:00
Lampros Smyrnaios c1abaad3e1 - Show a warning when the "indexedVersion" was not found in "DashboardServiceImpl.getRepositoriesSummaryInfo()".
- Code optimization and polishing.
2023-02-02 18:54:46 +02:00
Lampros Smyrnaios 3845a5103b - Fix a performance bug in "DashboardController.getCollectionMonitorSummary()", where the code for the "isIndexedVersion"-check, was re-checking 20 of the already-checked "aggregationInfo"-objects, in each new batch.
- Update some properties.
- Code polishing.
2023-02-02 18:47:04 +02:00
Lampros Smyrnaios 8bf0f76ad6 - Improve performance of "ValidatorController.getRuleSet()" endpoint.
- Improve exception-handling.
- Replace deprecated method-calls.
- Code polishing.
2023-01-31 16:57:37 +02:00
Lampros Smyrnaios a239164f97 - Ensure the "BufferedReader" and the "InputStream" get always closed in the end, in "Converter.readFile()".
- Code polishing.
2023-01-31 15:40:06 +02:00
Konstantinos Spyrou c2e5af87e8 changes in mail content 2023-01-31 15:26:19 +02:00
Konstantinos Spyrou 19923c19fc refactoring 2023-01-31 14:51:34 +02:00
Konstantinos Spyrou 1a3399f7d7 changed level in verbose logs 2023-01-31 14:35:48 +02:00
Konstantinos Spyrou fdd597cf02 changed 'validation set' to 'set' and 'guidelines' to 'selected guidelines' in message bodies 2023-01-31 12:25:41 +02:00
Konstantinos Spyrou 60f8c8cb82 use Compatibility Override field 2023-01-31 12:11:41 +02:00
Konstantinos Spyrou 699b45d62f Missed 3 methods in previous commit. Needs heavy refactoring.. 2023-01-30 20:04:11 +02:00