code: private List<RepositoryResource> getResourcesForName(String resourceName) {
          List<RepositoryResource> results = new ArrayList<>();
          try {
              results.addAll(repositoryConnection.getMatchingEsas(FilterableAttribute.SYMBOLIC_NAME, resourceName));
              results.addAll(repositoryConnection.getMatchingEsas(FilterableAttribute.LOWER_CASE_SHORT_NAME, resourceName.toLowerCase()));
              results.addAll(repositoryConnection.getMatchingSamples(FilterableAttribute.LOWER_CASE_SHORT_NAME, resourceName.toLowerCase()));
          } catch (RepositoryBackendException e) {
              // Don't worry if we fail to contact the repository
              // worst case is we report a resource as missing rather than available on another version/edition
          }
          return results;
      }
docs: Fetch the feature and sample resources that match the given name, whether or not they're applicable to the current product
  
  @param resourceName the short or symbolic name to look for
  @return the resources that match that name