public void uploadNewBundle(List<String> generators, BundleType bundleType) throws IOException {
    """
	Instead of providing support bundle directly to user, upload it to StreamSets backend services.
    """
    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 .