Commit Graph

80 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou 9817036b10 Merge remote-tracking branch 'origin/master' into production 2024-04-15 10:45:53 +03:00
Konstantinos Triantafyllou 6b5ae3512f Add copy true in dao when find profiles with specific defaultId. 2024-04-15 10:42:39 +03:00
Konstantinos Triantafyllou 86f4990d70 Introduce copy field for stakeholder and align all methods to appy the right structure. 2024-04-12 11:37:28 +03:00
Konstantinos Triantafyllou 54f9ebb9ce Add copy constructor in stakeholder class. 2024-04-10 15:54:03 +03:00
Konstantinos Triantafyllou dc383dda0d [new-model]: Add move indicator controller in order to move an indicator from a section to another. 2024-04-06 12:40:52 +03:00
Konstantinos Triantafyllou eee0814016 [new-model]: Reorder for move action for all entities. Doesn't work for added and removed, need a different implementation. 2024-04-02 22:26:57 +03:00
Konstantinos Triantafyllou c83dc441d4 Refactor reorder methods and save sections in bulk 2024-04-02 14:49:02 +03:00
Konstantinos Triantafyllou 8a56c3ad8b Save category, subcategory, section refactor. 2024-03-27 14:07:41 +02:00
Konstantinos Triantafyllou c3cc942332 Refactor save topic endpoint and fix change visibility. 2024-03-21 12:42:34 +02:00
Konstantinos Triantafyllou cf505bd214 Fix delete and change visibility methods for all entities. 2024-03-14 19:01:28 +02:00
Konstantinos Triantafyllou 959d553ca4 [new-model]: Refactor all delete and change visibility methods. 2024-03-13 00:20:55 +02:00
Konstantinos Triantafyllou f484f7da99 Merge remote-tracking branch 'origin/master' into production 2024-03-12 17:57:35 +02:00
Konstantinos Triantafyllou 94fe49e7b7 Fix manager condition in stakeholder service method. 2024-03-12 17:56:49 +02:00
Konstantinos Triantafyllou e345f5b689 [new-model | WIP]: Refactoring the code in order to improve performance and code. 2024-03-08 20:55:51 +02:00
Konstantinos Triantafyllou 1158b676e4 Revert properties. Remove some comments. Remove mongodb DAOs. Move primitives classes and enums to new package primitives. 2024-03-06 01:48:31 +02:00
Konstantinos Triantafyllou 76c39d6eb3 Add monitor deploy service 2024-03-06 01:27:38 +02:00
Konstantinos Triantafyllou 8918826766 Remove comments. Add getAliases method in stakeholderService. Remove parametersMapping 2024-03-05 18:51:14 +02:00
Konstantinos Triantafyllou a7a3970c79 Merge branch 'irish-monitor-service' 2024-02-29 11:53:51 +02:00
Konstantinos Triantafyllou 5bad820e3d Add authorization in check deploy of library 2024-02-20 10:55:00 +02:00
Konstantinos Triantafyllou fa8a6224c8 Merge remote-tracking branch 'origin/master' into production 2024-02-20 09:31:55 +02:00
Konstantinos Triantafyllou e92739091f Move some stakeholder functions to the service. 2024-02-20 09:10:41 +02:00
Konstantina Galouni 1461f1851e [master | DONE | CHANGED]: IndicatorController.java: Completing previous commit - In method "createSectionsAndSaveBulk()", on createSection() call, always set title parameter to section.getTitle() (even if it is null). 2024-01-24 17:39:37 +02:00
Konstantina Galouni 52c760af1c [master | DONE | CHANGED]: IndicatorController.java: Removed "imported from service" from section name in method "createSectionsAndSaveBulk()". 2024-01-24 17:16:57 +02:00
Konstantinos Triantafyllou e7c0dbee69 Merge remote-tracking branch 'origin/master' into production 2024-01-09 12:33:04 +02:00
Konstantinos Triantafyllou 4be89eab36 Merge branch 'irish-monitor-service' of code-repo.d4science.org:MaDgIK/uoa-monitor-service into irish-monitor-service 2023-12-14 15:48:40 +02:00
Konstantinos Triantafyllou f85a2202ab Import Notification and Authorization Configuration only in application. 2023-12-14 15:48:33 +02:00
Konstantina Galouni 8d19c242e7 Merge remote-tracking branch 'origin/master' into irish-monitor-service 2023-12-13 15:13:06 +02:00
Konstantina Galouni 420e6f46fb [master | DONE | FIXED]: IndicatorController.java: In method "parameterMapping()" set in parameter index_shortName the shortname of the stakeholder, not the name. 2023-12-13 15:10:13 +02:00
Konstantina Galouni c55d2836d7 [irish-monitor-service | WIP | CHANGED]: Monitor Service to work as standalone and as library (classifier library) at the same time.
1. pom.xml: Added plugin "maven-jar-plugin" and an <execution> with <classifier> library which creates a jar and excluded files from library setup.
2. UoaMonitorServiceApplication.java: Moved to package application and removed @EnableConfigurationProperties and @Import of other configurations (moved to UoaMonitorServiceConfiguration.java).
3. UoaMonitorServiceConfiguration.java: Added @EnableConfigurationProperties and @Import of configurations and @ComponentScan.
4. ServletInitializer.java: Moved to package application.
5. MonitorLibraryCheckDeployController.java: Added this copy of MonitorServiceCheckDeployController.java to be used only in library setup with @RequestMapping("/monitor-library").
2023-12-01 10:19:20 +02:00
Konstantinos Triantafyllou 615da7f3c2 Add funderType field in stakeholder. 2023-11-09 15:02:11 +02:00
Konstantinos Triantafyllou c8adee576e Add support for country reasearcher and datasource 2023-10-16 12:42:49 +03:00
Konstantinos Triantafyllou f0d5e399c4 Merge remote-tracking branch 'origin/master' into production 2023-07-31 11:00:37 +03:00
Konstantinos Triantafyllou 8446c19ea9 Fix section default Id null exception in save default indicator 2023-07-31 10:59:03 +03:00
Konstantina Galouni 648803a30c [Monitor Service | master]: Stakeholder.java: Added field "private Date projectUpdateDate = null;" to expose the last update date in the UI. 2023-07-17 17:06:52 +03:00
Konstantina Galouni fc2010e530 [Monitor Service | master]: IndicatorController.java: In method "createSectionsAndSaveBulk()" -on import indicators- check if a section or an indicator is null, and ignore them. 2023-07-10 18:00:27 +03:00
Konstantinos Triantafyllou 1ccefb03cf Merge remote-tracking branch 'origin/master' into production 2023-07-07 11:38:35 +03:00
Konstantinos Triantafyllou 7b4f0a9eec Fix role utils methods 2023-07-04 16:02:34 +03:00
Konstantina Galouni 09b8d2188f [Monitor Service | master]: Indicator.java: In method "copyFromDefault()", get visibility as parameter and set the visibility of the new-copied indicator accordingly | IndicatorController.java: When creating indicators copied from a new default indicator, set the visibility of each new indicator same as of its parent subcategory. 2023-07-03 10:42:46 +03:00
Konstantina Galouni 0184da8a8e [Monitor Service | master]: Stakeholder.java: Added field private Locale locale = Locale.EU; (Local is enum with values: EN("en"), EU("eu")) and getter/setter methods. 2023-06-19 13:28:32 +03:00
Konstantina Galouni 1119c1fdcf [Monitor Service | master]: Stakeholder.java: Added field private String statsProfile = "monitor"; and getter/setter methods | IndicatorPath.java: Added field private Format format = Format.NUMBER; where Format is enum {NUMBER, PERCENTAGE} and getter/setter methods | IndicatorController.java: On method "onUpdateDefaultIndicator()" check if format was changed | update_db.js: Added method "statsProfileOfIndicatorsAsVariable()". 2023-05-03 13:02:56 +03:00
Konstantina Galouni 806e1e16d8 [Monitor Service | master]: MonitorController.java: In method "updatePortal()" call also pageService.updatePid if pid was changed | pom.xml: Updated version of uoa-admin-tools-library to 1.0.7 (previous was 1.0.6). 2023-05-03 12:58:13 +03:00
Konstantinos Triantafyllou 7248f424df Fix prodcution log level and pom version 2022-11-22 17:47:11 +02:00
Konstantina Galouni 5d46d84a96 [Monitor Service | log4j]: SwaggerConfig.java: Updated swagger to add separate folders for libraries. 2022-10-20 10:40:08 +03:00
Konstantina Galouni 05aec3af4a StakeholderController.java: update return type of 'changeStakeholderVisibility()' and 'changeStakeholderVisibilityTree()' from Visibility to Stakeholder. 2022-10-16 11:41:19 +03:00
Konstantina Galouni adf8cb5e70 pom.xml: Updated parent and versions of libraries | Moved to log4j2 & set spring log file as default | Added swagger 2022-10-10 15:27:17 +03:00
Konstantina Galouni 82a8f8ad56 [Trunk | Monitor Service]: StakeholderController.java & TopicController.java & CategoryController.java & SubCategoryController.java & SectionController.java & IndicatorController.java: Updated /change-visibility methods and added @RequestParam(required = false) Boolean propagate, to allow changing visibility of all contents of the updated entity too & updated return type to return the entity instead its visibility & added everywhere method "changeVisibilityTree()". 2022-09-14 18:02:47 +03:00
Konstantina Galouni cddb8a2de1 [Trunk | Monitor Service]: Updated methods "saveBulkIndicators()" and "createSectionsAndSaveBulk()" to import List<Section<Indicator>> instead of List<Indicator>. 2022-09-08 23:34:25 +03:00
Konstantina Galouni a03001c90e [Trunk | Monitor Service]: 1.. pom.xml: Updated version of admin-tools-library to 1.0.5 (used to be 1.0.4) | 2. StakeholderController.java: In method "buildFullStakeholder()", when creating Stakeholder, create Portal if not exists (pid = alias) and in method "deleteStakeholder()", when deleting a Stakeholder, delete Portal as well. 2022-07-27 11:51:56 +00:00
Konstantinos Triantafyllou 827fd60a87 Add idea files to ignore svn list. Update notification and admin tools library 2021-12-07 09:30:43 +00:00
Konstantina Galouni a11cf9c642 [Trunk | Monitor Service]:
1. pom.xml: Updated version of "uoa-admin-tools-library" from 1.0.1 to 1.0.2, "uoa-authorization-library" from 1.0.0 to 2.0.1, "uoa-notification-service" from 1.0.0 to 1.0.2.
2. GlobalVars.java: Added field "version" (version of project in pom).
3. MonitorServiceCheckDeployController.java: Expose globalBars.version in /health_check/advanced.
4. monitorservice.properties: Added monitorservice.globalVars.version=@version@ (initialized by pom version).
2021-11-17 23:00:52 +00:00