Package org.rhq.plugins.apache.util.ApacheDeploymentUtil

Examples of org.rhq.plugins.apache.util.ApacheDeploymentUtil.DeploymentConfig


    public String[] getExpectedResourceKeysWithFailures(ApacheTestSetup setup) {
        return null;
    }
   
    protected String[] getFullSuccessfulUpgradeResourceKeys(ApacheTestSetup setup) {
        DeploymentConfig dc = setup.getDeploymentConfig();
        Map<String, String> replacements = dc.getTokenReplacements();

        VHostSpec vh1 = dc.vhost1.getVHostSpec(replacements);
        VHostSpec vh2 = dc.vhost2.getVHostSpec(replacements);
        VHostSpec vh3 = dc.vhost3.getVHostSpec(replacements);
        VHostSpec vh4 = dc.vhost4.getVHostSpec(replacements);
View Full Code Here


    protected void defineRHQ3ResourceKeys(ApacheTestConfiguration testConfig, ApacheTestSetup setup) throws Exception {
        setup.withApacheSetup().init();
        ApacheServerComponent component = setup.withApacheSetup().getServerComponent();
        ApacheDirectiveTree config = component.parseRuntimeConfiguration(false);

        DeploymentConfig deployConfig = setup.getDeploymentConfig();

        VirtualHostLegacyResourceKeyUtil keyUtil = new VirtualHostLegacyResourceKeyUtil(component, config);

        Map<String, String> replacements = deployConfig.getTokenReplacements();

        testConfig.defaultOverrides.put("main.rhq3.resource.key", keyUtil.getRHQ3NonSNMPLegacyMainServerResourceKey());

        if (deployConfig.vhost1 != null) {
            testConfig.defaultOverrides.put("vhost1.rhq3.resource.key", keyUtil.getRHQ3NonSNMPLegacyVirtualHostResourceKey(deployConfig.vhost1.getVHostSpec(replacements)));
View Full Code Here

TOP

Related Classes of org.rhq.plugins.apache.util.ApacheDeploymentUtil.DeploymentConfig

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.