change request mapping to match proxy setup
This commit is contained in:
parent
1f43bac181
commit
2bb5369a00
|
@ -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;
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
|
@ -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' ]
|
|
@ -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));
|
||||
|
||||
|
|
|
@ -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));
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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' ]
|
Loading…
Reference in New Issue