class AuthorisationServiceRemote implements AuthorisationServiceEncrypted {

    @Override
    public CmsResponse<Authorisation> getAuthorisationById(String authorisationId) {
        try {
            Authorisation response = consentRestTemplate.getForEntity(authorisationRemoteUrls.getAuthorisationById(), Authorisation.class, authorisationId)
                                         .getBody();
            return CmsResponse.<Authorisation>builder()
                       .payload(response)
                       .build();
        } catch (CmsRestException cmsRestException) {
            log.info("Couldn't get authorisation by authorisation ID {}, HTTP response status: {}",
                     authorisationId, cmsRestException.getHttpStatus());
        }

        return CmsResponse.<Authorisation>builder()
                   .error(TECHNICAL_ERROR)
                   .build();
    }

}