Examples of BootstrapConfiguration


Examples of com.abiquo.hypervisor.model.VirtualMachineDefinition.BootstrapConfiguration

        return this;
    }

    public VirtualMachineDescriptionBuilder bootstrap(final String uri, final String auth)
    {
        bootstrapConf = new BootstrapConfiguration();
        bootstrapConf.setUri(uri);
        bootstrapConf.setAuth(auth);

        return this;
    }
View Full Code Here

Examples of com.abiquo.hypervisor.model.VirtualMachineDefinition.BootstrapConfiguration

    public VirtualMachineDescriptionBuilder bootstrap(final String uri, final String auth,
        final String chefServerUrl, final String clientName, final String validatorName,
        final String clientCertificate, final String validationCertificate,
        final List<String> runlist, final String attributes)
    {
        bootstrapConf = new BootstrapConfiguration();
        bootstrapConf.setUri(uri);
        bootstrapConf.setAuth(auth);
        bootstrapConf.setChefServerURL(chefServerUrl);
        bootstrapConf.setClientName(clientName);
        bootstrapConf.setValidatorName(validatorName);
View Full Code Here

Examples of com.abiquo.hypervisor.model.VirtualMachineDefinition.BootstrapConfiguration

        final String clientCertificate, final String validationCertificate,
        final List<String> runlist, final String attributes)
    {
        if (bootstrapConf == null)
        {
            bootstrapConf = new BootstrapConfiguration();
        }
        bootstrapConf.setUri(uri);
        bootstrapConf.setAuth(auth);
        bootstrapConf.setChefServerURL(chefServerUrl);
        bootstrapConf.setClientName(clientName);
View Full Code Here

Examples of com.abiquo.hypervisor.model.VirtualMachineDefinition.BootstrapConfiguration

    public VirtualMachineDescriptionBuilder scriptBootstrap(final String script)
    {
        if (bootstrapConf == null)
        {
            bootstrapConf = new BootstrapConfiguration();
        }

        bootstrapConf.setScript(script);

        return this;
View Full Code Here

Examples of io.fabric8.zookeeper.bootstrap.BootstrapConfiguration

    @Activate
    void activate(BundleContext bundleContext, Map<String, ?> configuration) throws Exception {
        this.bundleContext = bundleContext;
        this.configurer.configure(configuration, this);
        BootstrapConfiguration bootConfig = bootstrapConfiguration.get();
        CreateEnsembleOptions options = bootConfig.getBootstrapOptions();
        if (options.isEnsembleStart()) {
            startBundles(options);
        }
        activateComponent();
    }
View Full Code Here

Examples of io.fabric8.zookeeper.bootstrap.BootstrapConfiguration

            LOGGER.info("Create fabric with: {}", options);

            stopBundles();

            RuntimeProperties runtimeProps = runtimeProperties.get();
            BootstrapConfiguration bootConfig = bootstrapConfiguration.get();
            BundleContext syscontext = bundleContext.getBundle(0).getBundleContext();
            if (options.isClean()) {
                bootConfig = cleanInternal(syscontext, bootConfig, runtimeProps);
            }
View Full Code Here

Examples of io.fabric8.zookeeper.bootstrap.BootstrapConfiguration

public class BootstrapCompleteTest {

    @Test
    public void testBootstrapConfiguration() {
        ServiceLocator.awaitService(BootstrapComplete.class);
        BootstrapConfiguration bootConfig = ServiceLocator.getRequiredService(BootstrapConfiguration.class);
        CreateEnsembleOptions options = bootConfig.getBootstrapOptions();
        Assert.assertFalse("Ensemble start", options.isEnsembleStart());
    }
View Full Code Here

Examples of javax.validation.BootstrapConfiguration

    return createInstance( messageInterpolatorClass );
  }

  private TraversableResolver createTraversableResolver(Configuration config) {
    BootstrapConfiguration bootstrapConfiguration = config.getBootstrapConfiguration();
    String traversableResolverFqcn = bootstrapConfiguration.getTraversableResolverClassName();

    if ( traversableResolverFqcn == null ) {
      return config.getDefaultTraversableResolver();
    }
View Full Code Here

Examples of javax.validation.BootstrapConfiguration

    return createInstance( traversableResolverClass );
  }

  private ParameterNameProvider createParameterNameProvider(Configuration config) {
    BootstrapConfiguration bootstrapConfiguration = config.getBootstrapConfiguration();
    String parameterNameProviderFqcn = bootstrapConfiguration.getParameterNameProviderClassName();

    if ( parameterNameProviderFqcn == null ) {
      return config.getDefaultParameterNameProvider();
    }
View Full Code Here

Examples of javax.validation.BootstrapConfiguration

    return createInstance( parameterNameProviderClass );
  }

  private ConstraintValidatorFactory createConstraintValidatorFactory(Configuration config) {
    BootstrapConfiguration configSource = config.getBootstrapConfiguration();
    String constraintValidatorFactoryFqcn = configSource.getConstraintValidatorFactoryClassName();

    if ( constraintValidatorFactoryFqcn == null ) {
      // use default
      return createInstance( InjectingConstraintValidatorFactory.class );
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.