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
9e4817f2bd
refactoring
2023-01-23 18:26:19 +02:00
Konstantinos Spyrou
4231480cbc
disabled delete on interfaces
2023-01-23 17:57:44 +02:00
Konstantinos Spyrou
33694d17c1
disabled delete on interfaces
2023-01-23 17:57:18 +02:00
Konstantinos Spyrou
0aa604a192
refactoring
2023-01-23 17:54:51 +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
607c417e3f
get all ids of user using email in registry
2023-01-20 19:15:59 +02:00
Konstantinos Spyrou
7b7c6b0842
check if CouId is null
2023-01-19 13:41:37 +02:00
Konstantinos Spyrou
125b64ec3b
check if CouId is null
2023-01-19 13:41:11 +02:00
Konstantinos Spyrou
415bb1e197
fixed conflict
2023-01-19 13:09:52 +02:00
Konstantinos Spyrou
95335461a2
getRolesWithStatus does not return null
2023-01-19 13:08:03 +02:00
Konstantinos Spyrou
f88d9b8381
fixed deserialization issue caused from json to String
2023-01-19 12:29:12 +02:00
Konstantinos Spyrou
cda2cd5557
fixed deserialization issue caused from json to String
2023-01-19 12:28:31 +02:00
Konstantinos Spyrou
0674a3c031
fixed null pointer exception
2023-01-19 12:16:42 +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
Konstantinos Spyrou
7c5020c205
update user roles using identifier instead of email
2023-01-18 16:54:18 +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
e4d52c2323
refactoring project structure
2023-01-17 18:23:59 +02:00
Konstantinos Spyrou
139fb420d4
removed empty class
2023-01-17 18:21:20 +02:00
Konstantinos Spyrou
60ff3dce6e
changes for new aai registry
2023-01-17 18:20:41 +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
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
Lampros Smyrnaios
4a32d0278b
- Update the application.yml, which fixes runtime errors.
...
- Update the installAndRun.sh, to be able to only build the project (if desired to only produce the JAR), and also to handle errors better.
2022-12-01 14:56:52 +02:00
Konstantinos Spyrou
b3758da868
replaced AggregationDetails with AggregationInfo class
2022-11-30 20:58:08 +02:00
Konstantinos Spyrou
a792fd34c1
removed unnecessary operations
2022-11-30 17:33:09 +02:00
Lampros Smyrnaios
36b17e4ef1
Refactor the "Statistics" code:
...
- Merge the Aggregators' code inside "StatsServiceImpl.java".
- Remove the Hystrix related code, since it wasn't really used.
- Add exceptions-handling and error-checking.
2022-11-30 13:03:17 +02:00
Konstantinos Spyrou
01ba340f47
created paging for searchRegisteredRepositories - temporarily inactive
2022-11-24 18:36:37 +02:00
Konstantinos Spyrou
b533355c4f
set log level to info
2022-11-24 18:33:40 +02:00
Konstantinos Spyrou
33d28cefc1
all registered users can perform validations
2022-11-24 18:33:21 +02:00
Lampros Smyrnaios
96d8ba8dde
Fix url in application.yml
2022-11-23 18:49:35 +02:00
Lampros Smyrnaios
dbe13a7ed1
- Fix memory leak.
...
- Add code's line-numbers in the logs.
2022-11-18 12:21:56 +02:00
Lampros Smyrnaios
83f9ce36ce
Add a script to install and run the app.
...
(some missing dependencies will be deployed on a public repo soon)
2022-11-16 16:20:58 +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
cff16a2d7c
refactored mails
2022-11-09 16:16:54 +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
0f73e95209
filter out only sword and rest
2022-10-10 16:04:06 +00:00
Antonis Lempesis
9ca8aed160
ignoring non aoi interfaces
2022-10-10 11:27:28 +00:00
Konstantinos Spyrou
9633710cec
quick fix for Journal registration. Removed ValidationException and replaced with log. Should be revisited.
2022-10-06 10:29:21 +00:00
Konstantinos Spyrou
a46e64f5b5
added date in logs
2022-09-07 13:49:23 +00:00
Konstantinos Spyrou
3c41f3206a
fixed getting accessSets and accessFormats
2022-09-07 13:29:04 +00:00
Konstantinos Spyrou
0590efba9a
CompatibilityClasses fix
2022-09-06 13:55:05 +00:00
Konstantinos Spyrou
2afd3ef412
fixed re3data lastCollectionDate
2022-08-05 13:24:32 +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
2a8294a958
reintroduced typology field
2022-07-22 10:34:26 +00:00
Antonis Lempesis
d3f13fc8c2
correctly passing the repo id...
2022-06-02 13:18:04 +00:00
Antonis Lempesis
d57782444d
avoiding an OutOfBounds exception
2022-06-02 08:42:08 +00:00
Antonis Lempesis
a61b259ca3
getting aggregations uising the correct dsm api method
2022-05-24 14:01:08 +00:00
Konstantinos Spyrou
94a8b1abf9
update lastConsentTermsOfUseDate instead of consentTermsOfUseDate
2022-05-24 09:15:52 +00:00
Konstantinos Spyrou
03dad9cb1e
added lastConsentTermsOfUseDate
2022-05-24 08:28:39 +00:00
Konstantinos Spyrou
bd31f55685
cris repository registration functionality
2022-04-20 10:26:28 +00:00
Konstantinos Spyrou
982d299b2d
repository terms functionality
2022-03-15 11:33:49 +00:00
Antonis Lempesis
2a57236c9a
removed basic hhtp authentication
2021-11-05 08:54:20 +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
Konstantinos Spyrou
84df31c87a
enabled emails
2021-07-22 13:52:50 +00:00
Antonis Lempesis
9e967cab33
using md5 instead of base64 encoding for new aggregator ids
2021-07-22 10:55:27 +00:00
Antonis Lempesis
e603487103
merged branch aai_roles_new to trunk
2021-07-21 11:51:18 +00:00
Antonis Lempesis
25ff488405
returning fair guidelines as such
2021-04-16 08:16:09 +00:00
Antonis Lempesis
a8143fe775
code cleanup
2021-04-05 10:35:28 +00:00
Antonis Lempesis
6d6b70f87b
Correctly checking return type of POST method
2020-10-14 09:20:46 +00:00
Antonis Lempesis
2fbf8478d7
Fixed the comment sending code in EmailUtilsImpl
2020-10-01 10:58:31 +00:00
Antonis Lempesis
c2743a9420
using the new broker model
2020-09-03 09:51:52 +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