public static Properties defaultProperties() {
   Properties properties = BaseHttpApiMetadata.defaultProperties();
   properties.put("oauth.endpoint", "https://accounts.google.com/o/oauth2/token");
   properties.put(AUDIENCE, "https://accounts.google.com/o/oauth2/token");
   properties.put(SIGNATURE_OR_MAC_ALGORITHM, "RS256");
   properties.put(PROPERTY_SESSION_INTERVAL, 3600);
   properties.setProperty(
       TEMPLATE,
       "osFamily=GCEL,osVersionMatches=1[012].[01][04],locationId=us-central1-a,"
           + "loginUser=jclouds");
   properties.put(OPERATION_COMPLETE_INTERVAL, 500);
   properties.put(OPERATION_COMPLETE_TIMEOUT, 600000);
   return properties;
 }
예제 #2
0
 public static Properties defaultProperties() {
   Properties properties = BaseHttpApiMetadata.defaultProperties();
   properties.setProperty(CREDENTIAL_TYPE, CredentialTypes.PASSWORD_CREDENTIALS);
   properties.setProperty(SERVICE_TYPE, ServiceType.IDENTITY);
   return properties;
 }
예제 #3
0
 public static Properties defaultProperties() {
   Properties properties = BaseHttpApiMetadata.defaultProperties();
   properties.setProperty("jclouds.ssh.max-retries", "5");
   properties.setProperty("jclouds.ssh.retry-auth", "true");
   return properties;
 }
예제 #4
0
 public static Properties defaultProperties() {
   Properties properties = BaseHttpApiMetadata.defaultProperties();
   properties.setProperty(PROPERTY_AUTH_TAG, "AWS");
   properties.setProperty(PROPERTY_HEADER_TAG, "amz");
   return properties;
 }