Search in sources :

Example 1 with DeploymentDependencies

use of org.jboss.as.jdr.commands.DeploymentDependencies in project wildfly by wildfly.

the class AS7Plugin method getCommands.

@Override
public List<JdrCommand> getCommands() throws Exception {
    Sanitizer xmlSanitizer = Sanitizers.xml("//password");
    Sanitizer passwordSanitizer = Sanitizers.pattern("password=.*", "password=*");
    return Arrays.asList(new TreeCommand(), new JarCheck(), new CallAS7("configuration").param("recursive", "true"), new CallAS7("dump-services").operation("dump-services").resource("core-service", "service-container"), new CallAS7("cluster-proxies-configuration").resource("subsystem", "modcluster"), new CallAS7("jndi-view").operation("jndi-view").resource("subsystem", "naming"), new CollectFiles("*/standalone/configuration/*").sanitizer(xmlSanitizer, passwordSanitizer), new CollectFiles("*/domain/configuration/*").sanitizer(xmlSanitizer, passwordSanitizer), new CollectFiles("*server.log").limit(50 * Utils.ONE_MB), new CollectFiles("*.log").omit("*server.log"), new CollectFiles("*gc.log.*"), new CollectFiles("*.properties").sanitizer(passwordSanitizer), new CollectFiles("*.xml").sanitizer(xmlSanitizer), new CollectFiles("*/modules/system/*/.overlays/.overlays"), new CollectFiles("*/.installation/*.conf"), new CollectFiles("*/.installation/*.txt"), new SystemProperties().sanitizer(passwordSanitizer), new DeploymentDependencies(), new LocalModuleDependencies());
}
Also used : JarCheck(org.jboss.as.jdr.commands.JarCheck) CollectFiles(org.jboss.as.jdr.commands.CollectFiles) SystemProperties(org.jboss.as.jdr.commands.SystemProperties) Sanitizer(org.jboss.as.jdr.util.Sanitizer) CallAS7(org.jboss.as.jdr.commands.CallAS7) DeploymentDependencies(org.jboss.as.jdr.commands.DeploymentDependencies) TreeCommand(org.jboss.as.jdr.commands.TreeCommand) LocalModuleDependencies(org.jboss.as.jdr.commands.LocalModuleDependencies)

Aggregations

CallAS7 (org.jboss.as.jdr.commands.CallAS7)1 CollectFiles (org.jboss.as.jdr.commands.CollectFiles)1 DeploymentDependencies (org.jboss.as.jdr.commands.DeploymentDependencies)1 JarCheck (org.jboss.as.jdr.commands.JarCheck)1 LocalModuleDependencies (org.jboss.as.jdr.commands.LocalModuleDependencies)1 SystemProperties (org.jboss.as.jdr.commands.SystemProperties)1 TreeCommand (org.jboss.as.jdr.commands.TreeCommand)1 Sanitizer (org.jboss.as.jdr.util.Sanitizer)1