code: public List<ApplicationDefinition> getAllOLAPApplications(Tenant tenant) {
          List<ApplicationDefinition> appDefs = new ArrayList<>();
          for (ApplicationDefinition appDef : SchemaService.instance().getAllApplications(tenant)) {
              if (OLAPService.class.getSimpleName().equals(appDef.getStorageService())) {
                  appDefs.add(appDef);
              }
          }
          return appDefs;
      }
docs: Get a list of {@link ApplicationDefinition}s that are assigned to the OLAP service
  for the given tenant. An empty list is returned if there are no OLAP applications.
  
  @param   tenant  {@link Tenant} that owns the OLAP applications.
  @return  A list of {@link ApplicationDefinition}s that are assigned to the OLAP
  service.