Examples of PlatformImpl


Examples of com.cumulocity.me.sdk.client.PlatformImpl

    private static PlatformImpl createPlatform() throws IOException {
        Properties cumulocityProps = new Properties();
        cumulocityProps.load(InventoryIT.class.getClassLoader().getResourceAsStream("cumulocity-test.properties"));

        SystemPropertiesOverrider p = new SystemPropertiesOverrider(cumulocityProps);
        return new PlatformImpl(
                p.get("cumulocity.host"),
                p.get("cumulocity.tenant"),
                p.get("cumulocity.user"),
                p.get("cumulocity.password"),
                p.get("cumulocity.applicationKey"));
View Full Code Here

Examples of com.cumulocity.me.sdk.client.PlatformImpl

    private static PlatformImpl createPlatform() throws IOException {
        Properties cumulocityProps = new Properties();
        cumulocityProps.load(InventoryIT.class.getClassLoader().getResourceAsStream("cumulocity-test.properties"));

        SystemPropertiesOverrider p = new SystemPropertiesOverrider(cumulocityProps);
        return new PlatformImpl(p.get("cumulocity.host"), p.get("cumulocity.tenant"), p.get("cumulocity.user"),
                p.get("cumulocity.password"), p.get("cumulocity.applicationKey"), 5);
    }
View Full Code Here

Examples of com.cumulocity.sdk.client.PlatformImpl

        cumulocityProps.load(InventoryIT.class.getClassLoader().getResourceAsStream("cumulocity-test.properties"));
       
        String userKey = bootstrap ? "cumulocity.bootstrap.user" : "cumulocity.user";
        String userPassword = bootstrap ? "cumulocity.bootstrap.password" : "cumulocity.password";
        SystemPropertiesOverrider p = new SystemPropertiesOverrider(cumulocityProps);
        return new PlatformImpl(
                p.get("cumulocity.host"),
                new CumulocityCredentials(p.get("cumulocity.tenant"),
                        p.get(userKey),
                        p.get(userPassword),
                        null));
View Full Code Here

Examples of com.cumulocity.sdk.client.PlatformImpl

    private static PlatformImpl createPlatform() throws IOException {
        Properties cumulocityProps = new Properties();
        cumulocityProps.load(InventoryIT.class.getClassLoader().getResourceAsStream("cumulocity-test.properties"));

        SystemPropertiesOverrider p = new SystemPropertiesOverrider(cumulocityProps);
        return new PlatformImpl(
                p.get("cumulocity.host"),
               new CumulocityCredentials(p.get("cumulocity.tenant"),
                p.get("cumulocity.user"),
                p.get("cumulocity.password"),
                null),
View Full Code Here

Examples of org.jboss.as.jpa.platform.PlatformImpl

                // set Hibernate persistence provider as the default provider
                javax.persistence.spi.PersistenceProviderResolverHolder.setPersistenceProviderResolver(
                    PersistenceProviderResolverImpl.getInstance());
                final boolean appclient = context.getProcessType() == ProcessType.APPLICATION_CLIENT;
                PlatformImpl platform;
                if (appclient) {
                    // we do not yet support a second level cache in the client container
                    platform = new PlatformImpl(Classification.NONE);
                } else {
                    // Infinispan can be used in server container
                    platform = new PlatformImpl(Classification.INFINISPAN, Classification.INFINISPAN);
                }

                processorTarget.addDeploymentProcessor(JPAExtension.SUBSYSTEM_NAME, Phase.STRUCTURE, Phase.STRUCTURE_REGISTER_JBOSS_ALL_JPA,
                        new JBossAllXmlParserRegisteringProcessor(JPAJarJBossAllParser.ROOT_ELEMENT, JpaAttachments.DEPLOYMENT_SETTINGS_KEY, new JPAJarJBossAllParser()));
View Full Code Here

Examples of org.ops4j.pax.exam.forked.provision.PlatformImpl

    private Long probeId;

    public ForkedTestContainer(ExamSystem system, FrameworkFactory frameworkFactory) {
        this.system = system;
        this.frameworkFactory = new ForkedFrameworkFactory(frameworkFactory);
        this.platform = new PlatformImpl();
        this.name = "Forked:" + frameworkFactory.getClass().getSimpleName();
    }
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.core.data.impl.PlatformImpl

    return e;
  }

  public class PlatformMapper implements RowMapper<Platform> {
    public Platform mapRow(ResultSet rs, int rowNum) throws SQLException {
      Platform p = new PlatformImpl();
      p.setPlatformId(rs.getLong("platformId"));
      p.setPlatformType(PlatformType.get(rs.getString("name")));
      p.setDescription(rs.getString("description"));
      p.setInstrumentModel(rs.getString("instrumentModel"));
      p.setNumContainers(rs.getInt("numContainers"));
      return p;
    }
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.