Commit Graph

32 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou eee9faee28 Add DMP Roadmap database configuration and Template table. Make entity manager Primary and name entityManager to avoid conflicts on bean initialization. 2022-04-27 17:21:04 +03:00
Konstantina Galouni 2a9d8b8296 #7528: [NEW] Upload files field type.
1. Datasets.java: In "delete()" method, call also fileManager.markAllFilesOfEntityIdAsDeleted.
2. DatasetManager.java: Added method "deleteOldFilesAndAddNew()" which is called by "createOrUpdate()", to mark as deleted files that are not used any more and save the new ones.
3. DatabaseRepository.java & DatabaseRepositoryImpl.java: Include in DAOs FileUploadDAO.
4. ModelBuilder.java & ViewStyle.java: Incluse "upload" field type.
5. field-data.ts:
	a. In "getOrdinal()" method return Integer instead of int.
	b. In "getValidations()" method added null check.
	c. In methods "fromJsonObject()" and "toMap()" added special if clauses for "upload" field type.
6. application.properties:
   a. Added property "file.storage", to set the folder where the files will be permanently saved.
   b. Changed default spring.servlet.multipart.max-file-size and pring.servlet.multipart.max-request-size to 10 MB.
7. UserInvitationController.java: Deleted a print in System.out.
8. New files for upload field type: FileUploadDao.java, FileUploadDaoImpl.java, FileUpload.java, PostgreSQLEnumType.java (necessary for the enum EntityType), FileController.java, FileManager.java, UploadData.java.
2022-03-16 12:14:08 +02:00
George Kalampokis ea72f64ed4 Replace DB DOIFunder with a json config file 2022-03-01 14:37:49 +02:00
Bernaldo Mihasi 641088e289 Remove local configs, commited by mistake 2022-01-12 16:31:07 +02:00
DESKTOP-4ES9U2E\aldom 16c124cc3d Merge branch 'Development' of https://code-repo.d4science.org/MaDgiK-CITE/argos into Development
# Conflicts:
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/DatasetIdRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/DatasetRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/DistributionRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/HostRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/KeywordRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/LicenseRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/SecurityAndPrivacyRDAMapper.java
#	dmp-backend/web/src/main/java/eu/eudat/models/rda/mapper/TechnicalResourceRDAMapper.java
2021-12-30 11:28:15 +02:00
George Kalampokis 1a373bc6f8 Add email notification when a user is added to a Dataset Template (ref #7148) 2021-11-09 14:23:22 +02:00
George Kalampokis 2c29469590 Allow to configure the path of the email templates (ref #7122) 2021-10-25 16:06:08 +03:00
George Kalampokis 0257ff713b Remove the actuator from the prometheus path 2021-09-07 10:29:57 +03:00
George Kalampokis 6f92409f1e Update Spring boot framework to version 2.5.2 2021-09-07 09:42:31 +03:00
George Kalampokis 501ca9fcc2 Put elastic search index into the configurations 2021-04-27 16:53:15 +03:00
George Kalampokis aca31dc9da Add prometheus integration (ref #294) 2021-04-09 19:05:04 +03:00
apapachristou 2ed101888d fix syntax on application-devel.properties 2020-12-14 19:37:06 +02:00
Diamantis Tziotzios af5ab43c2e db pool connection fix 2020-12-14 19:23:10 +02:00
George Kalampokis fcd24fd907 Add community when depositing to zenodo (ARGOS). 2020-11-23 18:16:32 +02:00
George Kalampokis 66358acfcf Replace the openDMP Affiliation on Zenodo with either a configurable
affiliation or the related organizations of the DMP
2020-11-19 18:39:25 +02:00
Diamantis Tziotzios 0d408ff68a fixes 2020-10-05 12:08:57 +03:00
George Kalampokis 5cc6a5117a Fixed path issue with externalUrls on devel (backend) 2020-07-17 16:11:40 +03:00
George Kalampokis ac43dc8bd9 Updated application-devel.properties language.path 2020-06-17 17:32:52 +03:00
George Kalampokis ddd0b60d37 Load various resources from classpath instead of an actual path on Stagging and Production 2020-06-16 11:19:27 +03:00
George Kalampokis 33423b92f6 Removed HTTP-Logger (deprecated) 2020-06-10 13:18:04 +03:00
George Kalampokis 7695772d55 Updated production settings 2020-06-09 18:01:26 +03:00
George Kalampokis 5b0a66ce06 Removed deprecated configurations and added additional RDA Common Standards for dataset Templates 2020-05-29 11:57:21 +03:00
George Kalampokis af62e192ae Improved deployment 2020-05-12 13:10:23 +03:00
George Kalampokis 5d6fbd3e37 Improve self deployment 2020-05-04 17:15:52 +03:00
George Kalampokis 75fc400349 Added postgres on docker compose 2020-04-29 14:03:19 +03:00
George Kalampokis d67e68d0d9 Improve self deployment 2020-04-27 16:21:03 +03:00
George Kalampokis f39c113b7b Add Zenodo Login and the ability to use it's access token for DOI creation 2020-04-07 18:42:31 +03:00
George Kalampokis 78753404b5 Add temp folder for downloading DMP exported files 2020-03-30 18:24:19 +03:00
Diamantis Tziotzios d5c5c9743b conf changes 2020-03-24 17:08:03 +02:00
Diamantis Tziotzios ce8f838537 profile changes 2020-03-11 12:26:51 +02:00
George Kalampokis c807d28c29 Updated Elastic stack in order to store log files and add (expirimental) dataset index 2020-03-09 16:47:32 +02:00
George Kalampokis bf60e661ab Refactor backend resources and added logback configurations 2020-03-03 11:09:27 +02:00