Class BackofficeEndpoints
java.lang.Object
es.kukenan.smartfi.microservice.communication.service.api.AbstractEndpointClient
es.kukenan.smartfi.microservice.communication.service.api.AbstractInternalEndpointClient
es.kukenan.smartfi.microservice.communication.service.api.backoffice.BackofficeEndpoints
Backoffice endpoints implementation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringBase path to AuditLog.static final StringBase path to backoffice.Fields inherited from class es.kukenan.smartfi.microservice.communication.service.api.AbstractInternalEndpointClient
endpointBasePath, HEADER_USERPROFILEID, restTemplate, USER_IP_HEADER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsaveAuditLog(String userId, es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.audit.AuditLogDto auditLogDto) Save AuditLog.Methods inherited from class es.kukenan.smartfi.microservice.communication.service.api.AbstractInternalEndpointClient
defaultRequestHeaders, defaultRequestHeaders, extractResponseDataMethods inherited from class es.kukenan.smartfi.microservice.communication.service.api.AbstractEndpointClient
createUri, createUri, defaultRequestHeaders, defaultRequestHeaders, handleConnectionException, message
-
Field Details
-
PATH_BACKOFFICE_BASE
Base path to backoffice.- See Also:
-
PATH_AUDITLOG
Base path to AuditLog.- See Also:
-
-
Constructor Details
-
BackofficeEndpoints
Full state constructor.- Parameters:
apiBasePath- Backoffice API base path.
-
-
Method Details
-
saveAuditLog
public void saveAuditLog(String userId, es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.audit.AuditLogDto auditLogDto) Save AuditLog.- Parameters:
userId- user identifier.auditLogDto- new AuditLog.
-