code: public Project getProject(final int id) {
      Project fetchedProject = this.projectsById.get(id);
      if (fetchedProject == null) {
        try {
          fetchedProject = this.projectLoader.fetchProjectById(id);
        } catch (final ProjectManagerException e) {
          logger.error("Could not load project from store.", e);
        }
      }
      return fetchedProject;
    }
docs: fetch active project from cache and inactive projects from db by project_id