container/src/main/java/com/streamsets/datacollector/bundles/SupportBundleManager.java
public void uploadNewBundle(List<String> generators, BundleType bundleType) throws IOException {
    List<BundleContentGeneratorDefinition> defs = getRequestedDefinitions(generators);
    uploadNewBundleFromInstances(
      defs.stream()
        .map(BundleContentGeneratorDefinition::createInstance)
        .collect(Collectors.toList()
        ),
      bundleType
    );
  }
public void uploadNewBundle(List<String> generators, BundleType bundleType) throws IOException {
    List<BundleContentGeneratorDefinition> defs = getRequestedDefinitions(generators);
    uploadNewBundleFromInstances(
      defs.stream()
        .map(BundleContentGeneratorDefinition::createInstance)
        .collect(Collectors.toList()
        ),
      bundleType
    );
  }
public void uploadNewBundle ( List < String > generators , BundleType bundleType ) throws IOException { List < BundleContentGeneratorDefinition > defs = getRequestedDefinitions ( generators ) ; uploadNewBundleFromInstances ( defs . stream ( ) . map ( BundleContentGeneratorDefinition :: createInstance ) . collect ( Collectors . toList ( ) ) , bundleType ) ; }
Instead of providing support bundle directly to user, upload it to StreamSets backend services.
Instead of providing support bundle directly to user upload it to StreamSets backend services .