Compare commits

...

17 Commits

Author SHA1 Message Date
Konstantinos Triantafyllou a3abf726da Merge from master 2024-04-24 23:30:05 +03:00
Konstantinos Triantafyllou 9f5b087587 Update monitor service 2024-04-24 23:28:33 +03:00
Konstantinos Triantafyllou 3b872a99e2 [maven-release-plugin] prepare for next development iteration 2024-04-15 11:28:11 +03:00
Konstantinos Triantafyllou 6a007b8281 [maven-release-plugin] prepare release irish-monitor-service-1.0.4 2024-04-15 11:28:07 +03:00
Konstantinos Triantafyllou 7319799e92 Merge remote-tracking branch 'origin/master' into production 2024-04-15 11:27:47 +03:00
Konstantinos Triantafyllou 8925b34515 [maven-release-plugin] prepare for next development iteration 2024-03-12 19:19:59 +02:00
Konstantinos Triantafyllou 661b18d8de [maven-release-plugin] prepare release irish-monitor-service-1.0.3 2024-03-12 19:19:55 +02:00
Konstantinos Triantafyllou 5f7c0d1694 Merge remote-tracking branch 'origin/master' into production 2024-03-12 19:19:34 +02:00
Konstantinos Triantafyllou f19df08435 Fix global vars. Add authorizazion to check Deploy 2024-02-20 10:55:47 +02:00
Konstantinos Triantafyllou b3381e6a79 [maven-release-plugin] prepare for next development iteration 2024-02-20 09:35:23 +02:00
Konstantinos Triantafyllou c34e9575ae [maven-release-plugin] prepare release irish-monitor-service-1.0.2 2024-02-20 09:35:20 +02:00
Konstantinos Triantafyllou fbc4fbf0a9 Merge remote-tracking branch 'origin/master' into production 2024-02-20 09:34:58 +02:00
Konstantinos Triantafyllou e7c6b77275 [maven-release-plugin] prepare for next development iteration 2024-02-20 09:23:52 +02:00
Konstantinos Triantafyllou e48e8d9226 [maven-release-plugin] prepare release irish-monitor-service-1.0.1 2024-02-20 09:23:48 +02:00
Konstantinos Triantafyllou e366300bee [maven-release-plugin] prepare for next development iteration 2024-01-09 12:39:59 +02:00
Konstantinos Triantafyllou c3007e2dab [maven-release-plugin] prepare release irish-monitor-service-1.0.0 2024-01-09 12:39:55 +02:00
Konstantinos Triantafyllou 6022825aa1 Init pom for production 2024-01-09 12:38:46 +02:00
2 changed files with 7 additions and 2 deletions

View File

@ -2,7 +2,11 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>irish-monitor-service</artifactId>
<<<<<<< HEAD
<version>1.0.5-BETA-SNAPSHOT</version>
=======
<version>1.0.5-SNAPSHOT</version>
>>>>>>> origin/master
<packaging>war</packaging>
<name>irish-monitor-service</name>
<scm>
@ -25,7 +29,7 @@
<dependency> <!-- this dependency includes dependency to uoa-monitor-service-library -->
<groupId>eu.dnetlib</groupId>
<artifactId>uoa-monitor-service</artifactId>
<version>1.1.11-BETA</version>
<version>1.1.12-BETA</version>
<classifier>library</classifier>
</dependency>

View File

@ -4,6 +4,7 @@ import eu.dnetlib.irishmonitorservice.configuration.GlobalVars;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@ -26,7 +27,7 @@ public class IrishServiceCheckDeployController {
return "Hello from irish-monitor-service!";
}
// @PreAuthorize("hasAnyAuthority(@AuthorizationService.PORTAL_ADMIN)")
@PreAuthorize("hasAnyAuthority(@AuthorizationService.PORTAL_ADMIN)")
@RequestMapping(value = "/health_check/advanced", method = RequestMethod.GET)
public Map<String, String> checkEverything() {
Map<String, String> response = new HashMap<>();