Upgrade to GCE v1-rev15-1.18.0-rc API

Closes #19.
This commit is contained in:
David Pilato 2014-04-14 23:36:24 +02:00
parent a181b711f2
commit 290fb027c3
4 changed files with 5 additions and 7 deletions

View File

@ -12,7 +12,7 @@ In order to install the plugin, simply run: `bin/plugin -install elasticsearch/e
| GCE Cloud Plugin | elasticsearch | gce api | Release date |
|----------------------------|---------------------|--------------|:------------:|
| 3.0.0-SNAPSHOT | master | 1.17.0-rc | XXXX-XX-XX |
| 3.0.0-SNAPSHOT | master | 1.18.0-rc | XXXX-XX-XX |
Please read documentation relative to the version you are using:

View File

@ -49,8 +49,8 @@ governing permissions and limitations under the License. -->
<properties>
<elasticsearch.version>2.0.0-SNAPSHOT</elasticsearch.version>
<google.gce.version>v1beta16-rev1-1.17.0-rc</google.gce.version>
<google.api.version>1.17.0-rc</google.api.version>
<google.gce.version>v1-rev15-1.18.0-rc</google.gce.version>
<google.api.version>1.18.0-rc</google.api.version>
<lucene.version>4.7.0</lucene.version>
<tests.shuffle>true</tests.shuffle>
<tests.output>onerror</tests.output>

View File

@ -130,7 +130,6 @@ public class GceUnicastHostsProvider extends AbstractComponent implements Unicas
for (Instance instance : instances) {
String name = instance.getName();
String type = instance.getMachineType();
String image = instance.getImage();
String status = instance.getStatus();
logger.trace("gce instance {} with status {} found.", name, status);
@ -227,8 +226,8 @@ public class GceUnicastHostsProvider extends AbstractComponent implements Unicas
// If user has set `es_port` metadata, we don't need to ping all ports
// we only limit to 1 addresses, makes no sense to ping 100 ports
for (int i = 0; i < addresses.length; i++) {
logger.trace("adding {}, type {}, image {}, address {}, transport_address {}, status {}", name, type,
image, ip_private, addresses[i], status);
logger.trace("adding {}, type {}, image {}, address {}, transport_address {}, status {}", name, type
, ip_private, addresses[i], status);
cachedDiscoNodes.add(new DiscoveryNode("#cloud-" + name + "-" + i, addresses[i], Version.CURRENT));
}
}

View File

@ -60,7 +60,6 @@ public abstract class GceComputeServiceAbstractMock extends AbstractLifecycleCom
Instance instance = new Instance();
instance.setName("Mock Node " + tags);
instance.setMachineType("Mock Type machine");
instance.setImage("mock-image-type");
instance.setStatus("STARTED");
Tags instanceTags = new Tags();
instanceTags.setItems(tags);