change request mapping to match proxy setup

This commit is contained in:
Alexandros Mandilaras 2024-04-11 10:00:30 +03:00
parent 1f43bac181
commit 2bb5369a00
7 changed files with 7 additions and 7 deletions

View File

@ -23,7 +23,7 @@ import java.util.List;
import java.util.stream.Collectors;
@RestController
@RequestMapping(path = "api/principal", produces = MediaType.APPLICATION_JSON_VALUE)
@RequestMapping(path = "api/annotation/principal", produces = MediaType.APPLICATION_JSON_VALUE)
public class PrincipalController {
private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(PrincipalController.class));
private final AuditService auditService;

View File

@ -34,7 +34,7 @@ import javax.management.InvalidApplicationException;
import java.util.*;
@RestController
@RequestMapping(path = "api/notification/tenant-configuration")
@RequestMapping(path = "api/annotation/tenant-configuration")
public class TenantConfigurationController {
private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(TenantConfigurationController.class));

View File

@ -4,4 +4,4 @@ tenant:
interceptor:
white-listed-clients: [ ]
enforce-trusted-tenant: false
white-listed-endpoints: [ '/api/principal/me' ]
white-listed-endpoints: [ '/api/annotation/principal/me' ]

View File

@ -38,7 +38,7 @@ import jakarta.transaction.Transactional;
import java.util.*;
@RestController
@RequestMapping(path = "api/inapp-notification")
@RequestMapping(path = "api/notification/inapp-notification")
public class InAppNotificationController {
private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(InAppNotificationController.class));

View File

@ -33,7 +33,7 @@ import jakarta.transaction.Transactional;
import java.util.*;
@RestController
@RequestMapping(path = "api/notification-template")
@RequestMapping(path = "api/notification/notification-template")
public class NotificationTemplateController {
private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(NotificationTemplateController.class));

View File

@ -22,7 +22,7 @@ import java.util.List;
import java.util.stream.Collectors;
@RestController
@RequestMapping(path = "api/principal", produces = MediaType.APPLICATION_JSON_VALUE)
@RequestMapping(path = "api/notification/principal", produces = MediaType.APPLICATION_JSON_VALUE)
public class PrincipalController {
private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(PrincipalController.class));
private final AuditService auditService;

View File

@ -4,4 +4,4 @@ tenant:
interceptor:
white-listed-clients: [ ]
enforce-trusted-tenant: false
white-listed-endpoints: [ '/api/principal/me' ]
white-listed-endpoints: [ '/api/notification/principal/me' ]