docs: protected RegisteredService getRegisteredServiceFromRequest(final RequestContext requestContext, final String entityId) {
          val currentService = WebUtils.getService(requestContext);
          val service = this.serviceFactory.createService(entityId);
          var registeredService = this.servicesManager.findServiceBy(service);
          if (registeredService == null) {
              LOGGER.debug("Entity id [{}] not found in the registry. Fallback onto [{}]", entityId, currentService);
              registeredService = this.servicesManager.findServiceBy(currentService);
          }
          LOGGER.debug("Located service definition [{}]", registeredService);
          return registeredService;
      }