void |
InstallFeatureUtil.copyUserFeature(Set<String> pluginListedEsas,
File installDirectory) |
|
abstract File |
InstallFeatureUtil.downloadArtifact(String groupId,
String artifactId,
String type,
String version) |
Download the artifact from the specified Maven coordinates, or retrieve it
from the cache if it already exists.
|
abstract File |
PrepareFeatureUtil.downloadArtifact(String groupId,
String artifactId,
String type,
String version) |
Download the artifact from the specified Maven coordinates, or retrieve it
from the cache if it already exists.
|
static String |
InstallFeatureUtil.extractSymbolicName(File jar) |
Extracts the bundle symbolic name from the jar manifest.
|
File |
PrepareFeatureUtil.generateJson(String targetJsonFile,
Map<File,String> esaFileMap) |
Generate JSON at targetJsonFile location for the list of ESAs in esaFiles
under the given groupId
|
protected static List<String> |
DevUtil.getCleanedLines(List<String> dockerfileLines) |
Trim all lines and get them without comments or empty lines after the first FROM command
(so that directives at the beginning of the file are preserved)
|
protected static List<String> |
DevUtil.getCombinedLines(List<String> dockerfileLines,
char escape) |
Combine multi-line commands into single lines.
|
protected static char |
DevUtil.getEscapeCharacter(List<String> dockerfileLines) |
Get escape character from the escape directive at the top of the Dockerfile.
|
static String |
InstallFeatureUtil.getNextProductVersion(String version) |
Gets the next product version number.
|
static Set<String> |
InstallFeatureUtil.getOpenLibertyFeatureSet(Set<File> jsons) |
Gets the set of all Open Liberty features by scanning the product JSONs.
|
String |
InstallFeatureUtil.getOverrideBundleDescriptor(String groupId,
String artifactId) |
Download the override bundle from the repository with the given groupId and
artifactId, corresponding to the latest version in the range between the
current Open Liberty version (inclusive) and the next version
(exclusive).
|
String |
PrepareFeatureUtil.getOverrideBundleDescriptor(String groupId,
String artifactId) |
Download the override bundle from the repository with the given groupId and
artifactId, corresponding to the latest version in the range between the
current Open Liberty version (inclusive) and the next version (exclusive).
|
void |
InstallFeatureUtil.installFeatures(boolean isAcceptLicense,
List<String> featuresList) |
Resolve, download, and install features from a Maven repository.
|
abstract void |
DevUtil.libertyCreate() |
|
abstract void |
DevUtil.libertyDeploy() |
|
abstract void |
DevUtil.libertyInstallFeature() |
Install features in regular dev mode.
|
static List<InstallFeatureUtil.ProductProperties> |
InstallFeatureUtil.loadProperties(File installDir) |
|
protected int |
DevUtil.parseHostName(String webAppMessage) |
|
protected void |
DevUtil.parseHttpsPort(List<String> messages) |
|
void |
PrepareFeatureUtil.prepareFeatures(List<String> featureBOMs) |
|
protected File |
DevUtil.prepareTempDockerfile(File dockerfile,
String buildContextString) |
|
protected void |
DevUtil.processCopyLines(List<String> dockerfileLines,
String buildContext) |
|
static String |
InstallFeatureUtil.productInfo(File installDirectory,
String action) |
Runs the productInfo command and returns the output
Made public static for tests to use in LMP/LGP
|
protected List<String> |
DevUtil.readDockerfile(File dockerfile) |
|
abstract boolean |
DevUtil.recompileBuildFile(File buildFile,
Set<String> compileArtifactPaths,
Set<String> testArtifactPaths,
boolean generateFeatures,
ThreadPoolExecutor executor) |
Recompile the build file
|
protected boolean |
DevUtil.recompileJava(Collection<File> javaFilesChanged,
Set<String> artifactPaths,
ThreadPoolExecutor executor,
boolean tests,
File outputDirectory,
File testOutputDirectory,
String projectName,
File projectBuildFile,
JavaCompilerOptions projectCompilerOptions,
boolean forceSkipUTs,
boolean skipRunningTests) |
Recompile source files
|
protected boolean |
DevUtil.recompileJavaSource(Collection<File> javaFilesChanged,
Set<String> artifactPaths,
ThreadPoolExecutor executor,
File outputDirectory,
File testOutputDirectory,
String projectName,
File projectBuildFile,
JavaCompilerOptions projectCompilerOptions,
boolean forceSkipUTs,
boolean skipRunningTests) |
Recompile Java source files and run tests after application update
|
protected boolean |
DevUtil.recompileJavaTest(Collection<File> javaFilesChanged,
Set<String> artifactPaths,
ThreadPoolExecutor executor,
File outputDirectory,
File testOutputDirectory,
String projectName,
File projectBuildFile,
JavaCompilerOptions projectCompilerOptions,
boolean forceSkipUTs,
boolean skipRunningTests) |
Recompile test source files and run tests immediately
|
abstract void |
DevUtil.redeployApp() |
Redeploy the application
|
protected void |
DevUtil.removeEarFileLines(List<String> dockerfileLines) |
|
protected void |
DevUtil.removeWarFileLines(List<String> dockerfileLines) |
|
Set<String> |
BinaryScannerUtil.reRunBinaryScanner(Set<String> allClassesDirectories,
String logLocation,
String targetJavaEE,
String targetMicroProfile) |
The method is intended to call the binary scanner to generate a list of the optimal features for an
application.
|
void |
DevUtil.restartServer() |
|
void |
DevUtil.restartServer(boolean buildContainer) |
Stop the server, set up Liberty and restart it.
|
Set<String> |
BinaryScannerUtil.runBinaryScanner(Set<String> currentFeatureSet,
List<String> classFiles,
Set<String> allClassesDirectories,
String logLocation,
String targetJavaEE,
String targetMicroProfile,
boolean optimize) |
Call the binary scanner to generate a list of Liberty features to run an application.
|
abstract void |
DevUtil.runIntegrationTests(File buildFile) |
Run the integration tests
|
abstract void |
DevUtil.runUnitTests(File buildFile) |
Run the unit tests
|
void |
DevUtil.startServer() |
|
void |
DevUtil.startServer(boolean buildContainer,
boolean pullParentImage) |
Start the server and keep it running in a background thread.
|
abstract boolean |
DevUtil.updateArtifactPaths(ProjectModule projectModule,
boolean redeployCheck,
boolean generateFeatures,
ThreadPoolExecutor executor) |
Updates the compile artifact paths of the given project module.
|
protected abstract void |
DevUtil.updateLooseApp() |
The intention here is to give a chance to run logic for an app update
but not necessarily a full re-deploy
|