Commit Graph

64 Commits

Author SHA1 Message Date
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
Konstantinos Spyrou 33694d17c1 disabled delete on interfaces 2023-01-23 17:57:18 +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
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 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
Konstantinos Spyrou b3758da868 replaced AggregationDetails with AggregationInfo class 2022-11-30 20:58:08 +02:00
Konstantinos Spyrou 01ba340f47 created paging for searchRegisteredRepositories - temporarily inactive 2022-11-24 18:36:37 +02:00
Lampros Smyrnaios dbe13a7ed1 - Fix memory leak.
- Add code's line-numbers in the logs.
2022-11-18 12:21:56 +02:00
Konstantinos Spyrou e99f334708 1. removed registeredBy from add/update interface controllers
2. changed authorization expression for interface validation
2022-11-10 17:34:23 +00:00
Konstantinos Spyrou ee01491995 1. fixed auth expression when updating a repository
2. filter out ftp interfaces
2022-11-08 18:37:51 +00:00
Konstantinos Spyrou 1491d8e280 fixed remaining spel expressions 2022-11-03 12:35:05 +00:00
Konstantinos Spyrou 82cf64a3e3 fixed null equality in spel expression 2022-11-03 11:09:12 +00:00
Konstantinos Spyrou 0b322c87d6 fixed auth expression 2022-11-01 12:08:42 +00:00
Konstantinos Spyrou c7b7d37ae3 svn merge -r62311:HEAD https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/uoa-repository-manager-service/branches/new-datasource-model . 2022-08-05 08:48:16 +00:00
Konstantinos Spyrou 94a8b1abf9 update lastConsentTermsOfUseDate instead of consentTermsOfUseDate 2022-05-24 09:15:52 +00:00
Konstantinos Spyrou 982d299b2d repository terms functionality 2022-03-15 11:33:49 +00:00
Antonis Lempesis 9d38d86c03 merged properties branch 2021-10-26 11:46:08 +00:00
Antonis Lempesis b5f1c113c6 merged branch springboot - 61629:HEAD 2021-10-22 11:32:44 +00:00
Konstantinos Spyrou 746f3bbfbe created method to retrieve total registered datasources and added an entry in prometheus metrics 2021-10-12 13:30:38 +00:00
Konstantinos Spyrou 03e0b8f472 changed prometheus metrics names 2021-10-12 10:16:37 +00:00
Konstantinos Spyrou 1b6ca905da replaced hasAnyRole with hasAnyAuthority 2021-07-28 12:28:58 +00:00
Konstantinos Spyrou 500c379b8c created prometheus reports and /metrics 2021-07-26 11:34:42 +00:00
Antonis Lempesis e603487103 merged branch aai_roles_new to trunk 2021-07-21 11:51:18 +00:00
Antonis Lempesis 282b0b0d53 added the option to send emails to users 2020-07-30 11:49:24 +00:00
Antonis Lempesis 2e9657cb61 added the option to send emails to users 2020-07-29 11:35:35 +00:00
Antonis Lempesis b91330455d added extra logs 2020-06-05 08:39:43 +00:00
Ioannis Diplas e33df7fe42 Clearing unnecessary "user" variables 2020-01-10 12:56:27 +00:00
Ioannis Diplas bf0bdf50c1 New mapping for RepositorySnippet + Using SecurityContext to get the email of user 2019-12-18 10:04:22 +00:00
Ioannis Diplas b78350ec83 Fixing imports 2019-12-16 10:54:06 +00:00
Ioannis Diplas ebd68aa2c3 Using new function for getRepositoriesOfUser, now retuning repository snippet 2019-12-13 13:40:55 +00:00
Ioannis Diplas 0d60114c78 Bug fix for Security Expressions 2019-11-29 10:17:16 +00:00
Ioannis Diplas 1590f44b9f Bug fix 2019-11-29 09:58:55 +00:00
Ioannis Diplas 5430cca2b7 Changing Security Expression for getOpenaireId 2019-11-29 09:55:23 +00:00
Ioannis Diplas 13717263e6 Adding Security expression for getOpenAireId 2019-11-28 13:43:43 +00:00
Ioannis Diplas b94d136cfa Updating interfaces to not include IsSerializable 2019-11-28 11:25:56 +00:00
Ioannis Diplas df23be95ae String comparison for NULL equity 2019-11-08 12:56:47 +00:00
Ioannis Diplas c9d94fa4ab Changed security expressions to include the case that registeredBy is null 2019-10-29 10:16:13 +00:00
Ioannis Diplas 530aac4540 Moved permissions at the controller level 2019-10-11 11:53:48 +00:00
Ioannis Diplas dfcd57129f Adding job summary 2019-10-01 11:07:47 +00:00
Ioannis Diplas ca5651e630 Pushing fixes on summaries 2019-09-27 11:29:40 +00:00