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
Konstantinos Spyrou
f41a5c8985
fixed prometheus test
2022-11-16 16:33:42 +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
Antonis Lempesis
ae95e76fbf
opening /stats to all
2020-05-15 08:09:38 +00:00
Konstantinos Spyrou
984dd28d19
set description to jobResultEntry for cris
2020-03-26 19:23:08 +00:00
Konstantinos Spyrou
fdc6a46bff
updated cris rule results methods
2020-03-26 17:35:55 +00:00
Konstantinos Spyrou
c0cbbbe9ef
changes for cris validation
2020-03-18 22:39:25 +00:00
Ioannis Diplas
777d87c564
stats no longer require authentication
2020-03-16 23:20:55 +00:00
Antonis Lempesis
5a5742978f
authentication changes
2020-03-10 12:04:59 +00:00
Ioannis Diplas
62c228ca42
Bug fix for CRIS reSubmition
2020-01-10 14:04:41 +00:00
Ioannis Diplas
e33df7fe42
Clearing unnecessary "user" variables
2020-01-10 12:56:27 +00:00
Ioannis Diplas
4b6eb60fd7
changing properties file to beta
2019-12-18 13:30:58 +00:00
Stefania Martziou
61fec177ef
More thorought implementation for the email notifications when registering/updating repositories
2019-12-18 13:11:36 +00:00
Ioannis Diplas
6edd5ffca7
Replacing XML with Java configuration
2019-12-18 11:09:03 +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
33e3975de3
Changing context of sendAdministratorRequestToEnableMetrics email
2019-12-16 14:13:33 +00:00
Ioannis Diplas
763285fdac
Using RepositorySnippet for getDatasourcesOfUser
2019-12-16 12:43:08 +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
192ba92c1e
Fixing a logging issue
2019-12-03 09:33:55 +00:00
Ioannis Diplas
35acc1f3b9
Fixing a bug for null contentRules
2019-12-02 11:16:48 +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
Antonis Lempesis
1fbfaa454f
merged branch cris r57561-HEAD
2019-11-20 13:03:40 +00:00
Ioannis Diplas
df23be95ae
String comparison for NULL equity
2019-11-08 12:56:47 +00:00
Antonis Lempesis
02a532e2d1
fixed the piwik id identity
2019-11-07 09:45:58 +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
Ioannis Diplas
9bc44f8f97
Usage summary custom return object with PiwikInfo and MetricsInfo
2019-09-27 09:46:21 +00:00
Ioannis Diplas
8f1e214a6b
Implementing summaries for collection, usage and broker
2019-09-26 11:09:24 +00:00
Ioannis Diplas
61e7696832
fixing from & quantity values for export-to-csv functionality
2019-09-04 12:21:53 +00:00
Antonis Lempesis
835f973caf
Added list of publications to events
2019-09-02 15:54:22 +00:00
Ioannis Diplas
c94259da40
fixing from & quantity values for export-to-csv functionality
2019-08-30 09:02:38 +00:00
Ioannis Diplas
ec3bfd1eaf
Changing export-to-csv to return all the Piwik results
2019-08-30 08:33:13 +00:00
Antonis Lempesis
1f7a25d184
Checking if repository has a piwik site before creating an identity for it
2019-08-26 12:48:40 +00:00
Ioannis Diplas
7e21cdc153
When search field is applied, we count the total rows with this filter on
2019-08-01 11:55:17 +00:00
Ioannis Diplas
ddf7152123
Cleaning up the code
2019-07-25 12:58:01 +00:00
Ioannis Diplas
8b1ad0b920
Triggering validation job from provide on Interface Update and Interface Add
2019-07-25 11:54:21 +00:00
Ioannis Diplas
fa94488f3f
Changed typo for descending order ENUM
2019-07-24 11:54:17 +00:00
Ioannis Diplas
5cc055f7c1
Changed typo for descending order ENUM
2019-07-24 11:35:09 +00:00
Ioannis Diplas
5f23a071f0
Fixing naming for csv
2019-07-23 09:47:20 +00:00
Ioannis Diplas
be2b3f15fb
Now exporting to csv
2019-07-23 09:39:08 +00:00
Ioannis Diplas
16b7099e75
Adding totals to final array
2019-07-23 08:07:39 +00:00
Ioannis Diplas
aaf2677c11
Updated swagger info
2019-07-23 07:47:39 +00:00
Ioannis Diplas
9d332bd962
- Fixing some code-smells
...
- Implemented search of piwik repos
- Added site_id info on repository
2019-07-22 13:00:51 +00:00
Antonis Lempesis
ed247a82f3
Merged dev-api branch to trunk. merge -r54925:HEAD https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/uoa-repository-manager-service/branches/dev-api
2019-07-19 09:31:23 +00:00
Panagiotis Kanakakis
368538ddd4
UTF8 bug fix
2019-03-21 13:13:28 +00:00
Panagiotis Kanakakis
4bf9657682
Bug fix on repository service
2019-03-19 13:48:39 +00:00
Panagiotis Kanakakis
ef1f000e5b
Merge with dev branch
2019-02-28 12:37:38 +00:00
Panagiotis Kanakakis
2a24630a1d
Delete wrong commited files
2019-02-16 10:47:48 +00:00
Panagiotis Kanakakis
ef441e826c
Meerge dev-api to trunk ( -r50861:54841 )
2019-02-16 10:04:41 +00:00
Panagiotis Kanakakis
ab23c7232f
Moving branch folders to trunk.
2018-02-22 11:23:56 +00:00
Panagiotis Kanakakis
a396e42e06
1. Broker api bug fixes on urls
...
2. Piwik changes on methods.
3. Validator url changes
2018-02-22 10:55:56 +00:00
Panagiotis Kanakakis
7f00c2f321
1. Fix new dev api
...
2. Fix bugs on validator / broker / piwik api.
3. JSON changes on convert file for dev api
4. Add new class RequestFilter on utils package for search queries.
2018-02-21 15:05:02 +00:00
Panagiotis Kanakakis
04ce834f59
1. Bug fixes on parameters for BrokerApi
2018-02-15 07:45:37 +00:00
Panagiotis Kanakakis
f62403a248
1. Add swagger explanation for broker/validator paramaters
...
2. Change subscribe/unsubcribe methods of broker from GET to POST
2018-02-12 14:10:57 +00:00
Panagiotis Kanakakis
a08eee988f
1.Bug fixes on monitor api.
2018-02-12 11:33:51 +00:00
Panagiotis Kanakakis
5eb0717179
Changes for new api.
2018-02-08 14:43:47 +00:00
Panagiotis Kanakakis
cb360ec0d8
1. New rest api
...
2. Cors filter on web.xml
3. Remove aai
2018-02-06 14:59:03 +00:00
Panagiotis Kanakakis
3c82be8b5a
1. Remove aai / redis changes. New branch will be created.
2018-02-05 11:16:53 +00:00
Panagiotis Kanakakis
1362fbb098
1. Add getMetricsInfoForRepository and getInterfaceInformation methods.
...
2. Create aai-secutiry.xml file
3. Add properties on application file
2018-02-02 13:28:00 +00:00
Panagiotis Kanakakis
bfed3f0d8c
Add getSubscriptionsOfUser method. Rename old one to getSimpleSubscriptionsOfUser
2018-01-25 15:14:19 +00:00
Panagiotis Kanakakis
aba8bcf807
1. Add a get notifications method by subscription id
2018-01-24 15:10:47 +00:00
Panagiotis Kanakakis
f3e55be459
1. Optimize imports on broker api.
...
2. Add user api / user api impl for test purposes. Check aai
3. Add config class for redis
4. Add FrontEndLinkURIAuthenticationSuccessHandler for aai
5. Add redis / aai properties on application properties file
2018-01-24 10:11:57 +00:00
Panagiotis Kanakakis
f43753253d
Bug fix on collection mode for aggregation history
2018-01-16 16:15:41 +00:00
Panagiotis Kanakakis
09fd3dbcd5
Bug fix on converte class . Empty aggregation equals []
2018-01-16 15:47:23 +00:00
Panagiotis Kanakakis
daabd711dd
Bug fix on converter class for aggregation method
2018-01-16 15:45:47 +00:00
Panagiotis Kanakakis
2b8c5e5147
Make Aggregation/AggregationDetails class serializable
2018-01-16 14:00:11 +00:00
Panagiotis Kanakakis
44a3e2b0ec
1. Add Term class on shared folder
...
2. Add property on application file for dnet topics
3. Implement method to get dnet topics map
2018-01-15 20:18:16 +00:00
Panagiotis Kanakakis
dbd986f38f
1. Update pom.xml
...
2. Add validator api methods.
2018-01-13 09:56:52 +00:00
Panagiotis Kanakakis
156bbb95c0
1. Bug fix on repository convert
...
2. Update pom with postgres dependency
2018-01-11 09:58:24 +00:00
Panagiotis Kanakakis
ad50f63170
1. Changes on piwik api
...
2. Changes on repository interface (new response entities)
3. Changes on converter class due to new json response.
2017-12-22 10:29:02 +00:00
Panagiotis Kanakakis
5227f60ce5
1. Create trunk folder.
2017-12-07 17:57:12 +00:00