update examples/cassandra to api v1beta3

This commit is contained in:
Chao Xu
2015-04-23 11:12:22 -07:00
parent f7831dcd93
commit d761c64447
8 changed files with 203 additions and 275 deletions

View File

@@ -64,7 +64,7 @@ public class KubernetesSeedProvider implements SeedProvider {
String host = protocol + "://" + hostName + ":" + hostPort;
String serviceName = getEnvOrDefault("CASSANDRA_SERVICE", "cassandra");
String path = "/api/v1beta1/endpoints/";
String path = "/api/v1beta3/endpoints/";
try {
URL url = new URL(host + path + serviceName);
ObjectMapper mapper = new ObjectMapper();