Commit Graph

176 Commits

Author SHA1 Message Date
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
Konstantinos Spyrou 287f476bd2 messages sent to 'registeredBy' email are now sent to the currently authenticated user as well 2023-01-30 19:49:33 +02:00
Konstantinos Spyrou d3bcea79c0 Changes:
1. refactored method signatures
2. used desired compatibility level for 'Guidelines' field in emails
3. enabled async error logs
2023-01-30 18:56:34 +02:00
Lampros Smyrnaios de2ac5631f Fix return object of "getUrlsOfUserRepos" endpoint. 2023-01-30 16:25:21 +02:00
Lampros Smyrnaios 40aae5d750 Adjust logging-levels. 2023-01-25 14:05:30 +02:00
Konstantinos Spyrou 33694d17c1 disabled delete on interfaces 2023-01-23 17:57:18 +02:00
Konstantinos Spyrou caa1f1244a refactoring 2023-01-23 17:45:35 +02:00
Konstantinos Spyrou ab03a5164d base url can be altered only if existing is null or empty 2023-01-20 19:17:06 +02:00
Konstantinos Spyrou 7b7c6b0842 check if CouId is null 2023-01-19 13:41:37 +02:00
Konstantinos Spyrou 95335461a2 getRolesWithStatus does not return null 2023-01-19 13:08:03 +02:00
Konstantinos Spyrou cda2cd5557 fixed deserialization issue caused from json to String 2023-01-19 12:28:31 +02:00
Konstantinos Spyrou 0ea91e909d Merge branch 'develop' of code-repo.d4science.org:MaDgIK/uoa-repository-manager-service into develop 2023-01-19 12:15:41 +02:00
Konstantinos Spyrou d5327aedea fixed null pointer exception 2023-01-19 12:15:30 +02:00
Lampros Smyrnaios df14f5eaab - Update a "URLEncoder.encode()" call, to reduce the ambiguity which comes with the platform's default encoding.
- Update a deprecated MediaType.
- Fix an ambiguous unicode character.
2023-01-17 20:21:00 +02:00
Konstantinos Spyrou 40b20b1122 added LIMIT 1 when retrieving piwik site to avoid problems with existing duplicates in db 2023-01-17 17:56:18 +02:00
Konstantinos Spyrou 49cc3d74e8 fixed content type missmatch error when converting response from json to string in method getRepositoriesByCountry 2023-01-17 16:57:14 +02:00
Konstantinos Spyrou e551a7a783 replaced manual configuration with automatic 2023-01-17 16:53:37 +02:00
Konstantinos Spyrou 788dac69ad added tests for InterfaceComplianceRequest 2023-01-17 15:50:43 +02:00
Konstantinos Spyrou b1e1185765 fixed condition 2023-01-17 13:49:00 +02:00
Konstantinos Spyrou 817446df41 Created the functionality to alter an interface's compliance after its successful validation 2023-01-16 20:30:09 +02:00
Konstantinos Spyrou 87f610b06b merge conflict 2023-01-13 18:11:41 +02:00
Konstantinos Spyrou e947fe3fec 1. removed exceptions from emails
2. changed update repository interface
3. wip: after validation completes change interface compliance
2023-01-13 18:06:30 +02:00
Lampros Smyrnaios 96003f9f88 Optimize imports. 2023-01-13 12:55:15 +02:00
Lampros Smyrnaios d4e4624a3f Merge branch 'develop' of https://code-repo.d4science.org/MaDgIK/uoa-repository-manager-service into develop
# Conflicts:
#	src/main/java/eu/dnetlib/repo/manager/service/security/AuthoritiesMapper.java
#	src/main/java/eu/dnetlib/repo/manager/service/security/AuthoritiesUpdater.java
2023-01-13 12:22:28 +02:00
Lampros Smyrnaios eaa4083b04 - Code optimization and polishing.
- Improve error-checking and exception-handling.
2023-01-13 12:20:06 +02:00
Lampros Smyrnaios f136488b0e Improve performance by pre-compiling the regexes. 2023-01-12 19:23:42 +02:00
Konstantinos Spyrou 720ee5a9a4 fix: savePiwikInfo no longer creates duplicates 2023-01-12 16:38:29 +02:00
Konstantinos Spyrou af0482a9fb Merge branch 'develop' of code-repo.d4science.org:MaDgIK/uoa-repository-manager-service into develop 2023-01-12 14:23:57 +02:00
Konstantinos Spyrou 830df7cb52 1. use sub for session instead of email 2. minor refactoring 2023-01-12 14:16:27 +02:00
Konstantinos Spyrou d8eac0ac10 replaced log4j2 with slf4j 2023-01-11 18:50:31 +02:00
Lampros Smyrnaios ceb53248ce Fix merge-commit, missing the improvement introduced in commit: 63c9caaf96 2022-12-21 13:44:58 +02:00
Konstantinos Spyrou 4850581c53 merge commit 2022-12-20 20:53:54 +02:00
Konstantinos Spyrou a5a4924c08 chenged methods retrieving AggregationInfo 2022-12-20 20:40:37 +02:00
Konstantinos Spyrou 6c2780927d changed objectMapper and restTemplate configuration 2022-12-20 20:27:13 +02:00
Lampros Smyrnaios 63c9caaf96 Improve performance of "AggregationServiceImpl.createYearMap()". 2022-12-14 17:12:27 +02:00
Lampros Smyrnaios a40c1b3e44 - Move all the Aggregation-related code from "RepositoryService" into the new "AggregationService".
- Add info about the thrown exceptions.
2022-12-14 17:09:38 +02:00
Lampros Smyrnaios 1a4df2b852 - Add "README.md"
- Code polishing.
2022-12-14 16:33:12 +02:00
Lampros Smyrnaios deae3b8b54 - Add error-checking and improve exceptions handling.
- Code polishing.
2022-12-07 13:37:55 +02:00
Lampros Smyrnaios f720446bdf Remove the obsolete "AggregationDetails" code and rename the related variables (which have already changed types). 2022-12-01 18:37:03 +02:00
Lampros Smyrnaios db88b2eecb Optimize imports. 2022-12-01 15:19:29 +02:00