Package org.platformlayer.cas

Examples of org.platformlayer.cas.CasStoreInfo


  public OpenstackCasStore getCasStore() {
    OpenstackCredentials credential = new OpenstackCredentials(model.endpoint, model.username,
        model.password.plaintext(), model.tenant);

    String containerName = "platformlayer-artifacts";
    return new OpenstackCasStore(new CasStoreInfo(false), credential, containerName);

  }
View Full Code Here


    // }

    Machine machine = new OpaqueMachine(targetAddress);
    OpsTarget machineTarget = machine.getTarget(sshKeys.findOtherServiceKey(new ServiceType("machines-direct")));

    CasStoreInfo casStoreOptions = new CasStoreInfo(true);
    FilesystemCasStore store = new FilesystemCasStore(casStoreOptions, new OpsCasTarget(machineTarget));
    return store;
  }
View Full Code Here

    try {
      jenkinsClient = new JenkinsClient(httpClient, new URI(baseUrl));
    } catch (URISyntaxException e) {
      throw new IllegalArgumentException("Error parsing URI", e);
    }
    return new JenkinsCasStore(new CasStoreInfo(false), jenkinsClient);
  }
View Full Code Here

  public CasStoreMap getCasStoreMap(OpsTarget target) throws OpsException {
    // TODO: Reintroduce (some) caching?
    // if (this.casStores == null) {
    CasStoreMap casStores = new CasStoreMap();

    FilesystemCasStore filesystemCasStore = new FilesystemCasStore(new CasStoreInfo(false),
        new OpsCasTarget(target));
    casStores.addPrimary(filesystemCasStore);

    // TODO: Don't hard-code
    casStores.addSecondary(buildJenkins("http://192.168.131.14:8080/"));
View Full Code Here

TOP

Related Classes of org.platformlayer.cas.CasStoreInfo

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.