コード例 #1
0
 public static Properties defaultProperties() {
   Properties properties = BaseRestApiMetadata.defaultProperties();
   properties.setProperty(PROPERTY_TIMEOUTS_PREFIX + "default", MINUTES.toMillis(1) + "");
   properties.setProperty(
       PROPERTY_TIMEOUTS_PREFIX + "OpenStackAuthClient.authenticate", SECONDS.toMillis(30) + "");
   return properties;
 }
コード例 #2
0
 public static Properties defaultProperties() {
   Properties properties = BaseRestApiMetadata.defaultProperties();
   properties.setProperty(PROPERTY_TIMEOUTS_PREFIX + "default", SECONDS.toMillis(30) + "");
   properties.setProperty(PROPERTY_AUTH_TAG, "AWS");
   properties.setProperty(PROPERTY_HEADER_TAG, "amz");
   return properties;
 }
コード例 #3
0
 public static Properties defaultProperties() {
   Properties properties = BaseRestApiMetadata.defaultProperties();
   properties.setProperty(PROPERTY_TIMEOUTS_PREFIX + "default", MINUTES.toMillis(1) + "");
   properties.setProperty(SERVICE_TYPE, ServiceType.LOAD_BALANCERS);
   properties.setProperty(CREDENTIAL_TYPE, CloudIdentityCredentialTypes.API_KEY_CREDENTIALS);
   return properties;
 }
コード例 #4
0
  public static Properties defaultProperties() {
    Properties properties = BaseRestApiMetadata.defaultProperties();
    properties.setProperty(SERVICE_TYPE, ServiceType.NETWORK);
    properties.setProperty(CREDENTIAL_TYPE, CredentialTypes.PASSWORD_CREDENTIALS);

    // TODO: this doesn't actually do anything yet.
    properties.setProperty(KeystoneProperties.VERSION, "2.0");
    return properties;
  }
コード例 #5
0
 public static Properties defaultProperties() {
   Properties properties = BaseRestApiMetadata.defaultProperties();
   properties.setProperty(PROPERTY_AUTH_TAG, "AWS");
   properties.setProperty(PROPERTY_HEADER_TAG, S3Headers.DEFAULT_AMAZON_HEADERTAG);
   properties.setProperty(PROPERTY_S3_SERVICE_PATH, "/");
   properties.setProperty(PROPERTY_S3_VIRTUAL_HOST_BUCKETS, "true");
   properties.setProperty(PROPERTY_RELAX_HOSTNAME, "true");
   properties.setProperty(PROPERTY_BLOBSTORE_DIRECTORY_SUFFIX, "/");
   properties.setProperty(
       PROPERTY_USER_METADATA_PREFIX, String.format("x-${%s}-meta-", PROPERTY_HEADER_TAG));
   return properties;
 }
コード例 #6
0
 public static Properties defaultProperties() {
   Properties properties = BaseRestApiMetadata.defaultProperties();
   properties.setProperty(PROPERTY_TIMEOUTS_PREFIX + "default", MINUTES.toMillis(1) + "");
   properties.setProperty(
       PROPERTY_TIMEOUTS_PREFIX + "CloudSigmaClient.cloneDrive", MINUTES.toMillis(5) + "");
   properties.setProperty(PROPERTY_VNC_PASSWORD, "IL9vs34d");
   // passwords are set post-boot, so auth failures are possible
   // from a race condition applying the password set script
   properties.setProperty("jclouds.ssh.max-retries", "7");
   properties.setProperty("jclouds.ssh.retry-auth", "true");
   properties.setProperty(
       TEMPLATE, "osFamily=UBUNTU,imageNameMatches=.*[Aa]utomated SSH Access.*,os64Bit=true");
   return properties;
 }
コード例 #7
0
 public static Properties defaultProperties() {
   Properties properties = BaseRestApiMetadata.defaultProperties();
   properties.setProperty(PROPERTY_TIMEOUTS_PREFIX + "default", SECONDS.toMillis(30) + "");
   properties.setProperty(
       PROPERTY_TIMEOUTS_PREFIX + "ChefApi.updateCookbook", MINUTES.toMillis(10) + "");
   properties.setProperty(
       PROPERTY_TIMEOUTS_PREFIX + "ChefApi.createClient", MINUTES.toMillis(2) + "");
   properties.setProperty(
       PROPERTY_TIMEOUTS_PREFIX + "ChefApi.generateKeyForClient", MINUTES.toMillis(2) + "");
   properties.setProperty(
       PROPERTY_TIMEOUTS_PREFIX + "ChefApi.createNode", MINUTES.toMillis(2) + "");
   properties.setProperty(
       PROPERTY_TIMEOUTS_PREFIX + "ChefApi.updateNode", MINUTES.toMillis(10) + "");
   properties.setProperty(
       PROPERTY_TIMEOUTS_PREFIX + "ChefApi.createRole", MINUTES.toMillis(2) + "");
   properties.setProperty(
       PROPERTY_TIMEOUTS_PREFIX + "ChefApi.updateRole", MINUTES.toMillis(10) + "");
   properties.setProperty(
       PROPERTY_TIMEOUTS_PREFIX + "ChefApi.createEnvironment", MINUTES.toMillis(2) + "");
   properties.setProperty(PROPERTY_SESSION_INTERVAL, "1");
   properties.setProperty(CHEF_BOOTSTRAP_DATABAG, "bootstrap");
   return properties;
 }
コード例 #8
0
 public static Properties defaultProperties() {
   Properties properties = BaseRestApiMetadata.defaultProperties();
   properties.setProperty(PROPERTY_USER_METADATA_PREFIX, "X-Object-Meta-");
   properties.setProperty(PROPERTY_REGIONS, "DEFAULT");
   return properties;
 }
コード例 #9
0
 public static Properties defaultProperties() {
   Properties properties = BaseRestApiMetadata.defaultProperties();
   properties.setProperty(SERVICE_TYPE, ServiceType.IMAGE);
   properties.setProperty(CREDENTIAL_TYPE, CredentialTypes.PASSWORD_CREDENTIALS);
   return properties;
 }
コード例 #10
0
 public static Properties defaultProperties() {
   Properties properties = BaseRestApiMetadata.defaultProperties();
   properties.setProperty("jclouds.ssh.max-retries", "5");
   properties.setProperty("jclouds.ssh.retry-auth", "true");
   return properties;
 }